MVGDaniel

Untitled

Feb 27th, 2019
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.39 KB | None | 0 0
  1. --[[-------------------------------------------------------------------
  2. Modified Lightsaber:
  3. Runs on the intuitive wOS Lightsaber Base
  4. Powered by
  5. _ _ _ ___ ____
  6. __ _(_) | |_ / _ \/ ___|
  7. \ \ /\ / / | | __| | | \___ \
  8. \ V V /| | | |_| |_| |___) |
  9. \_/\_/ |_|_|\__|\___/|____/
  10.  
  11. _____ _ _ _
  12. |_ _|__ ___| |__ _ __ ___ | | ___ __ _(_) ___ ___
  13. | |/ _ \/ __| '_ \| '_ \ / _ \| |/ _ \ / _` | |/ _ \/ __|
  14. | | __/ (__| | | | | | | (_) | | (_) | (_| | | __/\__ \
  15. |_|\___|\___|_| |_|_| |_|\___/|_|\___/ \__, |_|\___||___/
  16. |___/
  17. -------------------------------------------------------------------]]--[[
  18.  
  19. Lua Developer: King David
  20. Contact: http://steamcommunity.com/groups/wiltostech
  21.  
  22. ----------------------------------------]]--
  23.  
  24. AddCSLuaFile()
  25.  
  26.  
  27. SWEP.Author = "Robotboy655 + King David"
  28. SWEP.Category = "Lightsabers - Ren"
  29. SWEP.Contact = ""
  30. SWEP.RenderGroup = RENDERGROUP_BOTH
  31. SWEP.Slot = 0
  32. SWEP.SlotPos = 4
  33. SWEP.Spawnable = true
  34. SWEP.DrawAmmo = false
  35. SWEP.DrawCrosshair = false
  36. SWEP.AutoSwitchTo = false
  37. SWEP.AutoSwitchFrom = false
  38. SWEP.DrawWeaponInfoBox = false
  39. SWEP.ViewModel = "models/weapons/v_crowbar.mdl"
  40. SWEP.WorldModel = "models/lightsaber/lightsaber.mdl"
  41. SWEP.ViewModelFOV = 55
  42. SWEP.Primary.ClipSize = -1
  43. SWEP.Primary.DefaultClip = -1
  44. SWEP.Primary.Automatic = false
  45. SWEP.Primary.Ammo = "none"
  46. SWEP.Secondary.ClipSize = -1
  47. SWEP.Secondary.DefaultClip = -1
  48. SWEP.Secondary.Automatic = true
  49. SWEP.Secondary.Ammo = "none"
  50.  
  51. ------------------------------------------------------------THINGS YOU WILL EDIT ARE BELOW HERE-------------------------------------------------------------------------
  52. SWEP.PrintName = "Dark Council's Single Saber" --Name of the lightsaber
  53. SWEP.Class = "weapon_lightsaber_council" --The file name of this swep
  54. SWEP.DualWielded = false --Should this be a dual wielded saber?
  55. SWEP.CanMoveWhileAttacking = true -- Can the user move while attacking
  56. SWEP.SaberDamage = 200 --How much damage the saber does when it's being swung
  57. SWEP.SaberBurnDamage = 0 -- How much damage the saber does when it's colliding with someone ( coming in contact with laser )
  58. SWEP.MaxForce = 400 --The maximum amount of force in the meter
  59. SWEP.RegenSpeed = 2 --The MULTIPLIER for the regen speed. Half speed = 0.5, Double speed = 2, etc.
  60. SWEP.CanKnockback = false --Should this saber be able to push people back when they get hit?
  61. SWEP.ForcePowerList = { "Force Leap", "Force Absorb", "Saber Throw", "Cloak", "Force Reflect", "Rage", "Shadow Strike", "Force Push", "Advanced Cloak", "Force Lightning", "Force Combust", "Force Repulse", "Meditate", "Force Heal", "Group Heal" , "Storm", "Lightning Strike", "Force Pull" , "Kneel","Group Choke", "Force Choke", "Group Lightning", "Force Meteor", "Force Whirlwind", "Force Breach", "Group Push", "Group Pull", "Teleport"}
  62. --Force powers you want the saber to have ( REMEMBER TO PUT A COMMA AFTER EACH ONE, AND COPY THE TITLE EXACTLY AS IT'S LISTED )
  63. --For a list of options, just look at the keys in autorun/client/wos_forcematerialbuilding.lua
  64.  
  65. SWEP.UseSkills = false
  66. SWEP.PersonalLightsaber = true
  67.  
  68. --Use these options to overwrite the player's commands
  69. SWEP.UseHilt = "models/dylanxd/dylanxd.mdl" -- Model path of the hilt
  70. SWEP.UseLength = 46 -- Length of the saber
  71. SWEP.UseWidth = 2 -- Width of the saber
  72. SWEP.UseColor = false -- RGB Color of saber. Red = Color( 255, 0, 0 ) Blue = Color( 0, 0, 255 ), etc.
  73. SWEP.UseDarkInner = false -- Does it have a dark inner? 1 = true
  74. SWEP.UseLoopSound = false -- The loop sound path
  75. SWEP.UseSwingSound = false -- The swing sound path
  76. SWEP.UseOnSound = false -- The on sound path
  77. SWEP.UseOffSound = false -- The off sound path
  78.  
  79. --These are the ones for the second saber for dual wielding. If you are using a single saber, this doesn't do shit
  80. SWEP.UseSecHilt = false
  81. SWEP.UseSecLength = false
  82. SWEP.UseSecWidth = false
  83. SWEP.UseSecColor = false
  84. SWEP.UseSecDarkInner = false
  85.  
  86. -----------------------------------------------------------END OF EDIT----------------------------------------------------------------
  87.  
  88.  
  89. if !SWEP.DualWielded then
  90. SWEP.Base = "wos_adv_single_lightsaber_base"
  91. else
  92. SWEP.Base = "wos_adv_dual_lightsaber_base"
  93. end
  94.  
  95.  
  96.  
  97. if CLIENT then
  98. killicon.Add( SWEP.Class, "lightsaber/lightsaber_killicon", color_white )
  99. end
Add Comment
Please, Sign In to add comment