Garry's Mod

Garry's Mod

233 ratings
Weapon Spawn Platforms
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Build, Fun
File Size
Posted
Updated
2.621 KB
Jun 25, 2016 @ 4:36pm
Jun 26, 2016 @ 8:18am
3 Change Notes ( view )

Subscribe to download
Weapon Spawn Platforms

Description
This is a very rough first pass for weapon spawn platforms.
It has wire, permaprop and map embedding support.
Spawn it via the Q menu (Fun + Games) and then right-click edit.

------------------
Github Repo[github.com]
------------------

Wire
Inputs:
SpawnOne (NORMAL)
RemoveCurrentWeapon (NORMAL)
SetWeaponClass (STRING)
SetDelay (NORMAL)
Outputs:
CurrentWeapon (ENTITY)
NumSpawned (NORMAL)
OnWeaponSpawned (NORMAL)

Lua
Functions:
SpawnWeapon()
RemoveWeapon(dontUpdateDelay)
NWVars:
SpawnOnce
Invisible
Unfrozen
Weapon
Delay
NumSpawned

Hammer
keyvalues:
once - Only spawn one weapon automatically 1/0
hidden - Set NoDraw on the platform 1/0
movable - Enable physics on the platform. 1/0
weapon - The weapon classname to spawn string eg weapon_crowbar
spawndelay - How many seconds to wait after a weapon is picked up >0
inputs:
spawn - Create a weapon immedaitely, deleting the existing one if necessary
killweapon - Delete the existing weapon if it exists. (Note, a new one will spawn in spawndelay seconds.)
outputs:
Coming soon!
37 Comments
weedshot Feb 9, 2023 @ 2:23pm 
half life 2 deathmatch but you cant afford it
JerrBear` Dec 10, 2022 @ 9:39am 
I CAN PLAY COD ZOMBIES NOW
Milky Crowley Oct 8, 2022 @ 1:53pm 
How can I put more than 60 seconds in the spawn?
ModzaTech Aug 14, 2022 @ 6:38pm 
its removing everything when i clean up
Tim q Sep 16, 2021 @ 1:39pm 
How to spawn random weapon?
UglyFour02 Apr 30, 2021 @ 7:43am 
heave probblem with Vmanip addon
Charlie Morningstar Apr 12, 2021 @ 7:37pm 
Does this work with any weapon mod like such as TFA weapons
Clappo Nov 14, 2020 @ 7:18am 
wat the:steamfacepalm: amojy
Mondschall☭ Oct 3, 2020 @ 12:05pm 
@Lexi Oh but i already Made it you must Type weapon_AR2 for Pulse-Rifle ... :steamhappy:
Lexi  [author] Sep 30, 2020 @ 10:15am 
@uberfall: Not currently
@mondschall: Are you sure that's the right name? Usually weapons have _s not -s. If you choose "copy to clipboard" in the Q menu it should get the one you want.