## XIII
Class GlassImpactEmitter

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

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

Direct Known Subclasses:None

class GlassImpactEmitter
extends Engine.ImpactEmitter

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

Source Code

    00001	//-----------------------------------------------------------
    00002	//
    00003	//-----------------------------------------------------------
    00004	class GlassImpactEmitter extends ImpactEmitter;
    00005
    00006	//_____________________________________________________________________________
    00007	simulated event PostBeginPlay()
    00008	{
    00009	    Super.PostBeginPlay();
    00010	    SpriteEmitter(Emitters[0]).ProjectionNormal = vRand();
    00011	}
    00012
    00013
    00014
    00015	defaultproperties
    00016	{
    00017	     ClientImpactSound=Sound'XIIIsound.Impacts__ImpVerre.ImpVerre__hPlayImpVer'
    00018	     Begin Object Class=SpriteEmitter Name=GlassImpactEmitterA
    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	         Initialized=True
    00026	         FadeOutStartTime=0.150000
    00027	         FadeInEndTime=0.100000
    00028	         MaxParticles=1
    00029	         StartSpinRange=(X=(Max=50.000000),Y=(Max=50.000000),Z=(Max=50.000000))
    00030	         SizeScale(0)=(RelativeSize=1.000000)
    00031	         SizeScale(1)=(relativetime=0.150000,RelativeSize=2.000000)
    00032	         SizeScale(2)=(relativetime=0.230000,RelativeSize=0.500000)
    00033	         SizeScale(3)=(relativetime=0.500000)
    00034	         SizeScale(4)=(relativetime=1.000000)
    00035	         StartSizeRange=(X=(Min=14.400000,Max=18.000000),Y=(Min=14.400000,Max=18.000000),Z=(Min=14.400000,Max=18.000000))
    00036	         InitialParticlesPerSecond=100.000000
    00037	         DrawStyle=PTDS_AlphaBlend
    00038	         Texture=Texture'XIIICine.effets.impactpoing2A'
    00039	         SecondsBeforeInactive=10000.000000
    00040	         LifetimeRange=(Min=0.300000,Max=0.300000)
    00041	         Name="GlassImpactEmitterA"
    00042	     End Object
    00043	     Emitters(0)=SpriteEmitter'XIII.GlassImpactEmitter.GlassImpactEmitterA'
    00044	     Begin Object Class=SpriteEmitter Name=GlassImpactEmitterB
    00045	         UseColorScale=True
    00046	         RespawnDeadParticles=False
    00047	         SpinParticles=True
    00048	         UseSizeScale=True
    00049	         UseRegularSizeScale=False
    00050	         AutomaticInitialSpawning=False
    00051	         SymmetryU=True
    00052	         SymmetryV=True
    00053	         RandomSymmetryU=True
    00054	         RandomSymmetryV=True
    00055	         Initialized=True
    00056	         ColorScale(0)=(Color=(B=64,G=64,R=64))
    00057	         ColorScale(1)=(relativetime=1.000000)
    00058	         FadeOutStartTime=2.000000
    00059	         FadeInEndTime=2.000000
    00060	         MaxParticles=2
    00061	         SpinsPerSecondRange=(X=(Min=-0.300000,Max=0.300000),Y=(Min=-0.300000,Max=0.300000))
    00062	         SizeScale(1)=(relativetime=0.100000,RelativeSize=1.000000)
    00063	         SizeScale(2)=(relativetime=0.500000,RelativeSize=2.000000)
    00064	         SizeScale(3)=(relativetime=1.000000,RelativeSize=4.000000)
    00065	         StartSizeRange=(X=(Min=5.000000,Max=10.000000),Y=(Min=5.000000,Max=10.000000),Z=(Min=0.000000,Max=0.000000))
    00066	         InitialParticlesPerSecond=8.000000
    00067	         Texture=Texture'XIIICine.effets.rondenlo'
    00068	         SecondsBeforeInactive=10000.000000
    00069	         LifetimeRange=(Min=0.200000,Max=0.500000)
    00070	         Name="GlassImpactEmitterB"
    00071	     End Object
    00072	     Emitters(1)=SpriteEmitter'XIII.GlassImpactEmitter.GlassImpactEmitterB'
    00073	     Begin Object Class=SpriteEmitter Name=GlassImpactEmitterC
    00074	         Acceleration=(X=-10.000000,Y=-20.000000,Z=-400.000000)
    00075	         RespawnDeadParticles=False
    00076	         SpinParticles=True
    00077	         UseRegularSizeScale=False
    00078	         AutomaticInitialSpawning=False
    00079	         SymmetryU=True
    00080	         SymmetryV=True
    00081	         RandomSymmetryU=True
    00082	         RandomSymmetryV=True
    00083	         Initialized=True
    00084	         FadeOutStartTime=2.500000
    00085	         MaxParticles=5
    00086	         SpinsPerSecondRange=(X=(Min=-1.000000,Max=1.000000),Y=(Min=-2.000000,Max=2.000000))
    00087	         StartSizeRange=(X=(Min=1.000000,Max=2.000000),Y=(Min=1.000000,Max=2.000000))
    00088	         CenterU=0.200000
    00089	         CenterV=0.200000
    00090	         InitialParticlesPerSecond=100.000000
    00091	         Texture=Texture'XIIICine.effets.glass13'
    00092	         TextureUSubdivisions=2
    00093	         TextureVSubdivisions=2
    00094	         SecondsBeforeInactive=10000.000000
    00095	         LifetimeRange=(Min=2.000000,Max=2.500000)
    00096	         StartVelocityRange=(X=(Min=-80.000000,Max=80.000000),Y=(Min=-100.000000,Max=50.000000),Z=(Min=100.000000,Max=200.000000))
    00097	         VelocityLossRange=(X=(Max=1.000000),Y=(Max=1.000000),Z=(Max=2.000000))
    00098	         Name="GlassImpactEmitterC"
    00099	     End Object
    00100	     Emitters(2)=SpriteEmitter'XIII.GlassImpactEmitter.GlassImpactEmitterC'
    00101	     bUseCylinderCollision=True
    00102	}

End Source Code