2 Questions about Custom Wonder Tooltip

Ubik1994

Chieftain
Joined
Oct 14, 2015
Messages
13
I have been working on some entirely new custom wonders. Everything works correctly except that:

1) I cannot make seem to make a wonder require more than one type of strategic resources. Of the three it always display just one.
CODE USED:
Spoiler :
<Building_ResourceQuantityRequirements>
<Row>
<BuildingType>BUILDING_UBIK_GLOBAL_STOCK_EXCHANGE</BuildingType>
<ResourceType>RESOURCE_PETROLEUM</ResourceType>
<Cost>3</Cost>
</Row>
<Row>
<BuildingType>BUILDING_UBIK_GLOBAL_STOCK_EXCHANGE</BuildingType>
<ResourceType>RESOURCE_TITANIUM</ResourceType>
<Cost>3</Cost>
</Row>
<Row>
<BuildingType>BUILDING_UBIK_GLOBAL_STOCK_EXCHANGE</BuildingType>
<ResourceType>RESOURCE_FIRAXITE</ResourceType>
<Cost>3</Cost>
</Row>
<Building_ResourceQuantityRequirements>

2) There's always an UNDEF appearing before what I suppose is the Help text (this while browsing in the tech web)

EDIT: it appears that while the text in the spoiler is EXCHANGE it displays EXHCANG E when I submit it D:
 
Building tooltips will always only show 1 Resource, the three resources will still be required to construct the building though. An easy way to clarify the Resource Requirements is to provide the Information in the <Help>-Text.
 
Kappa. Modding is not so easy as it seems (at least when you are new to it), I actually have been spending more time trying to figure stuff out than playing the game itself ahaha. AND I have stumbled upon a new problem: I made this damn wonder, I made it so it would give the player who build it a playerperk. Am I doing something wrong or am I missing some crucial part like: you cannot receive perks from wonders without doing x first? Also I noted that after having constructed it it bugged the UI in the City Building Display (Blacked out) :eek:

Perks:
Spoiler :

<PlayerPerks>

<Row>
<Type>PLAYERPERK_UBIK_GLOBAL_STOCK_EXCHANGE</Type>
<Help>-25% Cost to Purchase Units, Buildings and Tiles with [ICON_ENERGY] Energy, +1500 [ICON_ENERGY] Energy</Help>
<FreeEnergy>1500</FreeEnergy>
<PlotEnergyCostModifier>25</PlotEnergyCostModifier>
<CityEnergyPurchaseCostMod>25</CityEnergyPurchaseCostMod>
</Row>

<Row>
<PlayerPerkType>PLAYERPERK_CYTYEFFECT_UBIK_ORBITAL_BAZAAR</PlayerPerkType>
<Help>+2 Free Trades Routes in the Capital</Help>
</Row>

</PlayerPerks>

<PlayerPerks_CityEffects>
<PlayerPerkType>PLAYERPERK_CYTYEFFECT_UBIK_ORBITAL_BAZAAR</PlayerPerkType>
<CapitalOnly>true</CapitalOnly>
<FreeTradeRouteSlots>2</FreeTradeRouteSlots>
</PlayerPerks_CityEffects>


