Garry's Mod

Garry's Mod

250 个评价
Weapon Spawn Platforms
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 工具
插件标签: 建筑, 快乐
文件大小
发表于
更新日期
2.621 KB
2016 年 6 月 25 日 下午 4:36
2016 年 6 月 26 日 上午 8:18
3 项改动说明 ( 查看 )

订阅以下载
Weapon Spawn Platforms

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