Modding Black Market

how to make the market more realistic

Hi Guys

I wanted to make the black market more realistic, and I didn't find any previous posts about it. So I made a new one. Here are the options for modding (ent. 1.01):

Gameplay.constants

 marketDef
  sellPrice 2.0
  buyPrice 4.0
  priceIncreaseAtMaxShift 2.22
  minTimeForMarketChange 10.0
  maxTimeForMarketChange 30.0
  minTimeToCrashOrBoom 2.0
  maxTimeToCrashOrBoom 10.0
  minLengthOfCrashOrBoom 20.0
  maxLengthOfCrashOrBoom 200.0
  normalMarketMinShift 0.2
  normalMarketMaxShift 0.5
  boomThresholdPerPlayer 400
  crashThresholdPerPlayer -400
  boomMinShift 0.8
  crashMaxShift 0.2
  netChangeForCrash -0.2
  netChangeForBoom 0.3

sellPrice and buyPrice are really clear, metal and crystal price are between 200 and 400 credits

normalMarketMinShift and MaxShift: the reaction time of the price to supply and demand, I think

Crash and Boom: not clear to me, I know the meanings, but the in-game effects are what?

Can anyone help me out? Crash/Boom? MarketChange? Treshold? netChange?

Thanks,

neterw

23,580 views 2 replies
Reply #1 Top

Crash & Boom are semi-random happenings causing the market prices to either go up rapidly, or go down rapidly. Ingame you get a message like "the market for crystal is booming" meaning that from that moment onwards the price for crystal steadily increases as specified by netChangeForBoom 0.3, in which I assume 0.3 stands for a 0.3 credits per second increase. The crash or boom continues for a duration of 20 to 200 (again I assume seconds) as specified under min- & maxLengthOfCrashOrBoom. In addition it seems that during a boom or crash a different minimum & maximum shift is used: during a crash buying stuff only increases the supply and demand price by a max of 0.2 instead of 0.5, and during a boom the minimum price increase is 0.8 instead of 0.2

 

What the treshold means I do not exactly know, perhaps it is tied with player activity: when every player has done a market transaction within 400 seconds a boom occurs, when no players have done a transaction in the past 400 seconds a crash occurs?

+1 Loading…
Reply #2 Top

My guess for threshold is that it means. Well, lets take a look at the positive properties.

If it was time based, both thresholds would be Positive.

 

I it means, with boom,

With boom, it means if the players BUY 400 units of resources, (hence the positive property.)

With crash, i means if the players SELL 400 units of resources, (hence the negitave property.)

+1 Loading…