zombiesurvival-evolved/gamemodes/zombiesurvival/entities/weapons/weapon_zs_ender.lua

41 lines
813 B
Lua
Raw Normal View History

2014-10-02 08:49:54 +08:00
AddCSLuaFile()
if CLIENT then
SWEP.PrintName = "'Ender' Automatic Shotgun"
SWEP.Slot = 3
SWEP.SlotPos = 0
SWEP.ViewModelFlip = false
SWEP.ViewModelFOV = 60
SWEP.HUD3DBone = "v_weapon.galil"
SWEP.HUD3DPos = Vector(1, 0, 6)
SWEP.HUD3DScale = 0.015
end
SWEP.Base = "weapon_zs_base"
SWEP.HoldType = "shotgun"
SWEP.ViewModel = "models/weapons/cstrike/c_rif_galil.mdl"
SWEP.WorldModel = "models/weapons/w_rif_galil.mdl"
SWEP.UseHands = true
SWEP.Primary.Sound = Sound("Weapon_Galil.Single")
SWEP.Primary.Damage = 23
SWEP.Primary.NumShots = 4
SWEP.Primary.Delay = 0.4
SWEP.Primary.ClipSize = 8
SWEP.Primary.Automatic = true
SWEP.Primary.Ammo = "buckshot"
GAMEMODE:SetupDefaultClip(SWEP.Primary)
SWEP.ConeMax = 0.16
SWEP.ConeMin = 0.14
SWEP.WalkSpeed = SPEED_SLOWER
function SWEP:SecondaryAttack()
end