Removing civilizations

Spaig

Chieftain
Joined
Jun 11, 2010
Messages
29
Location
Here
Hey, it's me, everyone's favorite idiot savant.

Anyway, suppose you were making a modmod of Rise of Mankind. (Just for example, it could be any of them) And for some reason, you really hate the Abyssinians, and want to completely strike them from your modmod. How would you go about doing that? I'm assuming it's not just as simple as deleting their CIV4CivilizationInfos.xml entries.
 
The cheap way: In the CivilizationInfos.xml, set
PHP:
			<bPlayable>1</bPlayable>
			<bAIPlayable>1</bAIPlayable>

both to 0.
They will then never appear in the game, but will be visibile in the civilopedia.


The right way would mean to remove them from
- The civilizationInfos.xml
- remove the associated leaders in leaderheadInfos.xml
- Remove the UUs in UnitInfos
- the UBs in the buildingInfos
- Remove associated art entries for all these
- Possibly remove entries from the GameInfo\DiplomacyInfos.xml (that's a pain)
 
I think I'll stick with the cheater way. Last time I went faffing about with art tags, it didn't go well.

Thanks!
 
The right way would mean to remove them from
- The civilizationInfos.xml
Easy.
- remove the associated leaders in leaderheadInfos.xml
Easy.
- Remove the UUs in UnitInfos
Or you just could give it to a random civilization. (Not saying, that you shouldn't remove it)
- the UBs in the buildingInfos
Same as above.
- Remove associated art entries for all these
See below.
- Possibly remove entries from the GameInfo\DiplomacyInfos.xml (that's a pain)
Yes, it's a pain, but if you won't remove them, game loads whit 120+ XML errors on startup.

Just don't clear out CIV4ArtDefines_Civilization.xml and CIV4ArtDefines_Leaderhead.xml. That WILL screw up your game! (Worldbuilder crashes, civilopedia won't display units.)
 
Top Bottom