strungout Posted March 4, 2011 Share Posted March 4, 2011 (edited) EDIT: Well, I felt pretty stupid figuring this out but, the problem was that I read globals couldn't be created any other way than to rename an existing one. Then someone asked me if I had checked the "constant" box when I created mine... then I looked where I never had to go: Gameplay Menu > Globals... it's all there. Quite an intro for the new guy lol Oi all, new to the Nexus :) Been trying to get on for a while, but had problems even seeing the pages... is this common? This place seems packed full with info. I constantly get returns to it on my searches. Anyway, I copy-pasted my way to a modified workbench script to add my own custom weapon (probably going to end up using that craft expansion mod, but for knowledge's sake...). Everything worked great except for one thing: with the first schematic, the weapon's condition was set to 0. With help I traced it back to my countBonus variable not being set to its base value of 0.75, like for other custom weapons. I added the code to the Item Script for it and it works. But, I'm still wondering, where does that value get set for the original custom weapon's countBonus variables? Thnaks for any help. Edited March 5, 2011 by strungout Link to comment Share on other sites More sharing options...
Recommended Posts