Jump to content

Some Modding problems


Luzarioth

Recommended Posts

Hello everyone.

 

I'am creating a little perk mod but have 2 ideas that i can't make because of missing options.

 

Is there a way to save the armor of a equipeditem in a variable ?

 

example: Fist of Steel, a upgrade that add the complet armor rating, not just the base armor.

Link to comment
Share on other sites

Hello everyone.

 

I'am creating a little perk mod but have 2 ideas that i can't make because of missing options.

 

Is there a way to save the armor of a equipeditem in a variable ?

 

example: Fist of Steel, a upgrade that add the complet armor rating, not just the base armor.

 

Not sure I understand your question but Armor is a ScriptObject type so it should definitely be possible to save it in a variable. I would suggest grabbing either my ScriptDumper and looking at the Armor ScriptObject references that other scripts are using or just grab my prebuilt index, here, and seeing how some of the scripts handle armor Script Objects as variables.

 

-MM

Edited by MofoMojo
Link to comment
Share on other sites

Ok let me explain you:

 

Fist of Steel adds the armor rating of the gauntlet to the unarmed damage. But Bethesda "cheated", and yous checks for keywords of the materials and than adds a fix value, for example 18 for deadric gauntlet, regardless of the perks or smithing. therefor i would make a perk script that save the komplett armor rating of an item, in this case the gauntlets, to add them on an other value, in this case the unarmed damage.

 

SetVariable (FistofSteelVariable) = GauntletArmor

SetUnarmedDamage + FistofSteelVariable

 

like this ;)

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...