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
0003313Zandronum[All Projects] Suggestionpublic2017-10-27 17:402021-12-05 04:29
ReporterUnknown 
Assigned ToKaminsky 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusresolvedResolutionfixed 
PlatformMicrosoftOSWindowsOS VersionXP/Vista/7
Product Version3.0 
Target Version3.1Fixed in Version3.1-beta 
Summary0003313: ACS Function to switch Game mode.
DescriptionI hear ConsoleCommand might get removed sometime in future versions, so an alternative to force server &/or game to switch to desired game mode would be helpful, this is especially useful when you want to force change game mode for some of the maps and revert back to the default server game mode.
Attached Files

- Relationships
has duplicate 0003557closed Letting modders change game mode without ConsoleCommand 
child of 0001070newDusk Phasing out the dangerous ConsoleCommand for various additional/improved ACS commands 

-  Notes
User avatar (0018665)
Dusk (developer)
2017-10-29 21:00

It was decided that this seems fine because it's already possible with ConsoleCommand. The gamemode should be provided by a string for forwards compatibility.
User avatar (0021627)
Kaminsky (developer)
2021-07-23 20:37

3.1 adds the ACS function: "SetCurrentGamemode", which accepts the new game mode as a string. Note that this function will fail if the current level cannot support the new game mode (e.g. no proper player starts available for the game mode), and successfully changing a game mode automatically starts a new game.

Additionally, modders can get the current game mode as a string using the ACS function "GetCurrentGamemode".
User avatar (0021850)
Kaminsky (developer)
2021-12-05 04:29

From the looks of it, people are pretty happy with "SetCurrentGamemode" and "GetCurrentGamemode", and the functions work as intended. I'll mark this as resolved now.

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: No one explicitly supports this issue yet.
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2017-10-27 17:40 Unknown New Issue
2017-10-29 21:00 Dusk Note Added: 0018665
2017-10-29 21:00 Dusk Status new => acknowledged
2017-10-29 21:00 Dusk Target Version => 3.1
2017-10-29 21:00 Dusk Priority high => normal
2017-10-29 21:00 Dusk Relationship added child of 0001070
2021-07-23 20:37 Kaminsky Note Added: 0021627
2021-07-23 20:37 Kaminsky Assigned To => Kaminsky
2021-07-23 20:37 Kaminsky Status acknowledged => needs testing
2021-07-23 20:39 Kaminsky Relationship added has duplicate 0003557
2021-12-05 04:29 Kaminsky Note Added: 0021850
2021-12-05 04:29 Kaminsky Status needs testing => resolved
2021-12-05 04:29 Kaminsky Fixed in Version => 3.1-beta
2021-12-05 04:29 Kaminsky Resolution open => fixed






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker