How do I edit out fighters/jets

Deamoclese

Chieftain
Joined
Oct 30, 2005
Messages
4
Ok, I know how to edit the xml file to change unit stats, etc... but what I want to do is completely remove fighters, jets, bombers, stealth bombers from the game... what would I have to change to do this?

Could I assign it so that maybe they need "future tech" level 99 or something (and how would i edit that in anyway?)

Thanks for any tips.
 
I haven't tried this, so I'm not sure if it will work. But try opening up civ4UnitClassInfos.xml from within the assets/xml/units folder.

Under say jet_Figheter you will see:
Code:
<UnitClassInfo>
	<Type>UNITCLASS_JET_FIGHTER</Type>
	<Description>TXT_KEY_UNIT_JET_FIGHTER</Description>
	<iMaxGlobalInstances>-1</iMaxGlobalInstances>
	<iMaxTeamInstances>-1</iMaxTeamInstances>
	<iMaxPlayerInstances>-1</iMaxPlayerInstances>
	<DefaultUnit>UNIT_JET_FIGHTER</DefaultUnit>
</UnitClassInfo>

Maybe change <iMaxGlobalInstances>-1</iMaxGlobalInstances>
to <iMaxGlobalInstances>0</iMaxGlobalInstances> ?

Repeat for other aircraft.
 
Back
Top Bottom