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

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003883Zandronum[All Projects] Suggestionpublic2021-03-13 21:022021-07-31 03:31
Reportermikeful 
Assigned ToKaminsky 
PrioritylowSeverityfeatureReproducibilityN/A
StatusclosedResolutionwon't fix 
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 (developer)
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.
User avatar (0021653)
Kaminsky (developer)
2021-07-31 03:31

I'm going to go ahead and close this ticket, as this should be completely doable with ACS so we don't need to implement this on our end.

Issue Community Support
This issue is already marked as resolved.
If you feel that is not the case, please reopen it and explain why.
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
2021-07-31 03:31 Kaminsky Note Added: 0021653
2021-07-31 03:31 Kaminsky Status new => closed
2021-07-31 03:31 Kaminsky Assigned To => Kaminsky
2021-07-31 03:31 Kaminsky Resolution open => won't fix






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2025 MantisBT Team
Powered by Mantis Bugtracker