(Not So) Simple Menu
(Not So) Simple Menu is a fully featured menu system that allows you to execute some built-in actions at runtime, without the need of fiddling around in Workshop Editor and restarting the match every time you make a change in the code.
It allows you to:
- Create dummy bots
- Change players hero or send them to Hero Select screen
- Teleport players:
- to a selected position
- to payload or objective
- to another player
- Set looking position of players (once or over time):
- to a selected position
- to payload or objective
- to another player
- to looking position of other player
- Apply statuses (Asleep, Hacked, Unkillable, Phased out, etc.)
- Control abilities:
- press, hold, or spam button
- set current and max ammo, cooldown, resource or charge
- enable infinite ammo, cooldown, resource or charge
- Set current health or max health, enable auto heal
- Display info about player's health, position, speed, pressed buttons etc.
- Show healing and damage taken by other players
- and more...
Most of these actions can also be added to the Timeline, which allows you to create a playable action set that can be played on repeat even with the menu itself being closed.
This is an in-game limitation - having too many HUD or In-world texts, which often change their contents, can greatly lower game's FPS even on powerful PCs
This can (very rarely) happen if you've been using the menu extensively. Unfortunately, I don't know the reason for why exactly this is happening, but once it does, after toggling it off and on the menu should be back to normal
Workshop was never really designed to support such advanced menu system. Having multiple players use it at the same time or quickly opening submenus and going back is very taxing for the server. Make sure to limit how many players are using it at the same time and/or give it a second or two between opening and exiting submenus
If you enabled the Repeat
setting or you've added Jump to action
action, make sure that you also have at least one Wait
action added in between too, especially if you have a lot of actions added in the Timeline
There's an internal safeguard that disables these actions and this setting if there's no Wait
action added somewhere in between in the Timeline and the flow would end up in an infinite loop. Otherwise it would end up crashing the server
If you use toggle crouch, make sure to press crouch again after opening the menu, even though your hero isn't crouching. Otherwise the game will keep seeing the button as being constantly pressed - even though it isn't - which stops every menu action from executing
Source code available here (written in OSTW)