Teardown

Teardown

654 ratings
GMod-esque Menu
9
13
2
6
7
6
3
2
3
3
2
2
   
Award
Favorite
Favorited
Unfavorite
Type: Global, Spawn
Category: Gameplay, Tool
File Size
Posted
Updated
14.359 MB
Jul 30, 2022 @ 7:11am
Apr 6 @ 3:07pm
100 Change Notes ( view )

Subscribe to download
GMod-esque Menu

In 1 collection by lOcIEe
GMod-esque Menu Tool Icons
377 items
Description
DISCLAIMER: I AM TERRIBLE AT LUA, I AM A MERE ANT STANDING ON THE SHOULDERS OF GIANTS
Original by Mjtlittle (Workshop)
Modification by Mert246 (Workshop)
This edition by lOcIEe(me)

Keybinds
Menu Key: Q
Undo Spawn: Z
Time Scale: T
Context Mode: C
Noclip: V (1.5.4+)
These are defaults and can be changed freely in the ingame menu.

Features
- Object Spawning with search, favorite and undo functionality (WIP)
- Toolgun with selectable modes
- Color Picker (WIP)
- Powers including Godmode, Firewalk,, Freeze/Set mission time, Time scale, Infinite ammo and Instant win.
- 140x140 icons for 100+ tools
- Garry's Mod-like aesthetics
- Scaleable icons and labels
- Start with no tools
We all like clogging up our game with all sorts of wonderful tools, but scrolling through it all can be a hassle. This option allows you access to all these tools without the clutter, its up to you which tools you wanna equip every time!

Color Picker
NB! Currently the saturation visualization is not correct when initialized or preset is picked on colors that aren't greyscale!

1. Saturation field: X axis changes the color's brightness, Y axis changes the color's darkness
Hold LMB on the colored circle to manipulate the Y axis
Hold RMB and then LMB to manipulate the X axis
2. Spectrum slider: Move the colored circle to choose the base color
3. Color presets: Selection of up to 26 colors carried between color pickers and play sessions.
Press LMB on the square with a pluss (+) symbol to add current color
Press RMB on any to remove it.
4. Color values: Displays the visualized color's RGB values.
5. Color preview: Previews the base color with brightness and darkness applied.
6. Future addition mayhaps..

How to add Mod-Side spawnable icons to your spawnable mod
NB: The menu must be loaded into a workshop provided map in order to establish the pathing to the user's workshop folder, where it'll grab any icons provided by mods!

1. Implement your spawnables in your mod. Make sure no spawnable XML file names overlap, these will be used for the icon PNG file names.
2. Add this folder structure to your mod: (MOD/ui/spawnmenu).
3. Make a 140x140 PNG image for each of the spawnables you wish to add icons to, name them the exact same as the xml it is related to.
4. Place the PNG images inside (MOD/ui/spawnmenu).

Example mod

How do the tool icons work?
I manually add icons for each tool, I'm not savy enough to make this process automatic. If you wish to request an icon for your own and/or favorite tool, you can do so here, I may get around to it eventually.

Two ways of adding your own tool icons
1. You need the ID of the tool, if you made the tool, you should know, otherwise open up the GMod-esque Menu, open the sidemenu and enable "Menu Debug" in Options/Spawnmenu/About.
2. Add a 140x140 PNG image to the "tools" folder with the name of the tool ID.
3a. Add the following folders to your Teardown installation and add the PNG to it. May get cleaned out, back up your files!
(Steam library/Teardown/data/ui/spawnmenu/tools/"tool ID".png)
OR
3b. Copy the mod to local and add the PNG to the following folder. Won't be cleaned out but you'll miss out on updates without constantly copying the mod to local and moving your icons in.
(Documents/Teardown/mods/GMod-esque Menu Copy/ui/spawnmenu/tools/"tool ID".png)

Collection with addons supported by this addon

Known issues
- Color pickers do not visualize the correct saturation position on initialization and preset pick outside of greyscale values.
- Tools aren't forcibly removed from hand after unselected in menu
- Certain tools don't appear in hands when clicking their icon.
- Keybinds break after quickloading Fixed***
- Checkerboard icon on lack of icon in mod folder Fixed**
- Glowsticks, Forcegun appear to break the menu Fixed
- Tools that function through several tools will have those additional tools appear in the menu with the usual checkerboard icon, but atleast they won't break the menu now. Fixed*
* For compatible tools
** The tools won't feature its own unique icon, but won't have the jarring checkerboard.
*** Functional for the most part, there might be some issues with tools not loading in the menu after quickloading.
Other issues? Feel free to let me know here!

Credits
Mjtlittle - Original addon
Mert246 - Modification
lOcIEe - This edition
QTY2540825244yu - Favorite fix
Masonator - Duplicate tool fix
u/BlueSkilly, r/gmod - Pixelated GMod logo
Vert - Original Tool Gun model (featured here), modified by me
And I copied a good amount of icons from the addons they represent
Popular Discussions View All (3)
92
Apr 7 @ 2:49pm
PINNED: Post issues here!
lOcIEe
19
Jan 30 @ 7:32am
PINNED: Request icons here!
lOcIEe
260 Comments
datboi May 10 @ 12:35pm 
can you please make it to where we can change the keybinds?
it has been conflicting with other addons i own.
civiballs Apr 29 @ 2:47pm 
this is amazing!!!!!!!!!!
lOcIEe  [author] Apr 7 @ 2:50pm 
@Hunter-Chopper its bugged in non-experimental currently (1.5.3 and below), change that keybind in the mod options instead for now
Hunter-Chopper Apr 7 @ 2:03pm 
when ever i go to change the button to open the menu the game crashes
JaxyS Apr 7 @ 1:34pm 
can you change the keybind for slow motion or make it so we can change it in the options please
fivemonkeeez956 Apr 7 @ 9:33am 
i cant load the mod menu up how do i work it again
wlater Apr 6 @ 3:35pm 
thanks for fixing that so quickly! its much nicer than it was before (also 100th update)
lOcIEe  [author] Apr 6 @ 3:09pm 
@wlater I've added this now :steamthumbsup:
wlater Apr 6 @ 11:33am 
why cant i walk with the spawnmenu open? it works in gmod and its kind of awkward when i try to walk with it up
steve20275 Apr 5 @ 12:16am 
thank you so much :) gonna give you 5 stars rn