Advertisement
Guest User

Untitled

a guest
May 28th, 2016
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.09 KB | None | 0 0
  1. AddCSLuaFile()
  2.  
  3. if CLIENT then
  4. SWEP.PrintName = "'Battleaxe' Handgun"
  5. SWEP.Slot = 1
  6. SWEP.SlotPos = 0
  7.  
  8. SWEP.ViewModelFlip = false
  9. SWEP.ViewModelFOV = 60
  10.  
  11. SWEP.HUD3DPos = Vector(-0.95, 0, 1)
  12. SWEP.HUD3DAng = Angle(0, 0, 0)
  13. SWEP.HUD3DBone = "v_weapon.USP_Slide"
  14.  
  15. SWEP.VElements = {
  16. ["iron_base_dot"] = { type = "Sprite", sprite = "sprites/redglow1", bone = "v_weapon.USP_Slide", rel = "iron_base_glass", pos = Vector(0, 0, 0), size = { x = 1, y = 1 }, color = Color(255, 255, 255, 255), nocull = true, additive = true, vertexalpha = true, vertexcolor = true, ignorez = false},
  17. ["iron_base_sight"] = { type = "Model", model = "models/props_junk/CinderBlock01a.mdl", bone = "v_weapon.USP_Slide", rel = "", pos = Vector(-0.101, -0.7, -2.3), angle = Angle(0, 0, 0), size = Vector(0.048, 0.025, 0.15), color = Color(0, 0, 0, 255), surpresslightning = false, material = "rubber", skin = 0, bodygroup = {} },
  18. ["iron_base_part"] = { type = "Model", model = "models/hunter/tubes/tube1x1x1.mdl", bone = "v_weapon.USP_Slide", rel = "iron_base_sight", pos = Vector(0, -0.7, -2.597), angle = Angle(0, 0, 0), size = Vector(0.028, 0.028, 0.028), color = Color(0, 0, 0, 255), surpresslightning = false, material = "rubber", skin = 0, bodygroup = {} },
  19. ["iron_base_glass"] = { type = "Model", model = "models/dav0r/hoverball.mdl", bone = "v_weapon.USP_Slide", rel = "iron_base_part", pos = Vector(0, 0, 0.518), angle = Angle(180, 0, 0), size = Vector(0.094, 0.101, 0.009), color = Color(255, 255, 255, 128), surpresslightning = false, material = "rubber", skin = 0, bodygroup = {} },
  20. ["Suppressor"] = { type = "Model", model = "models/props_borealis/bluebarrel001.mdl", bone = "v_weapon.USP_Slide", rel = "", pos = Vector(-0.101, 0.2, -10.91), angle = Angle(0, 0, 0), size = Vector(0.05, 0.05, 0.172), color = Color(0, 0, 0, 255), surpresslightning = false, material = "rubber", skin = 0, bodygroup = {} }
  21. }
  22.  
  23. SWEP.WElements = {
  24. ["iron_base_dot"] = { type = "Sprite", sprite = "sprites/redglow1", bone = "ValveBiped.Bip01_R_Hand", rel = "iron_base_glass", pos = Vector(0, 0, 0), size = { x = 1, y = 1 }, color = Color(255, 255, 255, 255), nocull = true, additive = true, vertexalpha = true, vertexcolor = true, ignorez = false},
  25. ["iron_base_sight"] = { type = "Model", model = "models/props_junk/CinderBlock01a.mdl", bone = "ValveBiped.Bip01_R_Hand", rel = "", pos = Vector(5.714, 1.799, -4.401), angle = Angle(8.182, 82.986, -87.663), size = Vector(0.048, 0.025, 0.15), color = Color(0, 0, 0, 255), surpresslightning = false, material = "rubber", skin = 0, bodygroup = {} },
  26. ["iron_base_part"] = { type = "Model", model = "models/hunter/tubes/tube1x1x1.mdl", bone = "ValveBiped.Bip01_R_Hand", rel = "iron_base_sight", pos = Vector(0, -0.7, -2.597), angle = Angle(0, 0, 0), size = Vector(0.028, 0.028, 0.028), color = Color(0, 0, 0, 255), surpresslightning = false, material = "rubber", skin = 0, bodygroup = {} },
  27. ["iron_base_glass"] = { type = "Model", model = "models/dav0r/hoverball.mdl", bone = "ValveBiped.Bip01_R_Hand", rel = "iron_base_part", pos = Vector(0, 0, 0.518), angle = Angle(180, 0, 0), size = Vector(0.094, 0.101, 0.009), color = Color(255, 255, 255, 128), surpresslightning = false, material = "rubber", skin = 0, bodygroup = {} },
  28. ["Suppressor"] = { type = "Model", model = "models/props_borealis/bluebarrel001.mdl", bone = "ValveBiped.Bip01_R_Hand", rel = "", pos = Vector(12.8, 2.5, -3.8), angle = Angle(85.324, -5.844, 0), size = Vector(0.05, 0.05, 0.109), color = Color(0, 0, 0, 255), surpresslightning = false, material = "rubber", skin = 0, bodygroup = {} }
  29. }
  30.  
  31. end
  32.  
  33. SWEP.Base = "weapon_zs_base"
  34.  
  35. SWEP.HoldType = "pistol"
  36.  
  37. SWEP.ViewModel = "models/weapons/cstrike/c_pist_usp.mdl"
  38. SWEP.WorldModel = "models/weapons/w_pist_usp.mdl"
  39. SWEP.UseHands = true
  40.  
  41. SWEP.Primary.Sound = Sound("Weapon_USP.Single")
  42. SWEP.Primary.Damage = 22
  43. SWEP.Primary.NumShots = 1
  44. SWEP.Primary.Delay = 0.2
  45.  
  46. SWEP.Primary.ClipSize = 12
  47. SWEP.Primary.Automatic = false
  48. SWEP.Primary.Ammo = "pistol"
  49. GAMEMODE:SetupDefaultClip(SWEP.Primary)
  50.  
  51. SWEP.IronSightsPos = Vector(-5.95, -10, 2.2)
  52.  
  53. SWEP.ConeMax = 0.05
  54. SWEP.ConeMin = 0.015
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement