Luzarioth Posted February 16, 2012 Share Posted February 16, 2012 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 More sharing options...
MofoMojo Posted February 16, 2012 Share Posted February 16, 2012 (edited) 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 February 16, 2012 by MofoMojo Link to comment Share on other sites More sharing options...
Luzarioth Posted February 16, 2012 Author Share Posted February 16, 2012 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) = GauntletArmorSetUnarmedDamage + FistofSteelVariable like this ;) Link to comment Share on other sites More sharing options...
Recommended Posts