How to modify a building?

NeoNick

Chieftain
Joined
Jan 13, 2011
Messages
11
I would like the Egyptian Burial Tomb to go back to producting Culture (instead of the new Faith). I managed to modify buildings before Gods & Kings but I cannot find where G&K stores info about Burial Tombs. :sad:

I can find some specs for the Burial Tomb under:
C:\Program Files (x86)\Steam\steamapps\common\sid meier's civilization v\Assets\Gameplay\XML\Buildings

Scrolling down in the CIV5Buildings.xml-file I find:

<Type>BUILDING_BURIAL_TOMB</Type> <BuildingClass>BUILDINGCLASS_TEMPLE</BuildingClass> <FreeStartEra>ERA_INDUSTRIAL</FreeStartEra>
<Cost>100</Cost>
<GoldMaintenance>0</GoldMaintenance> <PrereqTech>TECH_PHILOSOPHY</PrereqTech> <Help>TXT_KEY_BUILDING_BURIAL_TOMB_HELP</Help> <Description>TXT_KEY_BUILDING_BURIAL_TOMB_DESC</Description> <Civilopedia>TXT_KEY_BUILDING_BURIAL_TOMB_PEDIA</Civilopedia> <Strategy>TXT_KEY_BUILDING_BURIAL_TOMB_STRATEGY</Strategy> <ArtDefineTag>BURIAL_TOMB</ArtDefineTag> <SpecialistType>SPECIALIST_ARTIST</SpecialistType>
<SpecialistCount>1</SpecialistCount>
<MinAreaSize>-1</MinAreaSize>
<CapturePlunderModifier>100</CapturePlunderModifier>
<Culture>2</Culture> :confused: :confused: :confused:
<Happiness>2</Happiness>
<HurryCostModifier>25</HurryCostModifier>
<IconAtlas>BW_ATLAS_1</IconAtlas>
<PortraitIndex>55</PortraitIndex>

It looks as if the building still should produce Culture (look at the line with :confused:) - but in the game it will produce Faith. Why? And where can I change so that Burial Tomb goes back to producting Culture?

Help appreciated. :egypt:
 
Even if I ask for help with a very specific building, the question is relevant for other buildings in Gods & Kings also. :bump:
 
This question does belong in the customization forums, but that does not mean it cannot be answered. Go here, and you should find the new Burial Tomb:

C:\Program Files (x86)\Steam\SteamApps\common\sid meier's civilization v\assets\DLC\Expansion\Gameplay\XML\Buildings

In order to edit the Burial Tomb to your desire, you will need to edit this part:

<Row>
<BuildingType>BUILDING_BURIAL_TOMB</BuildingType>
<YieldType>YIELD_FAITH</YieldType>
<Yield>2</Yield>
</Row>

to yield Culture.
 
you might do better in the customization forums.

This question does belong in the customization forums,

Moderator Action: -> Thread moved.
If you see that somewhere something needs moderator attention, like e.g. moving threads, renaming threads, cleaning up spam, etc., then please don't hesitate to contact us, either directly via private message or via reporting the post which needs an action (this can be done via the "report post" button
report.gif
to the left of each post).
 
Since this is now in the correct forum, I have a question.

I'm reading over the XML and I see things like "market yield_gold 2" and "bank yield_gold 25".
How's the game know to "have the bank gave 25 % and not 25 gold" ?
 
The bank is in the Table <Building_YieldModifiers>, which, as it says, modifies certain yields. If you wanted to have the bank produce 25g, you would put the entry in <Building_YieldChanges>.
 
You'll notice that the Burial Tomb's yield is under the heading <Building_YieldChanges>. This means that the Burial Tomb will yield a fixed amount. If you needed a building to yield a % amount then it would go under this heading <Building_YieldModifiers>.
 
My Burial Tombs now adds Culture. :)

Would it be possible to make a hybrid Burial Tomb, one that adds +1 Culture and +1 Faith?

EDIT: I studied The Stele (which is the Ethopian Unique Building) and from that it seems I just have to double the entries, one for Culture and one for Faith.
 
Would it be possible to make a hybrid Burial Tomb, one that adds +1 Culture and +1 Faith?

EDIT: I studied The Stele (which is the Ethopian Unique Building) and from that it seems I just have to double the entries, one for Culture and one for Faith.

Correct
 
Back
Top Bottom