Editing script files? |
The script files are in an odd format I don't recognize. How one one open/edit these files for modding?
I'd like to add, say, a script that awards technology points to players in a trade alliance based on the level of the trade alliance and the difference in technology (and disable tech trading). And, possibly later, edit the AI to favor allying up with the little guy and stay away from the big guys.
Other things I would like to change is to add "free" research and intel points that all empires get, regardless of research and intelligence facilities, as a small equalizer. I'd also like to skew maintenance to depend on empire size. Larger empires pay more maintenance on top of having more ships/facilities, so this provides a theoretical maximum size on empires, at least until certain technologies arrive.
Points
None that i know of.

Re: Is it possible to add free
I use it in my BSG mod for debris field salvage operations event 




Scripts are compiled...
For the uncompiled ones, you need to look in the "utility" folder. Backup thoses because there is no other copy of them (i lost mine long ago, stuck with modded ones). Several modders have done work on thoses, like me and Captain Kwok. I suggest you look at thoses of kwok, they are much closer to the stock game than mine. Avoid thoses of Maran, they are fairly old and bug ridden.
Many of the feature you want can be coded in some way, but you will have to dig quite deeply into the code and check the Doc in the doc folder (for the functions list). A lot of the code used in one place can be used for other things, the only limit is your imagination and how much time you have to experiment and test...