Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

UnrealShare.FlameExplosion


00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
//=============================================================================
// FlameExplosion.
//=============================================================================
class FlameExplosion extends AnimSpriteEffect;

#exec TEXTURE IMPORT NAME=ExplosionPal2 FILE=Textures\exppal.pcx GROUP=Effects
#exec OBJ LOAD FILE=Textures\FlameEffect.utx PACKAGE=UnrealShare.FlameEffect

#exec AUDIO IMPORT FILE="Sounds\General\expl04.wav" NAME="Expl04" GROUP="General"

function MakeSound()
{
	PlaySound(EffectSound1,,3.0);
}

simulated function PostBeginPlay()
{
	local Actor a;

	if ( Level.NetMode != NM_DedicatedServer )
	{
		if( !Level.bHighDetailMode || Level.bDropDetail )
			Drawscale = 1.4;
		else
		{
			a = Spawn(class'ShortSmokeGen');
			if (a!=none)
				a.RemoteRole = ROLE_None;
		}
	}
	if ( Level.NetMode!=NM_Client )
		MakeSound();
}

defaultproperties
{
				NumFrames=8
				Pause=0.050000
				EffectSound1=Sound'UnrealShare.General.Expl04'
				RemoteRole=ROLE_SimulatedProxy
				LifeSpan=0.500000
				DrawType=DT_SpriteAnimOnce
				Style=STY_Translucent
				Texture=Texture'UnrealShare.FlameEffect.e_a01'
				Skin=Texture'UnrealShare.Effects.ExplosionPal2'
				DrawScale=2.800000
				LightType=LT_TexturePaletteOnce
				LightEffect=LE_NonIncidence
				LightBrightness=159
				LightHue=32
				LightSaturation=79
				LightRadius=8
				bCorona=False
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: zo 11-11-2012 21:10:28.000 - Creation time: zo 11-11-2012 21:14:18.662 - Created with UnCodeX