Fancy Keen sounds.

This commit is contained in:
Mari the Deer 2021-02-24 01:00:35 +01:00
commit 5ac45d68cd
7 changed files with 27 additions and 11 deletions

View file

@ -1,3 +1,3 @@
[default] [default]
SWWM_MODVER="\chSWWM \czGZ\c- \cw0.9.11b-pre r309 \cu(Wed 24 Feb 00:50:07 CET 2021)\c-"; SWWM_MODVER="\chSWWM \czGZ\c- \cw0.9.11b-pre r310 \cu(Wed 24 Feb 01:00:35 CET 2021)\c-";
SWWM_SHORTVER="\cw0.9.11b-pre r309 \cu(2021-02-24 00:50:07)\c-"; SWWM_SHORTVER="\cw0.9.11b-pre r310 \cu(2021-02-24 01:00:35)\c-";

View file

@ -1052,6 +1052,11 @@ chancebox/explode2 sounds/items/lootexpl2.ogg
chancebox/explode3 sounds/items/lootexpl3.ogg chancebox/explode3 sounds/items/lootexpl3.ogg
$random chancebox/explode { chancebox/explode1 chancebox/explode2 chancebox/explode3 } $random chancebox/explode { chancebox/explode1 chancebox/explode2 chancebox/explode3 }
newkeen/hit sounds/keenhit.ogg
newkeen/die sounds/keendie.ogg
newkeen/fall sounds/keenfall.ogg
newkeen/bounce sounds/keenbounce.ogg
menu/activate sounds/hmenu/hmenu1.ogg menu/activate sounds/hmenu/hmenu1.ogg
menu/backup sounds/hmenu/hmenu2.ogg menu/backup sounds/hmenu/hmenu2.ogg
menu/prompt sounds/hmenu/hmenu1.ogg menu/prompt sounds/hmenu/hmenu1.ogg

BIN
sounds/keenbounce.ogg Normal file

Binary file not shown.

BIN
sounds/keendie.ogg Normal file

Binary file not shown.

BIN
sounds/keenfall.ogg Normal file

Binary file not shown.

BIN
sounds/keenhit.ogg Normal file

Binary file not shown.

View file

@ -96,8 +96,6 @@ Class SWWMHangingKeen : Actor
+DONTFALL; +DONTFALL;
+NOBLOOD; +NOBLOOD;
+DONTTHRUST; +DONTTHRUST;
PainSound "keen/pain";
DeathSound "keen/death";
} }
States States
{ {
@ -105,16 +103,16 @@ Class SWWMHangingKeen : Actor
KEE2 A -1; KEE2 A -1;
Stop; Stop;
Death: Death:
KEE2 A 6; KEE2 A 6 A_StartSound("newkeen/hit");
KEE2 B 6 A_DropKeen(); KEE2 B 6 A_DropKeen();
KEE2 C 6 A_Scream(); KEE2 C 6;
KEE2 DE 6; KEE2 DE 6;
KEE2 F 30; KEE2 F 30;
KEE2 F -1 A_KeenDie(); KEE2 F -1 A_KeenDie();
Stop; Stop;
Pain: Pain:
KEE2 G 4; KEE2 G 4 A_StartSound("newkeen/hit");
KEE2 G 8 A_Pain(); KEE2 G 8;
Goto Spawn; Goto Spawn;
} }
} }
@ -130,15 +128,28 @@ Class SWWMDroppedKeen : Actor
States States
{ {
Spawn: Spawn:
KEE3 A 0 NoDelay
{
A_StartSound("newkeen/fall",volume:.5);
A_StartSound("newkeen/die",CHAN_VOICE);
}
KEE3 A 1 A_JumpIf(pos.z<=floorz,1); KEE3 A 1 A_JumpIf(pos.z<=floorz,1);
Wait; Wait;
KEE3 B 1 { vel.z = 4; } KEE3 B 1
{
A_StartSound("newkeen/bounce");
vel.z = 4;
}
KEE3 B 1 A_JumpIf(pos.z<=floorz,1); KEE3 B 1 A_JumpIf(pos.z<=floorz,1);
Wait; Wait;
KEE3 B 1 { vel.z = 2; } KEE3 B 1
{
A_StartSound("newkeen/bounce",volume:.8);
vel.z = 2;
}
KEE3 B 1 A_JumpIf(pos.z<=floorz,1); KEE3 B 1 A_JumpIf(pos.z<=floorz,1);
Wait; Wait;
KEE3 B 12; KEE3 B 12 A_StartSound("newkeen/bounce",volume:.6);
TNT1 A 1 { Spawn("TeleportFog",pos,ALLOW_REPLACE); } TNT1 A 1 { Spawn("TeleportFog",pos,ALLOW_REPLACE); }
Stop; Stop;
} }