Garry's Mod

Garry's Mod

Not enough ratings
Thaye's Enhanced TTT Weapon Base
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Weapon
Addon Tags: Fun, Realism
File Size
Posted
Updated
19.758 KB
25 Apr, 2024 @ 4:23pm
16 Aug, 2024 @ 6:15am
5 Change Notes ( view )

Subscribe to download
Thaye's Enhanced TTT Weapon Base

Description
This addon contains a few tweaks to the original TTT weapon base.

The goal of this addon is to make how weapons handle more intuitive, "realistic", and inline with a typical shooter.

Weapons that fire a single pellet per shot have had their spread calculation adjusted, so bullets fired are more likely to tend towards the center of your, "cone of fire" as opposed to the extremely unpredictable default behavior where a shot is just as likely to land at the edge of your "cone of fire" as the center.

Shotgun type weapons that fire multiple pellets will fire half their pellets with an accuracy bonus and the other half without, this makes shotguns feel much more consistent and less like a slot machine where you can do 3 damage or 90 damage with seemingly no rhyme or reason. There is still a decent bit of randomness, but is alleviated a great amount.

You can force a weapon to use the default spread behavior instead of the addon's by adding
SWEP.UseCustomSpread = false
to its respective lua file

This addon currently overwrites the weapon_tttbase.lua found in the TTT gamemode files, it will only apply to weapons that use this base. If this addon gets enough attraction i might add support for weapons that use weapon_tttbase_tflippy in addition to the vanilla weapon base.

This addon also includes to a fix for weapons that have zoom but don't properly adjust your sensitivity to that appropriate zoom level (ie the default m16 feels very weird to aim zoomed in without this addon)

I am also pretty sure it is not compatible with leyhitreg, since leyhitreg has its own custom spread calculations (you should really be using wget's client side hitreg anyway)

please feel free to comment if you notice any lua errors or other unwanted behavior
3 Comments
Raggle 11 May, 2024 @ 4:35pm 
We'll try it out on our server
frequency 26 Apr, 2024 @ 1:47pm 
cool
Slasheronic 25 Apr, 2024 @ 10:44pm 
W