Gah - a solution with more questions. – EntropicLqd

UE2:UT2K4SP_Challenge properties (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search

;Other member categories for this class::UT2K4SP Challenge defaults

Properties[edit]

BasePrizeMoney[edit]

Type: int

PrizeMoney = enemy team size * this number

Default value: 400

btnCancel[edit]

Type: GUIButton

Modifiers: automated


Default value: GUIButton'SPCbtnCancel'

btnOk[edit]

Type: GUIButton

Modifiers: automated


Default value: GUIButton'SPMbtnOk'

CancelPenalty[edit]

Type: int

the penalty we pay when we cancel the challenge

cbEnemyTeam[edit]

Type: moComboBox

Modifiers: automated


Default value: moComboBox'SPCcbEnemyTeam'

cbGameType[edit]

Type: GUIComboBox

Modifiers: automated


Default value: GUIComboBox'SPCcbGameType'

cbMap1[edit]

Type: GUIGFXButton

Modifiers: automated


Default value: GUIGFXButton'SPCcbMap1'

cbMap2[edit]

Type: GUIGFXButton

Modifiers: automated


Default value: GUIGFXButton'SPCcbMap2'

ChallengedBy[edit]

Type: string

we have been challenged by this team

ChallengedDescription[edit]

Type: string

Modifiers: localized


Default value: "You have been challenged by %enemyteam%.|You can win %PrizeMoney% when you defeat them.|When you don't accept this challenge you have to pay %cancelfee% to the opposing team.|Your current balance is %balance%."

ChallengeDescription[edit]

Type: string

Modifiers: localized


Default value: "To enter this challenge you have to pay the entry fee of %entryfee%.|You can win %PrizeMoney% when you win this match.|Your current balance is %balance%."

ChallengeGameNames[edit]

Type: array<string>

Modifiers: localized

localized names for the above types

Default value, index 0: "Team DeathMatch"

Default value, index 1: "1vs1 DeathMatch"

Default value, index 2: "Mutant"

Default value, index 3: "Instagib Team DeathMatch"

ChallengeGames[edit]

Type: array<ChallengeGameType>

Possible challenge matches

Default value, index 0:

Member Value
BaseGoalScore 20
ExtraUrl ""
GameType "xGame.xTeamGame"
MapAcronym "DM"
MapPrefix ""
MaxBots 5
VarGoalScore 5

Default value, index 1:

Member Value
BaseGoalScore 10
ExtraUrl ""
GameType "xGame.xDeathmatch"
MapAcronym "DM"
MapPrefix "DM-1on1"
MaxBots 1
VarGoalScore 5

Default value, index 2:

Member Value
BaseGoalScore 15
ExtraUrl ""
GameType "BonusPack.xMutantGame"
MapAcronym "DM"
MapPrefix ""
MaxBots 4
VarGoalScore 5

Default value, index 3:

Member Value
BaseGoalScore 30
ExtraUrl "?mutator=XGame.MutInstaGib"
GameType "xGame.xTeamGame"
MapAcronym "DM"
MapPrefix ""
MaxBots 7
VarGoalScore 10

DefaultUrl[edit]

Type: string

always append this to the url

Default value: "?TeamScreen=true"

GP[edit]

Type: UT2K4GameProfile


imgMap1[edit]

Type: GUIImage

Modifiers: automated


Default value: GUIImage'SPCimgMap1'

imgMap2[edit]

Type: GUIImage

Modifiers: automated


Default value: GUIImage'SPCimgMap2'

imgMapBg1[edit]

Type: GUIImage

Modifiers: automated


Default value: GUIImage'SPCimgMapBg1'

imgMapBg2[edit]

Type: GUIImage

Modifiers: automated


Default value: GUIImage'SPCimgMapBg2'

lblGameDescription[edit]

Type: GUILabel

Modifiers: automated


Default value: GUILabel'SPClblGameDescription'

lblNoPreview1[edit]

Type: GUILabel

Modifiers: automated


Default value: GUILabel'NoPreview'

lblNoPreview2[edit]

Type: GUILabel

Modifiers: automated


Default value: GUILabel'NoPreview'

lblTitle[edit]

Type: GUILabel

Modifiers: automated


Default value: GUILabel'SPClblTitle'

MapData[edit]

Type: array<CacheManager.MapRecord>


MapOptions[edit]

Type: CacheManager.MapRecord

Array size: 2

The two maps to choose from

NotEnoughCash[edit]

Type: string

Modifiers: localized


Default value: "You do not have enough money to challenge another team."

PenaltyWarning[edit]

Type: string

Modifiers: localized


Default value: "When you refuse you will have to pay a penalty of %cancelpenalty%.||Are you sure you want to refuse?"

PlayTitle[edit]

Type: string

Modifiers: localized


Default value: "Play"

RoleWindow[edit]

Type: UT2K4SP_TeamRoles


sbDetails[edit]

Type: GUIScrollTextBox

Modifiers: automated


Default value: GUIScrollTextBox'SPCsbDetails'

TeamRoleWindow[edit]

Type: string

team role selection window

Default value: "GUI2K4.UT2K4SP_TeamRoles"

VarPrizeMoney[edit]

Type: int

This is added to the base price money after it has been multiplied with a random float

Default value: 100

YouveBeenChallenged[edit]

Type: string

Modifiers: localized


Default value: "You've been challenged!"

Default values[edit]

See UT2K4SP_Challenge defaults.