Garry's Mod
92 valoraciones
SWEP controller (Wire Addon)
   
Premio
Favoritos
Favorito
Quitar
Content Type: Addon
Addon Type: Tool
Addon Tags: Build, Fun
Tamaño
Publicado el
Actualizado el
13.740 KB
2 ENE 2015 a las 9:09 a. m.
23 JUN 2016 a las 7:29 a. m.
9 notas sobre cambios ( ver )

Suscríbete para descargar
SWEP controller (Wire Addon)

En 1 colección creada por rafradek
My Wire Addons
4 artículos
Descripción
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 comentarios
rafradek  [autor] 4 MAR 2017 a las 2:10 p. m. 
Sadly it can't
Juni 4 MAR 2017 a las 1:00 p. m. 
can it fire a different prop on seconday fire?
rafradek  [autor] 4 MAR 2017 a las 9:37 a. m. 
IT CAN SHOOT ANYTHING
Juni 20 FEB 2017 a las 1:45 p. m. 
can it fire a different prop on seconday fire?
rafradek  [autor] 20 FEB 2017 a las 1:06 p. m. 
it can shoot props or any other entity, with constrained elements to them.
Kenny 18 FEB 2017 a las 11:41 a. m. 
will this work for tornadoes?
Juni 31 OCT 2016 a las 12:42 p. m. 
also how do u set the secondary fire prop
Juni 31 OCT 2016 a las 11:53 a. m. 
please add a videao showing how to set it up
i cant get it to shoot anything
BlackJub 11 JUN 2016 a las 10:17 a. m. 
[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 11 JUN 2016 a las 10:11 a. m. 
hi i need help i cant Spwan the controller can you pls add me