Opened 7 years ago

Last modified 5 years ago

#4444 new enhancement

Restore groups / shortcuts after rejoin

Reported by: elexis Owned by:
Priority: Nice to Have Milestone: Backlog
Component: Simulation Keywords:
Cc: Patch:

Description

When playing a game, it is useful to save camera positions with the default F5-F8 hotkeys (hotkey.camera.jump and hotkey.camera.jump.set) and shortcut entities with hotkey.selection.group.save and hotkey.selection.group.select.

Savegames do store the bindings and restore them upon load. But the bindings are lost when rejoining a multiplayer game and have to be done from scratch again.

Along with the matchID, the bindings of the last match could be stored in a new file and loaded upon rejoin.

The userdefined groups are exposed through getSavedGameData in session.js. The function should be extended to also include the camera positions saved in jumpCameraPositions of input.js.

If the next match to be joined has a different matchID, the bindings are discarded.

Change History (1)

comment:1 by Itms, 5 years ago

Component: UI & SimulationSimulation
Note: See TracTickets for help on using tickets.