[Help] Modifying the Default XML values.

apatuka

Chieftain
Joined
Apr 17, 2011
Messages
9
Greetings everyone, im interested to know how can i edit the xml values, for example, i added more culture per turn on the wonder palace, and changed the color of a civilization from his default color to black and white, i eddited everything from the Assets/Gameplay/XML folder but when i start the game it doesnt show any changes.

What im doing wrong?

Thanks and have a nice weekend.
 
Greetings everyone, im interested to know how can i edit the xml values, for example, i added more culture per turn on the wonder palace, and changed the color of a civilization from his default color to black and white, i eddited everything from the Assets/Gameplay/XML folder but when i start the game it doesnt show any changes.

What im doing wrong?

Thanks and have a nice weekend.

Modding in Civilization V is done a bit differently than in Civilization IV.

Have you downloaded the Civilization V SDK from Steam? If not, then do that.

Next, have you read Kael's guide to modding?
Link here: http://forums.civfanatics.com/showthread.php?t=385009

Also, reported to be moved to the main C&C forums. This forum is for tutorials and references.

You'll essentially want to:

1) Use ModBuddy to create a mod
2) When modifying existing XML files, you have to use Update if you're changing an existing file, or Row when creating a new row. Read Kael's guide for more information on how this is done.
3) When you're finished, you'll want to Build your mod, then go into Civilization V, go to the Mods, go to Browse Mods, find your mod on the menu, activate, then go into Play Game and test it there.

It's going to take a while to understand, but good luck!

Kael's guide is very slightly out of date: There's no mention of VFS, for instance. You shouldn't have to worry about this, though, if you're only doing a simple XML update!
 
Hi thanks for respond, im not interested on creating a mod, just modify some stuff on the original xml, but it doesnt work, also i used the Update sentence on some xml files, but still doesnt work, but it works if i create a mod, because a friend and i we want to modify the civ colors to play on multiplayer but no luck.
 
Hi thanks for respond, im not interested on creating a mod, just modify some stuff on the original xml, but it doesnt work, also i used the Update sentence on some xml files, but still doesnt work, but it works if i create a mod, because a friend and i we want to modify the civ colors to play on multiplayer but no luck.

You can't use Update tags in the original XML files. And you don't want to modify the original XML files because everytime there is a hotfix or patch, your files'll be overwritten. Not to mention, you risk corrupting your files.

That being said, if you are changing the original files, the changes should be taking effect. Exactly what files/how are you changing those files? What do you mean "It doesn't work?". Does it break completely or do the changes not reflect?

Also, back up every original file -before- you modify it.
 
im not interested on creating a mod, just modify some stuff on the original xml

This is a terrible idea. Horrible. DO NOT DO THIS. EVER.

Clear enough yet?

because a friend and i we want to modify the civ colors to play on multiplayer but no luck.

Mods do not work in multiplayer, period. And if you hack the vanilla game's directories, it's likely to not work either. (See also: checksums.)
 
It works now, modified civ colors over multiplayer, but we changed colors again, deleted cache and everything, but still the old color, why its not updating my changes?

The reason we are modifying the original XML is because we want to play over LAN with some "tweaks" since mods are not possible, but editing original XML is possible, the problem, it doesn't do the changes, we deleted cache but same result :/
 
Back
Top Bottom