• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.
Status
Not open for further replies.

Nick3210

Captain
1 Badges
Aug 7, 2013
459
292
  • Darkest Hour
I found that the commands like: command = { type = free_oil value = -280 } not work correctly.

This additional resource consumption do not summed with "Usage" during the hourly resource consumption.
Therefore, in the absence of oil, the oil never ends!

Example

Germany-36, Oil:

Home Produced: 124
Usage: -8
Additional (domestic civilian) consumption: -280

If the oil reserves ran out, game mechanics will work as follows:
Every new day at 00.00 hour GER will have 124 Oil. Then every several hours it will be in proportion to the decrease (8 Oil per 24 hours).
At 23.00 it will be 116 Oil (124-8). And next day it will be 124 Oil again!
So, Germany have terrible negative balance of oil, but never have less than 118 Oil ! Bingo! All units have no antibonuses, Germany have no need to worry about Oil !

To fix this problem we should to sum both parts of consumption, and per-hour decrease should be 8 + 280 = 288 Oil per 24-hour (-12 Oil per hour)!
Thus, at 11.00, every day German Oil will be over! That's would be correct mechanics!

At this moment, using this type of commands is the only way to make game with realistic world oil balance and it is very important for my modding.
So, would you be so kind to fix this problem in next patch, please?

 
Last edited:
Upvote 0

mccarty.geoff

Major
On Probation
Jul 11, 2017
641
4
My guess at the bug here is that home produced is the last line in the daily total summation. Negative values during the equation are increased to 0 and therefore this is an illogical process as reported. Perhaps a simple solution would be to allow a deficit for oil cut-off at -99 or something so that nations can indefinitely be without fuel or 'low on fuel' for gameplay. Logically off-map modifiers should be the final operation in the daily total sums but, changing that would probably be a more complex task. Adding free_oil/24 to Usage as Nick suggests doesn't make any sense to me though.
 
Last edited:

Nick3210

Captain
1 Badges
Aug 7, 2013
459
292
  • Darkest Hour
Of course it is absolutely no matter for me how technically it can be fixed, the result is important :)
 
Status
Not open for further replies.