Garry's Mod

Garry's Mod

92 个评价
SWEP controller (Wire Addon)
   
奖励
收藏
已收藏
取消收藏
Content Type: Addon
Addon Type: Tool
Addon Tags: Build, Fun
文件大小
发表于
更新日期
13.740 KB
2015 年 1 月 2 日 上午 9:09
2016 年 6 月 23 日 上午 7:29
9 项改动说明 ( 查看 )

订阅以下载
SWEP controller (Wire Addon)

在 rafradek 的 1 个合集中
My Wire Addons
4 件物品
描述
Wire addon which adds SWEP controller that outputs weapon actions

Additionally, it can also throw a linked dupe and make an entity follow you

Creating a SWEP controller will give you special weapon linked with that controller. Pressing E at it does the same

Inputs:
-Throw dupe - input any number other than 0 to fire a dupe from weapon
-Consume primary / secondary ammo - it will reduce loaded ammo by input value
-Primary / secondary ammo - sets the ammo to input value
-FOV - if the value is positive: sets FOV to given amount. If negative: multiplies FOV by given amount. Automatically adjusts mouse sensitivity.

Outputs:
-Active - outputs 1 if the player holds weapon linked with the controller
-Primary / secodary attack - outputs 1 if the player just fired that weapon
-Reload pressed - outputs 1 if the player just started reloading that weapon
-Primary / secodary / reload hold - outputs 1 if the player holds specified button
-Attack angle - outputs an angle between shooting position and a place where player is looking at
-Attack position - outputs shooting position
-Attack direction - outputs vector representing direction at which player just fired his weapon

24 条留言
rafradek  [作者] 2017 年 3 月 4 日 下午 2:10 
Sadly it can't
Juni 2017 年 3 月 4 日 下午 1:00 
can it fire a different prop on seconday fire?
rafradek  [作者] 2017 年 3 月 4 日 上午 9:37 
IT CAN SHOOT ANYTHING
Juni 2017 年 2 月 20 日 下午 1:45 
can it fire a different prop on seconday fire?
rafradek  [作者] 2017 年 2 月 20 日 下午 1:06 
it can shoot props or any other entity, with constrained elements to them.
Kenny 2017 年 2 月 18 日 上午 11:41 
will this work for tornadoes?
Juni 2016 年 10 月 31 日 下午 12:42 
also how do u set the secondary fire prop
Juni 2016 年 10 月 31 日 上午 11:53 
please add a videao showing how to set it up
i cant get it to shoot anything
BlackJub 2016 年 6 月 11 日 上午 10:17 
[ERROR] lua/wire/server/wirelib.lua:1138: attempt to index a nil value
1. MakeWireEnt - lua/wire/server/wirelib.lua:1138
2. MakeEnt - lua/wire/tool_loader.lua:65
3. LeftClick_Make - lua/wire/tool_loader.lua:56
4. LeftClick - lua/wire/tool_loader.lua:37
5. unknown - gamemodes/sandbox/entities/weapons/gmod_tool/shared.lua:254

i got this in singleplayer but i installed swep controller on my onlineserver nothing happens
BlackJub 2016 年 6 月 11 日 上午 10:11 
hi i need help i cant Spwan the controller can you pls add me