Garry's Mod

Garry's Mod

184 ratings
KMA Spawnmenu
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Roleplay, Realism
File Size
Posted
Updated
1.426 MB
9 Jul, 2023 @ 12:48pm
9 Jul, 2023 @ 1:10pm
2 Change Notes ( view )

Subscribe to download
KMA Spawnmenu

Description

After 4 months in development, here we go!

KMA Spawnmenu is a system for modifying LUA variables of NPCs, weapons and vehicles in Garry’s Mod before creating and spawning them. These variables can be anything, for example:
  • NPCs: health, damage, speed, jumping power...
  • Weapons: recoil, spread, clip size, initial ammo, rpm, automatic/semiauto, FOV...
  • Vehicles: horsepower, max speed, extra boost, angular velocity...

Modders can add their creations to the system by selecting the variables that users should be allowed to change (read the last paragraph for learning how). In turn, users have access to those variables from within a sleek menu where they can easily spawn entities and save and manage presets (Say goodbye to ConVars!).

How to open it?: From the context menu or using the kma_toggle console command.

The base addon includes the following customizable demo entities to give you an idea of what the system does:
  • A dummy NextBot.
  • Two weapons.
  • A vehicle

Additional features:
  • Save, rename and delete presets with your favorite configuration for a particular NPC, weapon or vehicle.
  • Ability to set a preset as DEFAULT for an entity. Setting a preset means that preset will be loaded automatically when you spawn the entity from the vanilla spawnmenu (or when other addon spawns it with LUA code).
  • A sleek menu which uses responsive-design, including 4 resolution modes: 768p, 1080p, 2K and 4K.
  • You can go beyond the minimum and maximum values of the sliders by typing a number manually.
  • ULX permissions.
  • Addon localization (if you're interested in translating the addon to your own language, reach out to me and I'll give you credits). Current supported languages are: english, spanish.

ULX and ULib are required for P2P and multiplayer servers. The addon defines the following permissions:
  • Who can see server presets.
  • Who can spawn custom presets.
  • Who can spawn server-defined presets.
  • Who can save, delete, rename and wipe-out all presets.
  • Who can set/unset a preset as default.

I've exceptionally created a Discord group[discord.gg] for modders interested in learning how to add entities/weapons/vehicles to the menu. You can also join if you just need help. Alternatively, modders can download a PDF guide (I've left a link in the description of the YouTube video).
35 Comments
Mange tout 31 Jan @ 7:58pm 
wtf kinda looks like impulse
kuma7  [author] 29 Sep, 2023 @ 5:57am 
What do you mean?? That's not very meaningful
Division 28 Sep, 2023 @ 6:53pm 
should forever stay in development
EgyptianGuard 15 Jul, 2023 @ 11:28am 
ah, but I meant like making OP weapons admin only and vice versa.
kuma7  [author] 15 Jul, 2023 @ 10:03am 
Everything is admin only by default, though I didn't actually test the addon on a server. ULX is required for giving permission to players.
EgyptianGuard 15 Jul, 2023 @ 9:55am 
can you add a thing to make stuff "admin only"?
Pijamkin The Great 15 Jul, 2023 @ 3:14am 
Cool add-on bro
kuma7  [author] 15 Jul, 2023 @ 3:09am 
You can just make them dude. If you have more questions, I recommend you join the discord group.
calicoreaper 15 Jul, 2023 @ 3:03am 
still one question do i need some tools or anything to make the files or can i just make them?
calicoreaper 15 Jul, 2023 @ 3:02am 
oh nvm i missread it