Garry's Mod

Garry's Mod

92 évaluations
SWEP controller (Wire Addon)
   
Récompenser
Ajouter aux favoris
Favoris
Retirer des favoris
Content Type: Addon
Addon Type: Tool
Addon Tags: Build, Fun
Taille du fichier
Publié le
Mis à jour le
13.740 KB
2 janv. 2015 à 9h09
23 juin 2016 à 7h29
9 notes de changement ( voir )

S'abonner pour télécharger
SWEP controller (Wire Addon)

Dans 1 collection faite par rafradek
My Wire Addons
4 objets
Description
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 commentaires
rafradek  [créateur] 4 mars 2017 à 14h10 
Sadly it can't
Juni 4 mars 2017 à 13h00 
can it fire a different prop on seconday fire?
rafradek  [créateur] 4 mars 2017 à 9h37 
IT CAN SHOOT ANYTHING
Juni 20 févr. 2017 à 13h45 
can it fire a different prop on seconday fire?
rafradek  [créateur] 20 févr. 2017 à 13h06 
it can shoot props or any other entity, with constrained elements to them.
Kenny 18 févr. 2017 à 11h41 
will this work for tornadoes?
Juni 31 oct. 2016 à 12h42 
also how do u set the secondary fire prop
Juni 31 oct. 2016 à 11h53 
please add a videao showing how to set it up
i cant get it to shoot anything
BlackJub 11 juin 2016 à 10h17 
[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 juin 2016 à 10h11 
hi i need help i cant Spwan the controller can you pls add me