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

UTDom.xDoubleDom

Modifiers
abstract

Base class of Double Domination Gametypes. Based of the UT2004 xGame.xDoubleDom gametype. Added support for 4 team play. Writen by Brian 'Snake' Alexander. Copyright(c) 2007-2010 All Rights Reserved.

UTDom.xDoubleDom

Variables Summary
boolbPlayedDisabledMsg
boolbPlayedTeamDominating
class<UTLocalMessage>CountdownAnnouncerMessageClass
intDisabledCountDown
intMaxTimeDisabled
intMaxTimeToScore
intScoreCountDown
xDoubleDom
boolbNoTeamPlayerStart
boolbUseAltMultiTeamTimeToScore
intTimeDisabled
intTimeToScore

Functions Summary
function AnnounceScore (int ScoringTeam))
function ClearControl (Controller Other))
functionbool CriticalPlayer (Controller Other))
event Destroyed ()))
function FindAllxDomPoints ()))
functionActor GetAutoObjectiveFor (UTPlayerController PC))
event InitGame (string Options, out string ErrorMessage))
function PlayMusicEvent (int TeamID, int MusicType))
function PostBeginPlay ()))
functionbool RegisterControlPoint (ControlPoint CP))
function ResetCount ()))
function ScoreTeam (int i, float c)
function SetupControlPointClass ()))
function ShowPathTo (PlayerController P, int TeamNum))
event Timer ()))
MatchInProgress
function WriteStartUpLogMessage ()))

States Summary
MatchInProgress Source code
state MatchInProgress
Timer


Variables Detail

bPlayedDisabledMsg Source code

var transient bool bPlayedDisabledMsg;
Internal flags so Announcements do not keep repeating.

bPlayedTeamDominating Source code

var transient bool bPlayedTeamDominating;
Internal flags so Announcements do not keep repeating.

CountdownAnnouncerMessageClass Source code

var class<UTLocalMessage> CountdownAnnouncerMessageClass;

DisabledCountDown Source code

var transient int DisabledCountDown;
count down until points are re-enabled after a point is scored.

MaxTimeDisabled Source code

var const int MaxTimeDisabled;

MaxTimeToScore Source code

var const int MaxTimeToScore;

ScoreCountDown Source code

var transient int ScoreCountDown;
tracks the count down until a point is scored.

xDoubleDom

bNoTeamPlayerStart Source code

var(xDoubleDom) config bool bNoTeamPlayerStart;
Should not be used. If False and playing on a map with no TeamPlayerStart actors (e.g. most DOM maps) players will not beable to spawn.

bUseAltMultiTeamTimeToScore Source code

var(xDoubleDom) config bool bUseAltMultiTeamTimeToScore;
When true, in 3 team games, the duration both points must be controlled to score is only 85% of TimeToScore.

TimeDisabled Source code

var(xDoubleDom) config int TimeDisabled;
duration both points are disabled for after a point is scored.

TimeToScore Source code

var(xDoubleDom) config int TimeToScore;
duration both points must be controlled for to score a point.


Functions Detail

AnnounceScore Source code

function AnnounceScore ( int ScoringTeam) )
Announce score for only red and blue teams

ClearControl Source code

function ClearControl ( Controller Other) )

CriticalPlayer Source code

function bool CriticalPlayer ( Controller Other) )
In DOM, critical players are anyone within 1024 units of the dom point who have los to it.

Destroyed Source code

event Destroyed ( ) )

FindAllxDomPoints Source code

function FindAllxDomPoints ( ) )
locates and then sets up all the right type of xDomPoint for each ControlPointFactory It is very important that the xDomPointA is Registered first! This is so that CDomPoints[0] = A and CDomPoints[1] = B

GetAutoObjectiveFor Source code

function Actor GetAutoObjectiveFor ( UTPlayerController PC) )

InitGame Source code

event InitGame ( string Options, out string ErrorMessage) )

PlayMusicEvent Source code

function PlayMusicEvent ( int TeamID, int MusicType) )
Plays music events for all players
@param TeamID The TeamIndex who triggered this
@param MusicType Which set of music to play

PostBeginPlay Source code

function PostBeginPlay ( ) )

RegisterControlPoint Source code

function bool RegisterControlPoint ( ControlPoint CP) )

ResetCount Source code

function ResetCount ( ) )
play 'averted' or 'last second save' announcement if within one second of a score

ScoreTeam Source code

function ScoreTeam ( int i, float c )

SetupControlPointClass Source code

function SetupControlPointClass ( ) )

ShowPathTo Source code

function ShowPathTo ( PlayerController P, int TeamNum) )

Timer MatchInProgress Source code

event Timer ( ) )

WriteStartUpLogMessage Source code

function WriteStartUpLogMessage ( ) )


Defaultproperties

defaultproperties
{
   bExportMenuData=False
   bUnlimitedTranslocator=False
   bUseHoverboard=False
   bSpawnInTeamArea=False
   bNoTeamPlayerStart=True
   bDDOMGame=True

   bUseAltMultiTeamTimeToScore=True

   GoalScore=3
   ScoreCountDown=10
   TimeToScore=10
   TimeDisabled=10
   MaxTimeToScore=30
   MaxTimeDisabled=30
   TimeLimit=20
   MaxControlPoints=2
   MaxControlPointsAllowed=2
   CountdownAnnouncerMessageClass=class'UTDom.xDomTimerMessage'
   HUDType=class'UTDom.xDOMHUD'
   MultiTeamAIType(0)=class'UTDom.xDOMTeamAI'
   MultiTeamAIType(1)=class'UTDom.xDOMTeamAI'
   MultiTeamAIType(2)=class'UTDom.xDOMTeamAI'
   MultiTeamAIType(3)=class'UTDom.xDOMTeamAI'
   ControlPointType[0]=class'UTDom.xDomPointA'
   ControlPointType[1]=class'UTDom.xDomPointB'
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Fri 23/12/2011 20:31:26.252 - Created with UnCodeX