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 |
//============================================================================= // ER_EMPExplosion.uc // $Author: Mfox $ // $Date: 4/30/02 3:39p $ // $Revision: 10 $ //============================================================================= class ER_EMPExplosion extends ScriptedLight; #exec OBJ LOAD File=..\System\ParticleRes\ER_EMP.u var() Sound ExplosionSound; simulated event PostBeginPlay() { Super.PostBeginPlay(); SpawnParticles(ParticleGenerator'ER_EMP.ParticleSalamander0'); PlaySound( ExplosionSound ); //ARL hacked } simulated function SpawnParticles( ParticleGenerator Effect ) { local ParticleGenerator Particles; Particles = class'ParticleGenerator'.static.CreateNew( self, Effect, Location ); Particles.Trigger( Self, Instigator ); Particles.ParticleLifeSpan = Particles.GetMaxLifeSpan() + Particles.TimerDuration; } defaultproperties { ExplosionSound=Sound'U2WeaponsA.EnergyRifle.ER_EMPExplode' ScriptedLightData(0)=(Duration=0.050000,Brightness=255,Hue=150,Saturation=150) ScriptedLightData(1)=(TweenToTime=0.100000,Hue=150,Saturation=150) ScriptedLightData(2)=(Duration=0.200000,Brightness=255,Hue=150,Saturation=150) ScriptedLightData(3)=(TweenToTime=0.250000,Hue=150,Saturation=150) ScriptedLightData(4)=(TweenToTime=0.200000,Duration=0.250000,Brightness=255,Hue=150,Saturation=150) ScriptedLightData(5)=(TweenToTime=1.000000,Hue=150,Saturation=150) LightScript="ABCD" LightScriptRampUp="E" LightScriptRampDown="F" bInitiallyOn=false TimerDuration=1.100000 LightEffect=LE_Cylinder LightBrightness=255 LightHue=150 LightSaturation=150 LightRadius=32 bNoDelete=false bDynamicLight=true RemoteRole=ROLE_SimulatedProxy LifeSpan=3.000000 InitialState='TriggerTimed' bGameRelevant=true bMovable=true TransientSoundRadius=500.000000 CollisionRadius=0.000000 CollisionHeight=0.000000 UseReticleOnEvents(0)="UseReticleText" UseReticleOnEvents(1)="UseReticleCorners" UseReticleOnEvents(2)="UseReticleTopBars" ProximityReticleOnEvents(0)="ProximityReticleCorners" ProximityReticleOnEvents(1)="ProximityReticleTopBars" } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |