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 |
/****************************************************************************** PoltergeistEnergyWaveTrailer Creation date: 2011-08-11 01:06 Last change: $Id$ Copyright © 2011, 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 PoltergeistEnergyWaveTrailer extends Emitter notplaceable; #exec obj load file=..\Textures\AW-2004Particles.utx var Material BlueSkin; var rangevector BlueColorMultiplier; simulated function PostBeginPlay() { Super.PostBeginPlay(); Emitters[1].StartSpinRange.X.Min = Rotation.Yaw / 65536.0; Emitters[1].StartSpinRange.Y.Min = Rotation.Pitch / 65536.0; Emitters[1].StartSpinRange.Z.Min = Rotation.Roll / 65536.0; Emitters[1].StartSpinRange.X.Max = Emitters[1].StartSpinRange.X.Min; Emitters[1].StartSpinRange.Y.Max = Emitters[1].StartSpinRange.Y.Min; Emitters[1].StartSpinRange.Z.Max = Emitters[1].StartSpinRange.Z.Min; } simulated function SetBlueEffects() { Emitters[0].ColorMultiplierRange = BlueColorMultiplier; Skins[0] = BlueSkin; } //============================================================================= // Default values //============================================================================= defaultproperties { AutoDestroy = True bNoDelete = False LifeSpan = 1.0 PrePivot = (X=220.0) Skins[0] = FinalBlend'RedShockwaveFinal' AmbientGlow = 254 BlueSkin = FinalBlend'BlueShockwaveFinal' BlueColorMultiplier = (X=(Min=0.1,Max=0.2),Y=(Min=0.4,Max=0.8),Z=(Min=1.0,Max=1.0)) Begin Object Class=TrailEmitter Name=ShockwaveTrail TrailShadeType=PTTST_Linear MaxPointsPerTrail=10 DistanceThreshold=80.0 UseCrossedSheets=True FadeOut=True RespawnDeadParticles=False UseSizeScale=True UseRegularSizeScale=False AutomaticInitialSpawning=False ColorMultiplierRange=(Y=(Min=0.4,Max=0.8),Z=(Min=0.1,Max=0.1)) DetailMode=DM_High StartLocationRange=(X=(Min=10.0,Max=10.0),Y=(Min=-5.0,Max=5.0)) StartLocationShape=PTLS_All StartLocationPolarRange=(X=(Min=16384.0,Max=16384.0),Y=(Min=65536.0),Z=(Min=3.0,Max=3.0)) UseRotationFrom=PTRS_Actor SizeScale(0)=(RelativeSize=0.1) SizeScale(1)=(RelativeTime=1.0,RelativeSize=4.0) StartSizeRange=(X=(Min=150.0,Max=200.0)) InitialParticlesPerSecond=1000.0 //DrawStyle=PTDS_Brighten Texture=Texture'AW-2004Particles.Energy.AngryBeam' LifetimeRange=(Min=0.5,Max=0.5) StartVelocityRadialRange=(Min=-3000.0,Max=-3000.0) GetVelocityDirectionFrom=PTVD_AddRadial End Object Emitters(0)=TrailEmitter'ShockwaveTrail' Begin Object Class=MeshEmitter Name=ShockwaveFront StaticMesh=StaticMesh'AW-2k4XP.Weapons.ShockShield' UseParticleColor=True FadeOut=True RespawnDeadParticles=False SpinParticles=True UseSizeScale=True UseRegularSizeScale=False AutomaticInitialSpawning=False MaxParticles=1 UseRotationFrom=PTRS_Actor SizeScale(0)=(RelativeSize=0.1) SizeScale(1)=(RelativeTime=1.0,RelativeSize=4.0) StartSizeRange=(X=(Min=1.0,Max=1.0)) InitialParticlesPerSecond=1000.0 LifetimeRange=(Min=0.5,Max=0.5) StartVelocityRange=(X=(Min=3000.0,Max=3000.0)) End Object Emitters(1)=MeshEmitter'ShockwaveFront' } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |