Zandronum Chat on our Discord Server Get the latest version: 3.0
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003883Zandronum[All Projects] Suggestionpublic2021-03-13 21:022021-03-19 22:47
Assigned To 
PlatformLinuxOSUbuntuOS Version10.04 x86-64
Product Version3.0 
Target VersionFixed in Version 
Summary0003883: Survival: change to specified map instead of reset when mission fails
DescriptionI 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.
Attached Files

- Relationships

-  Notes
User avatar (0021605)
Kaminsky (reporter)
2021-03-14 21:11
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.

User avatar (0021606)
mikeful (reporter)
2021-03-16 19:35

Thanks. I'll check if that works.
User avatar (0021607)
mikeful (reporter)
2021-03-17 16:18

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.
User avatar (0021608)
EpicTyphlosion (reporter)
2021-03-19 03:31

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.
User avatar (0021609)
mikeful (reporter)
2021-03-19 22:47

I thought about that too but so far we have solved skipping forward with voting system.

Issue Community Support
Only registered users can voice their support. Click here to register, or here to log in.
Supporters: EpicTyphlosion
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
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
Powered by Mantis Bugtracker