[BNW] Some attributes in Civ5Buildings.xml seems to be outdated?

BABITS

Chieftain
Joined
Jan 20, 2020
Messages
11
Hi, I'm a beginner of modding.I found some bugs caused by I used the attribute in Civ5Buildings.xml but the game DB doesn't contain such attribute.
some xml seems to be outdated, like <Culture> in Building seems to be outdated but can also be found in the gameplay xml Civ5Buildings.xml. If I use this attribute, It'll cause bugs.
 
Culture changed from a special case with its own columns in the base game to a fully fledged yield in G&K. So you need to make sure you're looking in the appropriate Civ5Buildings.xml file for the version of the game you'e playing
 
Culture changed from a special case with its own columns in the base game to a fully fledged yield in G&K. So you need to make sure you're looking in the appropriate Civ5Buildings.xml file for the version of the game you'e playing
<ExtraEmbarkMoves> doesn't seem to work. I want my naval +1 movement
 
BNW Traits table etc
Code:
	<Traits>
		<Row>
			<Type>TRAIT_OCEAN_MOVEMENT</Type>
			<Description>TXT_KEY_TRAIT_OCEAN_MOVEMENT</Description>
			<ShortDescription>TXT_KEY_TRAIT_OCEAN_MOVEMENT_SHORT</ShortDescription>
			<ExtraEmbarkMoves>2</ExtraEmbarkMoves>
			<ExtraSpies>1</ExtraSpies>
		</Row>
	</Traits>
	<Trait_FreePromotionUnitCombats>
		<Row>
			<TraitType>TRAIT_OCEAN_MOVEMENT</TraitType>
			<UnitCombatType>UNITCOMBAT_NAVALRANGED</UnitCombatType>
			<PromotionType>PROMOTION_OCEAN_MOVEMENT</PromotionType>
		</Row>
		<Row>
			<TraitType>TRAIT_OCEAN_MOVEMENT</TraitType>
			<UnitCombatType>UNITCOMBAT_NAVALMELEE</UnitCombatType>
			<PromotionType>PROMOTION_OCEAN_MOVEMENT</PromotionType>
		</Row>
		<Row>
			<TraitType>TRAIT_OCEAN_MOVEMENT</TraitType>
			<UnitCombatType>UNITCOMBAT_SUBMARINE</UnitCombatType>
			<PromotionType>PROMOTION_OCEAN_MOVEMENT</PromotionType>
		</Row>
		<Row>
			<TraitType>TRAIT_OCEAN_MOVEMENT</TraitType>
			<UnitCombatType>UNITCOMBAT_CARRIER</UnitCombatType>
			<PromotionType>PROMOTION_OCEAN_MOVEMENT</PromotionType>
		</Row>
	</Trait_FreePromotionUnitCombats>
	<UnitPromotions>
		<Row>
			<Type>PROMOTION_OCEAN_MOVEMENT</Type>
			<Description>TXT_KEY_PROMOTION_OCEAN_MOVEMENT</Description>
			<Help>TXT_KEY_PROMOTION_OCEAN_MOVEMENT_HELP</Help>
			<Sound>AS2D_IF_LEVELUP</Sound>
			<ExtraNavalMovement>2</ExtraNavalMovement>
			<PortraitIndex>59</PortraitIndex>
			<IconAtlas>ABILITY_ATLAS</IconAtlas>
			<PediaType>PEDIA_ATTRIBUTES</PediaType>
			<PediaEntry>TXT_KEY_PEDIA_PROMOTION_OCEAN_MOVEMENT</PediaEntry>
		</Row>
	</UnitPromotions>
"ExtraEmbarkMoves" doesn't affect naval units because only land units embark.
 
Last edited:
  1. Vanilla files are at:
    C:\Program Files (x86)\Steam\SteamApps\common\Sid Meier's Civilization V\assets\Gameplay\XML
  2. G&K files are at:
    C:\Program Files (x86)\Steam\SteamApps\common\Sid Meier's Civilization V\assets\DLC\Expansion\Gameplay\XML
  3. BNW files are at:
    C:\Program Files (x86)\Steam\SteamApps\common\Sid Meier's Civilization V\assets\DLC\Expansion2\Gameplay\XML
The beginning portion of your file path might be slightly different depending on whether you have Win7, Win10, etc.
 
Back
Top Bottom