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

UTPlusStandaloneHitSounds.UTPlusHitSounds

Extends
GameRules

UTPlusHitSounds Creation date: 2011-08-29 11:08 Last change: $Id$ Copyright © 2011, 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.Info
      |   
      +-- Engine.GameRules
         |   
         +-- UTPlusStandaloneHitSounds.UTPlusHitSounds

Variables Summary
boolbAllowVariableHitSounds
boolbLineOfSightHitSounds
boolbObjectiveHitSounds
UTPlusHitSoundTagfirstTagHitSound
ControllerLastFindStartPlayer
floatLastFindStartTime
Inherited Variables from Engine.GameRules
NextGameRules
Inherited Variables from Engine.Info
BotsGroup, ChatGroup, GameGroup, KickVoteGroup, MapVoteGroup, RulesGroup, ServerGroup

Functions Summary
function CalcHitSoundsFor (Controller Player, int Damage, Pawn Victim))
function CalcObjectiveDamage (Actor Damaged, Pawn Attacker))
functionUTPlusHitSounds FindFor (LevelInfo Level))
functionint NetDamage (int OriginalDamage, int Damage, Pawn Injured, Pawn InstigatedBy, vector HitLocation, out vector Momentum, class<DamageType> DamageType))
function PostBeginPlay ()))
event Timer ()))
Inherited Functions from Engine.GameRules
AddGameRules, CheckEndGame, CheckScore, CriticalPlayer, FindPlayerStart, GetRules, GetServerDetails, HandleRestartGame, NetDamage, OverridePickupQuery, PreventDeath, PreventSever, ScoreKill, ScoreObjective
Inherited Functions from Engine.Info
AcceptPlayInfoProperty, AllowClassRemoval, FillPlayInfo, GetDescriptionText, GetSecurityLevel


Variables Detail

bAllowVariableHitSounds Source code

var bool bAllowVariableHitSounds;

bLineOfSightHitSounds Source code

var bool bLineOfSightHitSounds;

bObjectiveHitSounds Source code

var bool bObjectiveHitSounds;

firstTagHitSound Source code

var UTPlusHitSoundTag firstTagHitSound;
List of hit sound replicators.

LastFindStartPlayer Source code

var Controller LastFindStartPlayer;

LastFindStartTime Source code

var float LastFindStartTime;


Functions Detail

CalcHitSoundsFor Source code

function CalcHitSoundsFor ( Controller Player, int Damage, Pawn Victim) )
Plays a hit sound on the player.

CalcObjectiveDamage Source code

function CalcObjectiveDamage ( Actor Damaged, Pawn Attacker) )

FindFor Source code

static function UTPlusHitSounds FindFor ( LevelInfo Level) )

NetDamage Source code

function int NetDamage ( int OriginalDamage, int Damage, Pawn Injured, Pawn InstigatedBy, vector HitLocation, out vector Momentum, class<DamageType> DamageType) )
Check for HitSound damage and add momentum to miniguns and linkguns.

PostBeginPlay Source code

function PostBeginPlay ( ) )

Timer Source code

event Timer ( ) )


Defaultproperties

defaultproperties
{
	bAllowVariableHitSounds = True
	bLineOfSightHitSounds   = True
	bObjectiveHitSounds     = True
}



Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Sa 23.8.2014 09:18:35.734 - Created with UnCodeX