Setting Blade Type

Setting blade type of weapon/item

How to set the blade type of a weapon/item including crystals, hilts, etc

 

Method 1

This method concerns setting the blade type of a specific weapon (meaning lightsaber weapons which are located in lua/weapons/)

First you must find something that looks similar to this:

 

SWEP.CustomSettings = 

{

Blade = "Corrupted",

}

 

If there seems to be nothing like this in the weapon's file, then go ahead and add it. Depending on the blade you prefer you must replace the "Corrupted" (Or whatever other value that's there) text (See list of blade ids at the end of the article)

 

 

Method 2

This method concerns setting the blade type of a certain crystal, or any other item

First select the item you wish to edit in the directory lua/wos/advswl/crafting/items (If you want to create your own item for this please refer to this link: https://support.wiltostech.com/knowledgebase/21/Creating-your-own-Items.html)

You will see something similar to this:

 

ITEM.OnEquip = function( wep )

wep.CustomSettings[ "Blade" ] = "Corrupted"

wep.UseColor = Color( 0, 0, 255 )

end

 

What we specifically need out of this is the "wep.CustomSettings[ "Blade" ] = "Corrupted"", so if you don't see it go ahead and add it in

Your next step will just be to replace the "Corrupted" (Or whatever other value that's there) to your preferred blade (See list of blade ids at the end of the article)

 

Blade Type List

  • Standard
  • Unstable
  • Corrupted
  • Pulsed
  • Pervasive
  • Saw Tooth
  • Mastered
  • Smithed
  • Dark Saber
  • Cyclic Invert
  • Swirl
  • 23 Users Found This Useful
這篇文章有幫助嗎?

相關文章

Creating Your Own Item

How to create your own items   local ITEM = {}   ITEM.Name = "Enter Item Name"...

Allow Moving While Attacking For A Lightsaber Weapon

How to enable moving while attacking on lightsaber weapons Go to your lightsaber in...

Setting Base Stats For Personal Lightsabers

How to configure base stats for personal lightsabers Navigate to...

Adding Forms To Lightsaber Weapons

How to configure Forms for specific Lightsabers Go to your lightsaber in lua/weapons Find the...

How To Disable Lunge

How to disable lightsaber swing lunge Navigate to...