From 2736f498f30220b858fc6fac23e7ddc4a597df6d Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Mon, 30 May 2016 14:42:09 -0400 Subject: Inital commit --- entities/weapons/rad_p228/shared.lua | 39 ++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 entities/weapons/rad_p228/shared.lua (limited to 'entities/weapons/rad_p228/shared.lua') diff --git a/entities/weapons/rad_p228/shared.lua b/entities/weapons/rad_p228/shared.lua new file mode 100644 index 0000000..56c1415 --- /dev/null +++ b/entities/weapons/rad_p228/shared.lua @@ -0,0 +1,39 @@ +if SERVER then + + AddCSLuaFile("shared.lua") + +end + +if CLIENT then + + SWEP.ViewModelFlip = true + + SWEP.PrintName = "P228 Compact" + SWEP.IconLetter = "y" + SWEP.Slot = 2 + SWEP.Slotpos = 2 + +end + +SWEP.HoldType = "pistol" + +SWEP.Base = "rad_base" + +SWEP.ViewModel = "models/weapons/v_pist_p228.mdl" +SWEP.WorldModel = "models/weapons/w_pist_p228.mdl" + +SWEP.SprintPos = Vector(-0.8052, 0, 3.0657) +SWEP.SprintAng = Vector(-16.9413, -5.786, 4.0159) + +SWEP.IsSniper = false +SWEP.AmmoType = "Pistol" + +SWEP.Primary.Sound = Sound( "Weapon_P228.Single" ) +SWEP.Primary.Recoil = 5.5 +SWEP.Primary.Damage = 25 +SWEP.Primary.NumShots = 1 +SWEP.Primary.Cone = 0.035 +SWEP.Primary.Delay = 0.150 + +SWEP.Primary.ClipSize = 12 +SWEP.Primary.Automatic = false -- cgit v1.2.3-70-g09d2