Log in

View Full Version : Battle score formula: battlescores



MagyarKhans Cham
11-16-2002, 13:50
In the upcoming logfilereader the armyworth after a battle is calculated.

A=victorious soldiers in unit
B=routed soldiers in unit
C=unitsize
D=unitvalue before battle
E=unitworth after battle
F=Armyworth

-----------------------------

E = ((A+B)/C)*D for each unit


F = E1 + E2 + .. E16 for all units together

----------------------------------

well this leaves out:
- the captured men which has a certain value for the enemy.
- the value of a captured/killed general
- the fact that the DEAD soldiers are "just" slain, which implies some or many still live.

so which percentange of the dead are still alive... 40%?

anyone up for some brainstorming? it would be nice to have create a battlescore value out of this.

MagyarKhans Cham
11-16-2002, 14:16
http://home.cable4u.nl/%7Epaszl-p2/logfilereader-battlescore.gif

see example of scores if u just divide

wortharmy/armycosts

FasT
11-16-2002, 14:23
Nice work my Khan:)
Im sure the community will be very grateful for such a tool.

Send me it when ready plzs............

MagyarKhans Cham
11-16-2002, 14:31
lol Fast its already on your pc http://www.totalwar.org/forum/non-cgi/emoticons/wink.gif

FasT
11-16-2002, 15:44
heheh i know it was a J/K;)

Magyar Khan
11-17-2002, 14:41
noone involved enuf to have an opinion?

Cheetah
11-17-2002, 20:45
IMHO one can calculate either the worth of a unit or the effectiveness of it. Let us use the following notations:

S= number of surviving soldiers in a unit
P= number of prisoners captured by the given unit
K= number of enemy soldiers killed by the given unit
C= cost of a soldier in a given unit
U= cost of the unit
N= size of the unit

obviously: C=U/N

Worth of the unit(W):

W= S*Cs + P*Cp

where Cs denotes the cost of the soldiers and Cp the cost of the prisoners respectively.

Effectiveness of the unit in terms of cost (Eu):

Eu= (P*Cp + K*Ck)/U

where Ck denotes the cost of the prisoners

Effectiveness of the unit in terms of numbers (En):

En= (P + K)/N

Hm, it can be difficult to calculate the cost of the captured and killed since to do so one would have to know the type of captured/killed soldiers. Perhaps one could use an average cost instead of this, based on the cost of the opposing army.

Dionysus9
11-17-2002, 22:33
Quote[/b] (Cheetah @ Nov. 17 2002,13:45)]Hm, it can be difficult to calculate the cost of the captured and killed since to do so one would have to know the type of captured/killed soldiers. Perhaps one could use an average cost instead of this, based on the cost of the opposing army.
Yes this is a problem. Average cost of enemy army is meaningless in a game with more than 2 players, because you are capturing bits and pieces of various enemy armies. The logfile is inherently limited in that it cannot tell us what troops were captured/killed. Therefore, it seems to me, that trying to use the logfile to calculate the value of neutralized enemy troops is doomed to innacuracy/failure.

Magyar Khan
11-18-2002, 02:07
well the soldiersinfo dont show u teh actual number of men captured it shows only...

Victorious - who survived and won battle
Dead - who died
Captured - who WAS captured by enemy
Routed - went of field and probably u could be enlisted in later battles....

so if u focus on this...