Chasing units - Page 2

Chasing units

Requests for features in the spring code.

Moderator: Moderators

Saktoth
Zero-K Developer
Posts: 2665
Joined: 28 Nov 2006, 13:22

Post 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.
User avatar
Snipawolf
Posts: 4357
Joined: 12 Dec 2005, 01:49

Post 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
User avatar
Zpock
Posts: 1218
Joined: 16 Sep 2004, 23:20

Post by Zpock »

It would be great if you could set the distance in LUA. Also chasing units for custom commands would be nice.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Post 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.
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Post 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
User avatar
ILMTitan
Spring Developer
Posts: 410
Joined: 13 Nov 2004, 08:35

Post 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.
Post Reply

Return to “Feature Requests”