Page 2 of 2

Posted: 08 Oct 2007, 00:39
by Saktoth
KDR_11k wrote:How about just issuing a move order?
If you give a move order, units will often 'forget' which target they are meant to be shooting at, and re-target something else. This is especially true if the target is out of range when you give the order. Take chasing a commander using Kbots while there are also enemies or LLT's or such in the area. Having them re-target the other units when you give a move order can mean you dont get the com, and giving an attack order on the com means they will stop and start and not fire very much.
Essentially, if it is an internal order, such as the unit was idling, or fighting, or patrolling, Hold Position would prevent the unit from chasing the other unit. If the attack order was manual, however, it would start chasing before the target got out of range, because it would chase after the target after the target got out of range anyway.
What about an automatic (Non-manual) attack order for a unit on roam or maneuver? I assume that triggers the chase?
I am also thinking that 70% of maximum range would be a good point to start chasing, but still only if the target was running away, no running into LLT range.
I can see this being a problem, with a flat 70%. It will become much easier to lure long range units (Say samsons) into battle, as they will come closer than they need to when pursuing an enemy.

Posted: 08 Oct 2007, 00:42
by Snipawolf
We need like 5 options, as I have said before.

We need something for

Don't follow
1x range
.75x range
.5x range
.25x range

Posted: 08 Oct 2007, 01:11
by Zpock
It would be great if you could set the distance in LUA. Also chasing units for custom commands would be nice.

Posted: 08 Oct 2007, 02:40
by smoth
honestly do what ya'll want as long as a unit in hold position does not move unless ordered I am cool with it.

Any movement without an order on hold position would ruin the point of hold position.

Posted: 08 Oct 2007, 02:50
by LordMatt
smoth wrote:honestly do what ya'll want as long as a unit in hold position does not move unless ordered I am cool with it.

Any movement without an order on hold position would ruin the point of hold position.
+1

Posted: 08 Oct 2007, 06:00
by ILMTitan
Ok, I have decided to make the chase distance depend dynamically on the speed of the unit being chased and the acceleration of the chasing unit.

I want this to just be an intrinsic unit behavior because it is something that makes the units unambiguously smarter. I am not intending on having any interface with it, other than the way Hold Position and Maneuver would affect it.


A unit set to maneuver would chase a little when given an internal attack order.

Edit: Committed. I believe everyone should be happy, except possibly Snipawolf. I actually locked down two cases where a unit set to hold position could move from its location or fight/patrol line.