52 lines
2.1 KiB
Ucode
52 lines
2.1 KiB
Ucode
//=============================================================================
|
|
// BlowerThroweraAltMuzzleFlash1P
|
|
//=============================================================================
|
|
// First person muzzle flash class for the bloat bile thrower secondary fire mode
|
|
//=============================================================================
|
|
// Killing Floor Source
|
|
// Copyright (C) 2013 Tripwire Interactive LLC
|
|
// - John "Ramm-Jaeger" Gibson
|
|
//=============================================================================
|
|
class BlowerThroweraAltMuzzleFlash1P extends ROMuzzleFlash1st;
|
|
|
|
simulated function Trigger(Actor Other, Pawn EventInstigator)
|
|
{
|
|
Emitters[0].SpawnParticle(5);
|
|
}
|
|
|
|
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=10.000000,Max=20.000000),Y=(Min=10.000000,Max=20.000000),Z=(Min=10.000000,Max=20.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'
|
|
}
|
|
|