How to make a mod that with power of research increase metal/crystal extraction rate; for bonus points increase logistic slots

What I did already is I found both research files for metal(RESEARCHSUBJECT_STRUCTUREWORK_METALEXTRACTTECH) and crystal(RESEARCHSUBJECT_STRUCTUREWORK_CRYSTALEXTRACTTECH) extraction rates 0 to 2 and made copies of them and numbered them 3 to 5. I increased the extraction rate in these new files and neatly wrote in the necessary requirements for the next research but left thumbnail names the same. Then I added those files to my growing mod. Then I edited PlayerTechLoyalist so that instead of the aforementioned mods 0 to 2 they are numbered 3 to 5 corresponding to the edited files. Do I now add the PlayerTechLoyalist file also to my mod? If I do that the game crashes on the splash screen.
8,459 views 2 replies
Reply #1 Top

Sounds like you made a mistake in one of your player files. Try running your mod with the Dev.exe to see if it complains about a particular file and/or line.

Reply #2 Top

Oh shoot, meant to update this post. The way I did it is I added the lines from their respective research entities for metal and crystal mining rates and added them to faction-specific research like battlefield promotions, added a few levels to the research, and increased per level values.

 

now I am trying to add a phase gate module ability, from the Vasari building not the space station to the tec starbase. But I am having difficulty implementing it.