Advertisement
Guest User

SWEP

a guest
Oct 30th, 2011
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.39 KB | None | 0 0
  1. // Variables that are used on both client and server
  2. SWEP.Category = "Generic Default's Weapons"
  3. SWEP.Author = "Generic Default"
  4. SWEP.Contact = "AIDS!"
  5. SWEP.Purpose = "Requesting permission to fire."
  6. SWEP.Instructions = "Round: 5.56 \nVelocity: ~900 m/s \nSights: ACOG 4x \nCapacity: 30 rounds \nRate of Fire: 800 rounds per minute"
  7. SWEP.MuzzleAttachment = "1" -- Should be "1" for CSS models or "muzzle" for hl2 models
  8. SWEP.ShellEjectAttachment = "2" -- Should be "2" for CSS models or "1" for hl2 models
  9. SWEP.DrawCrosshair = false
  10.  
  11. SWEP.ViewModelFOV = 65
  12. SWEP.ViewModelFlip = true
  13. SWEP.ViewModel = "models/weapons/v_ris_mp5.mdl"
  14. SWEP.WorldModel = "models/weapons/w_smg_mp5.mdl"
  15. SWEP.Base = "gdcw_base_rifleman"
  16. SWEP.Spawnable = true
  17. SWEP.AdminSpawnable = true
  18. SWEP.VElements = {
  19. ["reticle"] = { type = "Sprite", sprite = "", bone = "Base", rel = "", 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},
  20. ["eotech"] = { type = "Model", model = "models/wystan/attachments/eotech557sight.mdl", bone = "Base", rel = "", pos = Vector(-0.144, 9.126, -10.5), angle = Angle(7.012, 90, 0), size = Vector(1, 1, 1), color = Color(255, 255, 255, 255), surpresslightning = false, material = "", skin = 0, bodygroup = {} }
  21. }
  22.  
  23. SWEP.Primary.Sound = Sound("M4A1F.single")
  24. SWEP.Primary.Round = ("gdcwa_5.56x45_tracer")
  25. SWEP.Primary.RPM = 800 // This is in Rounds Per Minute
  26. SWEP.Primary.ClipSize = 30 // Size of a clip
  27. SWEP.Primary.DefaultClip = 31 // Default number of bullets in a clip
  28. SWEP.Primary.KickUp = 0.25 // Maximum up recoil (rise)
  29. SWEP.Primary.KickDown = 0.25 // Maximum down recoil (skeet)
  30. SWEP.Primary.KickHorizontal = 0.25 // Maximum up recoil (stock)
  31. SWEP.Primary.Automatic = true // Automatic/Semi Auto
  32. SWEP.Primary.Ammo = "smg1"
  33.  
  34. SWEP.Secondary.ClipSize = 1 // Size of a clip
  35. SWEP.Secondary.DefaultClip = 1 // Default number of bullets in a clip
  36. SWEP.Secondary.Automatic = false // Automatic/Semi Auto
  37. SWEP.Secondary.Ammo = ""
  38. SWEP.Secondary.ScopeZoom = 4
  39. SWEP.Secondary.UseEotech552 = true
  40.  
  41. SWEP.data = {} -- The starting firemode
  42. SWEP.data.ironsights = 1
  43.  
  44. SWEP.IronSightsPos = Vector (2.91, -5.902, 0.649)
  45. SWEP.IronSightsAng = Vector (-2.1, -0.301, 0)
  46.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement