Page 1 of 1

Units number

Posted: Mon May 07, 2012 9:56 am
by enric
Trying to understand units's attributes.
For example, APAccuracy as the name itself is probably the accuracy firing AP but there are 5 levels, APAccuracy0, APAccuracy1,… APAccuracy4, as the unit may fire until 8 tiles away which apply to every range?

Others attributes have four values: Armour0, Armour1, Armour2, Armour3, are they Front, *Side left, *side right, and rear?
(*I see that Armour1 and Armour2 are always the same value.).

I guess some other functions of other values as ReactionChange. There are three values, and as I saw in squads those are for degrees arc. ReactionChange0 (I assume is NW, N, NE of facing unit), ReactionChange1 is for W, NW, N, NE, and E, and ReactionChange2 is for the rest, is it right?.

Is there any document that explains those values in deep?

Re: Units number

Posted: Mon May 07, 2012 3:07 pm
by pipfromslitherine
The accuracies are set up in bands of range. You can see how they are used in the GetRangeBracket function in COMBATTOOLS.BSF.

I believe the armour values are front, side, back, top.

The reaction chances are in the front 90 degrees, the side and rear I believe.

We don't have a document that details how we use all the unit stats. We rely on the scripts to some extent as the documentation for anyone interested enough to care :). Doing a find-in-files in Notepad++ on a given attribute will bring up where it is used, and there are usually comments.

Cheers

Pip