Botpack
Class UT_BloodBurst

source: e:\games\UnrealTournament\Botpack\Classes\UT_BloodBurst.uc
Core.Object
   |
   +--Engine.Actor
      |
      +--Engine.Effects
         |
         +--Botpack.UT_Blood2
            |
            +--Botpack.UT_BloodBurst
Direct Known Subclasses:UT_BloodHit

class UT_BloodBurst
extends Botpack.UT_Blood2

//============================================================================= // BloodBurst. //=============================================================================

Function Summary
 
simulated
PostBeginPlay()
 
simulated
SpawnCloud()



Source Code


00001	//=============================================================================
00002	// BloodBurst.
00003	//=============================================================================
00004	class UT_BloodBurst extends ut_Blood2;
00005	
00006	simulated function PostBeginPlay()
00007	{
00008		Super.PostBeginPlay();
00009		PlayAnim  ( 'Burst', 1.0 );
00010	
00011		if ( Level.NetMode != NM_DedicatedServer )
00012			SpawnCloud();
00013		bRandomFrame = !Level.bDropDetail;
00014	}
00015	
00016	simulated function SpawnCloud()
00017	{
00018		local Actor A;
00019	
00020		if ( Level.bDropDetail || !Level.bHighDetailMode )
00021			return;
00022		if ( bGreenBlood )
00023			A= spawn(class'UT_GreenBloodPuff');
00024		else
00025			A = spawn(class'UT_BloodPuff');
00026		A.RemoteRole = ROLE_None;
00027	}
00028	
00029	defaultproperties
00030	{
00031	     bOwnerNoSee=True
00032	     AnimSequence=burst
00033	     Texture=Texture'Botpack.Blood.BD6'
00034	     DrawScale=0.150000
00035	     AmbientGlow=80
00036	}

End Source Code