Using "curves" for calculating base demand

Have a feature request for SRU? Post here.

Moderators: Balthagor, Legend, Moderators

Post Reply
SGTscuba
General
Posts: 2544
Joined: Dec 08 2007
Location: Tipton, UK

Using "curves" for calculating base demand

Post by SGTscuba »

I have discussed this in the past over in discord and figured it was time to put it up on the forum now the infamous cap has been removed.

It was explained to me that the current system of generating the base demand for goods (before prices etc are applied) is based upon data in the WMDATA file.

Code: Select all

wmprodperpersonmax, 0.500
wmprodperpersonmin, 0.010
These are the limits of a countries demand, the "max" figure being used for the country with no.1 gdp, and the "min" figure for the country with the lowest gdp. Everyone else ends up with a figure that is spread over this, based on where they stand gdp number wise. Since this limits move on a fixed time basis through sandboxes, it can lead to some quite distorted economies given that tech usually ends up being researched ahead of time with the associated unit costs too.

I suggest that this system is removed, and replaced with a curved based system, so that as any nation moves up the gdp scale, demand for products should also rise. The benefit of using a curve (could be a couple of linear slopes that feed off each other) would be that all nations could have their demand increase, provided their gdp increases, regardless of the era they are in which should provide much smoother transition between the different eras than currently happens (especially noticeable from ww1 or ww2 sandbox). These curves could be formulaically derived between bands to provide a reasonable shape. I'm not sure what the performance hit would be, although it would be a simple system using linear sections between ranges.

Additionally, techs could be used to push up these curves if required to simulate new gadgets etc.
My SR:U Model Project, get the latest and post suggestions here:

http://www.bgforums.com/forums/viewtopi ... 79&t=28040
evildari
Brigadier Gen.
Posts: 629
Joined: Aug 10 2017
Human: Yes

Re: Using "curves" for calculating base demand

Post by evildari »

would be nice if the game would use /calculate with the values of these parameters - last time (several patches ago) i tested it with the same min and max value and i got quit unexpected values.

Also similar to that demand issue is about priorities - in this case the civilian petroleum usage which is still a hardcoded petrol power production, which always eats any petrol. first and your industries are left dry (even and especially bad if the industries use a small % of total consumption).
my mods
http://www.bgforums.com/forums/viewtopi ... 79&t=25932 (even techs and units for everyone - AI will own you too)
http://www.bgforums.com/forums/viewtopi ... 79&t=29326 (MARSX2)
Post Reply

Return to “Suggestions - SRU”