Modding pirates and spawning ships
I have been modding for awhile now and can pretty much create ships and other simple things but I have been looking into modding pirates and having militia spawn units. I know how to change the pirate fleet composition but thats not what I want to do. I want neutral militia planets to spawn units over time and I dont know how to do this even after experimenting for weeks. The code is just so confusing. Could someone explain the details of how the pirate and milita code works and how to mod it, so I can make neutral planets spawn units. After Looking in the forums I see that some modders have figured this out(7 deadly sins and such). Help would be greatly appreciated.