Modify

Ticket #1177 (closed to-do (no feature requests!): fixed)

Opened 9 months ago

Last modified 8 months ago

Droid speed issue

Reported by: DylanDog Owned by:
Priority: major Milestone: unspecified
Component: Engine: Scripting / AI Version: 2.2.4 (Unsupported!)
Keywords: droid speed Cc:
Operating System: All/Non-Specific Blocked By:
Blocking:

Description

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!

Attachments

Change History

comment:1 follow-up: ↓ 3 Changed 9 months ago by Per

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.

comment:2 Changed 9 months ago by Zarel

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.

comment:3 in reply to: ↑ 1 Changed 9 months ago by DylanDog

Replying to Per:

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).

comment:4 Changed 8 months ago by Zarel

  • Type changed from bug to to-do

comment:5 Changed 8 months ago by Per

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.

comment:7 Changed 8 months ago by Per

(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 ticket:1177 and closes ticket:1167

comment:8 Changed 8 months ago by Per

(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 ticket:1177 and closes ticket:1167

comment:6 Changed 8 months ago by Per

  • Status changed from new to closed
  • Resolution set to fixed
View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.