The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE2:ASGameInfo (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 09:11, 17 May 2008 by Wormbo (Talk | contribs) (Auto-generated page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UT2004 Object >> Actor >> Info >> GameInfo >> UnrealMPGameInfo >> DeathMatch >> TeamGame >> xTeamGame >> ASGameInfo

Contents

Package: 
UT2k4Assault

ASGameInfo Created by Laurent Delayen © 2003, Epic Games, Inc. All Rights Reserved

Constants[edit]

ASPROPNUM[edit]

Value: 5


Properties[edit]

Property group 'ASGameInfo'[edit]

PracticeTimeLimit[edit]

Type: int

Modifiers: config

practice duration (in seconds)

Default value: 60

RoundLimit[edit]

Type: int

Modifiers: config

number of pair of rounds

Default value: 1

RoundTimeLimit[edit]

Type: int

Modifiers: config

max round duration (in minutes)

Default value: 10

Property group 'LoadingHints'[edit]

ASHints[edit]

Type: array<string>

Modifiers: private, localized


Default value, index 0: "A waypoint on the HUD indicates the location of an objective."

Default value, index 1: "Be on the look out for HUD warnings and alarm sounds when an objective is in danger."

Default value, index 10: "All turrets can zoom in by pressing %MOVEFORWARD% and zoom out by pressing %MOVEBACKWARD%."

Default value, index 11: "Link turrets have the same properties as the Link Gun."

Default value, index 12: "The Ion Cannon and Ion Plasma Tank, while charging up, indicate their target with a laser beam."

Default value, index 13: "You can switch between remote controlled turrets by pressing %NEXTWEAPON% and %PREVWEAPON%."

Default value, index 14: "In a SpaceFighter, you can cycle through targets by pressing %NEXTWEAPON% and %PREVWEAPON%."

Default value, index 15: "Various trophies can be obtained by destroying a key vehicle (or turret), completing an objective, or successfully attacking."

Default value, index 16: "A trophy is given to the player completing an objective, but the points reward is shared between all contributors."

Default value, index 17: "Press %TOGGLEBEHINDVIEW% to switch between 1st and 3rd person view in vehicles."

Default value, index 18: "When a new spawn area has been enabled, Press %SWITCHWEAPON 10% to teleport to it instantly."

Default value, index 19: "Press %BASEPATH 0% or %BASEPATH 1% to highlight the current objective, show a path to it, and slide out the objective list."

Default value, index 20: "Monitor the respawn countdown to know when to expect backups."

Default value, index 21: "Some weapons are better at destroying enemy Spider Mines than others."

Default value, index 22: "You can be hurt or killed by vehicles exploding near you."

Default value, index 23: "You can heal a friendly vehicle with the Link Gun alt-fire."

Default value, index 24: "If you die, any Spider Mines or Grenades you fired will explode."

Default value, index 25: "The green light on top of the weapon lockers indicates that additional ammo is available at that locker."

Internal variables[edit]

ASPropDescText[edit]

Type: string

Array size: 5 (ASPROPNUM)

Modifiers: localized


Default value, index 0: "Number of pair of rounds (Attack and defense) for this match."

Default value, index 1: "Specifies how long each round lasts."

Default value, index 2: "Specifies how much time there is between each round."

Default value, index 3: "Specifies time between reinforcements spawning."

Default value, index 4: "Specifies how much time lasts the online practice round. (In seconds)"

ASPropsDisplayText[edit]

Type: string

Array size: 5 (ASPROPNUM)

Modifiers: localized


Default value, index 0: "Pair of Rounds"

Default value, index 1: "Round Time Limit"

Default value, index 2: "Reset Countdown"

Default value, index 3: "Reinforcements Time"

Default value, index 4: "Practice Time"

AttackerWinRound[edit]

Type: name

Array size: 2


Default value, index 0: 'Red_team_attacked'

Default value, index 1: 'Blue_team_attacked'

bDisableReinforcements[edit]

Type: bool


bWeakObjectives[edit]

Type: bool

cheat

CurrentAttackingTeam[edit]

Type: byte

Current Attacking team index

CurrentMatineeScene[edit]

Type: SceneManager

SP matinee intro cinematic

CurrentObjective[edit]

Type: GameObjective


CurrentRound[edit]

Type: byte


DefenderWinRound[edit]

Type: name

Array size: 2


Default value, index 0: 'Red_team_defended'

Default value, index 1: 'Blue_team_defended'

DrawGameSound[edit]

Type: name


Default value: 'Draw_Game'

EndCinematic[edit]

Type: ASCinematic_SceneManager

MP outro cinematic

FirstAttackingTeam[edit]

Type: byte


KeyVehicle[edit]

Type: Vehicle


LastDisabledObjective[edit]

Type: GameObjective


MaxRounds[edit]

Type: int

converted to actual number of rounds played

NewRoundSound[edit]

Type: name


Default value: 'New_assault_in'

ReinforcementsCount[edit]

Type: int


ReinforcementsFreq[edit]

Type: int

Modifiers: config

Reinforcement frequency (seconds, 0 = no reinforcements)

Default value: 7

ReinforcementsValidTime[edit]

Type: int

delay while players are allowed to join last reinforcement

Default value: 3

RoundStartTime[edit]

Type: int


SpawnManagers[edit]

Type: array<PlayerSpawnManager>

Handling player spawning

SuccessfulAssaultTimeLimit[edit]

Type: int

if first attacking team sucessfully attacked, defenders will have to beat that time to win.

Default values[edit]

Property Value
Acronym "AS"
ADR_Kill 2.0
bAllowVehicles True
BeaconName "AS"
bScoreTeamKills False
bSkipPlaySound True
bSpawnInTeamArea True
bTeamScoreRounds True
Description "In each round, one team takes the role of the attacker, while the other team defends, in recreations of famous (or infamous) scenarios. After a pair of rounds, the most successful attacking team scores a point."
GameName "Assault"
GameReplicationInfoClass Class'UT2k4Assault.ASGameReplicationInfo'
GoalScore 0
HUDSettingsMenu "GUI2K4.CustomHUDMenuAssault"
HUDType "UT2k4Assault.HUD_Assault"
MapListType "UT2k4Assault.ASMapList"
MapPrefix "AS"
MutatorClass "UT2K4Assault.ASMutator"
NetWait 15
ResetTimeDelay 8
ScoreBoardType "UT2k4Assault.ScoreBoard_Assault"
ScreenShotName "UT2004Thumbnails.AssaultShots"
SpawnProtectionTime 3.0
TeamAIType[0] Class'UT2k4Assault.ASTeamAI'
TeamAIType[1] Class'UT2k4Assault.ASTeamAI'
TeammateBoost 0.25

Enums[edit]

ERER_Reason[edit]

ERER_AttackersWin 
ERER_AttackersLose 

Functions[edit]

Static events[edit]

AcceptPlayInfoProperty[edit]

static event bool AcceptPlayInfoProperty (string PropertyName)

Overrides: TeamGame.AcceptPlayInfoProperty


GetDescriptionText[edit]

static event string GetDescriptionText (string PropName)

Overrides: TeamGame.GetDescriptionText


Other static functions[edit]

AllowMutator[edit]

static function bool AllowMutator (string MutatorClassName)

Overrides: GameInfo.AllowMutator


FillPlayInfo[edit]

static function FillPlayInfo (PlayInfo PlayInfo)

Overrides: TeamGame.FillPlayInfo


GetAllLoadHints[edit]

static function array<stringGetAllLoadHints (optional bool bThisClassOnly)

Overrides: TeamGame.GetAllLoadHints


NeverAllowTransloc[edit]

static function bool NeverAllowTransloc ()

Overrides: DeathMatch.NeverAllowTransloc


PrecacheGameAnnouncements[edit]

static function PrecacheGameAnnouncements (AnnouncerVoice V, bool bRewardSounds)

Overrides: TeamGame.PrecacheGameAnnouncements


Exec functions[edit]

NewRound[edit]

exec function NewRound ()


Events[edit]

InitGame[edit]

event InitGame (string Options, out string Error)

Overrides: TeamGame.InitGame


Login[edit]

event PlayerController Login (string Portal, string Options, out string Error)

Overrides: DeathMatch.Login


NewSpawnAreaEnabled[edit]

event NewSpawnAreaEnabled (bool bDefenders)


NoTranslocatorKeyPressed[edit]

event NoTranslocatorKeyPressed (PlayerController PC)

Overrides: GameInfo.NoTranslocatorKeyPressed


PostBeginPlay[edit]

event PostBeginPlay ()

Overrides: TeamGame.PostBeginPlay


SceneStarted[edit]

event SceneStarted (SceneManager SM, Actor Other)

Overrides: GameInfo.SceneStarted


Other instance functions[edit]

See ASGameInfo instance functions.

States[edit]

MatchInProgress[edit]

MatchInProgress.Timer[edit]

event Timer ()

Overrides: DeathMatch.MatchInProgress.Timer


MatchInProgress.IsPlaying[edit]

function bool IsPlaying ()

Overrides: IsPlaying (global)


MatchInProgress.PlayerCanRestart[edit]

function bool PlayerCanRestart (PlayerController aPlayer)

Overrides: GameInfo.PlayerCanRestart (global)


MatchInProgress.PlayerCanRestartGame[edit]

function bool PlayerCanRestartGame (PlayerController aPlayer)

Overrides: GameInfo.PlayerCanRestartGame (global)


MatchInProgress.SpawnWait[edit]

function float SpawnWait (AIController B)

Overrides: UnrealMPGameInfo.SpawnWait (global)


MatchOver[edit]

MatchOver.EndRound[edit]

function EndRound (ERER_Reason RoundEndReason, Pawn Instigator, string Reason)

Overrides: EndRound (global)


MPOutroCinematic[edit]

MPOutroCinematic.BeginState[edit]

event BeginState ()

Overrides: Object.BeginState (global)


MPOutroCinematic.EndState[edit]

event EndState ()

Overrides: Object.EndState (global)


MPOutroCinematic.SceneEnded[edit]

event SceneEnded (SceneManager SM, Actor Other)

Overrides: GameInfo.SceneEnded (global)


MPOutroCinematic.PlayerCanRestartGame[edit]

function bool PlayerCanRestartGame (PlayerController aPlayer)

Overrides: GameInfo.PlayerCanRestartGame (global)


PendingMatch[edit]

Inherits from: DeathMatch.PendingMatch

Modifiers: auto

PendingMatch.EndRound[edit]

function EndRound (ERER_Reason RoundEndReason, Pawn Instigator, string Reason)

Overrides: EndRound (global)


SPIntroCinematic[edit]

SPIntroCinematic.BeginState[edit]

event BeginState ()

Overrides: Object.BeginState (global)


SPIntroCinematic.EndState[edit]

event EndState ()

Overrides: Object.EndState (global)


SPIntroCinematic.SceneAbort[edit]

event SceneAbort ()

Overrides: GameInfo.SceneAbort (global)


SPIntroCinematic.SceneEnded[edit]

event SceneEnded (SceneManager SM, Actor Other)

Overrides: GameInfo.SceneEnded (global)


SPIntroCinematic.SceneStarted[edit]

event SceneStarted (SceneManager SM, Actor Other)

Overrides: SceneStarted (global)


SPIntroCinematic.CanDisableObjective[edit]

function bool CanDisableObjective (GameObjective GO)

Overrides: CanDisableObjective (global)


SPIntroCinematic.EndRound[edit]

function EndRound (ERER_Reason RoundEndReason, Pawn Instigator, string Reason)

Overrides: EndRound (global)


SPIntroCinematic.IsPlayingIntro[edit]

function bool IsPlayingIntro ()

Overrides: IsPlayingIntro (global)