Advertisement
Guest User

Untitled

a guest
Apr 9th, 2020
266
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.09 KB | None | 0 0
  1. AddCSLuaFile()
  2.  
  3.  
  4. SWEP.Author = "Robotboy655 + King David"
  5. SWEP.Category = "Lightsabers Knojes"
  6. SWEP.Contact = ""
  7. SWEP.RenderGroup = RENDERGROUP_BOTH
  8. SWEP.Slot = 0
  9. SWEP.SlotPos = 4
  10. SWEP.Spawnable = true
  11. SWEP.DrawAmmo = false
  12. SWEP.DrawCrosshair = false
  13. SWEP.AutoSwitchTo = false
  14. SWEP.AutoSwitchFrom = false
  15. SWEP.DrawWeaponInfoBox = false
  16. SWEP.ViewModel = "models/weapons/v_crowbar.mdl"
  17. SWEP.WorldModel = "models/sgg/starwars/weapons/w_anakin_ep2_saber_hilt.mdl"
  18. SWEP.ViewModelFOV = 55
  19. SWEP.Primary.ClipSize = -1
  20. SWEP.Primary.DefaultClip = -1
  21. SWEP.Primary.Automatic = false
  22. SWEP.Primary.Ammo = "none"
  23. SWEP.Secondary.ClipSize = -1
  24. SWEP.Secondary.DefaultClip = -1
  25. SWEP.Secondary.Automatic = true
  26. SWEP.Secondary.Ammo = "none"
  27.  
  28. ------------------------------------------------------------Bearbeiten-------------------------------------------------------------------------
  29. SWEP.PrintName = "Sith Schüler"
  30. SWEP.Class = "weapon_lightsaber_sithschueler"
  31. SWEP.DualWielded = false
  32. SWEP.CanMoveWhileAttacking = true
  33. SWEP.SaberDamage = 200
  34. SWEP.SaberBurnDamage = 25
  35. SWEP.MaxForce = 100
  36. SWEP.RegenSpeed = 1
  37. SWEP.CanKnockback = true
  38. SWEP.ForcePowerList = { "Force Leap","Force Pull","Force Push","Channel Hatred" }
  39.  
  40. SWEP.UseSkills = true
  41. SWEP.PersonalLightsaber = true
  42.  
  43. SWEP.CustomSettings = {}
  44.  
  45. SWEP.UseForms = {
  46. ["Aggressive"] = { 1, 3 },
  47. ["Defensive"] = { 2 },
  48. }
  49.  
  50.  
  51. SWEP.UseHilt = false
  52. SWEP.UseLength = false
  53. SWEP.UseWidth = false
  54. SWEP.UseColor = false
  55. SWEP.UseDarkInner = false
  56. SWEP.UseLoopSound = false
  57. SWEP.UseSwingSound = false
  58. SWEP.UseOnSound = false
  59. SWEP.UseOffSound = false
  60.  
  61. SWEP.UseSecHilt = false
  62. SWEP.UseSecLength = false
  63. SWEP.UseSecWidth = false
  64. SWEP.UseSecColor = false
  65. SWEP.UseSecDarkInner = false
  66.  
  67. -----------------------------------------------------------END OF EDIT----------------------------------------------------------------
  68.  
  69.  
  70. if !SWEP.DualWielded then
  71.     SWEP.Base = "wos_adv_single_lightsaber_base"
  72. else
  73.     SWEP.Base = "wos_adv_dual_lightsaber_base"
  74. end
  75.  
  76.  
  77.  
  78. if CLIENT then
  79.     killicon.Add( SWEP.Class, "lightsaber/lightsaber_killicon", color_white )
  80. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement