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 00064 00065 00066 00067 00068 00069 00070 00071 00072 00073 00074 00075 00076 00077 00078 00079 00080 00081 00082 00083 00084 00085 00086 00087 00088 00089 00090 00091 00092 00093 00094 00095 00096 00097 00098 00099 00100 00101 00102 00103 00104 00105 00106 00107 00108 00109 00110 00111 00112 00113 00114 00115 00116 00117 00118 00119 00120 00121 00122 00123 00124 00125 00126 00127 00128 00129 00130 00131 00132 |
class NewExplosionA extends Emitter; #exec OBJ LOAD FILE=ExplosionTex.utx var Texture ExplosionTextures[2]; simulated function PostNetBeginPlay() { local PlayerController PC; local float dist; PC = Level.GetLocalPlayerController(); if ( Level.NetMode == NM_DedicatedServer || PC == None ) return; if ( PC.ViewTarget == None ) dist = 10000; else dist = VSize(PC.ViewTarget.Location - Location); if ( dist > 4000 ) { LightType = LT_None; bDynamicLight = false; if ( dist > 7000 ) Emitters[1].Disabled = true; } else if ( Level.bDropDetail ) LightRadius = 7; Emitters[0].Texture = ExplosionTextures[Rand(2)]; } defaultproperties { ExplosionTextures(0)=Texture'ExplosionTex.Framed.we1_frames' ExplosionTextures(1)=Texture'ExplosionTex.Framed.exp2_frames' Begin Object Class=SpriteEmitter Name=SpriteEmitter1 RespawnDeadParticles=Falsch SpinParticles=Wahr UniformSize=Wahr AutomaticInitialSpawning=Falsch BlendBetweenSubdivisions=Wahr MaxParticles=3 StartLocationShape=PTLS_Sphere SphereRadiusRange=(Min=24.000000,Max=24.000000) StartSpinRange=(X=(Max=1.000000)) StartSizeRange=(X=(Min=50.000000,Max=70.000000),Y=(Min=50.000000,Max=70.000000),Z=(Min=50.000000,Max=70.000000)) InitialParticlesPerSecond=10.000000 Texture=Texture'ExplosionTex.Framed.we1_frames' TextureUSubdivisions=4 TextureVSubdivisions=4 SecondsBeforeInactive=0.000000 LifetimeRange=(Min=0.400000,Max=0.600000) End Object Emitters(0)=SpriteEmitter'XEffects.NewExplosionA.SpriteEmitter1' Begin Object Class=SpriteEmitter Name=SpriteEmitter0 UseColorScale=Wahr RespawnDeadParticles=Falsch SpinParticles=Wahr UseSizeScale=Wahr UseRegularSizeScale=Falsch UniformSize=Wahr AutomaticInitialSpawning=Falsch BlendBetweenSubdivisions=Wahr UseRandomSubdivision=Wahr UseVelocityScale=Wahr Acceleration=(Z=20.000000) ColorScale(0)=(Color=(B=255,G=255,R=255)) ColorScale(1)=(RelativeTime=0.125000,Color=(B=255,G=255,R=255)) ColorScale(2)=(RelativeTime=0.330000,Color=(B=255,G=255,R=255,A=255)) ColorScale(3)=(RelativeTime=0.750000,Color=(B=128,G=128,R=128,A=255)) ColorScale(4)=(RelativeTime=1.000000,Color=(B=64,G=64,R=64)) MaxParticles=15 StartLocationShape=PTLS_Polar StartLocationPolarRange=(Y=(Min=-32768.000000,Max=32768.000000),Z=(Min=10.000000,Max=10.000000)) UseRotationFrom=PTRS_Actor RotationOffset=(Yaw=-16384) SpinsPerSecondRange=(X=(Max=0.100000)) StartSpinRange=(X=(Max=1.000000)) SizeScale(0)=(RelativeSize=0.200000) SizeScale(1)=(RelativeTime=1.000000,RelativeSize=0.500000) InitialParticlesPerSecond=500.000000 DrawStyle=PTDS_AlphaBlend Texture=Texture'ExplosionTex.Framed.SmokeReOrdered' TextureUSubdivisions=4 TextureVSubdivisions=4 LifetimeRange=(Min=2.000000,Max=2.000000) StartVelocityRadialRange=(Min=200.000000,Max=200.000000) GetVelocityDirectionFrom=PTVD_AddRadial VelocityScale(0)=(RelativeVelocity=(X=1.000000,Y=1.000000,Z=1.000000)) VelocityScale(1)=(RelativeTime=0.300000,RelativeVelocity=(X=0.100000,Y=0.100000,Z=0.100000)) VelocityScale(2)=(RelativeTime=1.000000) End Object Emitters(1)=SpriteEmitter'XEffects.NewExplosionA.SpriteEmitter0' Begin Object Class=SpriteEmitter Name=SpriteEmitter2 FadeOut=Wahr RespawnDeadParticles=Falsch SpinParticles=Wahr UseSizeScale=Wahr UseRegularSizeScale=Falsch UniformSize=Wahr AutomaticInitialSpawning=Falsch FadeOutStartTime=0.050000 MaxParticles=1 StartLocationShape=PTLS_Sphere SphereRadiusRange=(Min=2.000000,Max=2.000000) StartSpinRange=(X=(Max=1.000000)) SizeScale(0)=(RelativeSize=0.700000) SizeScale(1)=(RelativeTime=1.000000,RelativeSize=1.000000) StartSizeRange=(X=(Min=110.000000,Max=120.000000),Y=(Min=110.000000,Max=120.000000),Z=(Min=80.000000,Max=90.000000)) InitialParticlesPerSecond=10.000000 Texture=Texture'XEffects.Skins.Rexpt' SecondsBeforeInactive=0.000000 LifetimeRange=(Min=0.300000,Max=0.300000) End Object Emitters(2)=SpriteEmitter'XEffects.NewExplosionA.SpriteEmitter2' AutoDestroy=Wahr LightType=LT_FadeOut LightEffect=LE_QuadraticNonIncidence LightHue=28 LightSaturation=90 LightBrightness=255.000000 LightRadius=9.000000 LightPeriod=32 LightCone=128 bNoDelete=Falsch bDynamicLight=Wahr } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |