BuildingInfos

Tholish

Emperor
Joined
Jul 5, 2002
Messages
1,344
Location
Japan
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?
 
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.
 
Here is part of the palace's parameters:

Code:
<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. ;)
 
The Great Apple said:
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:
 
***EDIT***

Didnt read previous post correctly ...

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