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

StormCasterV2.StormCasterBlastEmitter


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
00098
00099
00100
00101
00102
00103
00104
00105
00106
00107
00108
00109
00110
00111
00112
00113
00114
00115
00116
00117
00118
00119
00120
00121
00122
00123
00124
00125
00126
00127
00128
00129
00130
00131
00132
00133
00134
00135
00136
00137
00138
00139
00140
00141
00142
00143
00144
00145
00146
00147
00148
00149
00150
/******************************************************************************
Visuals for the ion blast part of the effects.

Copyright © 2013, Wormbo
Website: http://www.koehler-homepage.de/Wormbo/
Feel free to reuse this code. Send me a note if you found it helpful or want
to report bugs/provide improvements.
Please ask for permission first, if you intend to make money off reused code.
******************************************************************************/

class StormCasterBlastEmitter extends Emitter;


//=============================================================================
// Imports
//=============================================================================

#exec obj load file="..\Textures\EpicParticles.utx"
#exec obj load file="..\Textures\EmitterTextures.utx"

#exec texture import file=Textures\BeamGradient.tga
#exec audio import file=Sounds\StormCasterBlast.wav


/**
Play the ion blast sound.
*/
event PreBeginPlay()
{
	Super.PreBeginPlay();
	PlaySound(Sound'StormCasterBlast');
}


//=============================================================================
// Default properties
//=============================================================================

