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

Droid speed issue #1177

Closed
Closed
@wzdev-ci

Description

@wzdev-ci
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

Activity

wzdev-ci

wzdev-ci commented on Dec 10, 2009

@wzdev-ci
ContributorAuthor

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

wzdev-ci commented on Dec 10, 2009

@wzdev-ci
ContributorAuthor

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

wzdev-ci commented on Dec 11, 2009

@wzdev-ci
ContributorAuthor

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

wzdev-ci commented on Jan 9, 2010

@wzdev-ci
ContributorAuthor

Zarel changed type from bug to to-do

wzdev-ci

wzdev-ci commented on Jan 18, 2010

@wzdev-ci
ContributorAuthor

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

wzdev-ci commented on Jan 18, 2010

@wzdev-ci
ContributorAuthor

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

wzdev-ci commented on Jan 18, 2010

@wzdev-ci
ContributorAuthor

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

wzdev-ci commented on Jan 18, 2010

@wzdev-ci
ContributorAuthor

Per changed status from new to closed

wzdev-ci

wzdev-ci commented on Jan 18, 2010

@wzdev-ci
ContributorAuthor

Per set resolution to fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @wzdev-ci

        Issue actions

          Droid speed issue · Issue #1177 · Warzone2100/old-trac-import