|Anonymous | Login | Signup for a new account||2021-04-10 11:12 UTC|
|My View | View Issues | Change Log | Roadmap | Zandronum Issue Support Ranking | Rules | My Account|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0003883||Zandronum||[All Projects] Suggestion||public||2021-03-13 21:02||2021-03-19 22:47|
|Platform||Linux||OS||Ubuntu||OS Version||10.04 x86-64|
|Target Version||Fixed in Version|
|Summary||0003883: Survival: change to specified map instead of reset when mission fails|
|Description||I had this idea for hardcore/run based survival coop server where map is changed to first map of WAD with weapon/inventory reset when all players lose their lives instead of resetting current one.|
I read through source code of survival stuff and looked into creating this behavior using ACS but seems like there is currently not enough hooks into survival match behaviors to actually do it this way.
Ideally this would be controlled via new variable like 'sv_survival_reset_to_map map01' or similar. When empty/false/missing reset current map according to currently existing variables.
My next idea is build program to attach to server via rcon and try to parse match state from console messages for map change command.
edited on: 2021-03-14 21:12
You could just have an ACS script that's always checking if GetGameModeState( ) == GAMESTATE_INRESULTSEQUENCE (which becomes true when the "Mission Failed" message appears), then switch to MAP01 or any specific map using ChangeLevel() afterward. I think that should suffice.
|Thanks. I'll check if that works.|
|I got it working that way. I check game state a bit after every DEATH and change level. Bit janky but seems to work as expected. I'll test it on my server and maybe release the mod on forums.|
|Having played a good amount of co-op and survival, this could help prevent players from getting stuck on a certain map, provided this option could skip to the next map as well. Changing maps after failing multiple times would be even better.|
|I thought about that too but so far we have solved skipping forward with voting system.|
|Only registered users can voice their support. Click here to register, or here to log in.|
|Opponents:||No one explicitly opposes this issue yet.|
|2021-03-13 21:02||mikeful||New Issue|
|2021-03-14 21:11||Kaminsky||Note Added: 0021605|
|2021-03-14 21:12||Kaminsky||Note Edited: 0021605||View Revisions|
|2021-03-16 19:35||mikeful||Note Added: 0021606|
|2021-03-17 16:18||mikeful||Note Added: 0021607|
|2021-03-19 03:31||EpicTyphlosion||Note Added: 0021608|
|2021-03-19 22:47||mikeful||Note Added: 0021609|
Questions or other issues? Contact Us.
|Copyright © 2000 - 2021 MantisBT Team|