Difference between revisions of "Bethesda Tutorial Creating an Item/ru"

m
imported>Vitamant
imported>Vitamant
Line 19: Line 19:
* Как добавить этот предмет в инвентарь персонажа
* Как добавить этот предмет в инвентарь персонажа


=Creating/Copying an Item=
=Создание/Клонирование предмета=
For the purposes of modding, you'll most likely be copying an existing item and changing its values. This way you already have a 3D model set up for it, and you're starting from something that you know works, so you don't have to futz with each particular setting.  
Для автоматизации работы в редакторе вы можете копировать готовые объекты и изменять их параметры.


{{Template:InDepth|Even internally, we'll often copy an existing item to get things going before the art has come down the pipeline. Many items in the game began their lives looking like buckets.}}
{{Template:InDepth|При разработке игры мы довольно часто использовали клонирование объектов. Многие вещи в игре начали свою жизнь с обычного ведра.}}


For this amulet, we're going to make a copy of the Elder Council Amulet that is used in the Dark Brotherhood questline. In your object window, navigate to <code>Items -> Armor -> AmuletsandRings</code>.  
Сейчас нам нужно сделать наш предмет из копии амулета Совета Старейшин, который используется в одном из квестов гильдии Темного Братства. В окне Object Window раскройте пункты <code>Items -> Armor -> AmuletsandRings</code>.


[[Image:ObjectWindowAmuletsAndRings.png|600px]]
[[Image:ObjectWindowAmuletsAndRings.png|600px]]


Double-click on "ElderCouncilAmulet" to open up the Armor window.  
Дважды щелкните на "ElderCouncilAmulet", чтобы открыть окно Armor window.


[[Image:ElderCouncilAmulet.png|600px]]
[[Image:ElderCouncilAmulet.png|600px]]


We're going to make some changes in here to make it into something appropriate for our quest.  
Теперь нам надо внести некоторые изменения, чтобы превратить этот предмет в что-то более подходящее для нашего квеста.
* '''ID:''' Change to "GSQAmulet"
* '''ID:''' Измените на "GSQAmulet".
* '''Name:''' Change to "Bendu Olo's Amulet"
* '''Name:''' Измените на "Амулет Бенду Оло".
* '''Value:''' Change to 250 (Bendu is not a man of means)
* '''Value:''' Стоимость предмета. Измените на 250 (ведь Бенду не такой богач).


Leave everything else exactly as it is, and hit the OK button. Because we changed the ID, we'll be asked whether we want to create a new object with these attributes, or change the existing one. We want to make a new object, so hit the Yes button.  
Оставьте все остальное точно так, как есть и нажмите кнопку ОК. Из-за того, что мы изменили ID, нас спросят, хотим ли мы создать новый объект с этими атрибутами, или изменить существующий. Мы хотим, чтобы образовался новый объект, поэтому нажмем кнопку “Yes”.


[[Image:NewForm.png]]
[[Image:NewForm.png]]


That's all there is to it! Now in this case we were making a piece of armor, but that same technique can be used on any object in the game that has an ID. You can make new weapons, races, creatures, spells, ingredients, etc. by changing the ID.  
Вот и все, что нужно было сделать! Только что мы создали элемент одежды, но этот же метод может быть использован на любой объект в игре, который имеет ID. Вы можете создать новое оружие, расы, существ, заклинания, ингредиенты и т. д., просто изменив ID.


The last thing we should do here is put it into the inventory of our thief. Open up the GSQThief actor again, and navigate to the inventory tab of the Actor window.  
Последнее, что мы должны сделать, так это положить амулет в карман нашего вора. Откройте "GSQThief" снова, и перейдите на вкладку Inventory tab в окне Actor window.


[[Image:ThiefInventoryBlocked.png|600px]]
[[Image:ThiefInventoryBlocked.png|600px]]


The first thing you'll notice is that it's all grayed out. That's because we're basing this actor off of a template, and so the inventory is already set by that template. But we can override individual parts of a template easily. Uncheck the "Use Inventory" box in the bottom left corner of the window, and the inventory area should light up.  
Первое, что бросается в глаза, так это то, что все что нам надо - недоступно. Это потому, что мы при основании персонажа мы поставили галку генерации снаряжения. Но мы можем изменить отдельные части шаблона очень легко. Снимите флажок "Use Inventory" в левом нижнем углу окна.


We'll have to fill in an outfit for our bandit, since the default template one is now gone. Select "BanditArmorMeleeHeavyOutfit" from the Default Outfit pulldown menu.  
Теперь мы должны выбрать одеяние для нашего бандита. Выберите "BanditArmorMeleeHeavyOutfit" в выпадающем меню "Default Outfit".


To put additional items into the actor's inventory, right-click in the Inventory table and select "New." This adds an entry to the table that defaults to 1 instance of the first object (alphabetically) in the game. From the Object pulldown menu, choose the item we just created (GSQAmulet), and the thief's inventory is ready to go!
Чтобы положить дополнительные предметы в инвентарь персонажа (в нашем случае амулет), щелкните правой кнопкой мыши в таблице инвентаризации и выберите "New". Это действие добавит запись в таблицу, которая по умолчанию установит первый предмет в списке объектов (по алфавиту). В выпадающем меню "Object" выберите ID нашего амулета (GSQAmulet). Теперь данный персонаж действительно стал вором!


[[Image:InventoryFilled.png|600px]]
[[Image:InventoryFilled.png|600px]]


=See also=
=See also=
Anonymous user