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

Onslaught.ONSAttackCraftExhaust


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
00086
00087
00088
00089
00090
00091
00092
00093
00094
00095
00096
00097
//=============================================================================
// ONSAttackCraftExhaust.
//=============================================================================
// Placement offsets are:
// X=147.695313,Y=-25.922363,Z=51.000000
// and
// X=147.612320,Y=27.779526,Z=51.000000
//=============================================================================

class ONSAttackCraftExhaust extends Emitter
	placeable;

#exec OBJ LOAD FILE="..\Textures\AW-2004Particles.utx"

simulated function SetThrust(float Amount)
{
	Emitters[0].StartSizeRange.X.Min = -0.1 - (Amount * 0.3);
	Emitters[0].StartSizeRange.X.Max = -0.2 - (Amount * 0.8);

	Emitters[1].StartVelocityRange.X.Min = 150 + (Amount * 250);
	Emitters[1].StartVelocityRange.X.Max = Emitters[1].StartVelocityRange.X.Min;

	Emitters[1].ParticlesPerSecond = 30 + (Amount * 70);
	Emitters[1].InitialParticlesPerSecond = 30 + (Amount * 70);
}

simulated function SetThrustEnabled(bool bDoThrust)
{
	if(bDoThrust)
	{
		Emitters[0].Disabled = false;
		Emitters[1].Disabled = false;
	}
	else
	{
		Emitters[0].Disabled = true;
		Emitters[1].Disabled = true;
	}
}

DefaultProperties
{
    Begin Object Class=MeshEmitter Name=MeshEmitter2
        StaticMesh=AW-2004Particles.Weapons.TurretFlash
        UseParticleColor=True
        UseColorScale=True
        SpinParticles=True
        UniformSize=True
        ColorScale(1)=(RelativeTime=0.330000,Color=(B=32,G=112,R=255))
        ColorScale(2)=(RelativeTime=0.660000,Color=(B=32,G=112,R=255))
        ColorScale(3)=(RelativeTime=1.000000)
        CoordinateSystem=PTCS_Relative
		DrawStyle=PTDS_Translucent
        MaxParticles=3
		UseMeshBlendMode=false
        StartSpinRange=(Z=(Max=1.000000))
        StartSizeRange=(X=(Min=-0.500000,Max=-0.750000))
        LifetimeRange=(Min=0.100000,Max=0.200000)
        Name="MeshEmitter2"
    End Object
    Emitters(0)=MeshEmitter'MeshEmitter2'

    Begin Object Class=SpriteEmitter Name=SpriteEmitter3
        UseColorScale=True
        UseSizeScale=True
        UseRegularSizeScale=False
        UniformSize=True
        UseRandomSubdivision=True
		CoordinateSystem=PTCS_Relative
		MaxParticles=30
        ColorScale(1)=(RelativeTime=0.125000,Color=(B=28,G=192,R=250))
        ColorScale(2)=(RelativeTime=0.400000,Color=(B=26,G=112,R=255))
        ColorScale(3)=(RelativeTime=1.000000)
        StartSpinRange=(X=(Max=1.000000))
        SizeScale(0)=(RelativeSize=1.000000)
        SizeScale(1)=(RelativeTime=1.000000,RelativeSize=0.250000)
        StartSizeRange=(X=(Min=10.000000,Max=10.000000))
        Texture=AW-2004Particles.Weapons.SmokePanels1
        TextureUSubdivisions=4
        TextureVSubdivisions=4
        LifetimeRange=(Min=0.200000,Max=0.200000)
		ParticlesPerSecond=100.0
		InitialParticlesPerSecond=100.0
        StartVelocityRange=(X=(Min=150.000000,Max=150.000000))
        Name="SpriteEmitter3"
    End Object
    Emitters(1)=SpriteEmitter'SpriteEmitter3'

    AmbientGlow=140
    bNoDelete=False
    AutoDestroy=True
    RemoteRole=ROLE_None
    bHardAttach=true
    CullDistance=12000.0
}


Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Di 5.9.2006 22:31:46.000 - Creation time: Do 14.8.2014 09:58:45.968 - Created with UnCodeX