Configuration
Every option in STG Radial Menu config.lua, from the open key and hold mode to menu size, sound, language and colors.
All settings live in stg-radialmenu/config.lua. The file stays editable in the escrow version. Restart the resource after a change.
Language
Config.Language = "en"Available: en, de, fr, es, pt, nl, it, pl, zh, ar, ja, sv. To change a text, edit the matching file in stg-radialmenu/locales/. The menu labels and descriptions themselves are written in Config.Menu, so translate them there.
Framework
Config.Framework = "auto"Prop
Type
Settings
Config.Settings = {
size = 1.0,
sound = {
enable = true,
volume = 0.5,
}
}Prop
Type
To use your own click, replace stg-radialmenu/html/sound/sound.ogg with another .ogg file of the same name.
Opening the menu
Config.Open = {
holdbutton = true,
can_walk = true,
key = "x",
}Prop
Type
Which keys work depends on holdbutton:
After an action is picked, the menu closes and cannot be opened again for 0.7 seconds.
Menu
Config.Menu = {
{
id = 'citizen',
label = 'Citizen',
description = 'Common civilian actions and quick interactions',
icon = 'fa-solid fa-user',
submenu = { ... }
},
-- ...
}Every slice of the menu, its submenus, job filters and actions are set in Config.Menu. The format, every option, the built in clothing and door actions and the exports for other scripts are explained on Menu items.
Colors
The menu colors are set in stg-radialmenu/html/css/config.css:
:root {
--main-color: #F39A9C;
--main-color-2: #f39a9a14;
--main-color-3: #513c3c;
}| Variable | Used for |
|---|---|
--main-color | Outline and icon of the slice under the cursor, the center icon and title, the page buttons on hover |
--main-color-2 | Background of the Next Page and Back buttons on hover, keep it mostly transparent |
--main-color-3 | Fill of the slice under the cursor |
Still having trouble?
Open a ticket on our Discord. Our team answers around 15 hours a day.