Setting Base Stats For Personal Lightsabers

How to configure base stats for personal lightsabers

Navigate to lua/advswl/config/crafting/sh_craftwos.lua

There you will find something like this:

wOS.ALCS.Config.Crafting.DefaultPersonalSaber = {}

wOS.ALCS.Config.Crafting.DefaultPersonalSaber.UseHilt = "models/sgg/starwars/weapons/w_common_jedi_saber_hilt.mdl"

wOS.ALCS.Config.Crafting.DefaultPersonalSaber.UseLength = 32

wOS.ALCS.Config.Crafting.DefaultPersonalSaber.UseWidth = 2

wOS.ALCS.Config.Crafting.DefaultPersonalSaber.UseColor = Color( 255, 0, 0 )

wOS.ALCS.Config.Crafting.DefaultPersonalSaber.UseDarkInner  = 0

wOS.ALCS.Config.Crafting.DefaultPersonalSaber.SaberDamage  = 50

wOS.ALCS.Config.Crafting.DefaultPersonalSaber.SaberBurnDamage  = 5

wOS.ALCS.Config.Crafting.DefaultPersonalSaber.UseInnerColor  = color_white

wOS.ALCS.Config.Crafting.DefaultPersonalSaber.CustomSettings = {}

 

wOS.ALCS.Config.Crafting.DefaultSecPersonalSaber = {}

wOS.ALCS.Config.Crafting.DefaultSecPersonalSaber.UseHilt = "models/sgg/starwars/weapons/w_common_jedi_saber_hilt.mdl"

wOS.ALCS.Config.Crafting.DefaultSecPersonalSaber.UseLength = 32

wOS.ALCS.Config.Crafting.DefaultSecPersonalSaber.UseWidth = 2

wOS.ALCS.Config.Crafting.DefaultSecPersonalSaber.UseColor = Color( 255, 0, 0 )

wOS.ALCS.Config.Crafting.DefaultSecPersonalSaber.UseDarkInner  = 0

wOS.ALCS.Config.Crafting.DefaultSecPersonalSaber.UseInnerColor  = color_white

wOS.ALCS.Config.Crafting.DefaultSecPersonalSaber.SaberDamage  = 50

wOS.ALCS.Config.Crafting.DefaultSecPersonalSaber.SaberBurnDamage  = 5

wOS.ALCS.Config.Crafting.DefaultSecPersonalSaber.CustomSettings = {}

 

The first set of values determines the default personal primary (Right Hand) lightsaber's stats

The second set of values determines the default personal secondary (Left Hand) lightsaber's stats

These will be either changed completely, or modified whenever using items, skill tree upgrades, etc.

  • 1 brukere syntes dette svaret var til hjelp
Var dette svaret til hjelp?

Relaterte artikler

Allow Moving While Attacking For A Lightsaber Weapon

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

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

How To Change A Lightsaber's Damage

How to change Lightsaber damage Go to your lightsaber in lua/weapons Find "SaberDamage" and...