View Full Version : BuildingInfos


Tholish
May 29, 2006, 08:32 AM
I've starting experimenting with the XML and it looks like its easy to do all kinds of cool things. There are tutorials on stuff I can figure out myself, like how to add techs and religions and civics.

But I find BuildingInfos to be missing a lot of stuff. You can change many things with it, but many of the properties of buildings are not addressed. How do change a building's cultural output for example? The BuildingInfo for the Obelisk, which should have little else going on, doesn't give a clue. Looking at full blown mods doesn't help.

Is there somewhere else to look?

Lord Olleus
May 29, 2006, 08:42 AM
http://civ4wiki.com/wiki/index.php/CIV4BuildingInfos

Wiki to the rescue!
It will soon be finished.

Officer Reene
May 29, 2006, 10:18 AM
MODiki - Another Great Reference Site

http://modiki.apolyton.net/index.php?title=Reference_xml


I find using both reference sites help with info about XML (among other things ;) )

The Great Apple
May 29, 2006, 01:38 PM
When I get really bored I'm planning on copying all the modiki stuff over to Civ4Wiki (assuming that they say it's ok) - they were meant to merge ages ago but it never happened.

I'd have to be really bored though.

Agent 009
May 29, 2006, 04:41 PM
Here is part of the palace's parameters:

<YieldChanges>
<iYield>0</iYield>
<iYield>0</iYield>
<iYield>8</iYield>
</YieldChanges>
<CommerceChanges/>
<ObsoleteSafeCommerceChanges>
<iCommerce>0</iCommerce>
<iCommerce>0</iCommerce>
<iCommerce>2</iCommerce>
</ObsoleteSafeCommerceChanges>

The first part <YieldChanges> has the 3 <iYield> values. These represent how much food, labor, or gold that building produces. In this case the palace produces 8 gold.

For the second part: <ObsoleteSafeCommerceChanges> has 3 <iCommerce> Values. Those represent research, gold, and culture. So, in this case, the palace produces 2 culture. ;)

Have fun. ;)

Officer Reene
May 29, 2006, 08:21 PM
When I get really bored I'm planning on copying all the modiki stuff over to Civ4Wiki (assuming that they say it's ok) - they were meant to merge ages ago but it never happened.

I'd have to be really bored though.


yeah this needs to be done! :mischief:

Officer Reene
May 29, 2006, 08:31 PM
***EDIT***

Didnt read previous post correctly ...

no need for this one (repeats info) :blush:

Tholish
May 29, 2006, 08:42 PM
Aha, icommerce! Got it, thanks.