How to remove the Embarkation promo ?

Hulfgar

Emperor
Joined
Mar 31, 2008
Messages
1,798
Location
France
I have removed the entries the file CIV5UnitPromotions and i tried to remove them in the file GlobalDefines but something must be wrong because the game crashes when I start at an era where "Embarkation" should be avalaible.

Here is what I have written :

Spoiler :

Code:
<GameData>
	<!-- TODO: Insert table creation example here. -->



	<!-- Enter your Game Data here. -->
	
	<UnitPromotions>
		<Delete Type="PROMOTION_EMBARKATION"/>
		<Delete Type="PROMOTION_DEFENSIVE_EMBARKATION"/>
		<Delete Type="PROMOTION_ALLWATER_EMBARKATION"/>
	</UnitPromotions>

	<PostDefines>
		<Delete Name="PROMOTION_EMBARKATION"/>
		<Delete Name="PROMOTION_DEFENSIVE_EMBARKATION"/>
		<Delete Name="PROMOTION_ALLWATER_EMBARKATION"/>
	</PostDefines>

	<UnitPromotions_UnitCombats>
		<Delete PromotionType="PROMOTION_EMBARKATION" UnitCombatType="UNITCOMBAT_RECON" />
		<Delete PromotionType="PROMOTION_EMBARKATION" UnitCombatType="UNITCOMBAT_ARCHER" />
		<Delete PromotionType="PROMOTION_EMBARKATION" UnitCombatType="UNITCOMBAT_MOUNTED" />
		<Delete PromotionType="PROMOTION_EMBARKATION" UnitCombatType="UNITCOMBAT_MELEE" />
		<Delete PromotionType="PROMOTION_EMBARKATION" UnitCombatType="UNITCOMBAT_SIEGE" />
		<Delete PromotionType="PROMOTION_EMBARKATION" UnitCombatType="UNITCOMBAT_GUN" />
		<Delete PromotionType="PROMOTION_EMBARKATION" UnitCombatType="UNITCOMBAT_ARMOR" />
		<Delete PromotionType="PROMOTION_EMBARKATION" UnitCombatType="UNITCOMBAT_HELICOPTER" />

		<Delete PromotionType="PROMOTION_ALLWATER_EMBARKATION" UnitCombatType="UNITCOMBAT_RECON" />
		<Delete PromotionType="PROMOTION_ALLWATER_EMBARKATION" UnitCombatType="UNITCOMBAT_ARCHER" />
		<Delete PromotionType="PROMOTION_ALLWATER_EMBARKATION" UnitCombatType="UNITCOMBAT_MOUNTED" />
		<Delete PromotionType="PROMOTION_ALLWATER_EMBARKATION" UnitCombatType="UNITCOMBAT_MELEE" />
		<Delete PromotionType="PROMOTION_ALLWATER_EMBARKATION" UnitCombatType="UNITCOMBAT_SIEGE" />
		<Delete PromotionType="PROMOTION_ALLWATER_EMBARKATION" UnitCombatType="UNITCOMBAT_GUN" />
		<Delete PromotionType="PROMOTION_ALLWATER_EMBARKATION" UnitCombatType="UNITCOMBAT_ARMOR" />
		<Delete PromotionType="PROMOTION_ALLWATER_EMBARKATION" UnitCombatType="UNITCOMBAT_HELICOPTER" />
		
		<Delete PromotionType="PROMOTION_DEFENSIVE_EMBARKATION" UnitCombatType="UNITCOMBAT_RECON" />
		<Delete PromotionType="PROMOTION_DEFENSIVE_EMBARKATION" UnitCombatType="UNITCOMBAT_ARCHER" />
		<Delete PromotionType="PROMOTION_DEFENSIVE_EMBARKATION" UnitCombatType="UNITCOMBAT_MOUNTED" />
		<Delete PromotionType="PROMOTION_DEFENSIVE_EMBARKATION" UnitCombatType="UNITCOMBAT_MELEE" />
		<Delete PromotionType="PROMOTION_DEFENSIVE_EMBARKATION" UnitCombatType="UNITCOMBAT_SIEGE" />
		<Delete PromotionType="PROMOTION_DEFENSIVE_EMBARKATION" UnitCombatType="UNITCOMBAT_GUN" />
		<Delete PromotionType="PROMOTION_DEFENSIVE_EMBARKATION" UnitCombatType="UNITCOMBAT_ARMOR" />
		<Delete PromotionType="PROMOTION_DEFENSIVE_EMBARKATION" UnitCombatType="UNITCOMBAT_HELICOPTER" />

	</UnitPromotions_UnitCombats>
</GameData>
 
try a SQL update :

UPDATE Technologies SET AllowsEmbarking = "false";
 
Back
Top Bottom