And a test sample:
Code: Select all
Class z : Actor
{
Default
{
Radius 13;
Height 8;
Speed 25;
Damage 5;
Projectile;
+RANDOMIZE
+ZDOOMTRANS
+BRIGHT
RenderStyle "Add";
Alpha 0.75;
Obituary "$OB_MPPLASMARIFLE";
}
States
{
Spawn:
PLSS A 6 A_StartSound("weapons/plasmaf", 8);
PLSS B 6 A_StartSound("weapons/plasmaf", 9);
Loop;
Death:
PLSE A 4
{
A_StopAllSounds();
A_StartSound("weapons/plasmax");
}
PLSE ABCDE 4;
Stop;
}
}