View Full Version : modify nuclear plant


cocco78
Nov 01, 2005, 03:34 AM
I want to modify nuclear plant:

I want add +1 in production, in xml file Civ4buildingsinfo which is the parameter to modify?

Thanks

macsbug
Nov 01, 2005, 06:12 AM
Change:

<YieldChanges/>

To:

<YieldChanges>
<iYield>0</iYield>
<iYield>1</iYield>
<iYield>0</iYield>
</YieldChanges>

cocco78
Nov 01, 2005, 10:06 AM
and for modify % of production of nuclar plant ?

macsbug
Nov 01, 2005, 01:25 PM
and for modify % of production of nuclar plant ?

After what you've already added:

<YieldChanges>
<iYield>0</iYield>
<iYield>1</iYield>
<iYield>0</iYield>
</YieldChanges>

Add the following:

<YieldModifiers>
<iYield>0</iYield>
<iYield>X</iYield>
<iYield>0</iYield>
</YieldModifiers>

Where X is the % bonus to give to the city.

cocco78
Nov 03, 2005, 12:09 PM
but if i modify with 25 is 25 production shield not 25%... modify the same place why?