How Do I Create My Own Blade Types

How to create custom blade types

Navigate to lua/wos/advswl/lightsaber/blades/default_blades.lua

Scroll down and paste the following text at the very bottom of your file:

wOS.ALCS.LightsaberBase:AddBlade({

Name = "",

InnerMaterial = "",

EnvelopeMaterial = "",

UseParticle = false,

DrawTrail = false,

QuillonParticle = "",

QuillonInnerMaterial = "",

QuillonEnvelopeMaterial = "",

})

You may now edit this to your liking, the following are what the values mean (Quillons are blades which are only there for aesthetic, and do not do any sort of damage, a lot of lightsaber hilts come have these)

  • "Name" will define the name of the custom blade, and what you will refer to when trying to apply this effect to an item or weapon
  • "InnerMaterial" sets what the inner of the blade will look like, essentially replacing the original default lightsaber blade there prior
  • "EnvelopeMaterial" sets the outer glow of the blade to a different material
  • "UseParticle" may only use effects located in your lua/effects folder (May be set to false if you do not want effects)
  • "DrawTrail" refers to the small trail that comes from the blade when moving, giving an almost "blurring" effect (Only true, and false may be used here)
  • "QuillonParticle" tells us what particle is being used on quillon blades, aka blades which are there for aesthetics, and dont actually do damage (You may leave it blank to remove effects entirely)
  • "QuillonInnerMaterial" sets what the inner of the quillon will look like, essentially replacing the original default lightsaber blade there prior
  • "QuillonEnvelopeMaterial"  sets the outer glow of the quillon to a different material

 

Example

wOS.ALCS.LightsaberBase:AddBlade({

Name = "Test Blade",

InnerMaterial = "wos/lightsabers/blades/cult",

EnvelopeMaterial = "wos/lightsabers/blades/cult_glow",

UseParticle = "wos_corrupted_burn",

DrawTrail = false,

QuillonParticle = "wos_unstable_discharge",

QuillonInnerMaterial = "wos/lightsabers/blades/cult",

QuillonEnvelopeMaterial = "wos/lightsabers/blades/cult_glow",

})

 

  • 0 Uživatelům pomohlo
Byla tato odpověď nápomocná?

Související články

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...

Creating A Lightsaber Weapon

How to create a custom lightsaber weapon Navigate to lua/weapons Open any premade...