Page MenuHomeFeedback Tracker

Multiplayer Remote Control (2 player UGV)
Feedback, NormalPublic

Description

Currently, I'm trying to develop module to allow two players to control a single UGV/UAV. To accomplish this I have been developing a mission that gives players an action to remoteControl the UGV. I have discovered this is possible but there is an issue which I discovered in the process. If a player is remote controlling a position in a vehicle and another player tries to take control of the same position, the first player loses control and the ability to return from remote control. I realize this is likely why the UAV terminal doesn't allow for multiple users to control the same asset. However, I believe I can develop a script that would prevent this if somethings were corrected/added.

Request:

  • Add a new command that returns if a unit is being remote controlled or better yet, states who is remote controlling said unit. (Preferred)
  • Update the missionnamespace variable bis_fnc_moduleRemoteControl_unit to reflect seat changes via the Action SwitchToUAVDriver or SwitchToUAVGunner
  • Update the UAVControl command to return more complete values that account for multiple units in a vehicle.

Details

Severity
Tweak
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Operating System Version
pro
Category
Scripting
Steps To Reproduce
  • Create mission with 2 zues curators (as players in the mission) and 1 vehicle with driver/gunner (e.g. Hunter HMG)
  • Zues 1 uses remote control module on vehicle (by default, they control gunner)
  • Zues 1 moves to driver seat by selecting Take UAV Controls
  • Zues 2 uses remote control module to control driver of the vehicle

Result:

  • Zues 2 is now in control of the vehicle driver with no issues.
  • Zues 1 is now viewing the AI of the vehicle gunner but has lost ability to control move, shoot, no visible user actions, etc.
  • Zues 1 can exit zeus mode and return to original player, but cannot move said character.
Additional Information

Upon inspecting the remote control modules, I've tracked the assignment of the missionnamespace
variable bis_fnc_moduleRemoteControl_unit

actionvalue of bis_fnc_moduleRemoteControl_unit zeus 1value zues 2
Zeus 1 takes control of vehicle gunnerugv2Gnull
Zues 1 moves to driver seat by selecting Take UAV Controlsugv2Gnull
Zues 2 uses remote control module to control driver of the vehicleugv2Gugv2D

I've also inspected the UAVControl command hoping that would allow me to develop a workaround for my custom 2 player UGV control script but that doesn't appear to return complete values when multiple players control the same UGV. Return values are as follows:

  • [<NULL-object>,""] - unoccupied -> safe to take any spot
  • [<unit>,"GUNNER"] - gunner seat occupied -> safe to take driver but not gunner
  • [<unit>,"DRIVER"] - driver seat occupied or driver and gunner seats occupied -> need to determine if gunner is occupied

Event Timeline

Update the UAVControl command to return more complete values that account for multiple units in a vehicle.

Could you elaborate on this? Current command returns both players already

BIS_fnc_KK changed the task status from New to Need More Info.Jul 26 2023, 11:00 AM
BIS_fnc_KK set Ref Ticket to AIII-55830.Jul 27 2023, 12:28 PM

If a player is remote controlling a position in a vehicle and another player tries to take control of the same position, the first player loses control and the ability to return from remote control.

fixed in Revision: 150861

BIS_fnc_KK removed BIS_fnc_KK as the assignee of this task.Aug 1 2023, 12:08 AM
BIS_fnc_KK changed the task status from Need More Info to Feedback.
BIS_fnc_KK added a subscriber: BIS_fnc_KK.