Modifying a Race?

I have been trying to modify a race but am having trouble in the implementation and am looking for some help.

I am attempting to change the basic race values in the RaceConfig.xml file but they never seem to register. Specifically, I have not been able to change the logistics, miniturization, any other race value or any of the starting techs. The only thing that I have been able to successfully modify is th points allocated for customization. I first thought it may be due to the fact that I was modding the custom race but I can't get them to work for any other races either. I have consulted all of the modding guides without luck.

Has anyone else run into this problem? How can I mod if I can't change any values?

Thanks.
3,073 views 6 replies
Reply #1 Top
How far do you play a new game to test whether they are working?
You would have to research the logistics and miniturization techs to a high enough level to really see any change.
Reply #2 Top
post a before and after of a section of the xml file you are trying to modify, so everyine can see if there is a syntax error of some kind. I can tell you for 100% sure by my own experience (as if that needed to be criteria) that modding the race files works, even in TotA. so I suspect there is something you are not entering correctly.

you do not have play any turns to see the results, you can go to one of the screens in the civ manager and it shows your racial bonuses etc. which at the start of the game should be pretty much what you picked, and you can also see on the tech tree what has already been researched.
Reply #3 Top
You might try deleting the appropriate .raceconfig/.customracexml in the game folder in My Documents\My Games, if it exists. The game will use this one rather than the base (IIRC, anyway), so if you're modding the base, whether it be with the actual file or via a mod folder, you won't see the results.

Alternatively, you could just mod the .raceconfig/.customracexml.
Reply #4 Top
Thanks SS.

That seems to have been the problem, though I don't understand why the extra CP points made it through.

Does this mean that if I ever want to use a modded custom race I must ensure that it is not in the My Games area already?

Thanks again.
Reply #5 Top
Not really-I'd just mod the .raceconfig/.customracexml personally, as that leaves the RaceConfig.xml intact in its original form. IIRC, you can do everything in it you should need to, even changing the super ability/etc. And this makes it so all you really have to do is save with the same name if you want to modify it later. You can create whatever customs you want, name them what you want, and just load them in the Custom Race slot when you want to use them, if that's what you're after.

But yeah, if you're going to use the RaceConfig.xml file (which I did initially), it'd be best to not have any rogue .raceconfig/.customracexml files running around in your My Games folder interfering.

As for why the customization points made it through, I don't know either; that may just be how the code works.
Reply #6 Top
A couple other thoughts:

If you've moved the RaceConfig file into the mods directory (as opposed to simply modifying the RaceConfig file in its default location), make sure Mods are enabled and you've selected the correct race.

Any changes along these lines will only show up with a NEW GAME, it won't modify the statistics of races in an existing game.