2014-10-02 08:49:54 +08:00
|
|
|
AddCSLuaFile()
|
|
|
|
|
2018-05-02 06:32:59 +08:00
|
|
|
SWEP.Base = "weapon_zs_baseshotgun"
|
|
|
|
|
|
|
|
SWEP.PrintName = "'Sweeper' Shotgun"
|
|
|
|
SWEP.Description = "A pump shotgun with a modest shell number and packs a hefty punch."
|
2014-10-02 08:49:54 +08:00
|
|
|
|
2018-05-02 06:32:59 +08:00
|
|
|
if CLIENT then
|
2014-10-02 08:49:54 +08:00
|
|
|
SWEP.ViewModelFlip = false
|
|
|
|
|
|
|
|
SWEP.HUD3DBone = "v_weapon.M3_PARENT"
|
|
|
|
SWEP.HUD3DPos = Vector(-1, -4, -3)
|
|
|
|
SWEP.HUD3DAng = Angle(0, 0, 0)
|
|
|
|
SWEP.HUD3DScale = 0.015
|
|
|
|
end
|
|
|
|
|
2018-05-02 06:32:59 +08:00
|
|
|
SWEP.Base = "weapon_zs_baseshotgun"
|
2014-10-02 08:49:54 +08:00
|
|
|
|
|
|
|
SWEP.HoldType = "shotgun"
|
|
|
|
|
|
|
|
SWEP.ViewModel = "models/weapons/cstrike/c_shot_m3super90.mdl"
|
|
|
|
SWEP.WorldModel = "models/weapons/w_shot_m3super90.mdl"
|
|
|
|
SWEP.UseHands = true
|
|
|
|
|
2018-05-02 06:32:59 +08:00
|
|
|
SWEP.ReloadDelay = 0.45
|
2014-10-02 08:49:54 +08:00
|
|
|
|
|
|
|
SWEP.Primary.Sound = Sound("Weapon_M3.Single")
|
2018-05-02 06:32:59 +08:00
|
|
|
SWEP.Primary.Damage = 14.75
|
|
|
|
SWEP.Primary.NumShots = 8
|
|
|
|
SWEP.Primary.Delay = 0.87
|
2014-10-02 08:49:54 +08:00
|
|
|
|
|
|
|
SWEP.Primary.ClipSize = 6
|
|
|
|
SWEP.Primary.Automatic = false
|
|
|
|
SWEP.Primary.Ammo = "buckshot"
|
|
|
|
GAMEMODE:SetupDefaultClip(SWEP.Primary)
|
|
|
|
|
2018-05-02 06:32:59 +08:00
|
|
|
SWEP.ConeMax = 5
|
|
|
|
SWEP.ConeMin = 3.75
|
2014-10-02 08:49:54 +08:00
|
|
|
|
2018-05-02 06:32:59 +08:00
|
|
|
SWEP.FireAnimSpeed = 1.2
|
2014-10-02 08:49:54 +08:00
|
|
|
SWEP.WalkSpeed = SPEED_SLOWER
|
|
|
|
|
2018-05-02 06:32:59 +08:00
|
|
|
SWEP.Tier = 4
|
|
|
|
SWEP.MaxStock = 3
|
2014-10-02 08:49:54 +08:00
|
|
|
|
2018-05-02 06:32:59 +08:00
|
|
|
GAMEMODE:AttachWeaponModifier(SWEP, WEAPON_MODIFIER_CLIP_SIZE, 1)
|