View Full Version : Prices


Sarda3kaa
Sep 29, 2008, 12:00 AM
Need a little help here, no matter were I search I can't find were the prices for goods are and the chance they lower or raise, can anyone point me out the right file? :D

Sarda3kaa
Sep 29, 2008, 02:45 AM
Nvm finally found it. Terrain folder in the CIV4YieldInfos.xml

Dafy
Sep 29, 2008, 01:14 PM
The prices do not change enough compared to Col1. Selling one type good all the time do not lower price enough.

Can somebody explain how this works (example what following 3 lines do):
<iSellPriceDifference>
<iPriceChangeThreshold>
<iPriceCorrectionPercent>


<Type>YIELD_FOOD</Type>
<Description>TXT_KEY_YIELD_FOOD</Description>
<Civilopedia>TXT_KEY_YIELD_FOOD_PEDIA</Civilopedia>
<bCargo>1</bCargo>
<iBuyPriceLow>0</iBuyPriceLow>
<iBuyPriceHigh>2</iBuyPriceHigh>
<iSellPriceDifference>8</iSellPriceDifference>
<iPriceChangeThreshold>1000</iPriceChangeThreshold>
<iPriceCorrectionPercent>1</iPriceCorrectionPercent>
<iNativeBuyPrice>-1</iNativeBuyPrice>
<iNativeSellPrice>7</iNativeSellPrice>
<iNativeConsumptionPercent>-1</iNativeConsumptionPercent>
<iNativeHappy>0</iNativeHappy>
<iHillsChange>-1</iHillsChange>
<iPeakChange>0</iPeakChange>
<iLakeChange>2</iLakeChange>
<iCityChange>0</iCityChange>
<iMinCity>0</iMinCity>
<iAIWeightPercent>100</iAIWeightPercent>
<iAIBaseValue>5</iAIBaseValue>
<iNativeBaseValue>4</iNativeBaseValue>
<iPower>0</iPower>
<iAsset>1</iAsset>
<ColorType>COLOR_YIELD_FOOD</ColorType>
<UnitClass>UNITCLASS_FOOD</UnitClass>
<iTextureIndex>0</iTextureIndex>
<iWaterTextureIndex>8</iWaterTextureIndex>


Thanks, Dafy.

OSaft
Sep 29, 2008, 02:15 PM
http://forums.civfanatics.com/showthread.php?t=292862

Skell Jell
Oct 21, 2008, 05:21 PM
Need a little help here, no matter were I search I can't find were the prices for goods are and the chance they lower or raise, can anyone point me out the right file? :D

Yes. This is how prices work with supply and demand. That is a good realistic thing to put in a mod.