## XIII
Class BulletMetalEmitter

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

    Core.Object
       |
       +--Engine.Actor
          |
          +--Engine.Emitter
             |
             +--Engine.ImpactEmitter
                |
                +--XIII.BulletMetalEmitter

Direct Known Subclasses:None

class BulletMetalEmitter
extends Engine.ImpactEmitter

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

Source Code

    00001	//-----------------------------------------------------------
    00002	//
    00003	//-----------------------------------------------------------
    00004	class BulletMetalEmitter extends ImpactEmitter;
    00005
    00006	//_____________________________________________________________________________
    00007	simulated event PostBeginPlay()
    00008	{
    00009	//    Log(self@"PostBeginPlay");
    00010	    Super.PostBeginPlay();
    00011	    SpriteEmitter(Emitters[0]).ProjectionNormal = vRand();
    00012	}
    00013
    00014
    00015	defaultproperties
    00016	{
    00017	     ClientImpactSound=Sound'XIIIsound.Impacts__ImpMetal.ImpMetal__hPlayImpMet'
    00018	     Begin Object Class=SpriteEmitter Name=BulletMetalEmitterA
    00019	         UseDirectionAs=PTDU_Normal
    00020	         ProjectionNormal=(X=1.000000,Y=1.000000,Z=0.000000)
    00021	         RespawnDeadParticles=False
    00022	         UseSizeScale=True
    00023	         UseRegularSizeScale=False
    00024	         AutomaticInitialSpawning=False
    00025	         SymmetryU=True
    00026	         SymmetryV=True
    00027	         RandomSymmetryU=True
    00028	         RandomSymmetryV=True
    00029	         Initialized=True
    00030	         FadeOutStartTime=0.150000
    00031	         FadeInEndTime=0.100000
    00032	         MaxParticles=1
    00033	         StartSpinRange=(X=(Max=50.000000),Y=(Max=50.000000),Z=(Max=50.000000))
    00034	         SizeScale(0)=(RelativeSize=1.000000)
    00035	         SizeScale(1)=(relativetime=0.150000,RelativeSize=2.000000)
    00036	         SizeScale(2)=(relativetime=0.230000,RelativeSize=0.500000)
    00037	         SizeScale(3)=(relativetime=0.500000)
    00038	         SizeScale(4)=(relativetime=1.000000)
    00039	         StartSizeRange=(X=(Min=14.400000,Max=18.000000),Y=(Min=14.400000,Max=18.000000),Z=(Min=14.400000,Max=18.000000))
    00040	         InitialParticlesPerSecond=100.000000
    00041	         DrawStyle=PTDS_AlphaBlend
    00042	         Texture=Texture'XIIICine.effets.impactpoing2A'
    00043	         SecondsBeforeInactive=10000.000000
    00044	         LifetimeRange=(Min=0.300000,Max=0.300000)
    00045	         Name="BulletMetalEmitterA"
    00046	     End Object
    00047	     Emitters(0)=SpriteEmitter'XIII.BulletMetalEmitter.BulletMetalEmitterA'
    00048	     Begin Object Class=SpriteEmitter Name=BulletMetalEmitterB
    00049	         UseDirectionAs=PTDU_MoveAndViewUp
    00050	         Acceleration=(Z=-80.000000)
    00051	         FadeOut=True
    00052	         RespawnDeadParticles=False
    00053	         UseSizeScale=True
    00054	         UniformSize=False
    00055	         AutomaticInitialSpawning=False
    00056	         Initialized=True
    00057	         FadeOutStartTime=0.500000
    00058	         MaxParticles=10
    00059	         UseRotationFrom=PTRS_Actor
    00060	         StartSizeRange=(X=(Min=0.500000,Max=1.000000),Y=(Min=5.000000,Max=20.000000),Z=(Min=0.000000,Max=0.000000))
    00061	         InitialParticlesPerSecond=100.000000
    00062	         DrawStyle=PTDS_Brighten
    00063	         Texture=Texture'XIIICine.hjaunestatic'
    00064	         SecondsBeforeInactive=10000.000000
    00065	         LifetimeRange=(Min=0.050000,Max=0.300000)
    00066	         StartVelocityRange=(X=(Min=100.000000,Max=200.000000),Y=(Min=-50.000000,Max=50.000000),Z=(Min=-50.000000,Max=100.000000))
    00067	         VelocityLossRange=(X=(Min=1.000000,Max=5.000000),Y=(Min=1.000000,Max=1.000000),Z=(Max=1.000000))
    00068	         RelativeWarmupTime=1.000000
    00069	         Name="BulletMetalEmitterB"
    00070	     End Object
    00071	     Emitters(1)=SpriteEmitter'XIII.BulletMetalEmitter.BulletMetalEmitterB'
    00072	     Begin Object Class=SpriteEmitter Name=BulletMetalEmitterC
    00073	         Acceleration=(Z=5.000000)
    00074	         UseColorScale=True
    00075	         FadeOut=True
    00076	         FadeIn=True
    00077	         RespawnDeadParticles=False
    00078	         SpinParticles=True
    00079	         UseSizeScale=True
    00080	         UseRegularSizeScale=False
    00081	         AutomaticInitialSpawning=False
    00082	         SymmetryU=True
    00083	         SymmetryV=True
    00084	         RandomSymmetryU=True
    00085	         RandomSymmetryV=True
    00086	         Initialized=True
    00087	         ColorScale(0)=(Color=(B=176,G=176,R=176))
    00088	         ColorScale(1)=(relativetime=0.500000,Color=(B=115,G=106,R=55))
    00089	         ColorScale(2)=(relativetime=1.000000,Color=(B=158,G=158,R=158))
    00090	         FadeOutStartTime=1.500000
    00091	         FadeInEndTime=0.100000
    00092	         MaxParticles=2
    00093	         StartLocationRange=(Z=(Min=-5.000000,Max=5.000000))
    00094	         SpinsPerSecondRange=(X=(Min=-0.200000,Max=0.200000),Y=(Min=-0.100000,Max=0.100000))
    00095	         SizeScale(0)=(RelativeSize=0.100000)
    00096	         SizeScale(1)=(relativetime=0.100000,RelativeSize=1.000000)
    00097	         SizeScale(2)=(relativetime=1.000000,RelativeSize=1.000000)
    00098	         StartSizeRange=(X=(Min=5.000000,Max=10.000000),Y=(Min=5.000000,Max=10.000000),Z=(Min=10.000000,Max=10.000000))
    00099	         CenterU=0.200000
    00100	         CenterV=0.200000
    00101	         InitialParticlesPerSecond=10.000000
    00102	         Texture=Texture'XIIICine.effets.mist3'
    00103	         SecondsBeforeInactive=10000.000000
    00104	         LifetimeRange=(Min=2.000000,Max=2.000000)
    00105	         StartVelocityRange=(Z=(Max=-5.000000))
    00106	         Name="BulletMetalEmitterC"
    00107	     End Object
    00108	     Emitters(2)=SpriteEmitter'XIII.BulletMetalEmitter.BulletMetalEmitterC'
    00109	     bUseCylinderCollision=True
    00110	}

End Source Code