Reinforcements

Warplan is a World War 2 simulation engine. It is a balance of realism and playability incorporating the best from 50 years of World War 2 board wargaming.

Moderator: AlvaroSousa

Post Reply
User avatar
ago1000
Posts: 901
Joined: Fri Aug 06, 2004 7:12 am
Location: Canada

Reinforcements

Post by ago1000 »

This is a mini scenario I set up to try to show what is happening with reinforcements that is different than what seems to be stated in the manual. I am just bringing it to your attention.

I've assigned 56 PP before ending my turn, 53 were used up, 3 were stored.

The armor at the top, 27/30 strength I have just set to priority before ending my turn. (2nd order p.37 of manual)
The units next to enemy units get the next reinforcements, 5th order. (All units will be repaired in the order of lowest strength first per category). The armor unit next to the polish unit doesn't get reinforced at all and it has the lowest strength value. Other units in the rear do though because of the amount of Production Points remaining of the 56 are applied to them before the armor unit. In fact, one of the air unit with the lowest level 7th, gets a reinforcement strength. Below is the before picture, the next post has the after pic.






Image
Attachments
Reinforcem..Scenario.jpg
Reinforcem..Scenario.jpg (182.62 KiB) Viewed 564 times
User avatar
ago1000
Posts: 901
Joined: Fri Aug 06, 2004 7:12 am
Location: Canada

RE: Reinforcements

Post by ago1000 »

I believe the reason this occurs is the program tries to reinforce the unit to it's maximum replacement value. If it can't, it bypasses the unit.

In this case the armor unit would need to receive 5 strength points this turn. Since I set the other armor unit to priority (27/30) it will use up approximately 22 PP for that unit. The program doesn't give partial upgrades, so it will attempt to reinforce the 2nd armor unit 5 strength points (24/30 to 29/30) and that will cost approximately 37 PP. Since only 56PP was assigned and it needs 59 PP for the two armor units alone, it skips this unit and distributes the remaining PP to other units it can reinforce up to it's maximum strength value. I'm not saying this is a bug. I'm saying that it may cause some confusion to some when you are looking over your units and are wondering why the armor unit didn't reinforce at all (ie. close to enemy and lowest strength).


Image
Attachments
Reinforcem..ed53Used.jpg
Reinforcem..ed53Used.jpg (102.46 KiB) Viewed 564 times
User avatar
Meteor2
Posts: 433
Joined: Mon Jul 20, 2009 6:58 pm
Location: Germany

RE: Reinforcements

Post by Meteor2 »

Thanks, ago1000, to make this clear.
To be honest, I was not aware for these proceedings.
Maybe it is working as designed, but nevertheless it feels strange.
The supply in SC3 is not automated, but it works absolutely clear and delivers what you want.
Which kind of mechanism is better or fits better to the game?
User avatar
ago1000
Posts: 901
Joined: Fri Aug 06, 2004 7:12 am
Location: Canada

RE: Reinforcements

Post by ago1000 »

The system at present is brilliant. If I had known the above, I simply needed to allocate enough PP to reinforce both armor and make them both a priority. I thought it would split the production point and give some to the armor because it had the lowest strength, but I was wrong. I'm just sharing info.

User avatar
AlvaroSousa
Posts: 12107
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: Reinforcements

Post by AlvaroSousa »

If it is 10% below it reinforces 10%.

But it does pick the weakest units 1st

So if you have a line of units on a front line and one in the rear it will pick the front line units weakest 1st to repair. Then the front line units, then the rear unit.

If you set the rear unit on priority it will pick it 1st above all else.
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
User avatar
ago1000
Posts: 901
Joined: Fri Aug 06, 2004 7:12 am
Location: Canada

RE: Reinforcements

Post by ago1000 »

Here is the scenario where I still allocate 56PP and prioritize the two armor units. In this case 51PP is used and the armor on top is not reinforced.

Image
Attachments
Reinforcem..ed51Used.jpg
Reinforcem..ed51Used.jpg (105.25 KiB) Viewed 564 times
User avatar
ago1000
Posts: 901
Joined: Fri Aug 06, 2004 7:12 am
Location: Canada

