Garry's Mod

Garry's Mod

328 ratings
[TTT && Sandbox] Dart Gun
 
Rate  
Favorite
Favorited
Unfavorite
Type: Weapon, Addon
Tags: Fun, Realism
File Size
Posted
Updated
0.456 MB
Aug 8, 2017 @ 5:51pm
Mar 19, 2018 @ 11:56am
2 Change Notes ( view )

Subscribe to download
[TTT && Sandbox] Dart Gun

Subscribed
Unsubscribe
Description
Description

The Dart Gun is a Poison type Gun. It has 3 Types of darts, Poison, Muteness and Blindness.
You can change dart type by clicking on the right mouse button (aka SecondaryFire).
This script works with TTT gamemode and Sandbox gamemode.

Features

-Configurable
-Poison Screen Effect.
-Damage Over time.
-Combo with Flare Gun (If Target is on fire and poisoned it will make the target explode).
-Poison darts give a random ammount of damage (42 to 82 by default)
-Poison Stacks.
-Muteness dart makes target unable to voice/text chat (for 5 seconds by default)
-Blindness dart blinds the target (for 4 seconds by default)
-Traitors can see who is Poisoned/Muted/Blinded
-Doesn't spam errors when active in other gamemodes
-Custom Texture for USP
-Muted players receive a warning to know they're muted.
-Sandbox compatibility.
-TTT compatibility.

Support/Bugs

Comment or create a discussion but don't add me on steam please, I try to keep my friends list as clean as possible.


GitHub [github.com]
< >
43 Comments
Sleepy Jan 14 @ 6:04am 
....how do i do that?
Axspeo  [author] Jan 14 @ 5:53am 
You have to extract the gma file from your addons folder and edit sh_config.lua, should be pretty straight forward after that
Sleepy Jan 14 @ 5:38am 
"Configurable" what are the commands.
Feldwebel Fickwind Dec 31, 2018 @ 8:31am 
That worked, thanks for being helpful!
Axspeo  [author] Dec 30, 2018 @ 1:15pm 
Well a quick fix for that would be copying the content from "lua/sh_config.lua" to the beginning of the "lua/weapons/weapon_ttt_dartgun.lua" file. You probably have another script messing with the dartgun config file and that's why he can't read it.
Feldwebel Fickwind Dec 27, 2018 @ 5:52am 
I do, weirdly enough.

It also happens when I use the unextracted addon from the workshop.
Axspeo  [author] Dec 26, 2018 @ 9:42am 
It looks like it's not reading the settings from lua/sh_config.lua, do you have that file?
Feldwebel Fickwind Dec 25, 2018 @ 11:07am 
Weird.


[[TTT and Sandbox] Dart Gun] lua/weapons/weapon_ttt_dartgun.lua:291: bad argument #1 to 'Simple' (number expected, got nil)
1. Simple - [C]:-1
2. BlindTarget - lua/weapons/weapon_ttt_dartgun.lua:291
3. unknown - lua/weapons/weapon_ttt_dartgun.lua:185
4. FireBullets - [C]:-1
5. Poison - lua/weapons/weapon_ttt_dartgun.lua:312
6. unknown - lua/weapons/weapon_ttt_dartgun.lua:343

This is the error I get. Any rough idea what kind of addon could cause this?
Axspeo  [author] Dec 16, 2018 @ 8:37pm 
@Wichtel The script is working just fine you probably have another script breaking this one.