• 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.

Tegetthoff

General
14 Badges
Apr 14, 2006
2.101
4
  • Arsenal of Democracy
  • Hearts of Iron II: Armageddon
  • For the Motherland
  • Hearts of Iron III
  • Semper Fi
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Rise of Prussia
  • Mount & Blade: Warband
  • Imperator: Rome Deluxe Edition
  • Imperator: Rome
  • Imperator: Rome - Magna Graecia
As far as I have been able to see max_oil_stock need not be defined in the unit files but is calculated automatically from the fuelconsumption of the division + brigade.

However, when fuelconsumptionios is adjusted by tech or event, max_oil_stock is not recalculated (left at 0) and those units run out of oil immediately with 0 oil supply.

This does not happen in vanilla AoD since the feature is not used, but happens for CORE for AoD which I am just porting. We have a tech that raises fuelconsumption for all units (limited infantry motorization).

Could you still have a look at it.

Upgrading the unit seems to reset the max_oil_stock and everthing works.
 
Upvote 0
As far as I have been able to see max_oil_stock need not be defined in the unit files but is calculated automatically from the fuelconsumption of the division + brigade.

However, when fuelconsumptionios is adjusted by tech or event, max_oil_stock is not recalculated (left at 0) and those units run out of oil immediately with 0 oil supply.

This does not happen in vanilla AoD since the feature is not used, but happens for CORE for AoD which I am just porting. We have a tech that raises fuelconsumption for all units (limited infantry motorization).

Could you still have a look at it.

Upgrading the unit seems to reset the max_oil_stock and everthing works.

Even though it is not used widely, you can specify the max oil and supply stock in each division... please look at armor.txt for samples.
(if no specific amount set, the default is based on max consumtion)

One of the betas should make an issue of this and i will look at it for 1.04
 
Thanks for he quick reply and I will report on this as I work on CORE for AoD.

I fixed it yesterday with a max_oil_stock in the infantry.txt, but I am unsure wether the low max_oil_stock I defined there will remain.

Best Regards

T.

P.S.: I take your shifting of this to 1.4 as a sign that 1.3 is nearing completion?
P.P.S.: changing max_oil_stock is currently not an event or tech command - it would make sense to increase max_oil_stock (if defined) with increasing fuelconsumption