Guest User

Untitled

a guest
Sep 30th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.94 KB | None | 0 0
  1. SWEP.Gun = ("ven_e22")
  2. if (GetConVar(SWEP.Gun.."_allowed")) != nil then
  3. if not (GetConVar(SWEP.Gun.."_allowed"):GetBool()) then SWEP.Base = "tfa_blacklisted" SWEP.PrintName = SWEP.Gun return end
  4. end
  5. SWEP.Base = "tfa_3dscoped_base" // tfa_gun_base
  6. SWEP.Category = "BATTLEFRONT 2017 SWEPS"
  7. SWEP.Manufacturer = ""
  8. SWEP.Author = "Venator & SaulWorthy"
  9. SWEP.Contact = ""
  10. SWEP.Spawnable = true
  11. SWEP.AdminSpawnable = true
  12. SWEP.DrawCrosshair = true
  13. SWEP.DrawCrosshairIS = false
  14. SWEP.PrintName = "E-22"
  15. SWEP.Type = "Precision Blaster Rifle"
  16. SWEP.DrawAmmo = true
  17. SWEP.data = {}
  18. SWEP.data.ironsights = 1
  19. SWEP.Secondary.IronFOV = 78
  20. SWEP.Slot = 3
  21. SWEP.SlotPos = 5
  22.  
  23.  
  24. SWEP.FiresUnderwater = true
  25.  
  26. SWEP.IronInSound = nil
  27. SWEP.IronOutSound = nil
  28. SWEP.CanBeSilenced = false
  29. SWEP.Silenced = false
  30. SWEP.DoMuzzleFlash = false
  31. SWEP.SelectiveFire = true
  32. SWEP.DisableBurstFire = false
  33. SWEP.OnlyBurstFire = false
  34. SWEP.DefaultFireMode = "auto"
  35. SWEP.FireModeName = nil
  36. SWEP.DisableChambering = true
  37.  
  38. SWEP.Primary.ClipSize = 20
  39. SWEP.Primary.DefaultClip = 20
  40. SWEP.Primary.RPM = 140
  41. SWEP.Primary.RPM_Burst = 140
  42. SWEP.Primary.Ammo = "ar2"
  43. SWEP.Primary.AmmoConsumption = 2
  44. SWEP.Primary.Range = 10000
  45. SWEP.Primary.RangeFalloff = -1
  46. SWEP.Primary.NumShots = 2
  47. SWEP.Primary.Automatic = true
  48. SWEP.Primary.RPM_Semi = nil
  49. SWEP.Primary.BurstDelay = .1
  50. SWEP.Primary.Sound = Sound ("weapons/bf3/rifles.wav");
  51. SWEP.Primary.ReloadSound = Sound ("weapons/bf3/rifles.wav");
  52. SWEP.Primary.PenetrationMultiplier = 0
  53. SWEP.Primary.Damage = 32.5
  54. SWEP.Primary.HullSize = 0
  55. SWEP.DamageType = nil
  56.  
  57. SWEP.DoMuzzleFlash = true
  58. SWEP.CustomMuzzleFlash = true
  59. SWEP.MuzzleFlashEffect = "tfa_muzzleflash_incendiary"
  60.  
  61. SWEP.FireModes = {
  62. "Automatic",
  63. "Single",
  64. }
  65.  
  66. SWEP.IronRecoilMultiplier = 0.01
  67. SWEP.CrouchRecoilMultiplier = 0.01
  68. SWEP.JumpRecoilMultiplier = 0.01
  69. SWEP.WallRecoilMultiplier = 0.02
  70. SWEP.ChangeStateRecoilMultiplier = 0.02
  71. SWEP.CrouchAccuracyMultiplier = 0.8
  72. SWEP.ChangeStateAccuracyMultiplier = 1
  73. SWEP.JumpAccuracyMultiplier = 10
  74. SWEP.WalkAccuracyMultiplier = 1.8
  75. SWEP.NearWallTime = 0.5
  76. SWEP.ToCrouchTime = 0.25
  77. SWEP.WeaponLength = 35
  78. SWEP.SprintFOVOffset = 12
  79. SWEP.ProjectileVelocity = 9
  80.  
  81. SWEP.ProjectileEntity = nil
  82. SWEP.ProjectileModel = nil
  83.  
  84. SWEP.ViewModel = "models/bf2017/c_e11.mdl"
  85. SWEP.WorldModel = "models/bf2017/w_e11.mdl"
  86. SWEP.ViewModelFOV = 70
  87. SWEP.ViewModelFlip = false
  88. SWEP.MaterialTable = nil
  89. SWEP.UseHands = true
  90. SWEP.HoldType = "ar2"
  91.  
  92. SWEP.ShowViewModel = true
  93. SWEP.ShowWorldModel = false
  94.  
  95. SWEP.BlowbackEnabled = true
  96. SWEP.BlowbackVector = Vector(0,-1,-0.00)
  97. SWEP.BlowbackCurrentRoot = 0
  98. SWEP.BlowbackCurrent = 0
  99. SWEP.BlowbackBoneMods = nil
  100. SWEP.Blowback_Only_Iron = true
  101. SWEP.Blowback_PistolMode = false
  102. SWEP.Blowback_Shell_Enabled = false
  103. SWEP.Blowback_Shell_Effect = "None"
  104.  
  105. SWEP.Tracer = 0
  106. SWEP.TracerName = "effect_sw_laser_red"
  107. SWEP.TracerCount = 1
  108. SWEP.TracerLua = false
  109. SWEP.TracerDelay = 0.01
  110. SWEP.ImpactEffect = "effect_sw_impact"
  111. SWEP.ImpactDecal = "FadingScorch"
  112.  
  113. SWEP.VMPos = Vector(0.5, -2, .5)
  114. SWEP.VMAng = Vector(0,0,0)
  115.  
  116. SWEP.IronSightTime = 0.5
  117. SWEP.Primary.KickUp = 0.03
  118. SWEP.Primary.KickDown = 0.01
  119. SWEP.Primary.KickHorizontal = 0.055
  120. SWEP.Primary.StaticRecoilFactor = 0.01
  121. SWEP.Primary.Spread = .002
  122. SWEP.Primary.IronAccuracy = .001
  123. SWEP.Primary.SpreadMultiplierMax = 1.5
  124. SWEP.Primary.SpreadIncrement = 0.35
  125. SWEP.Primary.SpreadRecovery = 0.98
  126. SWEP.DisableChambering = true
  127. SWEP.MoveSpeed = 0.85
  128. SWEP.IronSightsMoveSpeed = 0.75
  129.  
  130. SWEP.IronSightsPos_8SCOPE = Vector(-4.37, -11, 1.65)
  131. SWEP.IronSightsAng_8SCOPE = Vector(2, 0, 0)
  132.  
  133. SWEP.IronSightsPos = Vector(-3.4, -6, 1.75) //across //close //up&down
  134. SWEP.IronSightsAng = Vector(-.18, 0, 0)
  135. SWEP.RunSightsPos = Vector(4, -2, 1.5)
  136. SWEP.RunSightsAng = Vector(-28, 42, -25)
  137. SWEP.InspectPos = Vector(8, -5, -3)
  138. SWEP.InspectAng = Vector(14, 48, 0)
  139.  
  140.  
  141.  
  142.  
  143.  
  144. SWEP.ViewModelBoneMods = {
  145. ["v_e11_reference001"] = { scale = Vector(0.009, 0.009, 0.009), pos = Vector(-0.556, 0, 0), angle = Angle(0, 0, 0) }
  146. }
  147.  
  148.  
  149. SWEP.VElements = {
  150. ["scope"] = { type = "Model", model = "models/rtcircle.mdl", bone = "v_e11_reference001", rel = "", pos = Vector(-1, -4.17, 4.845), angle = Angle(0, 90, 0), size = Vector(0.33, 0.33, 0.33), color = Color(255, 255, 255, 255), surpresslightning = false, material = "!tfa_rtmaterial", skin = 0, bodygroup = {} },
  151. ["e22_v"] = { type = "Model", model = "models/sw_battlefront/weapons/ven_e22.mdl", bone = "v_e11_reference001", rel = "", pos = Vector(-0.9, -2, 0), angle = Angle(0, -90, 0), size = Vector(1, 1, 1), color = Color(255, 255, 255, 255), surpresslightning = false, material = "", skin = 0, bodygroup = {} }
  152. }
  153.  
  154. SWEP.WElements = {
  155. ["e22_w"] = { type = "Model", model = "models/sw_battlefront/weapons/ven_e22.mdl", bone = "ValveBiped.Bip01_R_Hand", rel = "", pos = Vector(3.635, 0.8, -1.558), angle = Angle(-15.195, 0, 180), size = Vector(1, 1, 1), color = Color(255, 255, 255, 255), surpresslightning = false, material = "", skin = 0, bodygroup = {} }
  156. }
  157.  
  158.  
  159. SWEP.RTMaterialOverride = -1
  160.  
  161. SWEP.ThirdPersonReloadDisable =false
  162. SWEP.Primary.DamageType = DMG_BULLET
  163. SWEP.DamageType = DMG_BULLET
  164. SWEP.RTScopeAttachment = -1
  165. SWEP.Scoped_3D = true
  166. SWEP.ScopeReticule = "scope/star_ret_red"
  167. SWEP.Secondary.ScopeZoom = 5
  168. SWEP.ScopeReticule_Scale = {1.38,1.38}
  169. if surface then
  170. SWEP.Secondary.ScopeTable = nil --[[
  171. {
  172. scopetex = surface.GetTextureID("scope/gdcw_closedsight"),
  173. reticletex = surface.GetTextureID("scope/gdcw_acogchevron"),
  174. dottex = surface.GetTextureID("scope/gdcw_acogcross")
  175. }
  176. ]]--
  177. end
  178. DEFINE_BASECLASS( SWEP.Base )
Advertisement
Add Comment
Please, Sign In to add comment