summaryrefslogtreecommitdiff
path: root/entities/weapons/rad_awp/shared.lua
diff options
context:
space:
mode:
authorAlexander Pickering <alexandermpickering@gmail.com>2016-05-30 14:42:09 -0400
committerAlexander Pickering <alexandermpickering@gmail.com>2016-05-30 14:42:09 -0400
commit2736f498f30220b858fc6fac23e7ddc4a597df6d (patch)
tree374ceadedb654b00e09dac321620a8320830f734 /entities/weapons/rad_awp/shared.lua
downloadredead-2736f498f30220b858fc6fac23e7ddc4a597df6d.tar.gz
redead-2736f498f30220b858fc6fac23e7ddc4a597df6d.tar.bz2
redead-2736f498f30220b858fc6fac23e7ddc4a597df6d.zip
Inital commit
Diffstat (limited to 'entities/weapons/rad_awp/shared.lua')
-rw-r--r--entities/weapons/rad_awp/shared.lua46
1 files changed, 46 insertions, 0 deletions
diff --git a/entities/weapons/rad_awp/shared.lua b/entities/weapons/rad_awp/shared.lua
new file mode 100644
index 0000000..f20fd07
--- /dev/null
+++ b/entities/weapons/rad_awp/shared.lua
@@ -0,0 +1,46 @@
+if SERVER then
+
+ AddCSLuaFile("shared.lua")
+
+end
+
+if CLIENT then
+
+ SWEP.ViewModelFlip = true
+
+ SWEP.PrintName = "AWP"
+ SWEP.IconLetter = "r"
+ SWEP.Slot = 2
+ SWEP.Slotpos = 2
+
+end
+
+SWEP.HoldType = "ar2"
+
+SWEP.Base = "rad_base"
+
+SWEP.ViewModel = "models/weapons/v_snip_awp.mdl"
+SWEP.WorldModel = "models/weapons/w_snip_awp.mdl"
+
+SWEP.SprintPos = Vector(-2.4134, -2.7816, 0.4499)
+SWEP.SprintAng = Vector(-4.2748, -48.8937, -0.0962)
+
+SWEP.ZoomModes = { 0, 35, 5 }
+SWEP.ZoomSpeeds = { 0.25, 0.30, 0.30 }
+
+SWEP.IsSniper = true
+SWEP.AmmoType = "Sniper"
+
+SWEP.Primary.Sound = Sound( "Weapon_AWP.Single" )
+SWEP.Primary.Recoil = 17.5
+SWEP.Primary.Damage = 175
+SWEP.Primary.NumShots = 1
+SWEP.Primary.Cone = 0.001
+SWEP.Primary.SniperCone = 0.015
+SWEP.Primary.Delay = 1.500
+
+SWEP.Primary.ClipSize = 10
+SWEP.Primary.Automatic = false
+
+SWEP.MinShellDelay = 0.8
+SWEP.MaxShellDelay = 1.0