Once I get that upgrade to 36-hour days, I will tackle that. – Mychaeel
Legacy:XDoubleDom
From Unreal Wiki, The Unreal Engine Documentation Site
xDoubleDom is the Double Domination game type. Most of the game logic goes on in the Timer
function and in xDomPoint.
Contents
Properties[edit]
- xDomPoints
- The two control points.
- ScoreCountDown
- Countdown until a point is scored.
- DisabledCountDown
- Countdown until a new round.
- TimeToScore
- Time required for domination (10 seconds)
- TimeDisabled
- Time between rounds (10 seconds)
- DDomPropsDisplayText
- Used in
FillPlayInfo()
.
Sounds[edit]
- ControlSounds
- "Red/Blue team dominating!"
- ScoreSounds
- "Red/Blue team scores!"
- AvertedSounds
- Buzz/"Averted"/"Narrowly averted"/"Last-second save"
- NewRoundSound
- "New round in..."
Methods[edit]
Inherited from Actor[edit]
- PostBeginBlay
- Finds the domination points.
Inherited from GameInfo[edit]
- PrecacheGameTextures
- PrecacheGameStaticMeshes
MatchInProgress state[edit]
- Timer
- Handles both the domination and new round countdowns.
- ClearControl
- If the controlling Pawn leaves the game, find someone else on that team to be the new controller.
- Logout
- Calls
ClearControl()
. - ResetCount
- Called when a domination point changes teams.
- CriticalPlayer
- Any player within 1024 units is "critical". The comment claims that line of sight is required, but that's not actually enforced.
- Killed
- Minor adrenaline bonus for killing enemies during the domination countdown.
- FillPlayInfo
- Adds the values of
TimeToScore
andTimeDisabled
. - FindSpecGoalFor
- Returns the closest domination point.