Well I finally managed to put something together well enough that it deserves a release.
This is The Worlds Most Customizable Pickup (TWMC Pickup)
With this you can set and randomly spawn up to five SWEPs of your choice.
It’s basically a hovering, rotating SWEP spawner. You can set whether or not it respawns, what SWEPs are available, and some other things. Think of them like the Weapons in GTA but without the colored aura and free. I made this with the intention of using it on maps (hence the included fgd), but I added some utilities to make it spawnable while playing. It abides by the built-in admin system so clients can’t give themselves admin-only SWEPs.
Other options/features include:
Choose up to five SWEPs and it will randomly choose one each time it is respawned.
You can have it either display the SWEP’s world model, or a model of your choosing.
You can set whether or not it spins and how fast.
Being able to lure NPCs towards the pickup (can be toggled)
A handy utiliy menu for setting up and spawning them (Q-Menu -> Utilities -> TWMC Weapon Spawning)
An fgd for mappers, allowing you to place pickups in your map.
New in 1.1:
You can override normal right-click SWEP spawning so that it creates a TWMC Pickup instead. Still abides by GMod’s native admin system.
Please note that only NPCs that would want to go and pick up a weapon will be attracted by the lure option. Even so, some NPCs may take a while before they decide they want to go and get a weapon. Also, if you stand too close to the weapon the lure is disabled. This allows you to pick up the weapon before an NPC takes it from you.
This isn’t just a dropped weapon. Think of it like the Weapon entities in GTA but without the aura and free. Also I’m considering changing it so you can optionally override the normal right click function of the spawn panels.
It should be. The only way a non-admin can make one is to enable the right-click override, but even then they can only spawn non-admin sweps with it. And any way you spawn it, it can be undone. Thinking of it now, I should have made it so admins can restrict that…
** Offtopic **(sorta)
It just recently came to my attention that that Weapon Drop script was originaly jA_cOp’s and that LuaPineapple stole the credit for it.
ok your extended description has me even more excited, this will be invaluable for events on the server, but for some reason the whole menu for it is missing. I hope I just installed it wrong and that it isn’t conflicting with anything.
Basically I just plopped it in the server addons. The included sent is in the entity menu but the utilities tab is missing. I’ll try to fix this now…
Ok so I got it working ( I had to install it to my addons aswell to make the menu show up ) but one thing I think would make it a whole lot better would be if you could move the pickup once you spawn it. Having to remake it to move it makes it an awkward thing to place etc.
Plus, is there any way to make it dupe-compatible? I want to save a police station with an armory for my Police usergroup to use.
This addon is really helpful. since garry update the jump hieght. On maps where jumping is important, and you have no tool gun, I use this to spawn a tool gun. Then, I use player resizer to fix the jump hieght.