Advertisement
Guest User

Untitled

a guest
Jan 19th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.13 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. ----------------------------- Copyright 2017, David "King David" Wiltos ]]--[[
  18.  
  19. Lua Developer: King David
  20. Contact: http://steamcommunity.com/groups/wiltostech
  21.  
  22. -- Copyright 2017, David "King David" Wiltos ]]--
  23.  
  24. AddCSLuaFile()
  25.  
  26.  
  27. SWEP.Author = "Robotboy655 + King David"
  28. SWEP.Category = "Lightsabers"
  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/sgg/starwars/weapons/w_anakin_ep2_saber_hilt.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 = "Force Master Saber" --Name of the lightsaber
  53. SWEP.Class = "weapon_lightsaber_allpowers" --The file name of this swep
  54. SWEP.DualWielded = false --Should this be a dual wielded saber?
  55. SWEP.CanMoveWhileAttacking = false -- Can the user move while attacking
  56. SWEP.SaberDamage = 500 --How much damage the saber does when it's being swung
  57. SWEP.SaberBurnDamage = 25 -- How much damage the saber does when it's colliding with someone ( coming in contact with laser )
  58. SWEP.MaxForce = 100 --The maximum amount of force in the meter
  59. SWEP.RegenSpeed = 1 --The MULTIPLIER for the regen speed. Half speed = 0.5, Double speed = 2, etc.
  60. SWEP.CanKnockback = true --Should this saber be able to push people back when they get hit?
  61. SWEP.ForcePowerList = { "Force Leap", "Force Absorb", "Force Heal", "Group Heal", "Cloak", "Advanced Cloak", "Charge", "Force Lightning", "Shadow Strike", "Saber Throw", "Force Repulse", "Force Push", "Force Pull", "Slash" }
  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. --Use these options to overwrite the player's commands
  66. SWEP.UseHilt = false -- Model path of the hilt
  67. SWEP.UseLength = false -- Length of the saber
  68. SWEP.UseWidth = false -- Width of the saber
  69. SWEP.UseColor = false -- RGB Color of saber. Red = Color( 255, 0, 0 ) Blue = Color( 0, 0, 255 ), etc.
  70. SWEP.UseDarkInner = false -- Does it have a dark inner? 1 = true
  71. SWEP.UseLoopSound = false -- The loop sound path
  72. SWEP.UseSwingSound = false -- The swing sound path
  73. SWEP.UseOnSound = false -- The on sound path
  74. SWEP.UseOffSound = false -- The off sound path
  75.  
  76. --These are the ones for the second saber for dual wielding. If you are using a single saber, this doesn't do shit
  77. SWEP.UseSecHilt = false
  78. SWEP.UseSecLength = false
  79. SWEP.UseSecWidth = false
  80. SWEP.UseSecColor = false
  81. SWEP.UseSecDarkInner = false
  82.  
  83. -----------------------------------------------------------END OF EDIT----------------------------------------------------------------
  84.  
  85.  
  86. if !SWEP.DualWielded then
  87. SWEP.Base = "wos_adv_single_lightsaber_base"
  88. else
  89. SWEP.Base = "wos_adv_dual_lightsaber_base"
  90. end
  91.  
  92.  
  93.  
  94. if CLIENT then
  95. killicon.Add( SWEP.Class, "lightsaber/lightsaber_killicon", color_white )
  96. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement