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

44 lines
784 B
Lua

SWEP.Base = "cnr"
SWEP.PrintName = "N4A4"
SWEP.Slot = 0
SWEP.ViewModel = "models/cnr/m4a1_view.mdl"
SWEP.ViewModelFOV = 74
SWEP.WorldModel = "models/weapons/w_rif_m4a1.mdl"
SWEP.ActivePos = vector_origin
SWEP.Sound_Fire = {
"cnr/weapons/m4a1/fire-01.ogg",
"cnr/weapons/m4a1/fire-02.ogg",
"cnr/weapons/m4a1/fire-03.ogg",
}
SWEP.Primary.ClipSize = 30
SWEP.Delay = ( 60 / 900 )
SWEP.DamageClose = 25
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,
},
}