Page 1 of 1

Changing supply mechanics

Posted: Fri Dec 16, 2011 9:23 pm
by fvianello
As probably some of you noticed, it's presently possible to reinforce indefinitely an encircled, cut-out unit using only the "local" supply from a nearby conquered city (see this thread).

I think it's possible to change this behaviour by editing the following consts.ini values:
[UnitsPerformanceInRelationsToSupplyAt30]
EffectivityPenalty = 0
ActionPointsPenalty = 0
ColumnShiftDuringAirCombat = 0
AirStrikeModifier = 100
MaximumReplacementsForLandUnits = 100
MaximumReplacementsForAirUnits = 10

[UnitsPerformanceInRelationsToSupplyAt25]
EffectivityPenalty = 1
ActionPointsPenalty = 0
ColumnShiftDuringAirCombat = 0
AirStrikeModifier = 100
MaximumReplacementsForLandUnits = 100
MaximumReplacementsForAirUnits = 9

[UnitsPerformanceInRelationsToSupplyAt20]
EffectivityPenalty = 2
ActionPointsPenalty = 25
ColumnShiftDuringAirCombat = -1
AirStrikeModifier = 90
MaximumReplacementsForLandUnits = 80
MaximumReplacementsForAirUnits = 8

[UnitsPerformanceInRelationsToSupplyAt15]
EffectivityPenalty = 3
ActionPointsPenalty = 34
ColumnShiftDuringAirCombat = -2
AirStrikeModifier = 80
MaximumReplacementsForLandUnits = 60
MaximumReplacementsForAirUnits = 6

[UnitsPerformanceInRelationsToSupplyAt10]
EffectivityPenalty = 4
ActionPointsPenalty = 50
ColumnShiftDuringAirCombat = -3
AirStrikeModifier = 70
MaximumReplacementsForLandUnits = 40
MaximumReplacementsForAirUnits = 4

[UnitsPerformanceInRelationsToSupplyAt5]
EffectivityPenalty = 5
ActionPointsPenalty = 75
ColumnShiftDuringAirCombat = -4
AirStrikeModifier = 50
MaximumReplacementsForLandUnits = 20
MaximumReplacementsForAirUnits = 2

Changing the MaximumReplacementsForLandUnits values for everything not at 30 supply should have the net effect to hamper / block reinforcement attempts to units that are not near to a main supply source, or at least to a 30 supply source.

It's not clear if the MaximumReplacementsForLandUnits value is a percentage or an absolute value, but i'll experiment a little.

RE: Changing supply mechanics

Posted: Fri Dec 16, 2011 9:48 pm
by Lascar
Good find HanBarca. I hope you are right about the possibility of fixing that problem. If modding can fix this and some of the other problems raised I will finally buy ToF. I want to like this game and feel it has a lot of potential.

RE: Changing supply mechanics

Posted: Sat Dec 17, 2011 5:02 am
by Razz1
Changing this will unbalance the game as units will not be able to reinforce.

The distance in Russia is quite far from many supply points.

You are jumping to conclusion on the game from one snap shot and one instance.

That city can supply units up to 40%.

Once the unit in the city drops below 60% in strength it will not be able to supply above that point.

The problem with the player was:

The hexes surrounding the city were not occupied.

If he wanted to defeat the unit he could have used air support and mass attacks.

You don't have to attack a surrounded city.

There is a check sum each turn that gives you a chance to reduce entrenchment and or have the unit surrender.

There is no problem defeating that 36 point strength unit.

RE: Changing supply mechanics

Posted: Sat Dec 17, 2011 7:14 am
by fvianello
The point is not how to defeat the panzer corps, but the fact it's able to reinforce to full strength while encircled alone in a city 50 km from Moscow. Do you remember Stalingrad?

Regarding units being impossible to reinforce, that's exactly the effect I'd like to obtain. Actually, I want them to reinforce only if they are very high in supply, let's say in the 25-30 range.


RE: Changing supply mechanics

Posted: Sat Dec 17, 2011 9:09 pm
by doomtrader
HanBarca,
You have made a good research.

Changing those values will cause the units to be able to reinforce only when having high supply level.
When editing those, please remember that for some countries, some values in consts.ini file might be overwritten in country specific settings. So also please check consts_Germany.ini or consts.USA.ini, just to name two.

RE: Changing supply mechanics

Posted: Sat Dec 17, 2011 10:32 pm
by waichou
i am not familiar with editing consts.ini files, so maybe someone could post the file if he did it ?

Thanks,

RE: Changing supply mechanics

Posted: Sat Dec 17, 2011 11:29 pm
by doomtrader
Here it is:

tm.asp?m=2987136

RE: Changing supply mechanics

Posted: Sun Dec 18, 2011 1:11 pm
by fvianello
ORIGINAL: doomtrader

Here it is:

tm.asp?m=2987136

That's the way to go doomtrader [:)]