Difference between revisions of "Bethesda Tutorial Customizing Weapons & Armor"

no edit summary
imported>Scornett
 
imported>JohnFord
 
(10 intermediate revisions by 5 users not shown)
Line 37: Line 37:
===Weapon Properties===
===Weapon Properties===
[[Image:Tutorial-Customizing-2.jpg|thumb|200px|right|The Weapon Form.]]
[[Image:Tutorial-Customizing-2.jpg|thumb|200px|right|The Weapon Form.]]
The [[Weapon Form]] has a lot of properties. Let’s take a quick look at a few of the most important ones:
The [[Weapons|Weapon Form]] has a lot of properties. Let’s take a quick look at a few of the most important ones:
* '''ID''' is the name of the weapon as it appears in the editor.
* '''ID''' is the name of the weapon as it appears in the editor.
* '''Name''' is the name of the weapon as it appears in game.
* '''Name''' is the name of the weapon as it appears in game.
* '''Enchanting''' is the weapon's enchantment, if any.
* '''Enchanting''' is the weapon's [[enchantment]], if any.
* '''Enchantment''' is the weapon's enchantment charge capacity.
* '''Enchantment''' is the weapon's enchantment charge capacity.
* '''Value''' is the weapon's base gold value. The value of the enchantment, if any, is added to this value.
* '''Value''' is the weapon's base gold value. The value of the enchantment, if any, is added to this value.
Line 66: Line 66:
Make sure to save your plugin. Then give it a try:
Make sure to save your plugin. Then give it a try:
* Start the game with your plugin loaded.
* Start the game with your plugin loaded.
* Once in-game, press ~ to bring up the [[Developer Console]], then enter '''player.EquipItem VorpalSword 1'''
* Once in-game, press ~ to bring up the [[Console Commands|Developer Console]], then enter '''help VorpalSword 0'''
* Remember the ID and type in '''player.EquipItem''' (the item's ID) '''1'''
* Draw your weapon, and the sword will be in your hand. Go find something to kill!
* Draw your weapon, and the sword will be in your hand. Go find something to kill!
<br>
<br>
Line 96: Line 97:


<br>
<br>
{|style="border-collapse: separate; border-spacing: 0; border-width: 1px; border-style: solid; border-color: #000; padding: 0"
{{ProTip|
|-
|style="border-style: solid; border-width: 0"|[[Image:Protip.jpg|48px]]
|style="border-style: solid; border-width: 0"|
* If you know the exact name of the enchantment you're looking for, click on the dropdown and just start typing in the name-- it's much faster than scrolling.
* If you know the exact name of the enchantment you're looking for, click on the dropdown and just start typing in the name-- it's much faster than scrolling.
* If you know that an enchantment exists, but don't have any idea what its name might be, try searching on a key word or two in the Edit > Find Text window.
* If you know that an enchantment exists, but don't have any idea what its name might be, try searching on a key word or two in the Edit > Find Text window.
** For example, in this case, if you searched on 'Absorb Health', this enchantment would have shown up in the Find Text window's Objects tab.
** For example, in this case, if you searched on 'Absorb Health', this enchantment would have shown up in the Find Text window's Objects tab.}}
|}


<br>
<br>
Line 110: Line 107:


<br>
<br>
To find out how many charges the enchantment uses per hit, we need to look at the enchantment itself. Double-Right-Click on the enchantment in the Enchanting dropdown to open the enchantment form. The cost per use is listed in the lower-right corner of the Enchantment form-- 109. Close the enchantment form and go back to the weapon.  
To find out how many charges the enchantment uses per hit, we need to look at the enchantment itself. Double-Right-Click on the enchantment in the Enchanting dropdown to open the [[enchantment|enchantment form]]. The cost per use is listed in the lower-right corner of the Enchantment form-- 109. Close the enchantment form and go back to the weapon.  


<br>
<br>
Line 150: Line 147:
[[Image:Tutorial-Customizing-4.jpg|thumb|200px|right|The Armor Form.]]
[[Image:Tutorial-Customizing-4.jpg|thumb|200px|right|The Armor Form.]]
===Armor Properties===
===Armor Properties===
The [[Armor Form]] isn’t quite as intimidating, but let's focus on a few key properties:
The [[Armor|Armor Form]] isn’t quite as intimidating, but let's focus on a few key properties:
* '''ID''' is the name of the armor as it appears in the editor.
* '''ID''' is the name of the armor as it appears in the editor.
* '''Name''' is the name of the as it appears in game.
* '''Name''' is the name of the as it appears in game.
Line 160: Line 157:
* '''Armor Rating''' is the item's base defensive bonus. Your skills, perks, and other enchantments add to this.
* '''Armor Rating''' is the item's base defensive bonus. Your skills, perks, and other enchantments add to this.
<br>
<br>
===Example: The Spellward===
===Example: The Spellward===
Let's make a shield with a lower armor rating than a standard Glass Shield, but a stronger Resist Magic enchantment.
Let's make a shield with a lower armor rating than a standard Glass Shield, but a stronger Resist Magic enchantment.
Line 175: Line 173:
Click OK and close the form (selecting 'No', then 'Yes', to confirm the ID change). Make sure to save your plugin. Then give it a try:
Click OK and close the form (selecting 'No', then 'Yes', to confirm the ID change). Make sure to save your plugin. Then give it a try:
* Start the game with your plugin loaded.
* Start the game with your plugin loaded.
* Once in-game, press ~ to bring up the [[Developer Console]], then enter:
* Once in-game, press ~ to bring up the [[Console Commands|Developer Console]], then enter:
** '''player.EquipItem ArmorGlassSpellward 1'''
** '''help ArmorGlassSpellward 0'''
** '''player.AddItem ArmorGlassShield 1'''
** Remember the ID and type in '''player.EquipItem''' (the ID) '''1'''
* You should now have the Spellward
* Now type:
** '''player.AddItem 0001393C 1'''
* You should now have the Glass Shield
* Draw your weapon, and the shield will be in your hand. Compare the two-- you should be able to notice the difference!
* Draw your weapon, and the shield will be in your hand. Compare the two-- you should be able to notice the difference!


Line 301: Line 303:


===Setting the Selection Criteria===
===Setting the Selection Criteria===
Let's take a step back and look at the properties of the [[Leveled Item Form]]:
Let's take a step back and look at the properties of the [[Leveled Item|Leveled Item Form]]:
* '''ID''' is the name of the list as it appears in the editor.
* '''ID''' is the name of the list as it appears in the editor.
* '''Chance None''' is a random chance that this list will return no item.
* '''Chance None''' is a random chance that this list will return no item.
** '''Use Global''' allows you to use a [[global variable]] for this chance instead of a fixed value.
** '''Use Global''' allows you to use a [[global|global variable]] for this chance instead of a fixed value.
* '''Calculate from all levels < PC's Level''':
* '''Calculate from all levels < PC's Level''':
** If this box is unchecked, the list always returns the highest-level item that is less than or equal to the player's level.
** If this box is unchecked, the list always returns the highest-level item that is less than or equal to the player's level.
Anonymous user