rott/kf_sources/KFMod/Classes/BlowerThrowerMuzzleFlash3P.uc
2026-07-14 20:27:09 +07:00

52 lines
2.1 KiB
Ucode

//=============================================================================
// BlowerThrowerMuzzleFlash3P
//=============================================================================
// Third person muzzle flash class for the bloat bile thrower
//=============================================================================
// Killing Floor Source
// Copyright (C) 2013 Tripwire Interactive LLC
// - John "Ramm-Jaeger" Gibson
//=============================================================================
class BlowerThrowerMuzzleFlash3P extends ROMuzzleFlash3rd;
simulated function Trigger(Actor Other, Pawn EventInstigator)
{
Emitters[0].SpawnParticle(10);
}
defaultproperties
{
Begin Object Class=SpriteEmitter Name=SpriteEmitter1
UseDirectionAs=PTDU_Up
ProjectionNormal=(Y=1.000000,Z=0.000000)
RespawnDeadParticles=False
SpinParticles=True
UseSizeScale=True
UseRegularSizeScale=False
UniformSize=True
AutomaticInitialSpawning=False
BlendBetweenSubdivisions=True
Acceleration=(Z=-100.000000)
ColorScale(0)=(Color=(B=255,G=255,R=255,A=255))
ColorScale(1)=(RelativeTime=1.000000,Color=(B=255,G=255,R=255,A=255))
FadeOutStartTime=1.000000
MaxParticles=50
Name="SpriteEmitter1"
StartLocationRange=(X=(Min=10.000000,Max=10.000000))
UseRotationFrom=PTRS_Actor
SpinsPerSecondRange=(X=(Min=-0.100000,Max=0.100000))
StartSpinRange=(X=(Min=-0.200000,Max=0.200000))
SizeScale(0)=(RelativeSize=0.500000)
SizeScale(1)=(RelativeTime=1.000000,RelativeSize=2.000000)
StartSizeRange=(X=(Min=5.000000,Max=25.000000),Y=(Min=5.000000,Max=25.000000),Z=(Min=5.000000,Max=25.000000))
DrawStyle=PTDS_AlphaBlend
Texture=Texture'kf_fx_trip_t.Gore.bloat_vomit_spray_anim'
TextureUSubdivisions=8
TextureVSubdivisions=4
LifetimeRange=(Min=0.700000,Max=0.700000)
StartVelocityRange=(X=(Min=10.000000,Max=10.000000),Z=(Max=10.000000))
End Object
Emitters(0)=SpriteEmitter'SpriteEmitter1'
}