madcow12 Posted May 24, 2014 Share Posted May 24, 2014 Hi all I'm farily new to scripting, and even after trying the tutorials and playing around i'm still needing helpI have a mod that converts armor to different characteristics but as it stands, it adds all recipes to the forge, really worsening the clutter so i thought i'd move it out to something like pillars where you activate the correct pillar (L to H, L to N, H to L, H to N) and it looks at the player's inventory and converts it for you the formula is very linear Light armor + 3 ingots = Heavy armorHeavy armor/Light armor + 1 ingots = Light/Heavy/Clothe On convertingHeavy armorNew weight = original weight/2 +1 new armor rating = original rating - 2 light armornew weight = original weight *2 +1new armor rating = original rating + 2 Clothe (aka None in CK)new weight = 1new armor rating = 0 so i know what conditions i need but can't seem to get started..if you could offer any help that would be most appreciated thank you Link to comment Share on other sites More sharing options...
madcow12 Posted May 24, 2014 Author Share Posted May 24, 2014 or if i can get a macro to auto work CK for me that would be great Link to comment Share on other sites More sharing options...
IsharaMeradin Posted May 24, 2014 Share Posted May 24, 2014 This would be for a all in one approach. Meaning, when the player chooses to switch from light armor to heavy armor all the armors in your mod will offer their heavy armor recipes for crafting. On your activator (pillar, button, whatever) place a small script that shows a messagebox. The message box will have four options: Light, Heavy, Cloth, Cancel. Depending upon user selection a GlobalVariable will be set to specific values. Light = 1, Heavy = 2, Cloth = 3, Cancel = 0. On the recipe conditions that GlobalVariable must be the correct value or that recipe will not be displayed. Hopefully, this is helpful and I did not totally miss the mark in understanding what you were wanting to do. Link to comment Share on other sites More sharing options...
madcow12 Posted May 24, 2014 Author Share Posted May 24, 2014 That is exactly what I was thinking! Thank you so muchnow to the hard part of scripting...i still get so confused writing the codes Link to comment Share on other sites More sharing options...
madcow12 Posted May 24, 2014 Author Share Posted May 24, 2014 LOL found an easier way which is creating a smithing anvil just for converting Link to comment Share on other sites More sharing options...
Recommended Posts