Add throttling for blood and gib spawning.
Reduce effects of flying gibs. Add a command to instantly clear queued effects.
This commit is contained in:
parent
9c7a43bbd9
commit
a91e73f51e
8 changed files with 52 additions and 24 deletions
|
|
@ -187,6 +187,19 @@ extend Class SWWMHandler
|
|||
Console.Printf("%d suckable actors trimmed.",n);
|
||||
return;
|
||||
}
|
||||
else if ( e.Name ~== "swwmcleareffects" )
|
||||
{
|
||||
if ( multiplayer && (e.player != Net_Arbitrator) )
|
||||
{
|
||||
if ( e.player == consoleplayer )
|
||||
Console.Printf("Only the net arbitrator can call this event.");
|
||||
return;
|
||||
}
|
||||
int n = casings_cnt+chips_cnt+blods_cnt+meats_cnt;
|
||||
CleanQueues();
|
||||
Console.Printf("%d effects cleared.",n);
|
||||
return;
|
||||
}
|
||||
else if ( e.Name ~== "swwmdebugdumprng" )
|
||||
{
|
||||
if ( multiplayer && (e.player != Net_Arbitrator) )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue