![]() ![]() The Assault_Rifle also doesn't have a "health"/degradation bar like the other weapons-which I know is part of / related to the problem, I'm sure-but I can't seem to figure out why it's missing the bar: It shows up in the creative window (in a creative window group I created for the weapons), as do all the other items, but when I even just move my mouse over it or hover over it, the game throws a null ref. I copied that into my SD2DX expanded weapons file, compiled (no issues with sd2dx coding), and opened the game - everything in the game (including all items both before and after the assault rifle in my compiled items.xml) work EXCEPT for this Assault_Rifle. I copied your code *exactly* from the expanded weapons mod for the "Assault_Rifle" as follows: So, I'm still working on SD2DX'ing all sorts of parts of your mod (completed many, but want to get more done before posting and make sure they're pretty well-tested).I've run into a snag. Problem with Assault_Rifle - null ref, no degradation bar ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |