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 00148 00149 00150 00151 00152 00153 00154 00155 00156 00157 00158 00159 00160 00161 00162 00163 00164 00165 00166 00167 00168 00169 00170 00171 00172 00173 00174 00175 00176 00177 00178 00179 00180 |
class ONSTurretBeamEffect extends Emitter; simulated function SpawnEffects(vector HitLocation, vector HitNormal) { local rotator HitRotation; local PlayerController PC; local bool bFogDist; HitRotation = rotator(HitNormal); PC = Level.GetLocalPlayerController(); if ( !PC.BeyondViewDistance(HitLocation, 0) ) { bFogDist = true; Spawn(class'ShockImpactFlareB',,, HitLocation, HitRotation); Spawn(class'ShockExplosionCoreB',,, HitLocation+HitNormal*8, HitRotation); } if ( (PC.ViewTarget == None) || (VSize(PC.ViewTarget.Location - Location) > 4000) ) { Emitters[2].Disabled = true; Emitters[3].Disabled = true; Emitters[4].Disabled = true; } if ( bFogDist && !PC.BeyondViewDistance(HitLocation, 4000) ) { Spawn(class'ShockImpactRingB',,, HitLocation, HitRotation); Spawn(class'ShockImpactScorch',,, HitLocation, rotator(-HitNormal)); } } defaultproperties { Begin Object Class=BeamEmitter Name=BeamEmitter0 BeamDistanceRange=(Min=512.000000,Max=512.000000) DetermineEndPointBy=PTEP_Distance RotatingSheets=3 LowFrequencyPoints=2 HighFrequencyPoints=2 BranchProbability=(Max=1.000000) BranchSpawnAmountRange=(Max=2.000000) UseColorScale=Wahr RespawnDeadParticles=Falsch AlphaTest=Falsch UseSizeScale=Wahr UseRegularSizeScale=Falsch AutomaticInitialSpawning=Falsch ColorScale(0)=(Color=(B=32,G=32,R=192)) ColorScale(1)=(RelativeTime=0.800000,Color=(B=128,G=128,R=255)) ColorScale(2)=(RelativeTime=1.000000) MaxParticles=1 UseRotationFrom=PTRS_Actor SizeScale(0)=(RelativeSize=1.000000) SizeScale(1)=(RelativeTime=1.000000,RelativeSize=0.500000) StartSizeRange=(X=(Min=40.000000,Max=40.000000),Y=(Min=20.000000,Max=20.000000)) InitialParticlesPerSecond=5000.000000 Texture=Texture'TurretParticles.Beams.TurretBeam5' LifetimeRange=(Min=0.150000,Max=0.150000) StartVelocityRange=(X=(Min=500.000000,Max=500.000000)) End Object Emitters(0)=BeamEmitter'Onslaught.ONSTurretBeamEffect.BeamEmitter0' Begin Object Class=BeamEmitter Name=BeamEmitter1 BeamDistanceRange=(Min=512.000000,Max=512.000000) DetermineEndPointBy=PTEP_Distance RotatingSheets=3 LowFrequencyPoints=2 HighFrequencyPoints=2 BranchProbability=(Max=1.000000) BranchSpawnAmountRange=(Max=2.000000) UseColorScale=Wahr RespawnDeadParticles=Falsch AlphaTest=Falsch UseSizeScale=Wahr UseRegularSizeScale=Falsch AutomaticInitialSpawning=Falsch ColorScale(0)=(Color=(B=64,G=64,R=255)) ColorScale(1)=(RelativeTime=0.800000,Color=(B=255,R=255)) ColorScale(2)=(RelativeTime=1.000000) Opacity=0.800000 MaxParticles=1 UseRotationFrom=PTRS_Actor SizeScale(0)=(RelativeSize=1.000000) SizeScale(1)=(RelativeTime=1.000000) StartSizeRange=(Y=(Min=20.000000,Max=20.000000)) InitialParticlesPerSecond=5000.000000 Texture=Texture'EpicParticles.Flares.SoftFlare' LifetimeRange=(Min=0.500000,Max=0.500000) StartVelocityRange=(X=(Min=500.000000,Max=500.000000)) End Object Emitters(1)=BeamEmitter'Onslaught.ONSTurretBeamEffect.BeamEmitter1' Begin Object Class=SpriteEmitter Name=SpriteEmitter17 UseDirectionAs=PTDU_Normal ProjectionNormal=(X=1.000000,Z=0.000000) UseColorScale=Wahr RespawnDeadParticles=Falsch SpinParticles=Wahr UseSizeScale=Wahr UseRegularSizeScale=Falsch UniformSize=Wahr AutomaticInitialSpawning=Falsch ColorScale(0)=(Color=(B=128,G=128,R=255)) ColorScale(1)=(RelativeTime=1.000000,Color=(B=64,G=64,R=255)) MaxParticles=2 UseRotationFrom=PTRS_Actor StartSpinRange=(X=(Max=1.000000)) SizeScale(0)=(RelativeSize=1.000000) SizeScale(1)=(RelativeTime=1.000000) StartSizeRange=(X=(Min=150.000000,Max=200.000000)) InitialParticlesPerSecond=20.000000 Texture=Texture'AW-2004Particles.Weapons.PlasmaStar2' LifetimeRange=(Min=0.200000,Max=0.200000) End Object Emitters(2)=SpriteEmitter'Onslaught.ONSTurretBeamEffect.SpriteEmitter17' Begin Object Class=SpriteEmitter Name=SpriteEmitter19 UseColorScale=Wahr RespawnDeadParticles=Falsch UseSizeScale=Wahr UseRegularSizeScale=Falsch UniformSize=Wahr AutomaticInitialSpawning=Falsch BlendBetweenSubdivisions=Wahr UseRandomSubdivision=Wahr Acceleration=(Z=20.000000) ColorScale(0)=(Color=(B=128,G=128,R=255)) ColorScale(1)=(RelativeTime=0.650000,Color=(G=23,R=132)) ColorScale(2)=(RelativeTime=1.000000) MaxParticles=8 StartLocationOffset=(X=16.000000) StartLocationRange=(X=(Max=64.000000),Z=(Max=2.000000)) UseRotationFrom=PTRS_Actor StartSpinRange=(X=(Max=0.025000)) SizeScale(0)=(RelativeSize=0.250000) SizeScale(1)=(RelativeTime=1.000000,RelativeSize=1.000000) StartSizeRange=(X=(Min=20.000000,Max=50.000000)) InitialParticlesPerSecond=900.000000 Texture=Texture'AW-2004Particles.Weapons.SmokePanels1' TextureUSubdivisions=4 TextureVSubdivisions=4 LifetimeRange=(Min=1.500000,Max=1.500000) StartVelocityRange=(Z=(Max=15.000000)) WarmupTicksPerSecond=1.000000 RelativeWarmupTime=0.200000 End Object Emitters(3)=SpriteEmitter'Onslaught.ONSTurretBeamEffect.SpriteEmitter19' Begin Object Class=SpriteEmitter Name=SpriteEmitter20 UseColorScale=Wahr RespawnDeadParticles=Falsch UseSizeScale=Wahr UseRegularSizeScale=Falsch UniformSize=Wahr AutomaticInitialSpawning=Falsch BlendBetweenSubdivisions=Wahr UseRandomSubdivision=Wahr ColorScale(0)=(Color=(B=32,G=32,R=255)) ColorScale(1)=(RelativeTime=0.100000,Color=(B=32,G=32,R=255)) ColorScale(2)=(RelativeTime=0.800000,Color=(B=64,G=64,R=255)) ColorScale(3)=(RelativeTime=1.000000) MaxParticles=3 StartLocationOffset=(X=10.000000) StartLocationRange=(X=(Max=20.000000)) UseRotationFrom=PTRS_Actor SizeScale(0)=(RelativeSize=0.100000) SizeScale(1)=(RelativeTime=1.000000,RelativeSize=1.000000) StartSizeRange=(X=(Min=40.000000,Max=60.000000)) InitialParticlesPerSecond=3000.000000 Texture=Texture'AW-2004Particles.Weapons.SmokePanels1' TextureUSubdivisions=4 TextureVSubdivisions=4 LifetimeRange=(Min=0.200000,Max=0.200000) End Object Emitters(4)=SpriteEmitter'Onslaught.ONSTurretBeamEffect.SpriteEmitter20' AutoDestroy=Wahr bNoDelete=Falsch } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |