PDA

View Full Version : Lethality



hrvojej
02-21-2005, 18:46
I was wondering whether anyone could reliably tell me what does lethality (the last number in the stat_pri or stat_sec, usually set to 1) really do to the battle calculations? Is it a multiplier for the attack value? It is obvious that units with lower number (say, 0.1 vs 1 lethality peasants) kill less, but in what way is it exactly done? I've been trying to figure it out through tests, but apart from these simple findings I wasn't able to conclude anything in depth about its workings.

Any info is appreciated.
Cheers,

Bob the Insane
02-22-2005, 00:24
Could it be something real simpe like the numbre of hitpoints damage done by the attack? I mean for most units it is set to 1...

hrvojej
02-22-2005, 01:41
It could be, but I'm not sure that it is, since even peasants with 0.1 in that stat cause some casualties to other peasants upon the initial charge. If it was a hitpoint damage, it would mean that 10 people would have to hit one and the same opponent in that initial charge, which I don't see as plausible.

Simetrical
02-22-2005, 02:08
The lethality stat obviously doesn't scale linearly. What the formula it uses is, AFAIK, nobody's been able to determine (largely because nobody cares, since you can just tweak it until you get a speed you like).

-Simetrical

hrvojej
02-22-2005, 02:59
The lethality stat obviously doesn't scale linearly. What the formula it uses is, AFAIK, nobody's been able to determine (largely because nobody cares, since you can just tweak it until you get a speed you like).

-Simetrical
You mean, because of the 1, 0.87, 0.73 progression it would seem that it is not linear?
And I wanted to see whether this is a known, because I prefer to know what I'm tweaking. E.g., it would have a very different effect on a charge vs. post-charge combat if it was an attack multiplier as opposed to hitpoint damage. Unfortunatelly, it isn't listed in description of EDU.txt, like for example frequency of attack is.

And I do care about formulas. ~:)

Simetrical
02-22-2005, 03:30
I meant that it's obviously not just a linear multiplier of something, because halving it, for instance, doesn't seem to halve lethality. If you want to try figuring out the formula, go ahead, but I don't think it's particularly worthwhile.

-Simetrical

hrvojej
02-22-2005, 03:54
I meant that it's obviously not just a linear multiplier of something, because halving it, for instance, doesn't seem to halve lethality. If you want to try figuring out the formula, go ahead, but I don't think it's particularly worthwhile.

-Simetrical
Ah, I see. Thanks for the clarification.

What makes it difficult is that it seems it's not working for the ranged weapons (probably because the lethality of those is inherent to the projectile itself), which are much more reliable with respect to studying the killrate than melee is. What I'm basically trying to figure out is how to slow down kill speed while at the same time keeping charges as a viable option. And, for that matter, why do spears and ultra-axes have this stat lowered...