1
Modding / Re: More Officer Skills
« on: October 20, 2019, 06:23:50 AM »
This mod has a bug where a for loop does not use the variable for skill count near the bottom of OfficerLevelupPluginImplMod.java and is a hardcoded value, which causes a crash should you ever change the count of skills to choose at random (Typically when assigning an AI officer or other randomly generated in my case their random skills I believe).
Easy to fix, Im attaching what I changed to correct it should anyone wish to use this mod, I had found myself unable to post on the forums and forgot about this thread.
Just drop the attached file into \More Officer Skills v0.1.0\data\scripts\
I don't recall where though but I had moved around some logging and added some other logging (then commented it all out) - For the creator, there was a hard coded value in a for loop that needed to factor the skillsAmount variable if memory serves me.
[attachment deleted by admin]
Easy to fix, Im attaching what I changed to correct it should anyone wish to use this mod, I had found myself unable to post on the forums and forgot about this thread.
Just drop the attached file into \More Officer Skills v0.1.0\data\scripts\
I don't recall where though but I had moved around some logging and added some other logging (then commented it all out) - For the creator, there was a hard coded value in a for loop that needed to factor the skillsAmount variable if memory serves me.
[attachment deleted by admin]