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 |
//============================================================================= // BlowerThrowerPrimaryEmitter //============================================================================= // Primary emitter for the bloat bile thrower projectile //============================================================================= // Killing Floor Source // Copyright (C) 2013 Tripwire Interactive LLC // - John "Ramm-Jaeger" Gibson //============================================================================= class BlowerThrowerPrimaryEmitter extends HitFlameBig; var float LastFlameSpawnTime; var () float FlameSpawnInterval; var Emitter SecondaryFlame; state Ticking { simulated function Tick( float dt ) { if( LifeSpan < 2.0 ) { mRegenRange[0] *= LifeSpan * 0.5; mRegenRange[1] = mRegenRange[0]; SoundVolume = byte(float(SoundVolume) * (LifeSpan * 0.5)); } if (Level.TimeSeconds - LastFlameSpawnTime > FlameSpawnInterval) { if( SecondaryFlame != none ) { SecondaryFlame.Kill(); } SecondaryFlame = Spawn(class'BlowerThrowerSecondaryEmitter',self); } } } simulated function Destroyed() { if( SecondaryFlame != none ) { SecondaryFlame.Kill(); } } defaultproperties { mParticleType=PT_Stream mMaxParticles=100 mLifeRange(1)=0.300000 mRegenRange(0)=60.000000 mRegenRange(1)=60.000000 mPosDev=(X=0.000000,Y=0.000000,Z=0.000000) mSpawnVecB=(X=20.000000,Z=0.000000) mSizeRange(0)=6.000000 mSizeRange(1)=6.000000 mGrowthRate=6.000000 mAttenKa=0.000000 mNumTileColumns=1 mNumTileRows=1 Physics=PHYS_Trailer LifeSpan=2.900000 Skins(0)=Texture'kf_fx_trip_t.Misc.vomit_trail_d' Style=STY_Alpha } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |