Need help with special unit

chauism

Warlord
Joined
Mar 15, 2006
Messages
225
Location
Earth
I am trying to have the transport helicopter that only can carry foot units, so I create a special unit call the specialunit_foot in the CIV4SpecialUnitInfos xml, but everytime I am playing the game the. whenever the unit is right out of production, the game will just CTD. Is there anything else I have to do besides editing xml files?
 
<SpecialUnitInfo>
<Type>SPECIALUNIT_FOOT</Type>
<Description>TXT_KEY_SPECIALUNIT_FOOT</Description>
<bValid>1</bValid>
<ProductionTraits/>
</SpecialUnitInfo>
thats how it should look in specailunitinfos.xml
but also have you put it on the units? eg: marine so its

<UnitInfo>
<Class>UNITCLASS_MARINE</Class>
<Type>UNIT_MARINE</Type>
<UniqueNames/>
<Special>SPECIALUNIT_FOOT</Special>
<Capture>NONE</Capture>

and on the chopper

<iBombardRate>0</iBombardRate>
<SpecialCargo>SPECIALUNIT_FOOT</SpecialCargo>
<DomainCargo>NONE</DomainCargo>
<iCargo>3</iCargo>
<iConscription>0</iConscription>
<iCultureGarrison>10</iCultureGarrison>
<iExtraCost>0</iExtraCost>

as long as thats done in unitinfos.xml there should be no problem as its working fine with my chinook
 
Yes I did everything that is in that, but still getting CTD problem
 
Back
Top Bottom