demoth / jake2

Quake 2 java port
GNU General Public License v2.0
59 stars 9 forks source link

Multi instance preview #71

Closed demoth closed 2 years ago

demoth commented 3 years ago

Jake2 now can run multiple instance in one process. There is no application for this feature right now (mostly because of the limitation of the singleplayer/coop campaigns), but there are plans to use it in the future.

At the moment the vanilla behavior (keep one instance for all players; move all players to the new instance on the trigger_changelevel is triggered) is preserved so that the quake 2 campaign is playable.

To try the new feature you can use gamemap <mapname> <clientindex> command to move the specific client to another map. All other clients are retained in the original map. Wheneven the map or gamemap <mapname> command is executed all clients are moved to the new map and old instances are discarded.