1
0
KF2-Dev-Scripts/KFGameContent/Classes/KFProj_Bullet_Minigun.uc

38 lines
1.2 KiB
Ucode
Raw Normal View History

2020-12-13 15:01:13 +00:00
//=============================================================================
// KFProj_Bullet_Minigun
//=============================================================================
// Bullet class for Minigun
//=============================================================================
// Killing Floor 2
// Copyright (C) 2015 Tripwire Interactive LLC
//=============================================================================
class KFProj_Bullet_Minigun extends KFProj_Bullet
hidedropdown;
var ParticleSystem AddedImpactEffect;
simulated static function PlayAddedImpactEffect(Vector HitLocation, Vector HitNormal)
{
local WorldInfo WI;
if( default.AddedImpactEffect != none )
{
WI = Class'WorldInfo'.static.GetWorldInfo();
WI.MyEmitterPool.SpawnEmitter(default.AddedImpactEffect, HitLocation, rotator(HitNormal));
}
}
defaultproperties
{
MaxSpeed=22500.0
Speed=22500.0
DamageRadius=0
ProjFlightTemplate=ParticleSystem'WEP_1P_L85A2_EMIT.FX_L85A2_Tracer_ZEDTime'
ImpactEffects=KFImpactEffectInfo'FX_Impacts_ARCH.Heavy_bullet_impact'
AddedImpactEffect=ParticleSystem'WEP_Minigun_EMIT.FX_Minigun_Impact_Extra'
}