Adding Trade Routes

Ubik1994

Chieftain
Joined
Oct 14, 2015
Messages
13
I have tried to make a wonder give 2 extra routes to the city where it is built, however when I plug the following code in my xml file the building will not show up. I I remove she comes back and I can build it. Where am I making a mistake?

Spoiler :
<BuildingClasses>
<Row>
<Type>BUILDINGCLASS_UBIK_MAII_CHATUCHAK</Type>
<DefaultBuilding>BUILDING_UBIK_MAII_CHATUCHAK</DefaultBuilding>
<Description>TXT_KEY_BUILDING_UBIK_MAII_CHATUCHAK_DESC</Description>
<MaxGlobalInstances>1</MaxGlobalInstances>
</Row>
</BuildingClasses>

<!-- Buildings -->

<Buildings>
<Row>
<Type>BUILDING_UBIK_MAII_CHATUCHAK</Type>
<BuildingClass>BUILDINGCLASS_UBIK_MAII_CHATUCHAK</BuildingClass>
<Cost>0</Cost>
<ConquestProbability>100</ConquestProbability>
<PrereqTech>TECH_HABITATION</PrereqTech>
<Description>TXT_KEY_BUILDING_UBIK_MAII_CHATUCHAK_DESC</Description>
<Help>TXT_KEY_BUILDING_UBIK_MAII_CHATUCHAK_HELP</Help>
<Civilopedia>TXT_KEY_BUILDING_UBIK_MAII_CHATUCHAK_PEDIA</Civilopedia>
<Quote>TXT_KEY_BUILDING_BYTEGEIST_QUOTE</Quote>
<ArtDefineTag>NO VISUAL</ArtDefineTag>
<HurryCostModifier>-1</HurryCostModifier>
<DisplayPosition>4</DisplayPosition>
<IconAtlas>BW_ATLAS_2</IconAtlas>
<PortraitIndex>17</PortraitIndex>
<WonderSplashImage>Wonder_HumanHive.dds</WonderSplashImage>
<WonderSplashAudio>AS2D_TECH_VERTICAL_FARMING</WonderSplashAudio>
<FreePlayerPerk>PLAYERPERK_UBIK_MAII_CHATUCHAK</FreePlayerPerk>
<SpecialistType>SPECIALIST_TRADER</SpecialistType>
<SpecialistCount>4</SpecialistCount>
<AllowsTradeRoutes>true</AllowsTradeRoutes>
</Row>
</Buildings>

<!-- PlayerPerks -->

<PlayerPerks>
<Row>
<Type>PLAYERPERK_UBIK_MAII_CHATUCHAK</Type>
<Help>TXT_PLAYERPERK_UBIK_MAII_CHATUCHAK_HELP</Help>
</Row>
</PlayerPerks>

<PlayerPerks_GeneralBuildingEffects>
<PlayerPerkType>PLAYERPERK_UBIK_MAII_CHATUCHAK</PlayerPerkType>
<BuildingClassType>BUILDINGCLASS_UBIK_MAII_CHATUCHAK</BuildingClassType>
<NumTradeRoutes>2</NumTradeRoutes>
</PlayerPerks_GeneralBuildingEffects>


EDIT: posting on the forum made a nonexistent space appear.
 
Back
Top Bottom