Load Cost Calculation

Please post here for questions and discussion about scenario design and the game editor for WITP.

Moderators: wdolson, Don Bowen, mogami

Post Reply
User avatar
Helpless
Posts: 15788
Joined: Fri Aug 27, 2004 3:12 pm

Load Cost Calculation

Post by Helpless »

I'm trying to find out how WITP calculates "Load Cost AP" and "Load Cost AK" for the LCU. The problem is to find out how it differentiates how many load points particular devices would consume on AP or AK. It seems that the same device type (eg. Army Weapon) sometimes treated as "Infantry" (consuming 1 AP) and sometimes as "Arty" (consuming 3 AP). The same must be true for the other guns. Does this mean that system also looks at device "Load Cost" value ?

THX
Pavel Zagzin
WITE/WITW/WITE-2/CS-2 Development
el cid again
Posts: 16984
Joined: Mon Oct 10, 2005 4:40 pm

RE: Load Cost Calculation

Post by el cid again »

Yes and no.

And also otherwise.

Or, it depends.

Really - all of the above.

It depends on what you are loading (a squad, a weapon, a vehicle? or an airplane squadron?) on what you are loading it on (an AP, an AK, an LST, a submarine, an airplane?)

and, depending, it will use squad count, three times squad count, load value, and wierd multiples (see the submarine case) - and some things you cannot load at all.

And we probably do not know all the variations on all of this - it being SOP that we are allowed to mod, but must be semi (if not mostly) blindfolded.
User avatar
Helpless
Posts: 15788
Joined: Fri Aug 27, 2004 3:12 pm

RE: Load Cost Calculation

Post by Helpless »

well.. simple as that.. [:)]

I'm trying to calculate Load Cost value from LCU composition using info from manual (Inf - 1 AP; Arty,Vehical - 3 AP; Arm - 6AP). Also found that disabled squads are using half of normal load cost. Interesting part how WITP rounds that value.

Now, from editor point of view what is what. It is obvious that Arm = AFV. Inf is Enginners, Squads, Support, etc. Vehicle = Vehicle. The tricky part is what is Arty?

In most cases I'm getting very close to the value WITP is displaying on LCU info screen. but the most confusion is with AA, CD, ART and Base Force units...

Guess there should be some formula... [;)]

Pavel Zagzin
WITE/WITW/WITE-2/CS-2 Development
el cid again
Posts: 16984
Joined: Mon Oct 10, 2005 4:40 pm

RE: Load Cost Calculation

Post by el cid again »

Guess there should be some formula...

And there is. But the decision is it is propriatary - and secret from us.
So we have to actually work - figure things out. Blindfolded as it were.
User avatar
Helpless
Posts: 15788
Joined: Fri Aug 27, 2004 3:12 pm

RE: Load Cost Calculation

Post by Helpless »

Yes! It depends on device load cost value (not only type). Just found for Army Weapon device:

Army Weapon Device LC 1 - 8: consumes 1AP 6AK points (Inf)
Army Weapon Device LC 9 -.. : consumes 3AP 2AK points (Arty)


Keep making reverse engineering... [:)]

Pavel Zagzin
WITE/WITW/WITE-2/CS-2 Development
User avatar
Helpless
Posts: 15788
Joined: Fri Aug 27, 2004 3:12 pm

RE: Load Cost Calculation

Post by Helpless »

After making extensive calculation tests it seems that used capacity(AP-AK-LST) for the devices in WITP(WPO) is calculated using following algorithm:

- all devices with load cost < 9 are treated as infantry , i.e each load cost point is using 1xAP, 6xAK, 2xLST capacity

- if device load cost >=9, then
a) for device type "22 - AFV" each load cost point is using 6xAP, 4xAK, 1xLST capacity
b) for the device types "23 - Squad" or "24 - Engineer" each load point is using 1xAP, 6xAK, 2xLST
c) for all other device types each load cost point is using 3xAP, 2xAk, 1xLST capacity

- disabled devices are using half of usual capacities.


By calculating total LCU load capacity (AP, AK, LST) I'm getting in most cases exactly the same value WITP(WPO) provides. There is possibility for small error due to calculating and rounding disabled devices.


Pavel Zagzin
WITE/WITW/WITE-2/CS-2 Development
User avatar
Nomad
Posts: 7273
Joined: Wed Sep 05, 2001 8:00 am
Location: West Yellowstone, Montana

RE: Load Cost Calculation

Post by Nomad »

ORIGINAL: Helpless

After making extensive calculation tests it seems that used capacity(AP-AK-LST) for the devices in WITP(WPO) is calculated using following algorithm:

- all devices with load cost < 9 are treated as infantry , i.e each load cost point is using 1xAP, 6xAK, 2xLST capacity

- if device load cost >=9, then
a) for device type "22 - AFV" each load cost point is using 6xAP, 4xAK, 1xLST capacity
b) for the device types "23 - Squad" or "24 - Engineer" each load point is using 1xAP, 6xAK, 2xLST
c) for all other device types each load cost point is using 3xAP, 2xAk, 1xLST capacity

- disabled devices are using half of usual capacities.


By calculating total LCU load capacity (AP, AK, LST) I'm getting in most cases exactly the same value WITP(WPO) provides. There is possibility for small error due to calculating and rounding disabled devices.



I am sure they could have made it much harder to figure out. [&:][:)]
User avatar
Sardaukar
Posts: 12845
Joined: Wed Nov 28, 2001 10:00 am
Location: Finland/Israel

RE: Load Cost Calculation

Post by Sardaukar »

They could have added random +/- 20 % to calculation...[:D][:D]. Might have been actually realistic...
"To meaningless French Idealism, Liberty, Fraternity and Equality...we answer with German Realism, Infantry, Cavalry and Artillery" -Prince von Bülov, 1870-

Image
User avatar
Helpless
Posts: 15788
Joined: Fri Aug 27, 2004 3:12 pm

RE: Load Cost Calculation

Post by Helpless »

Guess by mistake random modifier got multiplied by 0 [:D]
Pavel Zagzin
WITE/WITW/WITE-2/CS-2 Development
User avatar
dtravel
Posts: 4533
Joined: Wed Jul 07, 2004 6:34 pm

RE: Load Cost Calculation

Post by dtravel »

The load costs of individual LCU elements are listed in the "aircraft, troop and vehicle database". Just add up the costs to determine the LCU's total load cost.

As for the total load values listed in various places in the game, it was confirmed more than a year ago that the program deliberately mis-states them.
This game does not have a learning curve. It has a learning cliff.

"Bomb early, bomb often, bomb everything." - Niceguy

Any bugs I report are always straight stock games.

Image
User avatar
Helpless
Posts: 15788
Joined: Fri Aug 27, 2004 3:12 pm

RE: Load Cost Calculation

Post by Helpless »

ORIGINAL: dtravel

As for the total load values listed in various places in the game, it was confirmed more than a year ago that the program deliberately mis-states them.

I think it's not or at least it is very close. In 99% LCU exactly fits into the specified AP/AK load capacity. For bigger LCU (div, bde) there is a little overhead due to bigger amount of supply coming with units.
Pavel Zagzin
WITE/WITW/WITE-2/CS-2 Development
Post Reply

Return to “Scenario Design”