MantisBT - Zandronum
View Issue Details
0004126Zandronum[All Projects] Suggestionpublic2023-04-05 14:482024-02-29 18:45
Trillster 
Kaminsky 
normalfeatureN/A
resolvedfixed 
3.1 
3.23.2 
0004126: ACS function to open specific OptionMenus
This one's as simple as the title. Mega Man 8-Bit Deathmatch uses ConsoleCommand to reopen certain menus via ACS after they have been closed. The particular case is having MENUDEF call an alias defined in KEYCONF, the alias closes the menu, pukes a NET script, and then the NET script reopens the menu via ConsoleCommand once it has finished.

This pipeline facilitates configuration style menus where the player can make some change that needs to happen through ACS, hence closing the menu, but then don't have to navigate manually to that same menu, heavily speeding up the process.

Additionally, some mods have used ConsoleCommand's ability to open specific menus for secret / conditional menus, such as pressing a button in MENUDEF which will open a different menu depending on the map.
No tags attached.
child of 0001070new Dusk Phasing out the dangerous ConsoleCommand for various additional/improved ACS commands 
Issue History
2023-04-05 14:48TrillsterNew Issue
2023-04-05 19:10KaminskyRelationship addedrelated to 0001070
2023-04-05 19:11KaminskyRelationship deletedrelated to 0001070
2023-04-05 19:11KaminskyRelationship addedchild of 0001070
2024-01-23 21:55KaminskyNote Added: 0022999
2024-01-23 21:55KaminskyAssigned To => Kaminsky
2024-01-23 21:55KaminskyStatusnew => needs review
2024-01-23 21:55KaminskyTarget Version => 3.2
2024-01-28 21:30KaminskyNote Added: 0023023
2024-01-28 21:30KaminskyStatusneeds review => needs testing
2024-02-27 02:32TrillsterNote Added: 0023093
2024-02-29 18:45Ru5tK1ngNote Added: 0023119
2024-02-29 18:45Ru5tK1ngStatusneeds testing => resolved
2024-02-29 18:45Ru5tK1ngResolutionopen => fixed
2024-02-29 18:45Ru5tK1ngFixed in Version => 3.2

Notes
(0022999)
Kaminsky   
2024-01-23 21:55   
'https://foss.heptapod.net/zandronum/zandronum-stable/-/merge_requests/11 [^]'
(0023023)
Kaminsky   
2024-01-28 21:30   
'https://foss.heptapod.net/zandronum/zandronum-stable/-/commit/2f091ebae8575a86562733c1c2ae12d461f2a2be [^]'
(0023093)
Trillster   
2024-02-27 02:32   
These functions seem to check out from my testing. We had talked previously that it might be useful to have some MENUDEF keyword which marks a menu as only openable via the OpenMenu function, but that might be best saved for later.
(0023119)
Ru5tK1ng   
2024-02-29 18:45   
Closing based off feedback ^. Reopen if necessary.