Implement alternate, less visually intense All Clear fx.
This commit is contained in:
parent
c3f36e08b7
commit
e53b6c1ca7
8 changed files with 13 additions and 4 deletions
|
|
@ -180,7 +180,8 @@ extend Class SWWMHandler
|
|||
mapclear = true;
|
||||
if ( mapclearagain ) Console.Printf(StringTable.Localize("$SWWM_ALLCLEARAGAIN"),500);
|
||||
else Console.Printf(StringTable.Localize("$SWWM_ALLCLEAR"),5000);
|
||||
S_StartSound("misc/wow",CHAN_VOICE,CHANF_UI|CHANF_NOPAUSE|CHANF_OVERLAP,1,ATTN_NONE);
|
||||
bool altclear = swwm_altclear;
|
||||
S_StartSound(altclear?"misc/yippeee":"misc/wow",CHAN_VOICE,CHANF_UI|CHANF_NOPAUSE|CHANF_OVERLAP,1,ATTN_NONE);
|
||||
lastmus = musplaying.name;
|
||||
lastorder = musplaying.baseorder;
|
||||
lastloop = musplaying.loop;
|
||||
|
|
@ -190,7 +191,8 @@ extend Class SWWMHandler
|
|||
{
|
||||
if ( !playeringame[i] || !players[i].mo ) continue;
|
||||
let f = Actor.Spawn("PartyTime",players[i].mo.pos);
|
||||
f.bAMBUSH = true;
|
||||
if ( altclear ) f.bSTANDSTILL = true;
|
||||
else f.bAMBUSH = true;
|
||||
if ( mapclearagain )
|
||||
{
|
||||
SWWMCredits.Give(players[i],500);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue