News

Creating Custom Stats - How do we add Stats to Enumeration?

Posted on Saturday, May 23, 2015

I'm making a custom race and want to use a custom stat to go along with it. However, whenever I try to start the game, I get the following error...

D:\___'s Documents\My Games\GalCiv3\Mods\Veluszhi\Game\TechDefs_Veluszhi.xml(2136,48): error:
value 'AdaptiveMutation' not in enumeration

Adding a /Schema/Enums/StatTypes_Veluszhi.xsd with the stat declared did nothing. Does that mean we can't add custom Enums? If so, I'll abandon my custom stat and attempt a workaround. If not, how do we do that?