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

JBAddonLlama.JBEmitterKillExplosion


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
//=============================================================================
// JBEmitterKillExplosion
// Copyright 2004 by Wormbo <wormbo@onlinehome.de>
// $Id: JBEmitterKillExplosion.uc,v 1.1 2004/05/31 11:14:58 wormbo Exp $
//
// Emitter that creates an explosion effect.
//=============================================================================


class JBEmitterKillExplosion extends Emitter;


//=============================================================================
// Import
//=============================================================================

#exec audio import file=Sounds\Explosion.wav name=Explosion group=KillSounds


//=============================================================================
// PostBeginPlay
//
// Handle low framerate conditions.
//=============================================================================

simulated event PostBeginPlay()
{
  PlaySound(Sound'Explosion', SLOT_Interact, 250.0,, 500.0);
  if ( Level.bDropDetail )
    LightRadius = 5;
}


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

defaultproperties
{
  bNoDelete=False
  RemoteRole=ROLE_SimulatedProxy
  bNetTemporary=True
  
  Begin Object Class=SpriteEmitter Name=ExplosionParticles
    MaxParticles=20
    FadeOutStartTime=0.200000
    FadeOut=True
    RespawnDeadParticles=False
    StartLocationShape=PTLS_Sphere
    SphereRadiusRange=(Min=20.000000,Max=50.000000)
    SpinParticles=True
    StartSpinRange=(X=(Max=65535.000000),Y=(Max=65535.000000),Z=(Max=65535.000000))
    UseSizeScale=True
    UseRegularSizeScale=False
    SizeScale(0)=(RelativeSize=0.500000)
    SizeScale(1)=(RelativeTime=0.700000,RelativeSize=1.000000)
    SizeScale(2)=(RelativeTime=1.000000,RelativeSize=1.000000)
    StartSizeRange=(X=(Min=40.000000,Max=60.000000),Y=(Min=40.000000,Max=60.000000),Z=(Min=40.000000,Max=60.000000))
    UniformSize=True
    InitialParticlesPerSecond=1000.000000
    AutomaticInitialSpawning=False
    Texture=Texture'XEffects.Skins.fexpt'
    LifetimeRange=(Min=0.500000,Max=1.000000)
    StartVelocityRadialRange=(Min=-20.000000,Max=-10.000000)
    VelocityLossRange=(X=(Min=2.000000,Max=2.500000),Y=(Min=2.000000,Max=2.500000),Z=(Min=2.000000,Max=2.500000))
    GetVelocityDirectionFrom=PTVD_AddRadial
  End Object
  Emitters(0)=SpriteEmitter'ExplosionParticles'
  
  AutoDestroy=True
  
  bDynamicLight=true
  LightEffect=LE_QuadraticNonIncidence
  LightType=LT_FadeOut
  LightBrightness=255
  LightHue=28
  LightSaturation=90
  LightRadius=7
  LightPeriod=32
  LightCone=128
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Mo 31.5.2004 13:14:58.000 - Creation time: Do 14.8.2014 09:58:42.076 - Created with UnCodeX