Importing Colonization Assets (Music and Units)

Joined
Sep 2, 2006
Messages
15,602
I have been attempting to import Colonization assets into my Civ4 mod, and am running into two snags. Are there any other modders who have handled these problems and know what I am doing wrong?

Although I can get diplomacy music to work without a problem, my game crashes every time I try to load background music. I have copied the file in, created a new entry in AudioDefines.xml and Audio2DScripts.xml, and also placed an entry in the Civ4EraInfos.xml to call the new soundtrack. However, my game exits while the XML is loading...have I missed a file somewhere? Is there something else necessary?

I tried to import the unit graphics for the native american archers (braves) into Civ4, but all I get is an archer who looks like he is crucified...and has an extra bow. I figured this might have to do with the fact that Colonization has both base units and professions, so I might be copying the wrong files. Has anyone done this successfully?
 
I don't know lot's about the sound. You might want to check out the file format / compression codec - probably different settings are used.

The Crucified thingie is a animation issue.
It might be a missing, misreferenced or unproperly named .kfm or .kf files. (You did copy these to your new units folder along with the rest ?)
 
I copied the entire "Brave" folder, but I am thinking there might be additional "base" files required for the animations to work. As in, the base unit is stored in one file, and then the skins are stored in another. I haven't had time to test this yet.
 
Everything it needs should be in this one folder.

I just tried it with "Warrior_Native" (it's what you mean by brave, isn't it ?), and it work without any problem. You must have lost something underway, or a typo crept in your XML - in the KFM definition most likely.

Code:
<NIF>Art/Units/Native_Warrior/Native_Warrior.nif</NIF>
<KFM>Art/Units/Native_Warrior/Native_Warrior.kfm</KFM>
<SHADERNIF>Art/Units/Native_Warrior/Native_Warrior.nif</SHADERNIF>

Another thing is - you should not rename the .Nif file, or if you do, keep a copy of the original-name.Nif in the folder where your KFM is.
Edit: You shouln't rename the other files either :p
 
All right, that worked! Thanks!

So, I have one problem solved...now just time to mess with the audio.
 
Back
Top Bottom