## XIIIMP
Class XIIIMPDeathExplosionEmitter

source: C:\XIII\XIIIMP\Classes\XIIIMPDeathExplosionEmitter.uc

    Core.Object
       |
       +--Engine.Actor
          |
          +--Engine.Emitter
             |
             +--XIIIMP.XIIIMPDeathExplosionEmitter

Direct Known Subclasses:None

class XIIIMPDeathExplosionEmitter
extends Engine.Emitter

    //-----------------------------------------------------------
    //
    //-----------------------------------------------------------

Source Code

    00001	//-----------------------------------------------------------
    00002	//
    00003	//-----------------------------------------------------------
    00004	class XIIIMPDeathExplosionEmitter extends Emitter;
    00005
    00006
    00007	//_____________________________________________________________________________
    00008	event PostBeginPlay()
    00009	{
    00010	    Spawn(class'GrenadExplosionOverlayEmitter', self,, Location, Rotation);
    00011	    if ( !Level.bHighDetailMode )
    00012	      Emitters[2].UseCollision = false;
    00013	    if ( (Level.Game != none) && (Level.GetPlateForme() == 1) ) // PS2
    00014	    {
    00015	      Emitters[2].UseCollision = false;
    00016	      Emitters[2].SetMaxParticles(5);
    00017	    }
    00018	}
    00019
    00020
    00021
    00022	defaultproperties
    00023	{
    00024	     Begin Object Class=SpriteEmitter Name=GrenadExplosionEmitterA
    00025	         Acceleration=(X=5.000000,Y=5.000000,Z=40.000000)
    00026	         UseColorScale=True
    00027	         FadeOut=True
    00028	         FadeIn=True
    00029	         ResetAfterChange=True
    00030	         RespawnDeadParticles=False
    00031	         SpinParticles=True
    00032	         DampRotation=True
    00033	         UseSizeScale=True
    00034	         UseRegularSizeScale=False
    00035	         AutomaticInitialSpawning=False
    00036	         Initialized=True
    00037	         ColorScale(0)=(relativetime=0.150000,Color=(B=187,G=197,R=198))
    00038	         ColorScale(1)=(relativetime=0.250000,Color=(B=88,G=88,R=88))
    00039	         ColorScale(2)=(relativetime=0.900000)
    00040	         ColorScale(3)=(relativetime=1.000000,Color=(B=82,G=82,R=82))
    00041	         FadeOutStartTime=2.000000
    00042	         FadeInEndTime=0.100000
    00043	         MaxParticles=10
    00044	         StartLocationRange=(X=(Min=-25.000000,Max=25.000000),Y=(Min=-25.000000,Max=25.000000),Z=(Min=-25.000000,Max=25.000000))
    00045	         SphereRadiusRange=(Min=-100.000000,Max=100.000000)
    00046	         UseRotationFrom=PTRS_Actor
    00047	         SpinCCWorCW=(X=0.100000,Y=0.100000,Z=0.100000)
    00048	         SpinsPerSecondRange=(X=(Max=0.100000),Y=(Max=0.100000))
    00049	         SizeScale(0)=(RelativeSize=1.000000)
    00050	         SizeScale(1)=(relativetime=0.250000,RelativeSize=2.800000)
    00051	         SizeScale(2)=(relativetime=0.300000,RelativeSize=2.900000)
    00052	         SizeScale(3)=(relativetime=1.000000,RelativeSize=2.000000)
    00053	         StartSizeRange=(X=(Min=10.000000,Max=40.000000),Y=(Min=10.000000,Max=40.000000),Z=(Min=10.000000,Max=40.000000))
    00054	         CenterV=-1.000000
    00055	         InitialParticlesPerSecond=40.000000
    00056	         DrawStyle=PTDS_AlphaBlend
    00057	         Texture=Texture'XIIICine.effets.explogrenadeMD'
    00058	         SecondsBeforeInactive=20.000000
    00059	         LifetimeRange=(Min=4.500000,Max=5.000000)
    00060	         StartVelocityRange=(Z=(Min=25.000000,Max=45.000000))
    00061	         VelocityLossRange=(X=(Min=-1.000000,Max=1.000000),Y=(Min=-1.000000,Max=1.000000),Z=(Min=1.000000,Max=1.000000))
    00062	         Name="GrenadExplosionEmitterA"
    00063	     End Object
    00064	     Emitters(0)=SpriteEmitter'XIIIMP.XIIIMPDeathExplosionEmitter.GrenadExplosionEmitterA'
    00065	     Begin Object Class=SpriteEmitter Name=GrenadExplosionEmitterB
    00066	         UseColorScale=True
    00067	         FadeOut=True
    00068	         FadeIn=True
    00069	         RespawnDeadParticles=False
    00070	         SpinParticles=True
    00071	         UseSizeScale=True
    00072	         UseRegularSizeScale=False
    00073	         AutomaticInitialSpawning=False
    00074	         NoSynchroAnim=True
    00075	         RandomSymmetryU=True
    00076	         RandomSymmetryV=True
    00077	         Initialized=True
    00078	         ColorScale(0)=(relativetime=0.100000,Color=(B=128,G=255,R=255))
    00079	         ColorScale(1)=(relativetime=0.250000,Color=(B=131,G=162,R=254))
    00080	         ColorScale(2)=(relativetime=0.500000)
    00081	         ColorScale(3)=(relativetime=1.000000)
    00082	         FadeOutStartTime=0.200000
    00083	         FadeInEndTime=0.500000
    00084	         MaxParticles=2
    00085	         SpinsPerSecondRange=(X=(Min=0.050000,Max=0.050000))
    00086	         SizeScale(0)=(RelativeSize=1.000000)
    00087	         SizeScale(1)=(relativetime=0.300000,RelativeSize=2.000000)
    00088	         SizeScale(2)=(relativetime=0.500000,RelativeSize=1.000000)
    00089	         SizeScale(3)=(relativetime=1.000000)
    00090	         StartSizeRange=(X=(Max=200.000000))
    00091	         InitialParticlesPerSecond=20.000000
    00092	         Texture=Texture'XIIICine.effets.explosol'
    00093	         SecondsBeforeInactive=20.000000
    00094	         LifetimeRange=(Min=1.000000,Max=1.000000)
    00095	         Name="GrenadExplosionEmitterB"
    00096	     End Object
    00097	     Emitters(1)=SpriteEmitter'XIIIMP.XIIIMPDeathExplosionEmitter.GrenadExplosionEmitterB'
    00098	     Begin Object Class=MeshEmitter Name=GrenadExplosionEmitterC
    00099	         StaticMesh=StaticMesh'StaticExplosifs.grenadfragment'
    00100	         UseMeshBlendMode=False
    00101	         Acceleration=(X=10.000000,Y=10.000000,Z=-500.000000)
    00102	         UseCollision=True
    00103	         UseMaxCollisions=True
    00104	         FadeOut=True
    00105	         RespawnDeadParticles=False
    00106	         SpinParticles=True
    00107	         DampRotation=True
    00108	         AutomaticInitialSpawning=False
    00109	         Initialized=True
    00110	         DampingFactorRange=(X=(Min=0.000000,Max=0.000000),Y=(Min=0.000000,Max=0.000000),Z=(Min=0.000000,Max=0.000000))
    00111	         MaxCollisions=(Min=1.000000,Max=2.000000)
    00112	         FadeOutStartTime=5.000000
    00113	         MaxParticles=10
    00114	         StartLocationRange=(X=(Min=-20.000000,Max=20.000000),Y=(Min=-20.000000,Max=20.000000),Z=(Min=-20.000000,Max=20.000000))
    00115	         StartLocationShape=PTLS_Sphere
    00116	         SpinsPerSecondRange=(X=(Min=-1.000000,Max=1.000000),Y=(Min=-1.000000,Max=1.000000),Z=(Min=-1.000000,Max=1.000000))
    00117	         StartSpinRange=(X=(Min=-32767.000000,Max=32767.000000),Y=(Max=512.000000))
    00118	         RotationDampingFactorRange=(X=(Min=0.200000,Max=0.300000),Y=(Min=0.300000,Max=0.300000),Z=(Min=0.100000,Max=0.200000))
    00119	         StartSizeRange=(X=(Min=0.700000,Max=2.000000),Y=(Min=0.700000,Max=2.000000),Z=(Min=0.700000,Max=2.000000))
    00120	         InitialParticlesPerSecond=50000.000000
    00121	         DrawStyle=PTDS_AlphaBlend
    00122	         SecondsBeforeInactive=20.000000
    00123	         StartVelocityRange=(X=(Min=-500.000000,Max=500.000000),Y=(Min=-500.000000,Max=500.000000),Z=(Min=400.000000,Max=400.000000))
    00124	         Name="GrenadExplosionEmitterC"
    00125	     End Object
    00126	     Emitters(2)=MeshEmitter'XIIIMP.XIIIMPDeathExplosionEmitter.GrenadExplosionEmitterC'
    00127	     Begin Object Class=SpriteEmitter Name=GrenadExplosionEmitterD
    00128	         Acceleration=(Z=-600.000000)
    00129	         UseColorScale=True
    00130	         RespawnDeadParticles=False
    00131	         SpinParticles=True
    00132	         UseSizeScale=True
    00133	         UseRegularSizeScale=False
    00134	         AutomaticInitialSpawning=False
    00135	         Initialized=True
    00136	         ColorScale(0)=(Color=(B=128,G=255,R=255))
    00137	         ColorScale(1)=(relativetime=1.000000,Color=(R=255))
    00138	         MaxParticles=10
    00139	         SpinsPerSecondRange=(X=(Min=-1.000000,Max=1.000000),Y=(Max=1.000000),Z=(Max=1.000000))
    00140	         SizeScale(0)=(RelativeSize=10.000000)
    00141	         SizeScale(1)=(relativetime=0.200000,RelativeSize=1.000000)
    00142	         SizeScale(2)=(relativetime=1.000000,RelativeSize=10.000000)
    00143	         StartSizeRange=(X=(Min=1.000000,Max=1.500000),Y=(Min=1.000000,Max=1.500000),Z=(Min=1.000000,Max=3.000000))
    00144	         CenterU=0.500000
    00145	         CenterV=0.500000
    00146	         InitialParticlesPerSecond=1000.000000
    00147	         DrawStyle=PTDS_Brighten
    00148	         Texture=Texture'XIIICine.effets.etincelle'
    00149	         SecondsBeforeInactive=20.000000
    00150	         LifetimeRange=(Min=1.500000,Max=1.500000)
    00151	         StartVelocityRange=(X=(Min=-2000.000000,Max=2000.000000),Y=(Min=-2000.000000,Max=2000.000000),Z=(Min=400.000000,Max=500.000000))
    00152	         MaxAbsVelocity=(X=1000.000000,Y=1000.000000)
    00153	         VelocityLossRange=(X=(Min=1.000000,Max=1.000000),Y=(Min=1.000000,Max=1.000000))
    00154	         Name="GrenadExplosionEmitterD"
    00155	     End Object
    00156	     Emitters(3)=SpriteEmitter'XIIIMP.XIIIMPDeathExplosionEmitter.GrenadExplosionEmitterD'
    00157	     Begin Object Class=SpriteEmitter Name=GrenadExplosionEmitterE
    00158	         Acceleration=(Z=-10.000000)
    00159	         UseColorScale=True
    00160	         FadeOut=True
    00161	         RespawnDeadParticles=False
    00162	         SpinParticles=True
    00163	         UseSizeScale=True
    00164	         UseRegularSizeScale=False
    00165	         AutomaticInitialSpawning=False
    00166	         Initialized=True
    00167	         ColorScale(0)=(Color=(B=128,G=128,R=128,A=255))
    00168	         ColorScale(1)=(relativetime=0.500000,Color=(B=111,G=149,R=166,A=255))
    00169	         ColorScale(2)=(relativetime=1.000000)
    00170	         FadeOutStartTime=6.000000
    00171	         FadeInEndTime=0.200000
    00172	         MaxParticles=15
    00173	         StartLocationRange=(X=(Min=-100.000000,Max=100.000000),Y=(Min=-100.000000,Max=100.000000),Z=(Min=-35.000000,Max=35.000000))
    00174	         StartLocationShape=PTLS_Sphere
    00175	         SphereRadiusRange=(Min=75.000000,Max=50.000000)
    00176	         SpinsPerSecondRange=(X=(Min=-0.100000,Max=0.150000),Y=(Min=-0.100000,Max=0.150000),Z=(Min=-0.100000,Max=0.150000))
    00177	         SizeScale(1)=(relativetime=0.050000,RelativeSize=2.000000)
    00178	         SizeScale(2)=(relativetime=1.000000,RelativeSize=0.500000)
    00179	         StartSizeRange=(X=(Min=75.000000),Y=(Min=75.000000),Z=(Min=75.000000))
    00180	         CenterV=-1.000000
    00181	         InitialParticlesPerSecond=1000.000000
    00182	         DrawStyle=PTDS_Brighten
    00183	         Texture=Texture'XIIICine.effets.mist2'
    00184	         SecondsBeforeInactive=20.000000
    00185	         LifetimeRange=(Min=8.000000,Max=10.000000)
    00186	         StartVelocityRange=(X=(Min=-50.000000,Max=50.000000),Y=(Min=-50.000000,Max=50.000000),Z=(Min=30.000000,Max=50.000000))
    00187	         VelocityLossRange=(X=(Min=0.500000,Max=0.500000),Y=(Min=0.500000,Max=0.500000))
    00188	         Name="GrenadExplosionEmitterE"
    00189	     End Object
    00190	     Emitters(4)=SpriteEmitter'XIIIMP.XIIIMPDeathExplosionEmitter.GrenadExplosionEmitterE'
    00191	     Begin Object Class=SpriteEmitter Name=GrenadExplosionEmitterF
    00192	         FadeOut=True
    00193	         RespawnDeadParticles=False
    00194	         UseSizeScale=True
    00195	         UseRegularSizeScale=False
    00196	         AutomaticInitialSpawning=False
    00197	         Initialized=True
    00198	         MaxParticles=2
    00199	         StartLocationOffset=(Z=100.000000)
    00200	         StartLocationRange=(Z=(Min=-5.000000,Max=5.000000))
    00201	         SizeScale(0)=(relativetime=0.250000,RelativeSize=1.000000)
    00202	         SizeScale(1)=(relativetime=0.200000,RelativeSize=1.500000)
    00203	         SizeScale(2)=(relativetime=0.300000,RelativeSize=1.200000)
    00204	         SizeScale(3)=(relativetime=0.400000,RelativeSize=1.500000)
    00205	         SizeScale(4)=(relativetime=1.000000,RelativeSize=1.000000)
    00206	         StartSizeRange=(X=(Min=90.000000),Y=(Min=90.000000),Z=(Min=90.000000))
    00207	         InitialParticlesPerSecond=5000.000000
    00208	         DrawStyle=PTDS_AlphaBlend
    00209	         Texture=Texture'XIIICine.effets.Blam'
    00210	         TextureUSubdivisions=1
    00211	         TextureVSubdivisions=1
    00212	         SecondsBeforeInactive=20.000000
    00213	         LifetimeRange=(Min=0.500000,Max=0.500000)
    00214	         InitialDelayRange=(Min=0.100000,Max=0.100000)
    00215	         Name="GrenadExplosionEmitterF"
    00216	     End Object
    00217	     Emitters(5)=SpriteEmitter'XIIIMP.XIIIMPDeathExplosionEmitter.GrenadExplosionEmitterF'
    00218	     CollisionRadius=500.000000
    00219	     CollisionHeight=500.000000
    00220	}

End Source Code