Garry's Mod

Garry's Mod

Dubstep Gun for TTT
16 Comments
Danicchi 6 Mar, 2022 @ 6:12pm 
is this a detective or traitor only gun?
rei sashimi 16 Nov, 2018 @ 8:38pm 
[REDACTED]
zer0n 6 Mar, 2018 @ 11:36am 
how names the song it plays ?
king_amaury312 16 Nov, 2017 @ 1:06pm 
[Dubstep Gun] lua/weapons/weapon_dubstepgun.lua:126: attempt to call method 'CanPrimaryAttack' (a nil value)
1. unknown - lua/weapons/weapon_dubstepgun.lua:126
swig 16 Oct, 2017 @ 4:10am 
I'm making a modification for this to work with TTT better by having all the full effects / nerfed version.
Kuro 24 Jun, 2017 @ 4:12pm 
the dubstep is so good to tilt your friends its one of the best weapons for me and easy to handle
Cabal-2140 5 May, 2017 @ 2:53pm 
the dubsteo gun looks and woorks great, but our server console is spamming the following: [ERROR] addons/dubstep_gun_for_ttt_646690198/lua/weapons/weapon_dubstepgun.lua:278: attempt to call method 'SetRenderOrigin' (a nil value)
1. DrawWorldModel - addons/dubstep_gun_for_ttt_646690198/lua/weapons/weapon_dubstepgun.lua:278
2. unknown - addons/dubstep_gun_for_ttt_646690198/lua/weapons/weapon_dubstepgun.lua:244
mikelyoyo | VAULT 28 Jan, 2017 @ 9:20am 
Hi, great worj, but I think the weapon is too strong forr traitor, could you please upload a version with less damage and less volume? Or could you please tell me how to remove the whitelist-whatever- from the file? I just want to use it on my server and would keep the upload on private.
Cryoraptor 19 Jun, 2016 @ 2:20pm 
I left the original file structure intact and all of the folders. I placed everthing in folder called weapon_dubstepgun in my servers addon folder and put all the files in the same exact order they came in. For some reason the gun displays as an error as do the effects but the sound plays. Then when the map changes its as if the dubstep gun ceases to exist. I can't even spawn it with an entity create command. Yet it still remains on the server, all the files are there. What is going on here? My FTP said it added all the files yet it seems none of them exist and I know you have resource.AddFile to add the required files. I extracted the addon so I will have the ability to adjust the stats on the gun like damage for balance purposes. I also want to adjust the type of damage, "BLAST" damage may have to change since players don't like the fact it deafens them.
Wokki  [author] 23 Apr, 2016 @ 1:41pm 
@Cryoraptor This model is actually originally from another addon. I only used their assets to make a similar one to the TTT. The issue with this model is that it doesn't have a viewmodel with bones to have it work properly, so I had to add a code which keeps the gun always in ironsight and the ironsight is set to the side of the player.

The skintype has nothing to do with this weapon. It's just the remains from the original dubstep gun that was not for TTT (I'd assume that's how they determine which texture they're using on the model). So basically, if you want to use this model in your own script, you'll have to look into the code and find the points where the ironsight is created and then just apply the model and that's it. This is the furthest I'm able to guide you on this.
Cryoraptor 22 Apr, 2016 @ 3:10pm 
Hello. I am running a TTT server. I already have a working dubstep gun but the people on my server want the model/ skin to change. Congradulations they decided they want your model/skin but the problem is I'm unsure how to have just the skin/model they want. I've extracted the addon and I know enough about lua to change the existing model to yours and put the mdl file in the right place. But I"m not sure where to put the VTF/VMT file or how to make the script tell the server to use that skin. I saw something that said SWEP.Skintype = 1 but I'm not sure how that works or if it will work when I change it. I'm sorry I'd love to just add this to the server collection but the problem is they don't want the other skins, the current gun has been tweaked to match the needs of the server, and they like the current song they have. I'm sure you'll understand.
domdoc_ 24 Mar, 2016 @ 11:18am 
yep i tested it, not working, thanks btw :)
Wokki  [author] 24 Mar, 2016 @ 11:01am 
@2fpsParty, I don't think it works on sandbox. You can probably spawn it but can't fire it. It uses the TTT weapon base.
mrjanneman 24 Mar, 2016 @ 10:34am 
dis is koel
domdoc_ 23 Mar, 2016 @ 1:34am 
can it be used for Sandbox?
Vash The Stampede 21 Mar, 2016 @ 5:10pm 
DEEEEEEEEEEEEEEEEEEEEM