Garry's Mod

Garry's Mod

238 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
25 Jun, 2016 @ 4:36pm
26 Jun, 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!
38 Comments
MUKC3P 28 Jun @ 11:27am 
херь:GDNormal:
weedshot 9 Feb, 2023 @ 2:23pm 
half life 2 deathmatch but you cant afford it
JerrBear' 10 Dec, 2022 @ 9:39am 
I CAN PLAY COD ZOMBIES NOW
Milky Crowley 8 Oct, 2022 @ 1:53pm 
How can I put more than 60 seconds in the spawn?
ModzaTech 14 Aug, 2022 @ 6:38pm 
its removing everything when i clean up
Tim q 16 Sep, 2021 @ 1:39pm 
How to spawn random weapon?
UglyFour02 30 Apr, 2021 @ 7:43am 
heave probblem with Vmanip addon
Pearl 🗿🏳️‍🌈﷽ 12 Apr, 2021 @ 7:37pm 
Does this work with any weapon mod like such as TFA weapons
Clappo 14 Nov, 2020 @ 7:18am 
wat the:steamfacepalm: amojy
Mondschall☭ 3 Oct, 2020 @ 12:05pm 
@Lexi Oh but i already Made it you must Type weapon_AR2 for Pulse-Rifle ... :steamhappy: