Skip to content
This repository has been archived by the owner on Apr 17, 2022. It is now read-only.

Droid speed issue #1177

Closed
wzdev-ci opened this issue Dec 10, 2009 · 9 comments
Closed

Droid speed issue #1177

wzdev-ci opened this issue Dec 10, 2009 · 9 comments

Comments

@wzdev-ci
Copy link
Contributor

keyword_droid_speed resolution_fixed type_to-do (no feature requests!) | by DylanDog


This ticket is related to AI script.

Droids which belongs to a group always move with the highest speed of the slower droid in the group, not with their own higher speed even if to order to move is given via orderDroid().

Would it be possible to modify this at least for the below two listed functions such that the droid moves at its higher speed even if belonging to a group:

orderDroid(DROID, order)
orderDroidLoc(DROID, order, x, y)

While when using the orderGroup functions the droid should move with the highest speed of the slower tank, which is already the case:

orderGroup(GROUP, order)
orderGroupLoc(GROUP, order, x, y)

Thanks!


Issue migrated from trac:1177 at 2022-04-15 20:12:19 -0700

@wzdev-ci
Copy link
Contributor Author

Per commented


See http://forums.wz2100.net/viewtopic.php?f=32&t=4200

I can give you a function to turn on/off speed limiting globally. What you are asking for requires much more work because it is contrary to how it is designed to work.

@wzdev-ci
Copy link
Contributor Author

Zarel commented


In particular, see my post:

The best solution I can think of is to toggle formation limiting with a script function.

We can do that. As I've already mentioned, we can't change orderDroid/orderGroup because 1. orderDroid affects players, and 2. formation speed limiting can't be done in orderDroid/orderGroup.

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Dec 11, 2009

DylanDog commented


Replying to Warzone2100/old-trac-import#1177 (comment:1):

See http://forums.wz2100.net/viewtopic.php?f=32&t=4200

I can give you a function to turn on/off speed limiting globally.

Would this affect the speed of all droids, also the ones belonging to the human player and other AIs? If so I think this could be a good 'temporary' solution. What I mean is that if this requires a lot of work for you leave it, if not please proceed and I will implement it in DyDo. I will try to implement it such that DyDo turn it off only when it is really necessary (a battle is ongoing).

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Jan 9, 2010

Zarel changed type from bug to to-do

@wzdev-ci
Copy link
Contributor Author

Per commented


I looked into this, and the formation speed limiting is ... insane. It limits all droids driving to the same coordinates. And this is set globally for all droids, all players, locally on each PC, and is not even synchronized over the network to other players in MP.

@wzdev-ci
Copy link
Contributor Author

Per commented


(In [9330]) Remove support for formation speed limiting. It is not implemented well, has bugs, and will
lead to severe out of sync issues if used by some but not all players in multiplayer. This
closes #1177 and closes #1167

@wzdev-ci
Copy link
Contributor Author

Per commented


(In [9331]) 2.3: Remove support for formation speed limiting. It is not implemented well, has bugs, and will
lead to severe out of sync issues if used by some but not all players in multiplayer. This
closes #1177 and closes #1167

@wzdev-ci
Copy link
Contributor Author

Per changed status from new to closed

@wzdev-ci
Copy link
Contributor Author

Per set resolution to fixed

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant