Looking for Reference/Tutorial

desk.doc

Chieftain
Joined
May 23, 2007
Messages
9
Hi all !
I am looking for a reference or tutorial that will show steps to change the cargo a unit carries. Will someone point me in a direction. I've searched the forums, and haven't been able to find anything. Thanks!!
 
I dont think there's a tutorial on this.

The only file you should need to change is Civ4UnitInfos.xml
There is a block of code for every unit. The file is long, so use search funktion... for example if you look for "carrier" you will find

<SpecialCargo>SPECIALUNIT_FIGHTER</SpecialCargo>
<DomainCargo>DOMAIN_AIR</DomainCargo>
<iCargo>3</iCargo>

In the corresponding block. That makes a carries carry fighters. Wherear a Transport looks like this:

<SpecialCargo>NONE</SpecialCargo>
<DomainCargo>DOMAIN_LAND</DomainCargo>
<iCargo>4</iCargo>

and will carry all land units...

You can look up in the same file, in a block of any unit, what domain that unit belongs to and waht kind of specialunit (if any) it is.
 
Thank you Refar! I will take a look at it.

Thinking for a second on it ... if you were to say take out the Special Cargo .. leaving the <DomainCargo>DOMAIN_AIR</DomainCargo> ..would that possibly mean that all air transports could be carried on a carrier? I'm not planning on doing this, but in theory?
 
Back
Top Bottom