## XIDCine
Class TrigerredExplosionEmitter

source: C:\XIII\XIDCine\Classes\TrigerredExplosionEmitter.uc

    Core.Object
       |
       +--Engine.Actor
          |
          +--Engine.Emitter
             |
             +--XIDCine.TrigerredEmitter
                |
                +--XIDCine.TrigerredExplosionEmitter

Direct Known Subclasses:None

class TrigerredExplosionEmitter
extends XIDCine.TrigerredEmitter

    //-----------------------------------------------------------
    // TrigerredExplosionEmitter
    // Created by iKi
    // Last Modification by iKi
    //-----------------------------------------------------------

Variables
`sound` | `ExplosionSound`

Function Summary
`void` | `Trigger(Actor Other, Pawn EventInstigator)`

Source Code

    00001	//-----------------------------------------------------------
    00002	// TrigerredExplosionEmitter
    00003	// Created by iKi
    00004	// Last Modification by iKi
    00005	//-----------------------------------------------------------
    00006	class TrigerredExplosionEmitter extends TrigerredEmitter;
    00007
    00008	//#exec OBJ LOAD FILE=XIIISound.uax PACKAGE=XIIISound
    00009
    00010	VAR(Sound) int SoundExplosionType;
    00011	VAR sound ExplosionSound;
    00012
    00013	function Trigger( actor Other, pawn EventInstigator )
    00014	{
    00015		Super.Trigger(Other,EventInstigator);
    00016		PlaySound(ExplosionSound,SoundExplosionType);
    00017	//	Log("###===>>> Sound'XIIIsound.Explo__GenExplo.GenExplo__hGenExplo'");
    00018	}
    00019
    00020	//		InitialParticlesPerSecond=60.000000
    00021
    00022
    00023
    00024	defaultproperties
    00025	{
    00026	     ExplosionSound=Sound'XIIIsound.Explo__GenExplo.GenExplo__hGenExplo'
    00027	     Begin Object Class=SpriteEmitter Name=TrigerredExplosionEmitterA
    00028	         UseColorScale=True
    00029	         FadeOut=True
    00030	         RespawnDeadParticles=False
    00031	         SpinParticles=True
    00032	         UseSizeScale=True
    00033	         UseRegularSizeScale=False
    00034	         AutomaticInitialSpawning=False
    00035	         Initialized=True
    00036	         ColorScale(0)=(Color=(B=255,G=255,R=255))
    00037	         ColorScale(1)=(relativetime=0.900000,Color=(G=160,R=180))
    00038	         ColorScale(2)=(relativetime=1.000000,Color=(R=180))
    00039	         FadeOutFactor=(W=5.000000,X=5.000000,Y=5.000000,Z=5.000000)
    00040	         MaxParticles=10
    00041	         UseRotationFrom=PTRS_Actor
    00042	         SpinsPerSecondRange=(X=(Min=-0.100000,Max=0.500000))
    00043	         SizeScale(1)=(relativetime=0.100000,RelativeSize=25.000000)
    00044	         SizeScale(2)=(relativetime=1.500000)
    00045	         Texture=Texture'XIIICine.effets.Explosion'
    00046	         SecondsBeforeInactive=0.000000
    00047	         LifetimeRange=(Min=7.000000,Max=7.000000)
    00048	         Name="TrigerredExplosionEmitterA"
    00049	     End Object
    00050	     Emitters(0)=SpriteEmitter'XIDCine.TrigerredExplosionEmitter.TrigerredExplosionEmitterA'
    00051	     Begin Object Class=SpriteEmitter Name=TrigerredExplosionEmitterB
    00052	         UseDirectionAs=PTDU_Normal
    00053	         UseColorScale=True
    00054	         FadeOut=True
    00055	         RespawnDeadParticles=False
    00056	         SpinParticles=True
    00057	         UseSizeScale=True
    00058	         UseRegularSizeScale=False
    00059	         AutomaticInitialSpawning=False
    00060	         Initialized=True
    00061	         ColorScale(0)=(Color=(B=255,G=255,R=255))
    00062	         ColorScale(1)=(relativetime=0.900000,Color=(G=160,R=180))
    00063	         ColorScale(2)=(relativetime=1.000000,Color=(R=180))
    00064	         FadeOutFactor=(W=1.500000,X=1.500000,Y=1.500000,Z=1.500000)
    00065	         MaxParticles=10
    00066	         UseRotationFrom=PTRS_Actor
    00067	         SpinsPerSecondRange=(X=(Min=-0.100000,Max=0.500000))
    00068	         SizeScale(1)=(relativetime=0.500000,RelativeSize=25.000000)
    00069	         SizeScale(2)=(relativetime=1.500000)
    00070	         Texture=Texture'XIIICine.effets.Explosion'
    00071	         SecondsBeforeInactive=0.000000
    00072	         LifetimeRange=(Min=3.000000,Max=3.000000)
    00073	         Name="TrigerredExplosionEmitterB"
    00074	     End Object
    00075	     Emitters(1)=SpriteEmitter'XIDCine.TrigerredExplosionEmitter.TrigerredExplosionEmitterB'
    00076	     Begin Object Class=SpriteEmitter Name=TrigerredExplosionEmitterC
    00077	         FadeOut=True
    00078	         RespawnDeadParticles=False
    00079	         UseSizeScale=True
    00080	         UseRegularSizeScale=False
    00081	         AutomaticInitialSpawning=False
    00082	         Initialized=True
    00083	         FadeOutStartTime=1.000000
    00084	         MaxParticles=1
    00085	         StartLocationOffset=(Z=60.000000)
    00086	         StartLocationRange=(Z=(Min=100.000000,Max=100.000000))
    00087	         UseRotationFrom=PTRS_Actor
    00088	         SizeScale(1)=(relativetime=0.300000,RelativeSize=1.200000)
    00089	         SizeScale(2)=(relativetime=1.000000)
    00090	         StartSizeRange=(X=(Min=400.000000,Max=400.000000),Y=(Min=400.000000,Max=400.000000),Z=(Min=400.000000,Max=400.000000))
    00091	         InitialParticlesPerSecond=5000.000000
    00092	         DrawStyle=PTDS_AlphaBlend
    00093	         Texture=Texture'XIIICine.effets.Baommm'
    00094	         TextureUSubdivisions=1
    00095	         TextureVSubdivisions=1
    00096	         LifetimeRange=(Min=1.500000,Max=1.500000)
    00097	         Name="TrigerredExplosionEmitterC"
    00098	     End Object
    00099	     Emitters(2)=SpriteEmitter'XIDCine.TrigerredExplosionEmitter.TrigerredExplosionEmitterC'
    00100	     bUnlit=True
    00101	     RemoteRole=ROLE_None
    00102	}

End Source Code