Meh

Dragonlor

Warlord
Joined
Jun 1, 2004
Messages
211
Location
Earth
Meh, I don't understand this Civ modding at all. I got bored and made a folder to hold a practice mod in. I copied over the units xml file to mess with. I messed around with a bunch of the data in there. I started civ and then loaded my mod. I then fired up a game and none of the changes exist in the game. It is still using all the standard unit stats. Meh.

Obviously I screwed something up but it could at least give me an error or cause my computer to explode. Saying nothing and running the standard game is rather rude!
 
First of all, make sure the game is really loading your mod. It should give you an error message, but I've never trusted these electronic devices, so whenever I test something, I always change the <fScale> value of the Settler unit to something exorbitantly high, like 40.0 or above. Once the mod is loaded, you should see a gigantic Settler unit, or something went wrong.

If something went wrong and you got no error message, make sure the folder you put your practice mod in, is set up exactly like the folders of the game - that is, you should have it like this example:

-- Sid Meiers Civilization
------|-- Mods
-----------|---- Practice Mod
--------------------|-- Assets
--------------------------|-- Art (if you have any modified art)
--------------------------|-- Python (if you have any)
--------------------------|-- XML
------------------------------ |-- Art
------------------------------ |-- GameInfo
------------------------------ |-- Units
-------------------------------------------|-- CIV4UnitInfos.xml

If you set it up incorrectly, and just put the XML/Units folder directly in the 'Practice Mod' folder, forgetting all about the 'Assets' folder, the game won't load your changes, cause it's not looking for an XML folder in the Practice Mod folder, but in the Practice Mod/Assets folder.

Hope that's somewhat clear - a picture probably would have told a thousand words, but I'm a bit lazy now :)
 
When I run the mod the name of the mod is displayed in the corner of the title screen. One of the changes I made was setting the Warrior cost to 10 instead of 15. It is still 15 when I run it so that gives me a quick indicator that the mod isn't working.

I think my folders are set up correctly...

Inside of My Documents the civ4 installation placed a My Games folder.
Inside the My Games folder is a Sid Meier's Civilization 4 folder.
Inside the Sid Meier's Civilization 4 folder are several folders and a MODS folder.
Inside the MODS folder is the folder I created for my mod.
Inside that folder are the Art, Assets, Python, res, sounds, and xml folders.
Inside the xml folder are the Art, audio, basicinfos...blah blah...units folders.
Inside the units folder is my Civ4UnitsInfos xml document.
 
I think you have to put your Assets folder (only) in your *Mod Name* folder, and then place the XML folder inside that. I edited my first post - didn't see that the format got messed up by the forum. Hopefully it's just a bit clearer now.
 
Tried that now. Still doesn't work. I even tried making a different mod and only made one simple change to the Warriors strength and it still doesn't show up in the game. :sad:
 
Sa~Craig said:
are you sure you've changed the right thing, i tried to do it it turned out i editted the wrong line in the file
Under the stats listed for <Type>UNIT_WARRIOR</Type> I modified the <iCombat>2</iCombat> line to read <iCombat>75</iCombat>. After it didn't work, for the heck of it I changed <iCost>15</iCost> to <iCost>1</iCost> and <iMoves>1</iMoves> to <iMoves>5</iMoves>. None of these changed any of the Warriors stats.
 
Clear the civ 4 cache in %appdata%\my games\civilization 4\cache (civilization 4 might be something diffrent depending on where you installed the game).
If it still doesn't work... then I'm out of ideas :p

Also you shouldn't place the mod in my documents. It's bugged and you won't be able to load save games when playing with that mod. Instead place it under mods in the main civilization 4 directory.
 
I'll move the mod to the main mod list folder but I can't find any cache file/folders that you speak of.

For the heck of it I modified the units file that the standard game uses. I changed the Warriors strength to 25 and his moves to 5. It worked perfectly as it should. I then changed it back. I know I'm editing the right stuff but all of my editing is meaningless if I can't get it to show up in the game...
 
Dragonlor said:
I'll move the mod to the main mod list folder but I can't find any cache file/folders that you speak of.

For the heck of it I modified the units file that the standard game uses. I changed the Warriors strength to 25 and his moves to 5. It worked perfectly as it should. I then changed it back. I know I'm editing the right stuff but all of my editing is meaningless if I can't get it to show up in the game...

It's the cache file causing the problem and I think Firaxis has addressed this in the upcoming patch.

Your cache file is located here:

C\Documents and Setting\"your name"\Application Data\My Games\Sid Meier's Civilization 4\cache

Note that this is NOT the same path as your other user files in Civ4 (which reside in "My Documents\My Games")

Clear the files from the Cache folder and try loading your mod again.
 
:eek: It works now! My super warrior can now clobber hapless tanks with his 75 strength. Thank you all for your help and putting up with me. Hopefully now I can really get started creating something.
 
Back
Top Bottom