zombiesurvival-evolved/gamemodes/zombiesurvival/entities/weapons/weapon_zs_battleaxe.lua
William Moodhe e9da54c2f9 ZS updates for 2014-2018
Too many changes to list.
2018-05-01 18:32:59 -04:00

42 lines
1,012 B
Lua

AddCSLuaFile()
SWEP.PrintName = "'Battleaxe' Handgun"
SWEP.Description = "An accurate, reliable pistol with considerable damage."
SWEP.Slot = 1
SWEP.SlotPos = 0
if CLIENT then
SWEP.ViewModelFlip = false
SWEP.ViewModelFOV = 60
SWEP.HUD3DPos = Vector(-0.95, 0, 1)
SWEP.HUD3DAng = Angle(0, 0, 0)
SWEP.HUD3DBone = "v_weapon.USP_Slide"
end
SWEP.Base = "weapon_zs_base"
SWEP.HoldType = "pistol"
SWEP.ViewModel = "models/weapons/cstrike/c_pist_usp.mdl"
SWEP.WorldModel = "models/weapons/w_pist_usp.mdl"
SWEP.UseHands = true
SWEP.Primary.Sound = Sound("Weapon_USP.Single")
SWEP.Primary.Damage = 24
SWEP.Primary.NumShots = 1
SWEP.Primary.Delay = 0.2
SWEP.Primary.ClipSize = 12
SWEP.Primary.Automatic = false
SWEP.Primary.Ammo = "pistol"
GAMEMODE:SetupDefaultClip(SWEP.Primary)
SWEP.IronSightsPos = Vector(-5.9, 12, 2.3)
SWEP.ConeMax = 2.5
SWEP.ConeMin = 0.75
GAMEMODE:AttachWeaponModifier(SWEP, WEAPON_MODIFIER_CLIP_SIZE, 1, 1)
GAMEMODE:AttachWeaponModifier(SWEP, WEAPON_MODIFIER_FIRE_DELAY, -0.0175, 1)