## XIII
Class FragGrenadFragmentEmitter

source: C:\XIII\XIII\Classes\FragGrenadFragmentEmitter.uc

    Core.Object
       |
       +--Engine.Actor
          |
          +--Engine.Emitter
             |
             +--XIII.FragGrenadFragmentEmitter

Direct Known Subclasses:None

class FragGrenadFragmentEmitter
extends Engine.Emitter

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

Source Code

    00001	//-----------------------------------------------------------
    00002	//
    00003	//-----------------------------------------------------------
    00004	class FragGrenadFragmentEmitter extends Emitter;
    00005
    00006	//_____________________________________________________________________________
    00007	event PostBeginPlay()
    00008	{
    00009	    Spawn(class'GrenadExplosionOverlayEmitter', self,, Location, Rotation);
    00010	    if ( !Level.bHighDetailMode )
    00011	      Emitters[2].UseCollision = false;
    00012	    if ( (Level.Game != none) && (Level.GetPlateForme() == 1) ) // PS2
    00013	    {
    00014	      Emitters[2].UseCollision = false;
    00015	      Emitters[2].SetMaxParticles(5);
    00016	    }
    00017	}
    00018
    00019
    00020	defaultproperties
    00021	{
    00022	     Begin Object Class=SpriteEmitter Name=FragGrenadFragmentEmitterA
    00023	         Acceleration=(X=5.000000,Y=5.000000,Z=-10.000000)
    00024	         UseColorScale=True
    00025	         FadeOut=True
    00026	         FadeIn=True
    00027	         ResetAfterChange=True
    00028	         RespawnDeadParticles=False
    00029	         SpinParticles=True
    00030	         DampRotation=True
    00031	         UseSizeScale=True
    00032	         UseRegularSizeScale=False
    00033	         AutomaticInitialSpawning=False
    00034	         Initialized=True
    00035	         ColorScale(0)=(relativetime=0.150000,Color=(B=153,G=206,R=232))
    00036	         ColorScale(1)=(relativetime=0.250000,Color=(B=88,G=88,R=88))
    00037	         ColorScale(2)=(relativetime=0.900000,Color=(B=164,G=164,R=164))
    00038	         ColorScale(3)=(relativetime=1.000000,Color=(B=159,G=159,R=159))
    00039	         FadeOutStartTime=8.000000
    00040	         FadeInEndTime=0.100000
    00041	         MaxParticles=10
    00042	         StartLocationRange=(X=(Min=-50.000000,Max=50.000000),Y=(Min=-50.000000,Max=50.000000),Z=(Min=-50.000000,Max=10.000000))
    00043	         StartLocationShape=PTLS_Sphere
    00044	         SphereRadiusRange=(Min=-100.000000,Max=100.000000)
    00045	         UseRotationFrom=PTRS_Actor
    00046	         SpinCCWorCW=(X=0.100000,Y=0.100000,Z=0.100000)
    00047	         SpinsPerSecondRange=(X=(Max=0.100000),Y=(Max=0.100000))
    00048	         SizeScale(0)=(RelativeSize=2.000000)
    00049	         SizeScale(1)=(relativetime=0.250000,RelativeSize=2.800000)
    00050	         SizeScale(2)=(relativetime=0.300000,RelativeSize=2.900000)
    00051	         SizeScale(3)=(relativetime=1.000000,RelativeSize=4.000000)
    00052	         StartSizeRange=(X=(Min=20.000000,Max=80.000000),Y=(Min=20.000000,Max=80.000000),Z=(Min=20.000000,Max=80.000000))
    00053	         CenterV=-1.000000
    00054	         InitialParticlesPerSecond=40.000000
    00055	         DrawStyle=PTDS_Brighten
    00056	         Texture=Texture'XIIICine.extinct_fumeeAD'
    00057	         SecondsBeforeInactive=10000.000000
    00058	         LifetimeRange=(Min=10.000000,Max=12.000000)
    00059	         InitialDelayRange=(Min=0.200000,Max=0.200000)
    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="FragGrenadFragmentEmitterA"
    00063	     End Object
    00064	     Emitters(0)=SpriteEmitter'XIII.FragGrenadFragmentEmitter.FragGrenadFragmentEmitterA'
    00065	     Begin Object Class=SpriteEmitter Name=FragGrenadFragmentEmitterB
    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	         OnceTextureAnim=True
    00076	         SymmetryU=True
    00077	         SymmetryV=True
    00078	         RandomSymmetryU=True
    00079	         RandomSymmetryV=True
    00080	         Initialized=True
    00081	         ColorScale(0)=(relativetime=0.100000,Color=(B=117,G=136,R=202))
    00082	         ColorScale(1)=(relativetime=0.250000,Color=(B=136,G=136,R=136))
    00083	         ColorScale(2)=(relativetime=0.500000)
    00084	         ColorScale(3)=(relativetime=1.000000)
    00085	         FadeOutStartTime=0.200000
    00086	         FadeInEndTime=0.500000
    00087	         MaxParticles=1
    00088	         SpinsPerSecondRange=(X=(Min=0.050000,Max=0.050000))
    00089	         SizeScale(0)=(RelativeSize=1.000000)
    00090	         SizeScale(1)=(relativetime=0.300000,RelativeSize=3.000000)
    00091	         SizeScale(2)=(relativetime=0.500000,RelativeSize=1.000000)
    00092	         SizeScale(3)=(relativetime=1.000000)
    00093	         StartSizeRange=(X=(Max=200.000000))
    00094	         InitialParticlesPerSecond=8.000000
    00095	         Texture=Texture'XIIICine.effets.explosol'
    00096	         SecondsBeforeInactive=10000.000000
    00097	         LifetimeRange=(Min=1.000000,Max=1.000000)
    00098	         Name="FragGrenadFragmentEmitterB"
    00099	     End Object
    00100	     Emitters(1)=SpriteEmitter'XIII.FragGrenadFragmentEmitter.FragGrenadFragmentEmitterB'
    00101	     Begin Object Class=MeshEmitter Name=FragGrenadFragmentEmitterC
    00102	         StaticMesh=StaticMesh'StaticExplosifs.grenadfragment'
    00103	         UseMeshBlendMode=False
    00104	         Acceleration=(X=10.000000,Y=10.000000,Z=-500.000000)
    00105	         UseCollision=True
    00106	         UseMaxCollisions=True
    00107	         FadeOut=True
    00108	         RespawnDeadParticles=False
    00109	         SpinParticles=True
    00110	         DampRotation=True
    00111	         UseRegularSizeScale=False
    00112	         AutomaticInitialSpawning=False
    00113	         Initialized=True
    00114	         DampingFactorRange=(X=(Min=0.000000,Max=0.000000),Y=(Min=0.000000,Max=0.000000),Z=(Min=0.000000,Max=0.000000))
    00115	         MaxCollisions=(Min=1.000000,Max=1.000000)
    00116	         FadeOutStartTime=5.000000
    00117	         MaxParticles=10
    00118	         StartLocationOffset=(Z=20.000000)
    00119	         StartLocationRange=(X=(Min=-20.000000,Max=20.000000),Y=(Min=-20.000000,Max=20.000000),Z=(Min=-20.000000,Max=20.000000))
    00120	         StartLocationShape=PTLS_Sphere
    00121	         SphereRadiusRange=(Min=40.000000,Max=40.000000)
    00122	         SpinsPerSecondRange=(X=(Min=2.000000,Max=3.000000),Y=(Min=2.000000,Max=3.000000),Z=(Min=-1.000000,Max=1.000000))
    00123	         StartSpinRange=(X=(Min=-32767.000000,Max=32767.000000),Y=(Max=512.000000))
    00124	         RotationDampingFactorRange=(X=(Min=0.200000,Max=0.300000),Y=(Min=0.300000,Max=0.300000),Z=(Min=0.100000,Max=0.200000))
    00125	         StartSizeRange=(X=(Min=0.700000,Max=2.000000),Y=(Min=0.700000,Max=2.000000),Z=(Min=0.700000,Max=2.000000))
    00126	         InitialParticlesPerSecond=50000.000000
    00127	         DrawStyle=PTDS_AlphaBlend
    00128	         SecondsBeforeInactive=10000.000000
    00129	         InitialDelayRange=(Min=0.200000,Max=0.200000)
    00130	         StartVelocityRange=(X=(Min=-800.000000,Max=800.000000),Y=(Min=-800.000000,Max=800.000000),Z=(Min=800.000000,Max=500.000000))
    00131	         Name="FragGrenadFragmentEmitterC"
    00132	     End Object
    00133	     Emitters(2)=MeshEmitter'XIII.FragGrenadFragmentEmitter.FragGrenadFragmentEmitterC'
    00134	     Begin Object Class=SpriteEmitter Name=FragGrenadFragmentEmitterD
    00135	         UseDirectionAs=PTDU_MoveAndViewUp
    00136	         Acceleration=(Z=-600.000000)
    00137	         UseColorScale=True
    00138	         RespawnDeadParticles=False
    00139	         SpinParticles=True
    00140	         UseSizeScale=True
    00141	         UseRegularSizeScale=False
    00142	         AutomaticInitialSpawning=False
    00143	         Initialized=True
    00144	         MaxParticles=30
    00145	         StartLocationRange=(X=(Min=-20.000000,Max=20.000000),Y=(Min=-20.000000,Max=20.000000),Z=(Min=-20.000000,Max=20.000000))
    00146	         StartLocationShape=PTLS_Sphere
    00147	         SphereRadiusRange=(Min=40.000000,Max=40.000000)
    00148	         SpinsPerSecondRange=(X=(Min=-1.000000,Max=1.000000),Y=(Min=-1.000000,Max=1.000000),Z=(Max=1.000000))
    00149	         StartSizeRange=(X=(Min=1.000000,Max=3.000000),Y=(Min=1.000000,Max=3.000000),Z=(Min=1.000000,Max=3.000000))
    00150	         CenterU=1.000000
    00151	         CenterV=0.500000
    00152	         InitialParticlesPerSecond=1000.000000
    00153	         DrawStyle=PTDS_Regular
    00154	         Texture=Texture'XIIICine.effets.BulletImpactmetal'
    00155	         SecondsBeforeInactive=10000.000000
    00156	         LifetimeRange=(Min=1.500000,Max=1.500000)
    00157	         InitialDelayRange=(Min=0.200000,Max=0.200000)
    00158	         StartVelocityRange=(X=(Min=-1000.000000,Max=1000.000000),Y=(Min=-1000.000000,Max=1000.000000),Z=(Min=-500.000000,Max=2000.000000))
    00159	         VelocityLossRange=(X=(Min=0.500000,Max=1.000000),Y=(Min=0.500000,Max=1.000000),Z=(Min=0.500000,Max=1.000000))
    00160	         Name="FragGrenadFragmentEmitterD"
    00161	     End Object
    00162	     Emitters(3)=SpriteEmitter'XIII.FragGrenadFragmentEmitter.FragGrenadFragmentEmitterD'
    00163	     Begin Object Class=SpriteEmitter Name=FragGrenadFragmentEmitterE
    00164	         Acceleration=(X=1.000000,Y=1.000000,Z=-7.000000)
    00165	         UseColorScale=True
    00166	         FadeOut=True
    00167	         RespawnDeadParticles=False
    00168	         SpinParticles=True
    00169	         UseSizeScale=True
    00170	         UseRegularSizeScale=False
    00171	         AutomaticInitialSpawning=False
    00172	         SymmetryU=True
    00173	         SymmetryV=True
    00174	         RandomSymmetryU=True
    00175	         RandomSymmetryV=True
    00176	         Initialized=True
    00177	         ColorScale(0)=(Color=(B=192,G=192,R=192))
    00178	         ColorScale(1)=(relativetime=0.500000,Color=(B=114,G=154,R=184))
    00179	         ColorScale(2)=(relativetime=1.000000,Color=(B=117,G=117,R=117))
    00180	         FadeOutStartTime=7.000000
    00181	         FadeInEndTime=0.200000
    00182	         MaxParticles=5
    00183	         StartLocationRange=(X=(Min=-100.000000,Max=100.000000),Y=(Min=-100.000000,Max=100.000000),Z=(Min=-10.000000,Max=10.000000))
    00184	         StartLocationShape=PTLS_Sphere
    00185	         SphereRadiusRange=(Min=75.000000,Max=50.000000)
    00186	         SpinsPerSecondRange=(X=(Min=-0.100000,Max=0.100000),Y=(Min=-0.100000,Max=0.100000),Z=(Min=-0.100000,Max=0.100000))
    00187	         SizeScale(1)=(relativetime=0.050000,RelativeSize=1.000000)
    00188	         SizeScale(2)=(relativetime=1.000000,RelativeSize=4.000000)
    00189	         StartSizeRange=(X=(Min=75.000000),Y=(Min=75.000000),Z=(Min=75.000000))
    00190	         CenterV=-1.000000
    00191	         InitialParticlesPerSecond=1000.000000
    00192	         DrawStyle=PTDS_Darken
    00193	         Texture=Texture'XIIICine.effets.mist2'
    00194	         SecondsBeforeInactive=10000.000000
    00195	         LifetimeRange=(Min=8.000000,Max=10.000000)
    00196	         InitialDelayRange=(Min=0.200000,Max=0.200000)
    00197	         StartVelocityRange=(X=(Min=-50.000000,Max=50.000000),Y=(Min=-50.000000,Max=50.000000),Z=(Min=10.000000,Max=15.000000))
    00198	         Name="FragGrenadFragmentEmitterE"
    00199	     End Object
    00200	     Emitters(4)=SpriteEmitter'XIII.FragGrenadFragmentEmitter.FragGrenadFragmentEmitterE'
    00201	     Begin Object Class=SpriteEmitter Name=FragGrenadFragmentEmitterF
    00202	         Acceleration=(Z=200.000000)
    00203	         FadeOut=True
    00204	         FadeIn=True
    00205	         RespawnDeadParticles=False
    00206	         SpinParticles=True
    00207	         UseSizeScale=True
    00208	         UseRegularSizeScale=False
    00209	         AutomaticInitialSpawning=False
    00210	         SymmetryU=True
    00211	         SymmetryV=True
    00212	         RandomSymmetryU=True
    00213	         RandomSymmetryV=True
    00214	         Initialized=True
    00215	         FadeOutStartTime=0.500000
    00216	         FadeInEndTime=0.100000
    00217	         MaxParticles=4
    00218	         StartLocationRange=(X=(Min=-10.000000,Max=10.000000),Y=(Min=-10.000000,Max=10.000000),Z=(Min=-10.000000,Max=10.000000))
    00219	         StartLocationShape=PTLS_Sphere
    00220	         SphereRadiusRange=(Min=50.000000,Max=50.000000)
    00221	         SpinsPerSecondRange=(X=(Max=0.200000),Y=(Max=0.200000))
    00222	         SizeScale(0)=(RelativeSize=1.000000)
    00223	         SizeScale(1)=(relativetime=0.200000,RelativeSize=4.000000)
    00224	         SizeScale(2)=(relativetime=1.000000,RelativeSize=5.000000)
    00225	         StartSizeRange=(X=(Min=10.000000,Max=50.000000),Y=(Min=10.000000,Max=50.000000))
    00226	         InitialParticlesPerSecond=12.000000
    00227	         Texture=Texture'XIIICine.extinct_exploAD'
    00228	         SecondsBeforeInactive=10000.000000
    00229	         LifetimeRange=(Min=1.000000,Max=1.000000)
    00230	         StartVelocityRange=(X=(Min=-10.000000,Max=10.000000),Y=(Min=-10.000000,Max=10.000000),Z=(Min=-100.000000,Max=-50.000000))
    00231	         Name="FragGrenadFragmentEmitterF"
    00232	     End Object
    00233	     Emitters(5)=SpriteEmitter'XIII.FragGrenadFragmentEmitter.FragGrenadFragmentEmitterF'
    00234	     Begin Object Class=SpriteEmitter Name=FragGrenadFragmentEmitterG
    00235	         Acceleration=(Z=200.000000)
    00236	         FadeOut=True
    00237	         FadeIn=True
    00238	         RespawnDeadParticles=False
    00239	         SpinParticles=True
    00240	         UseSizeScale=True
    00241	         UseRegularSizeScale=False
    00242	         AutomaticInitialSpawning=False
    00243	         SymmetryU=True
    00244	         SymmetryV=True
    00245	         RandomSymmetryU=True
    00246	         RandomSymmetryV=True
    00247	         Initialized=True
    00248
FadeOutStartTime=0.500000 00249 FadeInEndTime=0.100000 00250 MaxParticles=4 00251 StartLocationRange=(X=(Min=-10.000000,Max=10.000000),Y=(Min=-10.000000,Max=10.000000),Z=(Min=-10.000000,Max=10.000000)) 00252 StartLocationShape=PTLS_Sphere 00253 SphereRadiusRange=(Min=50.000000,Max=50.000000) 00254 SpinsPerSecondRange=(X=(Max=0.200000),Y=(Max=0.200000)) 00255 SizeScale(0)=(RelativeSize=1.000000) 00256 SizeScale(1)=(relativetime=0.200000,RelativeSize=4.000000) 00257 SizeScale(2)=(relativetime=1.000000,RelativeSize=5.000000) 00258 StartSizeRange=(X=(Min=10.000000,Max=50.000000),Y=(Min=10.000000,Max=50.000000)) 00259 InitialParticlesPerSecond=12.000000 00260 Texture=Texture'XIIICine.extinct_exploAD' 00261 SecondsBeforeInactive=10000.000000 00262 StartVelocityRange=(X=(Min=-10.000000,Max=10.000000),Y=(Min=-10.000000,Max=10.000000),Z=(Min=-100.000000,Max=-50.000000)) 00263 Name="FragGrenadFragmentEmitterG" 00264 End Object 00265 Emitters(6)=SpriteEmitter'XIII.FragGrenadFragmentEmitter.FragGrenadFragmentEmitterG' 00266 Physics=PHYS_Trailer 00267 CollisionRadius=500.000000 00268 CollisionHeight=500.000000 00269 }

End Source Code