## XIII
Class BloodShotEmitter

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

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

Direct Known Subclasses:None

class BloodShotEmitter
extends Engine.ImpactEmitter

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

Source Code

    00001	//-----------------------------------------------------------
    00002	//
    00003	//-----------------------------------------------------------
    00004	class BloodShotEmitter extends ImpactEmitter;
    00005
    00006	//_____________________________________________________________________________
    00007	simulated event PostBeginPlay()
    00008	{
    00009	    if ( Level.bLonePlayer && Level.Game.bAlternateMode )
    00010	    {
    00011	      Emitters[0].Texture = texture'XIIICine.effets.jikleblood_2';
    00012	      Emitters[0].ColorScale[1].Color.R=0;
    00013	      Emitters[0].ColorScale[1].Color.G=255;
    00014	      Emitters[1].Texture = texture'XIIICine.effets.jikleblood_2';
    00015	      Emitters[2].Texture = texture'XIIICine.effets.jikleblood_2';
    00016	      Emitters[2].ColorScale[1].Color.B=255;
    00017	      Emitters[2].ColorScale[1].Color.G=255;
    00018	    }
    00019	}
    00020
    00021
    00022	defaultproperties
    00023	{
    00024	     Begin Object Class=SpriteEmitter Name=BloodShotEmitterA
    00025	         Acceleration=(Z=-150.000000)
    00026	         UseColorScale=True
    00027	         RespawnDeadParticles=False
    00028	         SpinParticles=True
    00029	         UseSizeScale=True
    00030	         UseRegularSizeScale=False
    00031	         AutomaticInitialSpawning=False
    00032	         SymmetryU=True
    00033	         SymmetryV=True
    00034	         RandomSymmetryU=True
    00035	         RandomSymmetryV=True
    00036	         Initialized=True
    00037	         ColorScale(1)=(relativetime=0.500000,Color=(R=255))
    00038	         ColorScale(2)=(relativetime=1.000000,Color=(B=255,G=255,R=255))
    00039	         FadeOutStartTime=0.250000
    00040	         MaxParticles=1
    00041	         StartLocationOffset=(X=10.000000)
    00042	         SpinCCWorCW=(X=1.000000,Y=0.000000,Z=0.000000)
    00043	         SpinsPerSecondRange=(X=(Min=0.200000,Max=0.500000),Y=(Min=0.200000,Max=0.500000))
    00044	         SizeScale(0)=(RelativeSize=1.000000)
    00045	         SizeScale(1)=(relativetime=0.080000,RelativeSize=6.000000)
    00046	         SizeScale(2)=(relativetime=0.150000,RelativeSize=3.000000)
    00047	         SizeScale(3)=(relativetime=0.220000,RelativeSize=6.000000)
    00048	         SizeScale(4)=(relativetime=1.000000,RelativeSize=6.000000)
    00049	         StartSizeRange=(X=(Min=1.000000,Max=1.000000),Y=(Min=1.000000,Max=1.000000),Z=(Min=5.000000,Max=5.000000))
    00050	         InitialParticlesPerSecond=20.000000
    00051	         DrawStyle=PTDS_AlphaBlend
    00052	         Texture=Texture'XIIICine.effets.jikleblood'
    00053	         SecondsBeforeInactive=10000.000000
    00054	         LifetimeRange=(Min=0.200000,Max=0.200000)
    00055	         StartVelocityRange=(Z=(Min=30.000000,Max=30.000000))
    00056	         VelocityLossRange=(X=(Min=-1.000000,Max=1.000000),Y=(Min=1.000000,Max=1.000000),Z=(Min=1.000000,Max=3.000000))
    00057	         Name="BloodShotEmitterA"
    00058	     End Object
    00059	     Emitters(0)=SpriteEmitter'XIII.BloodShotEmitter.BloodShotEmitterA'
    00060	     Begin Object Class=SpriteEmitter Name=BloodShotEmitterB
    00061	         Acceleration=(Z=-50.000000)
    00062	         FadeOut=True
    00063	         RespawnDeadParticles=False
    00064	         SpinParticles=True
    00065	         UseSizeScale=True
    00066	         UseRegularSizeScale=False
    00067	         AutomaticInitialSpawning=False
    00068	         SymmetryU=True
    00069	         SymmetryV=True
    00070	         RandomSymmetryU=True
    00071	         RandomSymmetryV=True
    00072	         Initialized=True
    00073	         FadeOutStartTime=0.100000
    00074	         MaxParticles=1
    00075	         StartLocationOffset=(X=5.000000)
    00076	         SpinCCWorCW=(X=0.000000,Y=1.000000,Z=0.000000)
    00077	         SpinsPerSecondRange=(X=(Min=0.200000,Max=0.500000),Y=(Min=0.200000,Max=0.500000))
    00078	         SizeScale(0)=(RelativeSize=1.000000)
    00079	         SizeScale(1)=(relativetime=0.800000,RelativeSize=6.000000)
    00080	         SizeScale(2)=(relativetime=0.150000,RelativeSize=3.000000)
    00081	         SizeScale(3)=(relativetime=0.220000,RelativeSize=6.000000)
    00082	         SizeScale(4)=(relativetime=1.000000,RelativeSize=6.000000)
    00083	         StartSizeRange=(X=(Min=2.000000,Max=2.000000),Y=(Min=2.000000,Max=2.000000),Z=(Min=3.000000,Max=3.000000))
    00084	         InitialParticlesPerSecond=20.000000
    00085	         DrawStyle=PTDS_AlphaBlend
    00086	         Texture=Texture'XIIICine.effets.jikleblood'
    00087	         SecondsBeforeInactive=10000.000000
    00088	         LifetimeRange=(Min=0.300000,Max=0.300000)
    00089	         StartVelocityRange=(Z=(Min=25.000000,Max=25.000000))
    00090	         Name="BloodShotEmitterB"
    00091	     End Object
    00092	     Emitters(1)=SpriteEmitter'XIII.BloodShotEmitter.BloodShotEmitterB'
    00093	     Begin Object Class=SpriteEmitter Name=BloodShotEmitterC
    00094	         Acceleration=(Z=-150.000000)
    00095	         UseColorScale=True
    00096	         FadeIn=True
    00097	         RespawnDeadParticles=False
    00098	         SpinParticles=True
    00099	         UseSizeScale=True
    00100	         UseRegularSizeScale=False
    00101	         AutomaticInitialSpawning=False
    00102	         SymmetryU=True
    00103	         SymmetryV=True
    00104	         RandomSymmetryU=True
    00105	         RandomSymmetryV=True
    00106	         Initialized=True
    00107	         ColorScale(0)=(Color=(B=255,G=255,R=255))
    00108	         ColorScale(1)=(relativetime=0.200000,Color=(R=255))
    00109	         ColorScale(2)=(relativetime=1.000000,Color=(B=192,G=192,R=192))
    00110	         FadeOutStartTime=0.800000
    00111	         FadeInFactor=(W=0.000000,Y=0.000000,Z=10.000000)
    00112	         FadeInEndTime=0.100000
    00113	         MaxParticles=10
    00114	         SpinsPerSecondRange=(X=(Min=-1.000000,Max=1.000000),Y=(Min=-1.000000,Max=1.000000),Z=(Min=-1.000000,Max=1.000000))
    00115	         SizeScale(0)=(RelativeSize=3.000000)
    00116	         SizeScale(1)=(relativetime=0.100000,RelativeSize=1.000000)
    00117	         SizeScale(2)=(relativetime=1.000000,RelativeSize=0.500000)
    00118	         StartSizeRange=(X=(Min=1.000000,Max=2.000000),Y=(Min=1.000000,Max=2.000000),Z=(Min=1.000000,Max=2.000000))
    00119	         InitialParticlesPerSecond=100.000000
    00120	         DrawStyle=PTDS_AlphaBlend
    00121	         Texture=Texture'XIIICine.effets.goutteblood'
    00122	         SecondsBeforeInactive=10000.000000
    00123	         LifetimeRange=(Min=1.000000,Max=1.000000)
    00124	         StartVelocityRange=(X=(Max=100.000000),Y=(Min=-50.000000,Max=50.000000),Z=(Min=50.000000,Max=120.000000))
    00125	         VelocityLossRange=(X=(Min=5.000000,Max=5.000000),Y=(Min=5.000000,Max=5.000000),Z=(Min=1.000000,Max=1.000000))
    00126	         Name="BloodShotEmitterC"
    00127	     End Object
    00128	     Emitters(2)=SpriteEmitter'XIII.BloodShotEmitter.BloodShotEmitterC'
    00129	     bUseCylinderCollision=True
    00130	}

End Source Code