RE: Reinforcements

Post by ago1000 »

Gonna provide one more scenario. In this case reinforcements are turned off on every unit except the two armor units which both have the same priority.

I thought 56PP should have reinforced both or partially both. That's my mistake.

If it is 10% below it reinforces 10% is an absolute. It will do the whole 10% or nothing at all.
However, at 20% loss it will only reinforce 17% (seems to be a max) if it can or nothing at all.









Image
Attachments
Reinforcem..ed35Used.jpg
Reinforcem..ed35Used.jpg (90.93 KiB) Viewed 564 times
User avatar
AlvaroSousa
Posts: 12107
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: Reinforcements

Post by AlvaroSousa »

It reinforces 20% of the maximum strength.

So are you saying it isn't reinforcing 20%?
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
User avatar
ago1000
Posts: 901
Joined: Fri Aug 06, 2004 7:12 am
Location: Canada

RE: Reinforcements

Post by ago1000 »

Correct. It does not.
Every unit in the game as its max replacement value based on it's size. Armor is 5 strength.

In the example below, the 3 armor started at half strength, 15/30, now they are all at 20/30. (max, 5 strength obtained at 35PP each)

By the way, I wouldn't change a thing. This is awesome. No unit should get it's full value every time, maybe an increase with priority, but I'd leave it. I said this before this is brilliant. I think it simply and it works. I believe though it needs to be stated in the manual. That would be fair. I'm just bringing it to your attention.

Here are the other max values
Unit Size 10 increase 1 strength max (Headquarters, Inf, Marines)
Unit Size 20 increase 3 Strength max (INF, Calvary, Paratrooper)
Unit Size 30 increase 5 strength max (Mountain, INF, Mech, Armor)
Air Units Size 20 increase 3 strength max (Interceptors, Ground, Tactical, Strategic)
Naval Units All increase 1 strength max (Subs, CL/DD, CA, BB, CV)
as of 1.00.05h4 version.


Image
Attachments
Reinforcem..rmor5Max.jpg
Reinforcem..rmor5Max.jpg (59.09 KiB) Viewed 564 times
User avatar
AlvaroSousa
Posts: 12107
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: Reinforcements

Post by AlvaroSousa »

So then it is right this numbers look correct
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
User avatar
ago1000
Posts: 901
Joined: Fri Aug 06, 2004 7:12 am
Location: Canada

RE: Reinforcements

Post by ago1000 »

The video will show you what I mean. No matter how many production points I assign, it will never be 30/30 in one turn . However, it will upgrade to a max of 5 strength points (if it can every time) at a cost of 35PP this one turn regardless of the percentage.
Here is a video:
https://youtu.be/v6XrJOMOEBE


It will always upgrade a MAX of 5 strength points when possible whenever the strength of the armor unit is 25 and below. (5/30 is 17%) . If I had started the video at half strength armor unit, the next turn 15/30 will turn into 20/30, the following turn, 20/30 becomes 25/30 and the following turn 25/30 becomes 30/30 (full strength). Four turns to bring it to full strength and each turn 35PP are used up. This is what is happening to all the units in the game.

Here is a video of a 20 size unit where the max is 3 per turn: https://youtu.be/hzPb5LtLx00

I don't think this is working as intended. For example, 15/30 Armor unit at 50% gets 50% of its full strength back should be at full strength at the end of the turn. In the current model, it will be at 20/30 strength (17%) because the MAX it can get in a turn is 5 strength points.

I hope this helps.[:)] I think I'm understanding what your asking?

Possible suggestion for Warplan2, have user press a button like r and while holding r down, left click on units and the program calculates for you the number of production points required to reinforce and/or upgrade units.

User avatar
AlvaroSousa
Posts: 12107
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: Reinforcements

Post by AlvaroSousa »

I'll look into reinforcement code Monday. Thanks for suggestion.
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
Post Reply

Return to “WarPlan”