Difference between revisions of "Unit Movement"
Jump to navigation
Jump to search
TinyCoyote (talk | contribs) |
TinyCoyote (talk | contribs) (fix references) |
||
Line 2: | Line 2: | ||
= Decision = | = Decision = | ||
− | Chooses randomly any of these possibilities, | + | Chooses randomly any of these possibilities: , if none remains the unit does not move (e.g. stands still on tile where it was spawned) |
{|border="1" style="text-align: center;border-collapse:collapse;" | {|border="1" style="text-align: center;border-collapse:collapse;" | ||
Line 14: | Line 14: | ||
|- | |- | ||
! style="background:#f0f0f0;" | Type | ! style="background:#f0f0f0;" | Type | ||
− | ! style="background:#f0f0f0;" | Town-Center | + | ! style="background:#f0f0f0;" | Town-Center |
− | ! style="background:#f0f0f0;" | Enemy | + | ! style="background:#f0f0f0;" | Enemy |
! style="background:#f0f0f0;" | Enemy-Building | ! style="background:#f0f0f0;" | Enemy-Building | ||
! style="background:#f0f0f0;" | Enemy | ! style="background:#f0f0f0;" | Enemy | ||
Line 44: | Line 44: | ||
= References = | = References = | ||
− | + | [http://christophermpark.blogspot.co.at/2013/05/q-for-skyward-collapse-plus-new.html "... the military units won't actually move unless they have an enemy in their sight range or an enemy town center that they can path to."] |
Revision as of 13:48, 25 May 2013
This site explains how units decide to move.
Decision
Chooses randomly any of these possibilities: , if none remains the unit does not move (e.g. stands still on tile where it was spawned)
Priority => | Low | High | |||
Move to an reachable .. | Attack an .. | ||||
Type | Town-Center | Enemy | Enemy-Building | Enemy | Enemy-Building |
---|---|---|---|---|---|
.. in sight-range | .. in sight-range, in line-of-sight, and in attack-range | ||||
Melee | x | x | x | ||
Archery | x | x | x | x | x |
Siege Melee | x | x | |||
Siege Archery | x | x | x |
- Every target's possibility is overridden by it's highest priority. (e.g. if an archery could move to an enemy AND attack it, it would never move to it)
- Melee units attack when their on the same tile as the target.
- No unit will attack a town-center while there are still other buildings in the town (this makes town-centers kind of invincible)
- It seems like the unit will redecide after each action