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

47 lines
1 KiB
Lua
Raw Normal View History

2014-10-02 08:49:54 +08:00
AddCSLuaFile()
if CLIENT then
SWEP.PrintName = "'Tosser' SMG"
SWEP.Slot = 2
SWEP.SlotPos = 0
SWEP.HUD3DBone = "ValveBiped.base"
SWEP.HUD3DPos = Vector(1.5, 0.25, -2)
SWEP.HUD3DScale = 0.02
SWEP.ViewModelFlip = false
SWEP.ViewModelFOV = 60
end
SWEP.Base = "weapon_zs_base"
SWEP.HoldType = "smg"
SWEP.ViewModel = "models/weapons/c_smg1.mdl"
SWEP.WorldModel = "models/weapons/w_smg1.mdl"
SWEP.UseHands = true
SWEP.CSMuzzleFlashes = false
SWEP.ReloadSound = Sound("Weapon_SMG1.Reload")
SWEP.Primary.Sound = Sound("Weapon_AR2.NPC_Single")
SWEP.Primary.Damage = 15
SWEP.Primary.NumShots = 1
SWEP.Primary.Delay = 0.15
SWEP.Primary.ClipSize = 25
SWEP.Primary.Automatic = true
SWEP.Primary.Ammo = "smg1"
GAMEMODE:SetupDefaultClip(SWEP.Primary)
SWEP.Primary.Gesture = ACT_HL2MP_GESTURE_RANGE_ATTACK_SMG1
SWEP.ReloadGesture = ACT_HL2MP_GESTURE_RELOAD_SMG1
SWEP.ConeMax = 0.055
SWEP.ConeMin = 0.029
SWEP.WalkSpeed = SPEED_NORMAL
--SWEP.IronSightsPos = Vector(-6.42, 4, 2.53)
SWEP.IronSightsPos = Vector(-6.425, 5, 1.02)