Panzer Corps 2

Panzer Corps 2

Storm Over Europe
Cloverdung 6 Feb, 2024 @ 12:19am
Limited Stock setting (under Advanced Options)
Thank you for the Storm Over Europe part 1 mod and all the hard work to keep it going.

I have been playing around with using the Limited Stock setting (under Advanced Options at campaign start) using the SOE mod. In one of the early scenarios for SOE, there is a Quarter Master option of spending Command Points for a special hero or prototype equipment, and so on. I have goofed around with offering "training re-assignments" by converting Kavallerie (more than enough) into Fallschirmjager (running low) using Command Points. For example,

AddEquipment(0, "Fallschirmjager", 100, LimitedAvailability)
AddEquipment(0, "Kavallerie", -100, LimitedAvailability)

This is working and increases Fallschirmjager by 100 and decreases Kavallerie by 100 in the store. I realize not using Limited Stock avoids this, but I am just trying to add more flavor by re-allocating troops based on my needs at the start of the next scenario.

An observation within SOE has been that the following infantry troops are receiving the Limited Stock quantity increases between scenarios: Bruckenpioniere, Kavallerie, Pioniere, Grenadier, WehrInfantry.

However, the following infantry troops are NOT receiving the regular Limited Stock increase between scenarios: Fallschirmjager, Gebirgsjager, Leichte Infanterie (Jager).

Leichte Infanterie (Jager) is a unique unit within SOE, so, I am guessing the Jager unit may not be available for regular quantity increases between scenarios if the Limited Stock option is buried within any Unreal Engine files. But, that does not explain two original units getting bypassed (Fallschirmjager and Gebirgsjager) with the Limited Stock increases between scenarios.

I have reviewed various files in the base game and the SOE mod but cannot seem to find reference to the Limited Stock setting or calculation. Does anyone know if the "counter" for Limited Stock resides in an editable file or where it is calculated between scenarios?

(FYI: I have only looked at infantry units within SOE at this time regarding Limited Stock quantity increases.)