help with auto-replacing armor

Freeform discussion about anything related to modding Transcendence.
Drako Slyith
Fleet Officer
Fleet Officer
Posts: 1036
Joined: Wed Feb 03, 2010 4:28 am
Location: Researching how to make St. Kats star go supernova.
Contact:

I just realized what it might be. In the code, I remove the weapon before adding a new one. I'll dgb it and see what comes up if I can convince it to crash.
Image
Image
Play in over 100 systems in a network. Play the 2011 Mod Of the Year
and the highest rated mod on Xelerus, The Network.
Play the July Mod of the Month, Fellow Pilgrims!
Play My other mods as well
(Drako Slyith)* I am a person
(Eliza chatbot)> Do you believe it is normal to be a person?
Drako Slyith
Fleet Officer
Fleet Officer
Posts: 1036
Joined: Wed Feb 03, 2010 4:28 am
Location: Researching how to make St. Kats star go supernova.
Contact:

I need a bit of help. I think the crash is coming from my overly complicated weapon system. While I was working I was wondering if there is a function that determines weapons based on their combat power. Most item lists like in shops are listed in order of combat power, not necessarily level. So is that hard-coded or is there a function to determine it? I checked on Xelerus and I didn't find one.
Image
Image
Play in over 100 systems in a network. Play the 2011 Mod Of the Year
and the highest rated mod on Xelerus, The Network.
Play the July Mod of the Month, Fellow Pilgrims!
Play My other mods as well
(Drako Slyith)* I am a person
(Eliza chatbot)> Do you believe it is normal to be a person?
Post Reply