Sauerworld Forum

Sauerbraten Content => Scripts => Topic started by: Salatiel on January 22, 2020, 11:06:34 PM

Title: Expanded Entity Gui menu (and fully customizable particles)
Post by: Salatiel on January 22, 2020, 11:06:34 PM
Hello
This menu is an alternative version to the Ent/Materials gui (F3 in edit mode), with buttons and sliders to edit all customizable entities (except pickups).

(https://i.imgur.com/Svy7WCO.gif)

It also has options to customize boxes, platforms, elevators, flags, particles and bases, which didn't exist or were limited in the original...

Here's a side-by-side comparison:
(https://i.imgur.com/p6l4liq.png)

Particles were a pain to decipher, but I think I got a good result :)
(https://i.imgur.com/zg9SYro.png)

How to install:
Move the extentgui.cfg file to your Sauerbraten root folder, ingame type /exec extentgui.cfg, or add exec extentgui.cfg to your autoexec.cfg.
The default bind is F3 in edit mode, or /genentgui (entget)

Although I tried to optimize the code a lot (using functions and trying not to repeat things unnecessarily), the end result is this huge cfg file below, feel free to leave your feedback

28/01/2020: missing variable
11/03/2020: there was a problem that was causing the menu to get slower and slower