-
stat_pri
hi all, hope this is the right subforum.
looking inside the EDU, i have noticed that, at end of the the stat_pri string, there is always a number -often 0, sometimes high like 160 - that is not mentioned/explained in the Guide.
i show it:
guide:
stat_pri From left to right
; attack factorf
; attack bonus factor if charging
; missile type fired (no if not a missile weapon type)
; range of missile
; amount of missile ammunition per man
; Weapon type = melee, thrown, missile, or siege_missile
; Tech type = simple, other, blade, archery or siege
; Damage type = piercing, blunt, slashing or fire. (I don't think this is used anymore)
; Sound type when weapon hits = none, knife, mace, axe, sword, or spear
; Min delay between attacks (in 1/10th of a second)
now, let us see, for ex., the stat_pri of equites extraordinarii:
4, 34, no, 0, 0, melee, blade, piercing, spear, 180 ,0.38
so, what is this '180', and what for?
-
Re: stat_pri
It´s the "delay" of the primary weapon, additionaly created to the animation delay that is not affected by the stats, but by the unit model, afaik.
In your example "spear" is a primary weapon, while sword would be the secondary; to indicate the advantage of the sword vs. spear = the faster attack, the value 180 makes the spear slow/less frequent in attack compared to the sword, but mostly coupled with higher lethality ( 0.38 the spear vs. 0.13/0.11 ( ap mostly ) for the sword.
-
Re: stat_pri
Check out Aradan's EDU guide. One of the quirks of the EDU is that, for the 1.2 update of R:TW, CA added a lethality value but forgot to update the header. So I am guessing that 0.38 is the lethality and 180 the min_attack_delay. I admit that, at first glance, the values don't appear to make sense (lance lethality should be 0.6).
-
Re: stat_pri
thank you all!
btw, do you think it works to add power_charge to non-chariot units?