Deride
Posts: 488
Joined: 6/21/2004 From: Dallas, TX Status: offline
|
quote:
ORIGINAL: Cyrano That out of the way, how big is this "area of threat"? Just two nights ago, I had a tray one square away (to the front) from the flag. To my right and behind my line there was a SINGLE stand of Helvetii. I charged them (from even further on the right) and they were forced to rout. They headed straight to my flag. To determine threat, we use a fairly simple algorithm. First, we determine the threat of each individual unit. For example, an infantry unit that has 3 stands with 2 steps on the last stand. That is equal to 2*5 + 2 = 12. (E.g., every step remaining of the current unit.) This value is added onto a threat map at the location of the unit. Then, as you move 1 square away, 1/2 of that threat is added to the map. For 2 squares away, 1/4 of the threat is added, etc. until the threat drops below one half. This process is repeated for each visible enemy unit. When a routing unit flees, it picks the move that give it the lowest threat. (In case of a tie, it picks randomly.) Deride
|