Modding weapons

Hi. I am not really good at modding, but i can do the basic stuff, so i want to ask you people if there is a file like XML that contains all weapons statistics, like names, amount of damage, size... and if there is do you think it is possible to change it without messing up the whole game?
And i want to know if there is a file with defenses and if it is possible to change it so that for ex. ECM(or what ever) protects not only from missiles, but from beam and md weapons as well
3,095 views 3 replies
Reply #1 Top
First of all, you will need to set up a mod in the mod folder. See this tutorial for that.

Weapons, defenses, engines and all other ship modules are defined in the GC2Types.xml file in GalCiv2\Data\English. For info of what to do with that file, see the official modding guide.

Hope this helps.

Reply #2 Top
You can only can the names, every thing else is in the game coded to change it would violate the EULA.
Reply #3 Top
You can only can the names, every thing else is in the game coded to change it would violate the EULA.


No, the EULA allows for changing the XMLs, that's why they're there in the first place; if Stardock didn't want us to mod these values they would have hard coded them.

From the EULA:

YOU MAY:
...
6. Create "mods" based on the documented functions of the SOFTWARE to customize it and upload those "mods" to GalCiv2.com.


And all the values in the XMLs are documented in the modding guide.