45 lines
995 B
Lua
45 lines
995 B
Lua
|
AddCSLuaFile()
|
||
|
|
||
|
if CLIENT then
|
||
|
SWEP.PrintName = "'Reaper' UMP"
|
||
|
SWEP.Slot = 2
|
||
|
SWEP.SlotPos = 0
|
||
|
|
||
|
SWEP.ViewModelFlip = false
|
||
|
SWEP.ViewModelFOV = 60
|
||
|
|
||
|
SWEP.HUD3DBone = "v_weapon.ump45_Release"
|
||
|
SWEP.HUD3DPos = Vector(-1.1, -3, 2)
|
||
|
SWEP.HUD3DAng = Angle(0, 0, 0)
|
||
|
SWEP.HUD3DScale = 0.02
|
||
|
end
|
||
|
|
||
|
SWEP.Base = "weapon_zs_base"
|
||
|
|
||
|
SWEP.HoldType = "ar2"
|
||
|
|
||
|
SWEP.ViewModel = "models/weapons/cstrike/c_smg_ump45.mdl"
|
||
|
SWEP.WorldModel = "models/weapons/w_smg_ump45.mdl"
|
||
|
SWEP.UseHands = true
|
||
|
|
||
|
SWEP.Primary.Sound = Sound("Weapon_UMP45.Single")
|
||
|
SWEP.Primary.Damage = 24
|
||
|
SWEP.Primary.NumShots = 1
|
||
|
SWEP.Primary.Delay = 0.13
|
||
|
|
||
|
SWEP.Primary.ClipSize = 28
|
||
|
SWEP.Primary.Automatic = true
|
||
|
SWEP.Primary.Ammo = "smg1"
|
||
|
GAMEMODE:SetupDefaultClip(SWEP.Primary)
|
||
|
|
||
|
SWEP.Primary.Gesture = ACT_HL2MP_GESTURE_RANGE_ATTACK_AR2
|
||
|
SWEP.ReloadGesture = ACT_HL2MP_GESTURE_RELOAD_AR2
|
||
|
|
||
|
SWEP.ConeMax = 0.08
|
||
|
SWEP.ConeMin = 0.045
|
||
|
|
||
|
SWEP.WalkSpeed = SPEED_SLOW
|
||
|
|
||
|
SWEP.IronSightsPos = Vector(-5.3, -3, 4.4)
|
||
|
SWEP.IronSightsAng = Vector(-1, 0.2, 2.55)
|