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

UTGameContent.UTDmgType_ScavengerBallCollision


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
/**
 *
 * Copyright 1998-2007 Epic Games, Inc. All Rights Reserved.
 */

class UTDmgType_ScavengerBallCollision extends UTDamageType
	abstract;

/** SpawnHitEffect()
 * Possibly spawn a custom hit effect
 */
static function SpawnHitEffect(Pawn P, float Damage, vector Momentum, name BoneName, vector HitLocation)
{
	local UTEmit_VehicleHit BF;

	if ( Vehicle(P) != None )
	{
		BF = P.spawn(class'UTEmit_VehicleHit',P,, HitLocation, rotator(Momentum));
		BF.AttachTo(P, BoneName);
	}
}

// no K impulse because this occurs during async tick, so we can add impulse to kactors

defaultproperties
{
   DamageOverlayTime=0.000000
   AlwaysGibDamageThreshold=80
   DamageWeaponClass=Class'UTGameContent.UTVWeap_ScavengerGun'
   KillStatsName="EVENT_RANOVERKILLS"
   DeathStatsName="EVENT_RANOVERDEATHS"
   DeathString="`o was mauled by `k's Scavenger."
   FemaleSuicide="`o mauled herself."
   MaleSuicide="`o mauled himself."
   bArmorStops=False
   bLocationalHit=False
   KDamageImpulse=0.000000
   KImpulseRadius=0.000000
   Name="Default__UTDmgType_ScavengerBallCollision"
   ObjectArchetype=UTDamageType'UTGame.Default__UTDamageType'
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: tr 31-1-2018 17:18:54.000 - Creation time: sk 18-3-2018 10:01:20.057 - Created with UnCodeX