Building:
Spoiler :
<Buildings>
<Row>
<Type>BUILDING_UBIK_GLOBAL_STOCK_EXCHANGE</Type>
<BuildingClass>BUILDINGCLASS_UBIK_GLOBAL_STOCK_EXCHANGE</BuildingClass>
<Cost>700</Cost>
<ConquestProbability>100</ConquestProbability>
<PrereqTech>TECH_COMMUNICATIONS</PrereqTech>
<Description>TXT_KEY_BUILDING_UBIK_GLOBAL_STOCK_EXCHANGE_DESC</Description>
<Help>TXT_KEY_BUILDING_UBIK_GLOBAL_STOCK_EXCHANGE_HELP</Help>
<Civilopedia>TXT_KEY_BUILDING_UBIK_GLOBAL_STOCK_EXCHANGE_PEDIA</Civilopedia>
<Quote>TXT_KEY_BUILDING_BYTEGEIST_QUOTE</Quote>
<ArtDefineTag>NO VISUAL</ArtDefineTag>
<HurryCostModifier>-1</HurryCostModifier>
<DisplayPosition>6</DisplayPosition>
<IconAtlas>BW_ATLAS_2</IconAtlas>
<PortraitIndex>17</PortraitIndex>
<WonderSplashImage>Wonder_Bytegeist.dds</WonderSplashImage>
<WonderSplashAudio>AS2D_WONDER_SPEECH_BYTEGEIST</WonderSplashAudio>
<FreePlayerPerk>PLAYERPERK_UBIK_GLOBAL_STOCK_EXCHANGE</FreePlayerPerk>
<SpecialistType>TRADER</SpecialistType>
<SpecialistCount>3</SpecialistCount>
</Row>
<Row>
<Type>BUILDING_UBIK_ORBITAL_BAZAAR</Type>
<BuildingClass>BUILDINGCLASS_UBIK_ORBITAL_BAZAAR</BuildingClass>
<Cost>700</Cost>
<ConquestProbability>100</ConquestProbability>
<PrereqTech>TECH_EUTHENICS</PrereqTech>
<Description>TXT_KEY_BUILDING_UBIK_ORBITAL_BAZAAR_DESC</Description>
<Help>TXT_KEY_BUILDING_UBIK_ORBITAL_BAZAAR_HELP</Help>
<Civilopedia>TXT_KEY_BUILDING_UBIK_ORBITAL_BAZAAR_PEDIA</Civilopedia>
<Quote>TXT_KEY_BUILDING_HUMAN_HIVE</Quote>
<ArtDefineTag>HUMAN_HIVE</ArtDefineTag>
<HurryCostModifier>-1</HurryCostModifier>
<DisplayPosition>5</DisplayPosition>
<IconAtlas>BW_ATLAS_2</IconAtlas>
<PortraitIndex>6</PortraitIndex>
<WonderSplashImage>Wonder_HumanHive.dds</WonderSplashImage>
<WonderSplashAudio>AS2D_WONDER_SPEECH_UBIK_HUMAN_HIVE</WonderSplashAudio>
<FreePlayerPerk>PLAYERPERK_CYTYEFFECT_UBIK_ORBITAL_BAZAAR</FreePlayerPerk>
<SpecialistType>TRADER</SpecialistType>
<SpecialistCount>2</SpecialistCount>
</Row>
</Buildings>


Text
Spoiler :
<LocalizedText>

<Row Language="en_US" Tag="TXT_KEY_BUILDING_UBIK_GLOBAL_STOCK_EXCHANGE_DESC">
<Text>Global Stock Exchange</Text>
</Row>
<Row Language="en_US" Tag="TXT_KEY_BUILDING_UBIK_GLOBAL_STOCK_EXCHANGE_HELP">
<Text>+3 [ICON_ENERGY] Trader-Specialist slots, +3 [ICON_ENERGY] Energy yield from Trader-Specialists in all cities, -25% Cost to Purchase Units, Buildings and Tiles with [ICON_ENERGY] Energy, +1500 [ICON_ENERGY] Energy </Text>
</Row>

<Row Language="en_US" Tag="TXT_KEY_BUILDING_UBIK_GLOBAL_STOCK_EXCHANGE_PEDIA">
<Text>As colonies grew and the economies flourished soon the need to create a global stock exchange emerged. Based on new communications technologies the GSE was a decentralised, completely virtual and satellites-based stock exchange.</Text>
</Row>

<Row Language="en_US" Tag="TXT_KEY_BUILDING_UBIK_ORBITAL_BAZAAR_DESC">
<Text>Orbital Bazaar</Text>
</Row>
<Row Language="en_US" Tag="TXT_KEY_BUILDING_UBIK_ORBITAL_BAZAAR_HELP">
<Text>+2 [ICON_ENERGY] TRADER-Specialists, +2 Free Trade Routes in the Capital.</Text>
</Row>

<Row Language="en_US" Tag="TXT_KEY_BUILDING_UBIK_ORBITAL_BAZAAR_PEDIA">
<Text>Neo Baghdad Orbital Bazaar is a thriving trading and cultural orbital megastructure, this is terra-franca, no laws except the one of pure free trade.</Text>
</Row>

<Row Language="en_US" Tag="TXT_KEYPLAYERPERK_PLAYERPERK_UBIK_GLOBAL_STOCK_EXCHANGE_HELP">
<Text>-25% Cost to Purchase Units, Buildings and Tiles with [ICON_ENERGY] Energy, +1500 [ICON_ENERGY] Energy </Text>
</Row>

<Row Language="en_US" Tag="PLAYERPERK_CYTYEFFECT_UBIK_ORBITAL_BAZAAR_HELP">
<Text>+2 Free Trade Routes in the Capital.</Text>
</Row>

</LocalizedText>
 
Ok, I think I actualy sorted out what my mistakes were:

1) SPECIALIST_TRADER and not just TRADER
2) DISPLAY_POSITION --> I thought it was related to the position on the tech web but as now I believe it is related to the position of the wonder on the map. Am I right?
 
Back
Top Bottom