Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[-------------------------------------------------------------------
- Modified Lightsaber:
- Runs on the intuitive wOS Lightsaber Base
- Powered by
- _ _ _ ___ ____
- __ _(_) | |_ / _ \/ ___|
- \ \ /\ / / | | __| | | \___ \
- \ V V /| | | |_| |_| |___) |
- \_/\_/ |_|_|\__|\___/|____/
- _____ _ _ _
- |_ _|__ ___| |__ _ __ ___ | | ___ __ _(_) ___ ___
- | |/ _ \/ __| '_ \| '_ \ / _ \| |/ _ \ / _` | |/ _ \/ __|
- | | __/ (__| | | | | | | (_) | | (_) | (_| | | __/\__ \
- |_|\___|\___|_| |_|_| |_|\___/|_|\___/ \__, |_|\___||___/
- |___/
- -------------------------------------------------------------------]]--[[
- Lua Developer: King David
- Contact: http://steamcommunity.com/groups/wiltostech
- ----------------------------------------]]--
- AddCSLuaFile()
- SWEP.Author = "Robotboy655 + King David"
- SWEP.Category = "Lightsabers - Ren"
- SWEP.Contact = ""
- SWEP.RenderGroup = RENDERGROUP_BOTH
- SWEP.Slot = 0
- SWEP.SlotPos = 4
- SWEP.Spawnable = true
- SWEP.DrawAmmo = false
- SWEP.DrawCrosshair = false
- SWEP.AutoSwitchTo = false
- SWEP.AutoSwitchFrom = false
- SWEP.DrawWeaponInfoBox = false
- SWEP.ViewModel = "models/weapons/v_crowbar.mdl"
- SWEP.WorldModel = "models/lightsaber/lightsaber.mdl"
- SWEP.ViewModelFOV = 55
- SWEP.Primary.ClipSize = -1
- SWEP.Primary.DefaultClip = -1
- SWEP.Primary.Automatic = false
- SWEP.Primary.Ammo = "none"
- SWEP.Secondary.ClipSize = -1
- SWEP.Secondary.DefaultClip = -1
- SWEP.Secondary.Automatic = true
- SWEP.Secondary.Ammo = "none"
- ------------------------------------------------------------THINGS YOU WILL EDIT ARE BELOW HERE-------------------------------------------------------------------------
- SWEP.PrintName = "Dark Council's Single Saber" --Name of the lightsaber
- SWEP.Class = "weapon_lightsaber_council" --The file name of this swep
- SWEP.DualWielded = false --Should this be a dual wielded saber?
- SWEP.CanMoveWhileAttacking = true -- Can the user move while attacking
- SWEP.SaberDamage = 200 --How much damage the saber does when it's being swung
- SWEP.SaberBurnDamage = 0 -- How much damage the saber does when it's colliding with someone ( coming in contact with laser )
- SWEP.MaxForce = 400 --The maximum amount of force in the meter
- SWEP.RegenSpeed = 2 --The MULTIPLIER for the regen speed. Half speed = 0.5, Double speed = 2, etc.
- SWEP.CanKnockback = false --Should this saber be able to push people back when they get hit?
- 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"}
- --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 )
- --For a list of options, just look at the keys in autorun/client/wos_forcematerialbuilding.lua
- SWEP.UseSkills = false
- SWEP.PersonalLightsaber = true
- --Use these options to overwrite the player's commands
- SWEP.UseHilt = "models/dylanxd/dylanxd.mdl" -- Model path of the hilt
- SWEP.UseLength = 46 -- Length of the saber
- SWEP.UseWidth = 2 -- Width of the saber
- SWEP.UseColor = false -- RGB Color of saber. Red = Color( 255, 0, 0 ) Blue = Color( 0, 0, 255 ), etc.
- SWEP.UseDarkInner = false -- Does it have a dark inner? 1 = true
- SWEP.UseLoopSound = false -- The loop sound path
- SWEP.UseSwingSound = false -- The swing sound path
- SWEP.UseOnSound = false -- The on sound path
- SWEP.UseOffSound = false -- The off sound path
- --These are the ones for the second saber for dual wielding. If you are using a single saber, this doesn't do shit
- SWEP.UseSecHilt = false
- SWEP.UseSecLength = false
- SWEP.UseSecWidth = false
- SWEP.UseSecColor = false
- SWEP.UseSecDarkInner = false
- -----------------------------------------------------------END OF EDIT----------------------------------------------------------------
- if !SWEP.DualWielded then
- SWEP.Base = "wos_adv_single_lightsaber_base"
- else
- SWEP.Base = "wos_adv_dual_lightsaber_base"
- end
- if CLIENT then
- killicon.Add( SWEP.Class, "lightsaber/lightsaber_killicon", color_white )
- end
Add Comment
Please, Sign In to add comment