Advertisement
Guest User

Untitled

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