how to decrease shotgun range on TTT which files and code is responsible for it?
I believe it’s:
SWEP.Primary.Cone = 0.085
Thats the spread of it.
You can have the damage scale based on the distance traveled by the shots. You’d just have to get a trace and grab the magnitude of the vectors then scale the damage accordingly.
I’ll find the right function or hook in a few hours. (can’t recall perfectly)