Unit Speed Issue
Unit Speed Issue
This post is related to AI script.
Units which belongs to a group always move with the highest speed of the slower tank in the group, not with their own higher speed.
Would it be possible to modify this at least for the below two listed functions such that the unit moves at his higher speed even if belonging to a group?
orderDroid(DROID, order)
orderDroidLoc(DROID, order, x, y)
While when using the orderGroup functions the units should move with the highest speed of the slower tank, which is already the case:
orderGroup(GROUP, order)
orderGroupLoc(GROUP, order, x, y)
This gives AI developers the chance to choose the speed for a certain action...if I want to achieve this today, I need to modify a lot the AI script and put units with same propulsion and body in the same team...too much work.
If you agree I will open a trouble ticket for this.
Units which belongs to a group always move with the highest speed of the slower tank in the group, not with their own higher speed.
Would it be possible to modify this at least for the below two listed functions such that the unit moves at his higher speed even if belonging to a group?
orderDroid(DROID, order)
orderDroidLoc(DROID, order, x, y)
While when using the orderGroup functions the units should move with the highest speed of the slower tank, which is already the case:
orderGroup(GROUP, order)
orderGroupLoc(GROUP, order, x, y)
This gives AI developers the chance to choose the speed for a certain action...if I want to achieve this today, I need to modify a lot the AI script and put units with same propulsion and body in the same team...too much work.
If you agree I will open a trouble ticket for this.
Re: Unit Speed Issue
In game,player can change this by pressing F11 (It says "Formation speed limiting OFF", default is ON).
Re: Unit Speed Issue
and how can I tell an AI to do this?13KukYNexus666 wrote:In game,player can change this by pressing F11 (It says "Formation speed limiting OFF", default is ON).
Re: Unit Speed Issue
so if you give the group an order to move somewhere, and after that give a single droid of this group an order to move somewhere, than it stays at the slowest speed?!?
Re: Unit Speed Issue
No.Thyranim wrote:so if you give the group an order to move somewhere, and after that give a single droid of this group an order to move somewhere, than it stays at the slowest speed?!?
I don't know, human player must do that.DylanDog wrote:and how can I tell an AI to do this?13KukYNexus666 wrote:In game,player can change this by pressing F11 (It says "Formation speed limiting OFF", default is ON).
Re: Unit Speed Issue
I think this is the main problem DylanDog is facing :/13KukYNexus666 wrote:No.Thyranim wrote:so if you give the group an order to move somewhere, and after that give a single droid of this group an order to move somewhere, than it stays at the slowest speed?!?
so yes, for AI it will stay at the slowest speed
Re: Unit Speed Issue
You missed a part:guciomir wrote:I think this is the main problem DylanDog is facing :/
so yes, for AI it will stay at the slowest speed
He asked for AFTER detaching single unit from group.Thyranim wrote:so if you give the group an order to move somewhere, and after that give a single droid of this group an order to move somewhere, than it stays at the slowest speed?!?
Then it will travel at it's max speed.
-
- Inactive
- Posts: 1695
- Joined: 01 Sep 2006, 19:17
Re: Unit Speed Issue
There's a bugreport somewhere that this doesn't always work.13KukYNexus666 wrote:He asked for AFTER detaching single unit from group.
Then it will travel at it's max speed.
Re: Unit Speed Issue
correct, but we are talking about AI script not human playing.Thyranim wrote:so if you give the group an order to move somewhere, and after that give a single droid of this group an order to move somewhere, than it stays at the slowest speed?!?
Guciomir is right. The issue is that I keep the unit in the team and give that unit only an order to move or scout -> then it moves at max speed of the lowest unit in the group. I obviuosly do not want to move that unit away from the group as I cannot develop an AI which controls each single unit, I have to keep it in a group/team.guciomir wrote: I think this is the main problem DylanDog is facing :/
so yes, for AI it will stay at the slowest speed
Re: Unit Speed Issue
@ cybersphynx, Per, Zarel and al others...
Would it be possible to modify the code at least for the below two listed functions such that the unit moves at his higher speed even if belonging to a group?
orderDroid(DROID, order)
orderDroidLoc(DROID, order, x, y)
While when using the orderGroup functions the units should move with the highest speed of the slower tank, which is already the case:
orderGroup(GROUP, order)
orderGroupLoc(GROUP, order, x, y)
Would it be possible to modify the code at least for the below two listed functions such that the unit moves at his higher speed even if belonging to a group?
orderDroid(DROID, order)
orderDroidLoc(DROID, order, x, y)
While when using the orderGroup functions the units should move with the highest speed of the slower tank, which is already the case:
orderGroup(GROUP, order)
orderGroupLoc(GROUP, order, x, y)
Re: Unit Speed Issue
There is a hotkey F11 to turn on or off formation speed limiting.
I think that users should decide should that be on or off.
Just you need to make users know about that.
I think that users should decide should that be on or off.
Just you need to make users know about that.
Re: Unit Speed Issue
The problem is that if you select a bunch of units and click on a destination, orderDroidLoc is called, not orderGroupLoc. Not to mention I'm pretty sure the speed limiting isn't done in those functions.DylanDog wrote:@ cybersphynx, Per, Zarel and al others...
Would it be possible to modify the code at least for the below two listed functions such that the unit moves at his higher speed even if belonging to a group?
orderDroid(DROID, order)
orderDroidLoc(DROID, order, x, y)
While when using the orderGroup functions the units should move with the highest speed of the slower tank, which is already the case:
orderGroup(GROUP, order)
orderGroupLoc(GROUP, order, x, y)
He's already answered this question: viewtopic.php?p=41648#p4164813KukYNexus666 wrote:There is a hotkey F11 to turn on or off formation speed limiting.
I think that users should decide should that be on or off.
Just you need to make users know about that.
Please pay better attention to threads. :/
Re: Unit Speed Issue
I don't think that is an anwser.Zarel wrote:He's already answered this question: viewtopic.php?p=41648#p41648
Please pay better attention to threads. :/
I just said what I think about that.
My opinion is that user should decide will speed limiting be on or off.
Some users may like it more with that limiting.
So, player, not AI should decide that.
Wait, isn't there a way to set default status of speed limiting to OFF?
And then users could turn it on if they like it.
Something like at beggining of game automatize function of that hotkey.
Re: Unit Speed Issue
The AI should decide whether its own units should get speed limiting.13KukYNexus666 wrote:I don't think that is an anwser.
I just said what I think about that.
My opinion is that user should decide will speed limiting be on or off.
Some users may like it more with that limiting.
So, player, not AI should decide that.
Re: Unit Speed Issue
I get it now.
Speed limiting should be local, not global.
Speed limiting should be local, not global.