Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |
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 00056 00057 00058 00059 00060 00061 00062 00063 |
//============================================================================= // 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 { Style=STY_Additive mParticleType=PL_Sprite mDirDev=(X=1.0,Y=1.0,Z=1.0) mPosDev=(X=0.0,Y=0.0,Z=0.0) mLifeRange(0)=0.5 mLifeRange(1)=1.0 mSpeedRange(0)=3.0 mSpeedRange(1)=10.0 mSizeRange(0)=100.0 mSizeRange(1)=200.0 mMassRange(0)=0.0 mMassRange(1)=0.0 mSpinRange(0)=-20.0 mSpinRange(1)=20.0 mStartParticles=4 mMaxParticles=4 mAttenuate=true mRandOrient=true mRegen=false mRandTextures=false skins(0)=Texture'REXpt' LifeSpan=2.0 bForceAffected=false bDynamicLight=true LightEffect=LE_QuadraticNonIncidence LightType=LT_FadeOut LightBrightness=255 LightHue=28 LightSaturation=90 LightRadius=9 LightPeriod=32 LightCone=128 } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |