Code: Select all
ACTOR Axe: Fist 20002
{
Tag "Axe"
+WEAPON.MELEEWEAPON
+WEAPON.NOAUTOAIM
States
{
Ready:
TNT1 A 1 A_WeaponReady
Loop
Deselect:
TNT1 A 1 A_Lower
Loop
Select:
TNT1 A 1 A_Raise
Loop
Fire:
AXEA A 1
TNT1 A 0 ACS_NamedExecuteAlways("AXEATTACK",0)
AXEA B 1 A_CustomPunch(35,1,CPF_NOTURN,"AxePuff",64)
AXEA CDEFGHIJK 1
Goto Ready
}
}
ACTOR AxePuff : BulletPuff
{
ActiveSound "AXEHWALL"
AttackSound "AXEMISS_"
SeeSound ""
}