where to download this file

King Commando

Chieftain
Joined
Nov 7, 2010
Messages
98
Location
charleston
im trying to download new units for civ4 but i don't know where to download it to?
 
It's not that simple that you download the unit to a certain location and that's it. You'll have to do some xml work. First of all, there's a Mods subdirectory where civ4 is installed and there is also one in each addons install path. In one of this Mods directory you should create a new folder. There you should place the unit (might be a good ideo to work with further subdirectories, take a look at other mods to get an idea). Next, you'll have to work on the units artdefines. Let's say you want to include the unit into Beyond the sword. Then you should get the CIV4ArtDefines_Unit.xml file from Beyond the Sword\Assets\XML\Art. Again, each addon as well as vanilla civ4 (civ4 without addon) has its own CIV4ArtDefines_Unit.xml and Assets\XML\Art - you'd need to use the copy of the games version the unit is meant to be for. Copy that xml to your new folder. In the artdefines xml, there should be several definitions for quite a lot units. Considering BtS, you won't need them in the copy. Delete all of them besides of one. For the one you left, change what is given between <Type> and </Type>. Sometimes, modders provide a copy of that file with their unit. In this case, you won't need to get it from elsewhere. There are three lines you will need to edit: <NIF>, <KFM> and <SHADERNIF>. There is a fourth one for the button, but it's optional. In these lines, you will have to specify the path to the units nifs and kfms. Find out which schema files the artdefines xml uses by taking a close look at the beginning of the file. You'll need to get a copy of those schema files from Beyond the Sword/Assets again. Some modders provide a unit artdefines file. In this case, you won't need to get a copy from BtS, but likely you'll still need the schema files. Now, you can reference the unit (using the name you gave it when editing the <Type> line) from a unitartstyletypeinfos file or from a unitinfo file. Depends on what you want to unit to be - unique unit or only unique art. You will need to take the same steps as you did with the artdefines - get a copy, leave only one entry and alter it so that it refers to your unit. For an absolute beginner this might sound hard - it's not, it just needs some training. You might want to view a tutorial about how to create a new civ in the tutorials section of this subforum. That should provide you the necessary info.
 
Top Bottom