MantisBT - Zandronum
View Issue Details
0003212Zandronum[All Projects] Suggestionpublic2017-08-01 20:402024-03-01 07:34
Ivan 
 
normalminorN/A
resolvedfixed 
3.0-beta 
 
0003212: A way to access/know the next map in map rotation
A reliable method to retrieve information from map rotation to know/predict the next map in the rotation is a great and highly necessary feature for implementing custom intermission screens. For mods with a predefined map rotation it's crucial to know the next map somehow. For mods with random map rotation, it's impossible to know the next map unless we roll it on scripting side.

Problems with usual methods of "guesstimating" the next map:

1. Map names may not be easy to formulate. Such as: MAP01 -> MAP02 -> NEWMAP03
2. Maps may not necessarily be increasing in linear numbers, such as: TOWN -> HALL etc.
3. Even if they were all nice and increased linearly and followed Doom 2 map style, some users may not want to play certain maps and thus remove them from rotation. We can't detect this.

A potential workaround is to wrap "addmap" command using ConsoleCommand, but that thing is supposedly dangerous so a safer method is requested here.
No tags attached.
Issue History
2017-08-01 20:40IvanNew Issue
2024-03-01 07:34Ru5tK1ngNote Added: 0023165
2024-03-01 07:34Ru5tK1ngStatusnew => resolved
2024-03-01 07:34Ru5tK1ngResolutionopen => fixed

Notes
(0023165)
Ru5tK1ng   
2024-03-01 07:34   
Should already be possible in 3.1 with GetMapRotationInfo.