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

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000963Zandronum[All Projects] Suggestionpublic2012-08-10 13:412012-08-23 12:23
ReporterBalrog 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusacknowledgedResolutionwaiting for zdoom 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000963: Teleport_NewMap needs a way to work across game modes
DescriptionRight now Teleport_NewMap works like the changemap command, preserving the game state without checking to see if things like the game mode have been changed. This makes it pretty much impossible to make a DUEL32-style wad that works with multiple game modes, since using "map" to warp would disrupt any scripts that the wad uses to, for example, switch back to the hub map when there are no players.

Therefore, there needs to be a way to preserve running scripts and related gamestate info across a warp with Teleport_NewMap while still rereading variables that trigger a "will be changed in the next map" message when changed.
Attached Files

- Relationships

-  Notes
User avatar (0004340)
Dusk (developer)
2012-08-10 17:59
edited on: 2012-08-10 18:00

That sounds pretty much impossible as scripts are local to the map they are run in...

Though you can use global scope variables if you want to pass information from one map to another.

User avatar (0004424)
Balrog (reporter)
2012-08-23 12:10

All right, I'm an idiot. The kind of scripts that DUEL32 uses aren't interrupted by map. However, it would still be a good idea for Teleport_NewMap to have a boolean argument to determine whether to reset the world. Pass this issue upstream to ZDooM?
User avatar (0004425)
Dusk (developer)
2012-08-23 12:23

Something like that would definitely have to be done in ZDoom first, yes.

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

- Issue History
Date Modified Username Field Change
2012-08-10 13:41 Balrog New Issue
2012-08-10 17:59 Dusk Note Added: 0004340
2012-08-10 18:00 Dusk Note Edited: 0004340 View Revisions
2012-08-23 12:10 Balrog Note Added: 0004424
2012-08-23 12:23 Dusk Note Added: 0004425
2012-08-23 12:23 Dusk Status new => acknowledged
2012-08-23 12:23 Dusk Resolution open => waiting for zdoom






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker