GMod-esque Menu
Изображение 1 из 9. Материалы автора из Steam Workshop.
О материале
«GMod-esque Menu» — материал мастерской Teardown. Карты, транспорт, инструменты и моды Teardown. Для установки откройте оригинал в Steam Workshop, проверьте требования автора и подпишитесь. Совместимость с версией игры редакцией не проверена.
Описание автора
2.0.0 MP TEST VERSION HERE
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).
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 quickloadingFixed***Checkerboard icon on lack of icon in mod folderFixed**Glowsticks, Forcegun appear to break the menuFixedTools 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
Как установить и запустить
Откройте оригинальную страницу в Steam Workshop, проверьте версию игры, зависимости и порядок загрузки в описании автора. Нажмите «Подписаться» и дождитесь загрузки Steam. Включите материал в меню модификаций или контента игры, если это требуется. Совместимость и запуск редакцией не проверены.