Garry's Mod

Garry's Mod

249 betyg
Weapon Spawn Platforms
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Content Type: Addon
Addon Type: Tool
Addon Tags: Build, Fun
Filstorlek
Lades upp
Uppdaterades
2.621 KB
25 jun, 2016 @ 16:36
26 jun, 2016 @ 8:18
3 ändringsnotiser ( visa )

Abonnera för att ladda ner
Weapon Spawn Platforms

Beskrivning
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 kommentarer
MUKC3P 28 jun, 2024 @ 11:27 
херь:GDNormal:
weedshot 9 feb, 2023 @ 14:23 
half life 2 deathmatch but you cant afford it
JerrBear' 10 dec, 2022 @ 9:39 
I CAN PLAY COD ZOMBIES NOW
Katnip Crowley 8 okt, 2022 @ 13:53 
How can I put more than 60 seconds in the spawn?
ModzaTech 14 aug, 2022 @ 18:38 
its removing everything when i clean up
Tim q 16 sep, 2021 @ 13:39 
How to spawn random weapon?
UglyFour02 30 apr, 2021 @ 7:43 
heave probblem with Vmanip addon
Daria Morgendorffer 12 apr, 2021 @ 19:37 
Does this work with any weapon mod like such as TFA weapons
Clappo 14 nov, 2020 @ 7:18 
wat the:steamfacepalm: amojy
Madison Beer 3 okt, 2020 @ 12:05 
@Lexi Oh but i already Made it you must Type weapon_AR2 for Pulse-Rifle ... :steamhappy: