Heres what I have so far.
Code: Select all
Decorate
ACTOR LightSaber: Weapon replaces Chainsaw
{
Weapon.SelectionOrder 350
Inventory.PickupSound "LSPICUP"
Weapon.AmmoGive 100
Weapon.AmmoUse 0
AttackSound "LSATTACK"
States
{
Spawn:
LSWP A -1
Loop
Ready:
LSBG A 2 A_WeaponReady
LSBG B 2 A_WeaponReady
Loop
Deselect:
LSBG A 1 A_Lower
Loop
Select:
LSBG A 1 A_Raise
Loop
Fire:
LSBG A 2
LSBG B 2
LSBG C 1 A_Punch
LSBG C 1 A_Punch
LSBG C 1 A_Punch
LSBG C 1 A_Punch
LSBG D 2
LSBG E 2
LSBG F 2
LSBG G 2 A_ReFire
Goto Ready
}
}
Code: Select all
KEYCONF
weaponsection MyNewWeapons
setslot 1 LightSaber