View Full Version : SDK MODCOMP Request


Vadus
May 09, 2006, 05:18 PM
Hi Modders,

maybe someone can help me out in an issue.. I'm really scared by this c code from the SDK :blush:
So .. I need a new XML Attribute in CIV4BuildingInfos.xml same like this :


<SpecialistYieldChanges>
<SpecialistYieldChange>
<SpecialistType>SPECIALIST_CITIZEN</SpecialistType>
<YieldChanges>
<iYield>2</iYield>
<iYield>0</iYield>
<iYield>0</iYield>
</YieldChanges>
</SpecialistYieldChange>
</SpecialistYieldChanges>


But, this YieldChange should only change the Yields for the Specialists in the city where this building stands.

I hope, this is not to heavy..

And please post, if anyone knows if this can simply be done by a tricky xml setting without changing the c code.


Another possibility to solve my issue is to make a building being depending on the terrain of the city square.
What I want is for example, that an engineer can produce more than 2 Hammers, if the city stands on a hill.