Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
One Shot, One kill. Isn't it fun?
#21
(03-30-2020, 10:04 PM)Christian Wrote: A 1 shot Reload isn't actually a bad idea. If I look into tweaking it, this is something that will be considered.

Actually this isn't that hard to do inside the lua file it should all be laid out and annotated by the addon maker, if not most sweps usually have it pretty easy to find. This is an example of a version of TTT AWP I pulled off GitHub just to show how it would be done.

SWEP.Primary.Ammo = "none"

SWEP.Primary.Delay = 2 Increase this value to extend delay time between shots, essentially a longer reload.

SWEP.Primary.ClipSize = 2 Change this value to 1

SWEP.Primary.DefaultClip = 2 Leave this alone, DefaultClip - ClipSize = Reserve ammo.


SWEP.Secondary.Delay = 0.3 Change this to a higher value if you want there to be more delay between scoping in and firing.


*Edited to make it easier to understand for people that don't know this stuff


Messages In This Thread
RE: One Shot, One kill. Isn't it fun? - by Meeemo - 03-30-2020, 04:41 PM
RE: One Shot, One kill. Isn't it fun? - by Meeemo - 03-30-2020, 04:49 PM
RE: One Shot, One kill. Isn't it fun? - by Meeemo - 03-30-2020, 05:09 PM
RE: One Shot, One kill. Isn't it fun? - by Meeemo - 03-30-2020, 08:49 PM
RE: One Shot, One kill. Isn't it fun? - by Foxka - 03-30-2020, 10:06 PM
RE: One Shot, One kill. Isn't it fun? - by Battons - 03-30-2020, 10:57 PM
RE: One Shot, One kill. Isn't it fun? - by happy - 06-22-2020, 08:10 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)

About Us
    This is Dinkleberg's GMod, a gaming community based in Garry's Mod. We have a Trouble in Terrorist Town, Prop Hunt, Murder, and Deathrun Server. Come check them out sometime.