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

XEffects.RocketExplosion


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
//=============================================================================
// RocketExplosion
//=============================================================================
class RocketExplosion extends xEmitter;

#exec OBJ LOAD File=WeaponSounds.uax

#EXEC TEXTURE IMPORT NAME=Rexpt FILE=textures\explochunks.tga GROUP=Skins DXT=5

simulated function PostBeginPlay()
{
	local PlayerController PC;

	PC = Level.GetLocalPlayerController();
	if ( (PC.ViewTarget == None) || (VSize(PC.ViewTarget.Location - Location) > 5000) ) 
	{
		LightType = LT_None;
		bDynamicLight = false;
	}
	else 
	{
		Spawn(class'RocketSmokeRing');
		if ( Level.bDropDetail )
			LightRadius = 7;	
	}
}

defaultproperties
{
     mRegen=False
     mStartParticles=4
     mMaxParticles=4
     mLifeRange(0)=0.500000
     mLifeRange(1)=1.000000
     mDirDev=(X=1.000000,Y=1.000000,Z=1.000000)
     mSpeedRange(0)=3.000000
     mSpeedRange(1)=10.000000
     mRandOrient=True
     mSpinRange(0)=-20.000000
     mSpinRange(1)=20.000000
     mSizeRange(0)=100.000000
     mSizeRange(1)=200.000000
     LightType=LT_FadeOut
     LightHue=28
     LightSaturation=90
     LightBrightness=255.000000
     LightRadius=9.000000
     LightPeriod=32
     LightCone=128
     bDynamicLight=True
     LifeSpan=2.000000
     Skins(0)=Texture'XEffects.Skins.Rexpt'
     Style=STY_Additive
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: pr 5-2-2018 12:35:50.000 - Creation time: sk 18-3-2018 09:50:17.859 - Created with UnCodeX