Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |
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 |
// ============================================================================ // JBFireSpirit // Copyright (c) 2006 by Wormbo <wormbo@onlinehome.de> // $Id: JBFireSpirit.uc,v 1.1 2006-11-29 19:14:28 jrubzjeknf Exp $ // // A fiery spirit. // ============================================================================ class JBFireSpirit extends JBSpirit; // ============================================================================ // Imports // ============================================================================ #exec obj load file=..\Textures\EmitterTextures.utx #exec audio import file=Sounds\FireSpiritAmbient.wav group=FireSpirit #exec audio import file=Sounds\FireSpiritSpawn.wav group=FireSpirit #exec audio import file=Sounds\FireSpiritIgnite.wav group=FireSpirit // ============================================================================ // ExecutePlayer // // Sets the Victim on fire. // ============================================================================ function ExecutePlayer(Pawn Victim) { local JBDamagerBurning thisDamager; thisDamager = Spawn(class'JBDamagerBurning'); if (thisDamager != None) { Trigger(Self, Victim); thisDamager.Victim = Victim; thisDamager.FlameEmitter = Spawn(class'JBEmitterBurningPlayer', Victim,, Victim.Location); } } // ============================================================================ // Default properties // ============================================================================ defaultproperties { SpawnSound=Sound'JBToolbox2.FireSpirit.FireSpiritSpawn' TouchSound=Sound'JBToolbox2.FireSpirit.FireSpiritIgnite' Begin Object class=SpriteEmitter Name=FireTrail FadeOut=True FadeIn=True SpinParticles=True UseSizeScale=True UseRegularSizeScale=False UniformSize=True UseRandomSubdivision=True TriggerDisabled=False AddVelocityFromOwner=True Acceleration=(Z=20.000000) Opacity=0.500000 FadeOutStartTime=0.200000 FadeInEndTime=0.200000 MaxParticles=150 StartLocationShape=PTLS_Sphere SphereRadiusRange=(Max=20.000000) StartSpinRange=(X=(Min=0.375000,Max=0.375000)) SizeScale(0)=(RelativeSize=0.300000) SizeScale(1)=(RelativeTime=0.700000,RelativeSize=2.000000) SizeScale(2)=(RelativeTime=1.000000,RelativeSize=3.000000) StartSizeRange=(X=(Min=14.000000,Max=20.000000),Y=(Min=14.000000,Max=20.000000),Z=(Min=14.000000,Max=20.000000)) Texture=Texture'EmitterTextures.MultiFrame.LargeFlames' TextureUSubdivisions=4 TextureVSubdivisions=4 SecondsBeforeInactive=0.000000 LifetimeRange=(Min=0.500000,Max=0.500000) StartVelocityRange=(Z=(Min=10.000000,Max=20.000000)) VelocityLossRange=(X=(Min=5.000000,Max=5.000000),Y=(Min=5.000000,Max=5.000000),Z=(Min=5.000000,Max=5.000000)) End Object Emitters(1)=SpriteEmitter'JBToolbox2.JBFireSpirit.FireTrail' Begin Object class=SpriteEmitter Name=FireBurst FadeOut=True FadeIn=True RespawnDeadParticles=False SpinParticles=True UseSizeScale=True UseRegularSizeScale=False UniformSize=True AutomaticInitialSpawning=False UseRandomSubdivision=True TriggerDisabled=False AddVelocityFromOwner=True Acceleration=(Z=100.000000) Opacity=0.500000 FadeOutStartTime=0.200000 FadeInEndTime=0.200000 MaxParticles=100 StartLocationShape=PTLS_Sphere SphereRadiusRange=(Max=20.000000) StartSpinRange=(X=(Min=0.375000,Max=0.375000)) SizeScale(0)=(RelativeSize=0.300000) SizeScale(1)=(RelativeTime=0.700000,RelativeSize=2.000000) SizeScale(2)=(RelativeTime=1.000000,RelativeSize=3.000000) StartSizeRange=(X=(Min=20.000000,Max=30.000000),Y=(Min=20.000000,Max=30.000000),Z=(Min=20.000000,Max=30.000000)) InitialParticlesPerSecond=1500.000000 Texture=Texture'EmitterTextures.MultiFrame.LargeFlames' TextureUSubdivisions=4 TextureVSubdivisions=4 SecondsBeforeInactive=0.000000 LifetimeRange=(Min=0.500000,Max=1.000000) SpawnOnTriggerRange=(Min=50.000000,Max=50.000000) SpawnOnTriggerPPS=2000.000000 StartVelocityRange=(Z=(Min=30.000000,Max=50.000000)) StartVelocityRadialRange=(Min=-200.000000,Max=-100.000000) VelocityLossRange=(X=(Min=5.000000,Max=5.000000),Y=(Min=5.000000,Max=5.000000),Z=(Min=5.000000,Max=5.000000)) GetVelocityDirectionFrom=PTVD_AddRadial End Object Emitters(2)=SpriteEmitter'JBToolbox2.JBFireSpirit.FireBurst' AmbientSound=Sound'JBToolbox2.FireSpirit.FireSpiritAmbient' SoundVolume=255 SoundRadius=500.000000 TransientSoundVolume=2.000000 TransientSoundRadius=500.000000 } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |