- Extends
- UTPlusTag
UTPlusHitSoundTag
Creation date: 2010-06-03 13:57
Last change: $Id$
Copyright © 2010, Wormbo
Website: http://www.koehler-homepage.de/Wormbo/
Feel free to reuse this code. Send me a note if you found it helpful or want
to report bugs/provide improvements.
Core.Object
|
+-- Engine.Actor
|
+-- Engine.Inventory
|
+-- UTPlusStandaloneHitSounds.UTPlusTag
|
+-- UTPlusStandaloneHitSounds.UTPlusHitSoundTag
Inherited Variables from Engine.Inventory |
AttachmentClass, bDisplayableInv, bDrawingFirstPerson, BobDamping, bTossedOut, Charge, GroupOffset, IconCoords, IconMaterial, InventoryGroup, ItemName, PickupClass, PlayerViewOffset, PlayerViewPivot, ThirdPersonActor |
Enumerations Summary |
EHitType HT_None,
HT_Enemy,
HT_Teammate,
HT_EnemyVehicle,
HT_EmptyVehicle,
HT_EnemyObjective |
Inherited Functions from UTPlusStandaloneHitSounds.UTPlusTag |
BeginPlay, Destroyed, DestroyFor, InternalFindFor, InternalGetFirst, InternalGetNext, InternalSetFirst, InternalSetNext, InternalSpawnFor, PostNetReceive, Register, RegisterInInventory, RegisterInList, RegisterLocal, Unregister, UnregisterFromInventory, UnregisterFromList, UnregisterLocal |
Inherited Functions from Engine.Inventory |
AttachToPawn, Destroyed, DetachFromPawn, DropFrom, GetHumanReadableName, GiveTo, HandlePickupQuery, NextWeapon, OwnerEvent, PickupFunction, PrevWeapon, PrioritizeArmor, RecommendWeapon, RenderOverlays, SelectNext, SetOwnerDisplay, StaticItemName, TravelPostAccept, TravelPreAccept, updaterelative, Use, WeaponChange |
const EMPTY_VEHICLE_HIT = 0xA0;
const ENEMY_HIT = 0x20;
const OBJECTIVE_HIT = 0xC0;
const PROTECTED_HIT = 0x80;
const TEAMMATE_HIT = 0x40;
const VEHICLE_HIT = 0x60;
var array<
Sound> HitSounds;
enum
EHitType
{
HT_None,
HT_Enemy,
HT_Teammate,
HT_EnemyVehicle,
HT_EmptyVehicle,
HT_EnemyObjective
};
struct
TAccumulatedDamage
{
var int EmptyVehicleDamage;
var int EnemyDamage;
var int FriendlyDamage;
var int ObjectiveDamage;
var int VehicleDamage;
};
function AddDamage (
int Damage,
Pawn Victim) )
function DispatchHitSound ( bool bAllowVariableHitSounds) )
simulated function
Sound GetHitSound (
int HitSoundIndex) )
protected simulated function
UTPlusTag InternalGetFirst ( ) )
protected simulated function
UTPlusTag InternalGetNext ( ) )
protected simulated function InternalSetFirst (
UTPlusTag TagFirst) )
protected simulated function InternalSetNext (
UTPlusTag TagNext) )
simulated function bool IsViewTarget ( ) )
static function
Sound LoadHitSound (
string SoundName) )
simulated function PostBeginPlay ( ) )
simulated event PostNetReceive ( ) )
defaultproperties
{
RemoteRole = ROLE_SimulatedProxy
NetPriority = 2.999
}
|
Creation time: Sa 23.8.2014 09:18:35.749 - Created with
UnCodeX