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 00130 00131 00132 00133 00134 00135 00136 00137 00138 00139 00140 00141 00142 00143 00144 00145 00146 00147 00148 00149 00150 |
class WeaponFadeEffect extends Emitter; simulated function PreBeginPlay() { Super.PreBeginPlay(); if ( Owner != None ) { SetLocation(Owner.Location); SetRotation(Owner.Rotation); if ( Owner.StaticMesh != None ) { MeshEmitter(Emitters[0]).StaticMesh = Owner.StaticMesh; MeshEmitter(Emitters[1]).StaticMesh = Owner.StaticMesh; MeshEmitter(Emitters[0]).SizeScale[0].RelativeSize = Owner.DrawScale; MeshEmitter(Emitters[0]).SizeScale[1].RelativeSize = Owner.DrawScale; MeshEmitter(Emitters[1]).SizeScale[0].RelativeSize = 1.02 * Owner.DrawScale; MeshEmitter(Emitters[1]).SizeScale[1].RelativeSize = 1.2 * Owner.DrawScale; if ( Owner.IsA('LinkGunPickup') || Owner.IsA('ONSAVRiLPickup') ) //this is indeed a beautiful hack Emitters[1].Disabled = true; } } } defaultproperties { Begin Object Class=MeshEmitter Name=MeshEmitter17 StaticMesh=StaticMesh'WeaponStaticMesh.RocketLauncherPickup' RespawnDeadParticles=False UseSizeScale=True UseRegularSizeScale=False AutomaticInitialSpawning=False ResetOnTrigger=True CoordinateSystem=PTCS_Relative MaxParticles=1 SpinCCWorCW=(X=0.000000) SizeScale(0)=(RelativeSize=0.550000) SizeScale(1)=(RelativeTime=0.300000,RelativeSize=0.550000) SizeScale(2)=(RelativeTime=1.000000) InitialParticlesPerSecond=9999999.000000 LifetimeRange=(Min=1.500000,Max=1.500000) End Object Emitters(0)=MeshEmitter'XEffects.WeaponFadeEffect.MeshEmitter17' Begin Object Class=MeshEmitter Name=MeshEmitter18 StaticMesh=StaticMesh'WeaponStaticMesh.RocketLauncherPickup' UseMeshBlendMode=False UseParticleColor=True UseColorScale=True RespawnDeadParticles=False UseSizeScale=True UseRegularSizeScale=False AutomaticInitialSpawning=False ResetOnTrigger=True ColorScale(1)=(RelativeTime=0.300000,Color=(B=64,G=255,R=255)) ColorScale(2)=(RelativeTime=1.000000) Opacity=0.500000 CoordinateSystem=PTCS_Relative MaxParticles=1 DetailMode=DM_High SpinCCWorCW=(X=0.000000) SizeScale(0)=(RelativeSize=0.550000) SizeScale(1)=(RelativeTime=0.300000,RelativeSize=0.650000) SizeScale(2)=(RelativeTime=1.000000) InitialParticlesPerSecond=9999999.000000 LifetimeRange=(Min=1.750000,Max=1.750000) End Object Emitters(1)=MeshEmitter'XEffects.WeaponFadeEffect.MeshEmitter18' Begin Object Class=SpriteEmitter Name=SpriteEmitter44 UseColorScale=True RespawnDeadParticles=False UseRevolution=True UseRevolutionScale=True SpinParticles=True UseSizeScale=True UseRegularSizeScale=False UniformSize=True ResetOnTrigger=True ColorScale(0)=(Color=(B=64,G=255,R=255)) ColorScale(1)=(RelativeTime=1.000000) ColorMultiplierRange=(Y=(Min=0.700000)) MaxParticles=40 StartLocationShape=PTLS_Sphere RevolutionsPerSecondRange=(X=(Min=-1.000000,Max=1.000000),Y=(Min=-1.000000,Max=1.000000),Z=(Min=-1.000000,Max=1.000000)) RevolutionScale(1)=(RelativeTime=0.500000,RelativeRevolution=(X=0.200000,Y=0.200000,Z=0.200000)) RevolutionScale(2)=(RelativeTime=1.000000,RelativeRevolution=(X=0.700000,Y=0.700000,Z=0.700000)) SpinsPerSecondRange=(X=(Min=1.000000,Max=1.000000)) StartSpinRange=(X=(Max=1.000000)) SizeScale(0)=(RelativeSize=4.000000) SizeScale(1)=(RelativeTime=1.000000,RelativeSize=1.000000) StartSizeRange=(X=(Min=2.000000,Max=2.000000)) Texture=Texture'AW-2004Particles.Weapons.PlasmaStar' LifetimeRange=(Min=1.000000,Max=1.000000) StartVelocityRange=(X=(Min=-50.000000,Max=50.000000),Y=(Min=-50.000000,Max=50.000000),Z=(Max=40.000000)) VelocityLossRange=(X=(Min=-1.000000,Max=-1.000000),Y=(Min=-1.000000,Max=-1.000000),Z=(Min=-1.000000,Max=-1.000000)) End Object Emitters(2)=SpriteEmitter'XEffects.WeaponFadeEffect.SpriteEmitter44' Begin Object Class=SpriteEmitter Name=SpriteEmitter54 UseColorScale=True RespawnDeadParticles=False SpinParticles=True UseSizeScale=True UseRegularSizeScale=False UniformSize=True AutomaticInitialSpawning=False ResetOnTrigger=True ColorScale(1)=(RelativeTime=0.200000,Color=(B=64,G=255,R=255)) ColorScale(2)=(RelativeTime=1.000000) MaxParticles=3 StartSpinRange=(X=(Max=1.000000)) SizeScale(0)=(RelativeSize=1.000000) SizeScale(1)=(RelativeTime=1.000000,RelativeSize=4.000000) StartSizeRange=(X=(Min=7.000000,Max=7.000000)) InitialParticlesPerSecond=5.000000 Texture=Texture'AW-2004Particles.Fire.BlastMark' LifetimeRange=(Min=1.000000,Max=1.000000) End Object Emitters(3)=SpriteEmitter'XEffects.WeaponFadeEffect.SpriteEmitter54' Begin Object Class=SpriteEmitter Name=SpriteEmitter55 UseColorScale=True RespawnDeadParticles=False UseSizeScale=True UseRegularSizeScale=False UniformSize=True AutomaticInitialSpawning=False ColorScale(0)=(Color=(B=64,G=255,R=255)) ColorScale(1)=(RelativeTime=0.187500,Color=(B=64,G=255,R=255)) ColorScale(2)=(RelativeTime=0.375000,Color=(B=255,G=255,R=255)) ColorScale(3)=(RelativeTime=0.687500,Color=(B=64,G=255,R=255)) ColorScale(4)=(RelativeTime=1.000000) Opacity=0.750000 MaxParticles=1 SizeScale(1)=(RelativeTime=0.375000,RelativeSize=0.250000) SizeScale(2)=(RelativeTime=1.000000) InitialParticlesPerSecond=99999.000000 Texture=Texture'EpicParticles.Flares.BurnFlare1' LifetimeRange=(Min=0.750000,Max=0.750000) InitialDelayRange=(Min=1.000000,Max=1.000000) WarmupTicksPerSecond=1.000000 RelativeWarmupTime=1.000000 End Object Emitters(4)=SpriteEmitter'XEffects.WeaponFadeEffect.SpriteEmitter55' AutoDestroy=True bNoDelete=False } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |