Core.Object | +--Engine.Actor | +--Engine.ParticleSystem | +--RuneI.LokiEffect
simulated
PostBeginPlay()
00001 //============================================================================= 00002 // LokiEffect. 00003 //============================================================================= 00004 class LokiEffect expands ParticleSystem; 00005 00006 simulated function PostBeginPlay() 00007 { 00008 local vector rotVect; 00009 local float Force; 00010 Super.PostBeginPlay(); 00011 00012 rotVect = vector(Rotation); 00013 00014 if(Owner.IsA('LokiBust')) 00015 { 00016 Force = 10 * Owner.DrawScale; 00017 ScaleMax = 0.2 * Owner.DrawScale; 00018 ScaleMin = ScaleMax; 00019 GravityScale = 0.001 * Owner.DrawScale; 00020 } 00021 else 00022 { 00023 Force = 50; 00024 } 00025 00026 bDirectional = false; 00027 00028 VelocityMax = (vect(0,0,1) cross rotVect - vect(0,0,1)) * Force; 00029 VelocityMin = (rotVect cross vect(0,0,1) - vect(0,0,1)) * Force; 00030 } 00031 00032 defaultproperties 00033 { 00034 ParticleCount=20 00035 ParticleTexture(0)=Texture'RuneFX.lokismoke2' 00036 ScaleMin=2.500000 00037 ScaleMax=2.500000 00038 ScaleDeltaX=1.000000 00039 ScaleDeltaY=1.000000 00040 LifeSpanMin=1.000000 00041 LifeSpanMax=1.500000 00042 AlphaStart=180 00043 bAlphaFade=True 00044 bApplyGravity=True 00045 GravityScale=-0.080000 00046 SpawnOverTime=1.500000 00047 bDirectional=True 00048 Style=STY_AlphaBlend 00049 CollisionRadius=100.000000 00050 CollisionHeight=50.000000 00051 }