CopsNRobbers/gamemodes/copsnrobbers/entities/weapons/cnr_m4a1.lua

44 lines
784 B
Lua
Raw Permalink Normal View History

2023-12-21 13:58:05 -05:00
SWEP.Base = "cnr"
SWEP.PrintName = "N4A4"
SWEP.Slot = 0
2024-07-18 17:27:46 -04:00
SWEP.ViewModel = "models/cnr/m4a1_view.mdl"
SWEP.ViewModelFOV = 74
2023-12-21 13:58:05 -05:00
SWEP.WorldModel = "models/weapons/w_rif_m4a1.mdl"
2024-07-18 17:27:46 -04:00
SWEP.ActivePos = vector_origin
2023-12-21 13:58:05 -05:00
2023-12-21 16:15:25 -05:00
SWEP.Sound_Fire = {
"cnr/weapons/m4a1/fire-01.ogg",
"cnr/weapons/m4a1/fire-02.ogg",
"cnr/weapons/m4a1/fire-03.ogg",
}
2023-12-21 13:58:05 -05:00
SWEP.Primary.ClipSize = 30
SWEP.Delay = ( 60 / 900 )
SWEP.DamageClose = 25
2024-07-18 17:27:46 -04:00
SWEP.DamageFar = 13
-- Model source:
-- https://gamebanana.com/mods/210362
SWEP.Animations = {
["idle"] = {
Source = "idle",
},
["fire"] = {
Source = "fire",
},
["draw"] = {
Source = "draw",
},
["melee"] = {
Source = "melee1",
},
["reload"] = {
Source = "reload",
Delay_Reload = 4,
Delay_Refill = 1.5,
},
}