defaultproperties
{
	Begin Object Class=BeamEmitter Name=IonBeam
		BeamEndPoints(0)=(Offset=(Z=(Min=100000.0,Max=100000.0)))
		DetermineEndPointBy=PTEP_Offset
		RotatingSheets=1
		UseColorScale=True
		RespawnDeadParticles=False
		UseSizeScale=True
		UseRegularSizeScale=False
		AutomaticInitialSpawning=False
		ColorScale(1)=(RelativeTime=0.2,Color=(B=64,G=32,R=32))
		ColorScale(2)=(RelativeTime=0.25,Color=(B=255,G=170,R=170))
		ColorScale(3)=(RelativeTime=0.4,Color=(B=64,G=32,R=32))
		ColorScale(4)=(RelativeTime=1.0)
		MaxParticles=1
		StartLocationOffset=(Z=-10000.0)
		SizeScale(1)=(RelativeTime=0.15,RelativeSize=1.0)
		SizeScale(2)=(RelativeTime=0.25,RelativeSize=16.0)
		SizeScale(3)=(RelativeTime=1.0,RelativeSize=20.0)
		InitialParticlesPerSecond=1000.0
		DrawStyle=PTDS_Brighten
		Texture=Texture'BeamGradient'
		SecondsBeforeInactive=0.000000
	End Object
	Emitters(0)=BeamEmitter'IonBeam'

	Begin Object Class=SpriteEmitter Name=IonBeamBlast
		RespawnDeadParticles=False
		UseSizeScale=True
		UseRegularSizeScale=False
		UniformSize=True
		AutomaticInitialSpawning=False
		ColorMultiplierRange=(X=(Min=0.7,Max=0.7),Y=(Min=0.7,Max=0.7),Z=(Min=2.0,Max=2.0))
		MaxParticles=1
		StartLocationOffset=(Z=35000.0)
		SizeScale(1)=(RelativeTime=0.725,RelativeSize=1.5)
		SizeScale(2)=(RelativeTime=0.75,RelativeSize=5.0)
		SizeScale(3)=(RelativeTime=0.775,RelativeSize=1.5)
		SizeScale(4)=(RelativeTime=1.0,RelativeSize=1.5)
		StartSizeRange=(X=(Min=1700.0,Max=1700.0),Y=(Min=1700.0,Max=1700.0),Z=(Min=1700.0,Max=1700.0))
		InitialParticlesPerSecond=1000.0
		DrawStyle=PTDS_Brighten
		Texture=Texture'EpicParticles.Flares.FlashFlare1'
		SecondsBeforeInactive=0.000000
		LifetimeRange=(Min=1.25,Max=1.25)
		FadeOut=True
		FadeOutStartTime=1.0
		StartVelocityRange=(Z=(Min=-35000.0,Max=-35000.0))
	End Object
	Emitters(1)=SpriteEmitter'IonBeamBlast'

	Begin Object Class=SpriteEmitter Name=IonBeamParticles
		UseColorScale=True
		RespawnDeadParticles=False
		UniformSize=True
		AutomaticInitialSpawning=False
		LowDetailFactor=0.3
		ColorScale(1)=(RelativeTime=0.2,Color=(B=64,G=64,R=64))
		ColorScale(2)=(RelativeTime=0.4,Color=(B=255,G=255,R=255))
		ColorScale(3)=(RelativeTime=0.5,Color=(B=64,G=64,R=64))
		ColorScale(4)=(RelativeTime=1.0)
		MaxParticles=1000
		DetailMode=DM_High
		StartLocationRange=(Z=(Min=5000.0,Max=50000.0))
		StartLocationShape=PTLS_All
		SphereRadiusRange=(Max=2000.0)
		InitialParticlesPerSecond=2000.0
		DrawStyle=PTDS_Brighten
		Texture=Texture'EmitterTextures.Flares.EFlareB2'
		SecondsBeforeInactive=0.000000
		LifetimeRange=(Min=2.0,Max=3.0)
		InitialDelayRange=(Min=0.25,Max=0.25)
		StartVelocityRange=(Z=(Min=-15000.0,Max=-10000.0))
		VelocityLossRange=(Z=(Min=2.0,Max=2.2))
	End Object
	Emitters(2)=SpriteEmitter'IonBeamParticles'

	Begin Object Class=BeamEmitter Name=BeamLightnings
		BeamEndPoints(0)=(offset=(X=(Min=-500.000000,Max=500.000000),Y=(Min=-500.000000,Max=500.000000),Z=(Min=-1000.000000,Max=1000.000000)))
		DetermineEndPointBy=PTEP_Offset
		BeamTextureUScale=3.000000
		LowFrequencyNoiseRange=(X=(Min=-300.000000,Max=300.000000),Y=(Min=-300.000000,Max=300.000000),Z=(Min=-300.000000,Max=300.000000))
		HighFrequencyNoiseRange=(X=(Min=-30.000000,Max=30.000000),Y=(Min=-30.000000,Max=30.000000),Z=(Min=-30.000000,Max=30.000000))
		NoiseDeterminesEndPoint=True
		FadeOut=True
		RespawnDeadParticles=False
		AutomaticInitialSpawning=False
        LowDetailFactor=0.3
		MaxParticles=1000
        StartLocationRange=(Z=(Min=0.000000,Max=50000.000000))
        StartLocationShape=PTLS_All
        SphereRadiusRange=(Max=2000.000000)
		StartSizeRange=(X=(Min=5.000000,Max=20.000000))
		InitialParticlesPerSecond=500.000000
		DrawStyle=PTDS_Brighten
		Opacity=0.5
		Texture=Texture'EpicParticles.Beams.HotBolt03aw'
		SecondsBeforeInactive=0.000000
		LifetimeRange=(Min=0.100000,Max=0.200000)
		InitialDelayRange=(Min=1.0,Max=1.0)
	End Object
	Emitters(3)=BeamEmitter'BeamLightnings'

	bNoDelete=False
	bAlwaysRelevant=True
	LifeSpan=5.0
	RemoteRole=ROLE_SimulatedProxy
	TransientSoundRadius=5000.0
	TransientSoundVolume=1.0
	SoundOcclusion = OCCLUSION_None
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Sa 5.7.2014 18:12:38.000 - Creation time: Do 14.8.2014 09:58:50.377 - Created with UnCodeX