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 00133 00134 00135 00136 00137 00138 00139 00140 00141 00142 00143 00144 00145 00146 00147 |
//============================================================================= // FX_PlasmaImpact //============================================================================= // Created by Laurent Delayen // © 2003, Epic Games, Inc. All Rights Reserved //============================================================================= class FX_PlasmaImpact extends Emitter notplaceable; simulated function PreBeginPlay() { if ( Level.DetailMode < DM_SuperHigh ) // switch to lower res { Emitters[0].Disabled = true; Emitters[2].Disabled = false; } SetScale( 1.f ); super.PreBeginPlay(); } simulated function SetRedColor() { Emitters[0].ColorScale[0].Color = class'Canvas'.static.MakeColor(200, 160, 96); Emitters[0].ColorScale[1].Color = class'Canvas'.static.MakeColor(200, 80, 48); Emitters[2].ColorScale[0].Color = Emitters[0].ColorScale[0].Color; Emitters[2].ColorScale[1].Color = Emitters[0].ColorScale[1].Color; Emitters[1].ColorScale[0].Color = Emitters[0].ColorScale[0].Color; Emitters[1].ColorScale[1].Color = Emitters[0].ColorScale[1].Color; } simulated function SetGreenColor() { Emitters[0].ColorScale[0].Color = class'Canvas'.static.MakeColor(128, 255, 64); Emitters[0].ColorScale[1].Color = class'Canvas'.static.MakeColor( 64, 255, 32); Emitters[2].ColorScale[0].Color = Emitters[0].ColorScale[0].Color; Emitters[2].ColorScale[1].Color = Emitters[0].ColorScale[1].Color; Emitters[1].ColorScale[0].Color = Emitters[0].ColorScale[0].Color; Emitters[1].ColorScale[1].Color = Emitters[0].ColorScale[1].Color; } simulated function SetYellowColor() { Emitters[0].ColorScale[0].Color = class'Canvas'.static.MakeColor(255, 255, 64); Emitters[0].ColorScale[1].Color = class'Canvas'.static.MakeColor(192, 255, 32); Emitters[2].ColorScale[0].Color = Emitters[0].ColorScale[0].Color; Emitters[2].ColorScale[1].Color = Emitters[0].ColorScale[1].Color; Emitters[1].ColorScale[0].Color = Emitters[0].ColorScale[0].Color; Emitters[1].ColorScale[1].Color = Emitters[0].ColorScale[1].Color; } simulated function SetScale( float Scale ) { Scale = Scale*0.75; Emitters[0].StartSizeRange.X.Min = 2 * Scale; Emitters[0].StartSizeRange.X.Max = 50 * Scale; Emitters[0].StartVelocityRange.X.Min = 75 * Scale; Emitters[0].StartVelocityRange.X.Max = 300 * Scale; Emitters[0].StartVelocityRange.Y.Min = -300 * Scale; Emitters[0].StartVelocityRange.Y.Max = Emitters[0].StartVelocityRange.X.Max; Emitters[0].StartVelocityRange.Z.Min = Emitters[0].StartVelocityRange.Y.Min; Emitters[0].StartVelocityRange.Z.Max = Emitters[0].StartVelocityRange.Y.Max; Emitters[1].StartSizeRange.X.Min = 25 * Scale; Emitters[1].StartSizeRange.X.Max = 50 * Scale; Emitters[2].StartSizeRange = Emitters[0].StartSizeRange; Emitters[2].StartVelocityRange = Emitters[0].StartVelocityRange; } defaultproperties { Begin Object Class=SpriteEmitter Name=SpriteEmitter34 UseColorScale=Wahr RespawnDeadParticles=Falsch SpinParticles=Wahr UseRegularSizeScale=Falsch UniformSize=Wahr AutomaticInitialSpawning=Falsch ColorScale(0)=(Color=(B=255,G=128,R=64)) ColorScale(1)=(RelativeTime=0.500000,Color=(B=255,G=128,R=64)) ColorScale(2)=(RelativeTime=1.000000) CoordinateSystem=PTCS_Relative MaxParticles=20 SpinsPerSecondRange=(X=(Min=0.100000,Max=0.100000)) StartSpinRange=(X=(Max=1.000000)) StartSizeRange=(X=(Min=2.000000,Max=50.000000)) InitialParticlesPerSecond=300.000000 Texture=Texture'AS_FX_TX.Flares.Laser_Flare' LifetimeRange=(Min=0.400000,Max=0.600000) StartVelocityRange=(X=(Min=75.000000,Max=300.000000),Y=(Min=-300.000000,Max=300.000000),Z=(Min=-300.000000,Max=300.000000)) End Object Emitters(0)=SpriteEmitter'UT2k4Assault.FX_PlasmaImpact.SpriteEmitter34' Begin Object Class=SpriteEmitter Name=SpriteEmitter35 UseColorScale=Wahr RespawnDeadParticles=Falsch SpinParticles=Wahr UseRegularSizeScale=Falsch UniformSize=Wahr AutomaticInitialSpawning=Falsch ColorScale(0)=(Color=(B=255,G=128,R=64)) ColorScale(1)=(RelativeTime=0.500000,Color=(B=255,G=128,R=64)) ColorScale(2)=(RelativeTime=1.000000) CoordinateSystem=PTCS_Relative MaxParticles=3 SpinsPerSecondRange=(X=(Min=0.010000,Max=0.100000)) StartSpinRange=(X=(Max=1.000000)) StartSizeRange=(X=(Min=25.000000,Max=50.000000)) InitialParticlesPerSecond=30.000000 Texture=Texture'AS_FX_TX.Flares.Laser_Flare' LifetimeRange=(Min=0.670000,Max=0.670000) End Object Emitters(1)=SpriteEmitter'UT2k4Assault.FX_PlasmaImpact.SpriteEmitter35' Begin Object Class=SpriteEmitter Name=SpriteEmitter36 UseColorScale=Wahr RespawnDeadParticles=Falsch Disabled=Wahr Backup_Disabled=Wahr SpinParticles=Wahr UseRegularSizeScale=Falsch UniformSize=Wahr AutomaticInitialSpawning=Falsch ColorScale(0)=(Color=(B=255,G=128,R=64)) ColorScale(1)=(RelativeTime=0.500000,Color=(B=255,G=128,R=64)) ColorScale(2)=(RelativeTime=1.000000) CoordinateSystem=PTCS_Relative SpinsPerSecondRange=(X=(Min=0.100000,Max=0.100000)) StartSpinRange=(X=(Max=1.000000)) StartSizeRange=(X=(Min=2.000000,Max=50.000000)) InitialParticlesPerSecond=300.000000 Texture=Texture'AS_FX_TX.Flares.Laser_Flare' LifetimeRange=(Min=0.400000,Max=0.600000) StartVelocityRange=(X=(Min=75.000000,Max=300.000000),Y=(Min=-300.000000,Max=300.000000),Z=(Min=-300.000000,Max=300.000000)) End Object Emitters(2)=SpriteEmitter'UT2k4Assault.FX_PlasmaImpact.SpriteEmitter36' AutoDestroy=Wahr bNoDelete=Falsch bDirectional=Wahr } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |