Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

Onslaught.ONSRVChainGunFireEffect


00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080
00081
00082
00083
00084
00085
//-----------------------------------------------------------
//
//-----------------------------------------------------------
class ONSRVChainGunFireEffect extends ONSWeaponAmbientEmitter;

simulated function SetEmitterStatus(bool bEnabled)
{
    Emitters[0].UseCollision = ( !Level.bDropDetail && (Level.DetailMode != DM_Low) && (VSize(Level.GetLocalPlayerController().ViewTarget.Location - Location) < 1600));
    if(bEnabled)
    {
        Emitters[0].ParticlesPerSecond = 20.0;
        Emitters[0].InitialParticlesPerSecond = 20.0;
        Emitters[0].AllParticlesDead = false;

        Emitters[1].ParticlesPerSecond = 30.0;
        Emitters[1].InitialParticlesPerSecond = 30.0;
        Emitters[1].AllParticlesDead = false;
    }
    else
    {
        Emitters[0].ParticlesPerSecond = 0.0;
        Emitters[0].InitialParticlesPerSecond = 0.0;

        Emitters[1].ParticlesPerSecond = 0.0;
        Emitters[1].InitialParticlesPerSecond = 0.0;
    }
}

defaultproperties
{
     Begin Object Class=MeshEmitter Name=MeshEmitter0
         StaticMesh=StaticMesh'VMmeshEmitted.EJECTA.EjectedBRASSsm'
         UseCollision=Wahr
         RespawnDeadParticles=Falsch
         SpawnOnlyInDirectionOfNormal=Wahr
         SpinParticles=Wahr
         AutomaticInitialSpawning=Falsch
         Acceleration=(Z=-500.000000)
         DampingFactorRange=(X=(Min=0.500000,Max=0.500000),Y=(Min=0.500000,Max=0.500000),Z=(Min=0.500000,Max=0.500000))
         MaxParticles=30
         StartLocationOffset=(X=-80.000000,Y=-6.000000,Z=10.000000)
         MeshNormal=(Z=0.000000)
         UseRotationFrom=PTRS_Actor
         SpinsPerSecondRange=(X=(Min=0.100000,Max=1.000000),Y=(Min=0.100000,Max=1.000000),Z=(Min=0.100000,Max=1.000000))
         StartSizeRange=(X=(Min=0.050000,Max=0.050000),Y=(Min=0.050000,Max=0.050000),Z=(Min=0.050000,Max=0.050000))
         LifetimeRange=(Min=1.500000,Max=1.500000)
         StartVelocityRange=(X=(Min=-150.000000,Max=150.000000),Y=(Min=-250.000000,Max=-250.000000),Z=(Min=50.000000,Max=150.000000))
         StartVelocityRadialRange=(Min=-250.000000,Max=250.000000)
     End Object
     Emitters(0)=MeshEmitter'Onslaught.ONSRVChainGunFireEffect.MeshEmitter0'

     Begin Object Class=SpriteEmitter Name=SpriteEmitter0
         RespawnDeadParticles=Falsch
         SpinParticles=Wahr
         UseSizeScale=Wahr
         UseRegularSizeScale=Falsch
         UniformSize=Wahr
         AutomaticInitialSpawning=Falsch
         BlendBetweenSubdivisions=Wahr
         UseRandomSubdivision=Wahr
         CoordinateSystem=PTCS_Relative
         MaxParticles=6
         StartLocationOffset=(Z=10.000000)
         StartLocationShape=PTLS_Sphere
         UseRotationFrom=PTRS_Normal
         SpinsPerSecondRange=(X=(Min=7.000000,Max=11.000000))
         SizeScale(0)=(RelativeTime=0.250000,RelativeSize=0.750000)
         SizeScale(1)=(RelativeTime=0.500000,RelativeSize=0.100000)
         StartSizeRange=(X=(Min=20.000000,Max=20.000000))
         Texture=Texture'VMParticleTextures.TankFiringP.CloudParticleOrangeBMPtex'
         TextureUSubdivisions=4
         TextureVSubdivisions=4
         LifetimeRange=(Min=0.050000,Max=0.050000)
         WarmupTicksPerSecond=50.000000
         RelativeWarmupTime=2.000000
     End Object
     Emitters(1)=SpriteEmitter'Onslaught.ONSRVChainGunFireEffect.SpriteEmitter0'

     CullDistance=4000.000000
     bNoDelete=Falsch
     DrawScale3D=(X=0.250000,Y=0.250000,Z=0.250000)
     bUnlit=Falsch
     bHardAttach=Wahr
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Fr 30.3.2007 08:43:52.000 - Creation time: Mo 16.4.2007 11:20:51.515 - Created with UnCodeX