## XIIIMP
Class SpawnEmitter

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

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

Direct Known Subclasses:None

class SpawnEmitter
extends Engine.Emitter

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

Variables
`sound` | `hSpawnSound` Play on creation

Source Code

    00001	//-----------------------------------------------------------
    00002	//
    00003	//-----------------------------------------------------------
    00004	class SpawnEmitter extends Emitter;
    00005
    00006	var sound hSpawnSound;    // Play on creation
    00007
    00008	//_____________________________________________________________________________
    00009	simulated event PostBeginPlay()
    00010	{
    00011	//    Log("SPAWN"@self);
    00012	    Super.PostBeginPlay();
    00013	    PlaySound(hSpawnSound);
    00014	}
    00015
    00016
    00017
    00018	defaultproperties
    00019	{
    00020	     hSpawnSound=Sound'XIIIsound.Multi__SFXMulti.SFXMulti__hRespawn'
    00021	     Begin Object Class=SpriteEmitter Name=SpawnEmitterA
    00022	         UseDirectionAs=PTDU_Normal
    00023	         FadeOut=True
    00024	         RespawnDeadParticles=False
    00025	         SpinParticles=True
    00026	         UseSizeScale=True
    00027	         UseRegularSizeScale=False
    00028	         UniformSize=False
    00029	         AutomaticInitialSpawning=False
    00030	         SymmetryU=True
    00031	         SymmetryV=True
    00032	         RandomSymmetryU=True
    00033	         RandomSymmetryV=True
    00034	         Initialized=True
    00035	         FadeOutStartTime=0.100000
    00036	         MaxParticles=5
    00037	         StartLocationRange=(Z=(Max=20.000000))
    00038	         SpinsPerSecondRange=(X=(Min=0.500000,Max=0.500000))
    00039	         SizeScale(0)=(RelativeSize=0.200000)
    00040	         SizeScale(1)=(relativetime=1.000000,RelativeSize=1.500000)
    00041	         InitialParticlesPerSecond=10.000000
    00042	         DrawStyle=PTDS_Brighten
    00043	         Texture=Texture'XIIICine.effets.explogrenadeC'
    00044	         SecondsBeforeInactive=10000.000000
    00045	         LifetimeRange=(Min=0.500000,Max=0.500000)
    00046	         InitialDelayRange=(Min=0.200000,Max=0.200000)
    00047	         StartVelocityRange=(Z=(Min=50.000000,Max=50.000000))
    00048	         Name="SpawnEmitterA"
    00049	     End Object
    00050	     Emitters(0)=SpriteEmitter'XIIIMP.SpawnEmitter.SpawnEmitterA'
    00051	     Begin Object Class=SpriteEmitter Name=SpawnEmitterB
    00052	         UseDirectionAs=PTDU_Normal
    00053	         FadeOut=True
    00054	         RespawnDeadParticles=False
    00055	         UseSizeScale=True
    00056	         UseRegularSizeScale=False
    00057	         UniformSize=False
    00058	         Initialized=True
    00059	         MaxParticles=1
    00060	         SizeScale(1)=(relativetime=1.000000,RelativeSize=1.200000)
    00061	         Texture=Texture'XIIICine.effets.eclairblanc'
    00062	         SecondsBeforeInactive=10000.000000
    00063	         LifetimeRange=(Min=0.400000,Max=0.400000)
    00064	         Name="SpawnEmitterB"
    00065	     End Object
    00066	     Emitters(1)=SpriteEmitter'XIIIMP.SpawnEmitter.SpawnEmitterB'
    00067	     Begin Object Class=SpriteEmitter Name=SpawnEmitterC
    00068	         FadeOut=True
    00069	         RespawnDeadParticles=False
    00070	         UseSizeScale=True
    00071	         UseRegularSizeScale=False
    00072	         UniformSize=False
    00073	         RandomSymmetryU=True
    00074	         RandomSymmetryV=True
    00075	         Initialized=True
    00076	         MaxParticles=3
    00077	         SizeScale(1)=(relativetime=1.000000,RelativeSize=1.000000)
    00078	         Texture=Texture'XIIICine.effets.explogrenadeB'
    00079	         SecondsBeforeInactive=10000.000000
    00080	         LifetimeRange=(Min=0.500000,Max=0.500000)
    00081	         Name="SpawnEmitterC"
    00082	     End Object
    00083	     Emitters(2)=SpriteEmitter'XIIIMP.SpawnEmitter.SpawnEmitterC'
    00084	     Begin Object Class=SpriteEmitter Name=SpawnEmitterD
    00085	         FadeOut=True
    00086	         RespawnDeadParticles=False
    00087	         UseSizeScale=True
    00088	         UseRegularSizeScale=False
    00089	         UniformSize=False
    00090	         Initialized=True
    00091	         FadeOutStartTime=0.200000
    00092	         MaxParticles=1
    00093	         StartLocationOffset=(Z=60.000000)
    00094	         SizeScale(1)=(relativetime=1.000000,RelativeSize=1.000000)
    00095	         Texture=Texture'XIIICine.effets.crac'
    00096	         SecondsBeforeInactive=10000.000000
    00097	         LifetimeRange=(Min=0.400000,Max=0.400000)
    00098	         Name="SpawnEmitterD"
    00099	     End Object
    00100	     Emitters(3)=SpriteEmitter'XIIIMP.SpawnEmitter.SpawnEmitterD'
    00101	}

End Source Code