Advertisement
MVGDaniel

Untitled

Apr 22nd, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.38 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 = "Dual council Personal Lightsabers" --Name of the lightsaber
  53. SWEP.Class = "weapon_lightsaber_personal_dual_council" --The file name of this swep
  54. SWEP.DualWielded = true --Should this be a dual wielded saber?
  55. SWEP.CanMoveWhileAttacking = true -- Can the user move while attacking
  56. SWEP.SaberDamage = 50 --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 = 400 --The maximum amount of force in the meter
  59. SWEP.RegenSpeed = 3 --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 = {}
  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 = true
  66. SWEP.PersonalLightsaber = true
  67.  
  68. SWEP.CustomSettings = {}
  69.  
  70. --[[ Use this to overwrite the ULX Forms/Stances for this particular swep ( [ "FORMNAME" ] = { STANCENUM1, STANCENUM2, STANCENUM3 } )
  71. Example:
  72. SWEP.UseForms = {
  73. ["Aggressive"] = { 1, 3 },
  74. ["Defensive"] = { 2 },
  75. }
  76. ]]--
  77.  
  78. SWEP.UseForms = {
  79. ["Arrogant"] = { 1, 2, 3 },
  80. ["Dual Aggressive"] = { 1, 2, 3 },
  81. ["Dual Agile"] = { 1, 2, 3 },
  82. }
  83.  
  84. --Use these options to overwrite the player's commands
  85. SWEP.UseHilt = false -- Model path of the hilt
  86. SWEP.UseLength = 46 -- Length of the saber
  87. SWEP.UseWidth = 2 -- Width of the saber
  88. SWEP.UseColor = false -- RGB Color of saber. Red = Color( 255, 0, 0 ) Blue = Color( 0, 0, 255 ), etc.
  89. SWEP.UseDarkInner = false -- Does it have a dark inner? 1 = true
  90. SWEP.UseLoopSound = false -- The loop sound path
  91. SWEP.UseSwingSound = false -- The swing sound path
  92. SWEP.UseOnSound = false -- The on sound path
  93. SWEP.UseOffSound = false -- The off sound path
  94.  
  95. --These are the ones for the second saber for dual wielding. If you are using a single saber, this doesn't do shit
  96. SWEP.UseSecHilt = false
  97. SWEP.UseSecLength = 46
  98. SWEP.UseSecWidth = 2
  99. SWEP.UseSecColor = false
  100. SWEP.UseSecDarkInner = false
  101.  
  102. -----------------------------------------------------------END OF EDIT----------------------------------------------------------------
  103.  
  104.  
  105. if !SWEP.DualWielded then
  106. SWEP.Base = "wos_adv_single_lightsaber_base"
  107. else
  108. SWEP.Base = "wos_adv_dual_lightsaber_base"
  109. end
  110.  
  111.  
  112.  
  113. if CLIENT then
  114. killicon.Add( SWEP.Class, "lightsaber/lightsaber_killicon", color_white )
  115. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement