GUI2K4.UT2K4SPTab_ProfileNew
- Extends
- UT2K4SPTab_Base
Core.Object
|
+-- XInterface.GUI
|
+-- XInterface.GUIComponent
|
+-- XInterface.GUIMultiComponent
|
+-- XInterface.GUIPanel
|
+-- XInterface.GUITabPanel
|
+-- XInterface.UT2K4TabPanel
|
+-- GUI2K4.UT2K4SPTab_Base
|
+-- GUI2K4.UT2K4SPTab_ProfileNew
var string DefaultCharacter;
var int DefaultDifficulty;
var localized string DefaultTeamName;
var int DefaultTeamSponsor;
ErrorCantCreateProfile Source code
var localized string ErrorCantCreateProfile;
var localized string ErrorProfileExists;
var string GameIntroURL;
var array<string> InitialFreeAgents;
var string TeamSponsorPrefix;
UT2K4SPTab_ProfileNew
function LoadSponsorSymbols ( )
function bool onBackClick ( )
function OnNameActivate ( )
function OnNameDeActivate ( )
function bool onPlayClick ( )
function OnTeamActivate ( )
function ResetValues ( )
function ShowPanel ( bool bShow )
defaultproperties
{
Begin Object Class=GUISectionBackground Name=SPNimgEditBg
Caption="Profile"
WinTop=0.101463
WinLeft=0.536263
WinWidth=0.425171
WinHeight=0.770000
bBoundToParent=Wahr
OnPreDraw=SPNimgEditBg.InternalPreDraw
End Object
sbEditBg=GUISectionBackground'GUI2K4.UT2K4SPTab_ProfileNew.SPNimgEditBg'
Begin Object Class=GUISectionBackground Name=SPNimgPortraitBack
Caption="Portrait"
WinTop=0.101463
WinLeft=0.030428
WinWidth=0.234133
WinHeight=0.770000
bBoundToParent=Wahr
OnPreDraw=SPNimgPortraitBack.InternalPreDraw
End Object
sbPortraitBack=GUISectionBackground'GUI2K4.UT2K4SPTab_ProfileNew.SPNimgPortraitBack'
Begin Object Class=GUISectionBackground Name=SPNimgSponsorBack
Caption="Team symbol"
WinTop=0.101463
WinLeft=0.273865
WinWidth=0.253265
WinHeight=0.770000
bBoundToParent=Wahr
OnPreDraw=SPNimgSponsorBack.InternalPreDraw
End Object
sbSponsorBack=GUISectionBackground'GUI2K4.UT2K4SPTab_ProfileNew.SPNimgSponsorBack'
Begin Object Class=GUIButton Name=SPNbtnPrevSkin
StyleName="ArrowLeft"
Hint="Selects a new appearance for your character"
WinTop=0.733722
WinLeft=0.060867
WinWidth=0.048750
WinHeight=0.080000
TabOrder=5
bBoundToParent=Wahr
bNeverFocus=Wahr
bRepeatClick=Wahr
OnClickSound=CS_Down
OnClick=UT2K4SPTab_ProfileNew.onSelectSkin
OnKeyEvent=SPNbtnPrevSkin.InternalOnKeyEvent
End Object
btnPrevSkin=GUIButton'GUI2K4.UT2K4SPTab_ProfileNew.SPNbtnPrevSkin'
Begin Object Class=GUIButton Name=SPNbtnNextSkin
StyleName="ArrowRight"
Hint="Selects a new appearance for your character"
WinTop=0.733722
WinLeft=0.178054
WinWidth=0.048750
WinHeight=0.080000
TabOrder=6
bBoundToParent=Wahr
bNeverFocus=Wahr
bRepeatClick=Wahr
OnClickSound=CS_Up
OnClick=UT2K4SPTab_ProfileNew.onSelectSkin
OnKeyEvent=SPNbtnNextSkin.InternalOnKeyEvent
End Object
btnNextSkin=GUIButton'GUI2K4.UT2K4SPTab_ProfileNew.SPNbtnNextSkin'
Begin Object Class=GUIButton Name=SPNbtnPrevSponsor
StyleName="ArrowLeft"
Hint="Selects a new symbol for your team"
WinTop=0.733722
WinLeft=0.311505
WinWidth=0.048750
WinHeight=0.080000
TabOrder=8
bBoundToParent=Wahr
bNeverFocus=Wahr
bRepeatClick=Wahr
OnClickSound=CS_Down
OnClick=UT2K4SPTab_ProfileNew.onSelectSponsor
OnKeyEvent=SPNbtnPrevSponsor.InternalOnKeyEvent
End Object
btnPrevSponsor=GUIButton'GUI2K4.UT2K4SPTab_ProfileNew.SPNbtnPrevSponsor'
Begin Object Class=GUIButton Name=SPNbtnNextSponsor
StyleName="ArrowRight"
Hint="Selects a new symbol for your team"
WinTop=0.733722
WinLeft=0.433380
WinWidth=0.055000
WinHeight=0.080000
TabOrder=9
bBoundToParent=Wahr
bNeverFocus=Wahr
bRepeatClick=Wahr
OnClickSound=CS_Up
OnClick=UT2K4SPTab_ProfileNew.onSelectSponsor
OnKeyEvent=SPNbtnNextSponsor.InternalOnKeyEvent
End Object
btnNextSponsor=GUIButton'GUI2K4.UT2K4SPTab_ProfileNew.SPNbtnNextSponsor'
Begin Object Class=moEditBox Name=SPNmeName
bVerticalLayout=Wahr
Caption="Player Name: "
OnCreateComponent=SPNmeName.InternalOnCreateComponent
Hint="Your character's name"
WinTop=0.286087
WinLeft=0.572258
WinWidth=0.345000
WinHeight=0.122500
TabOrder=1
bBoundToParent=Wahr
OnActivate=UT2K4SPTab_ProfileNew.OnNameActivate
OnDeActivate=UT2K4SPTab_ProfileNew.OnNameDeActivate
OnChange=UT2K4SPTab_ProfileNew.onNameChange
End Object
edName=moEditBox'GUI2K4.UT2K4SPTab_ProfileNew.SPNmeName'
Begin Object Class=moEditBox Name=SPNmeTeam
bVerticalLayout=Wahr
Caption="Team Name: "
OnCreateComponent=SPNmeTeam.InternalOnCreateComponent
Hint="The name of your team"
WinTop=0.428007
WinLeft=0.572258
WinWidth=0.345000
WinHeight=0.122500
TabOrder=2
bBoundToParent=Wahr
OnActivate=UT2K4SPTab_ProfileNew.OnTeamActivate
OnDeActivate=UT2K4SPTab_ProfileNew.OnNameDeActivate
OnChange=UT2K4SPTab_ProfileNew.onNameChange
End Object
edTeam=moEditBox'GUI2K4.UT2K4SPTab_ProfileNew.SPNmeTeam'
Begin Object Class=moComboBox Name=SPNmcDifficulty
bReadOnly=Wahr
bVerticalLayout=Wahr
Caption="Difficulty: "
OnCreateComponent=SPNmcDifficulty.InternalOnCreateComponent
Hint="Customize your challenge"
WinTop=0.568803
WinLeft=0.572258
WinWidth=0.345000
WinHeight=0.068311
TabOrder=3
bBoundToParent=Wahr
End Object
cbDifficulty=moComboBox'GUI2K4.UT2K4SPTab_ProfileNew.SPNmcDifficulty'
Begin Object Class=GUICharacterListTeam Name=SPNclPlayerSkins
FixedItemsPerPage=1
StyleName="CharButton"
Hint="Your character's appearance, use arrow keys to change"
WinTop=0.191921
WinLeft=0.048207
WinWidth=0.199566
WinHeight=0.500000
TabOrder=0
bBoundToParent=Wahr
OnClick=SPNclPlayerSkins.InternalOnClick
OnRightClick=SPNclPlayerSkins.InternalOnRightClick
OnMousePressed=SPNclPlayerSkins.InternalOnMousePressed
OnMouseRelease=SPNclPlayerSkins.InternalOnMouseRelease
OnKeyEvent=SPNclPlayerSkins.InternalOnKeyEvent
OnBeginDrag=SPNclPlayerSkins.InternalOnBeginDrag
OnEndDrag=SPNclPlayerSkins.InternalOnEndDrag
OnDragDrop=SPNclPlayerSkins.InternalOnDragDrop
OnDragEnter=SPNclPlayerSkins.InternalOnDragEnter
OnDragLeave=SPNclPlayerSkins.InternalOnDragLeave
OnDragOver=SPNclPlayerSkins.InternalOnDragOver
End Object
clPlayerSkins=GUICharacterListTeam'GUI2K4.UT2K4SPTab_ProfileNew.SPNclPlayerSkins'
Begin Object Class=GUIImageList Name=SPNilSponsor
bWrap=Wahr
ImageStyle=ISTY_Justified
ImageRenderStyle=MSTY_Normal
ImageAlign=IMGA_Center
Hint="Your team's sponsor, use arrow keys to change"
WinTop=0.189296
WinLeft=0.304401
WinWidth=0.185561
WinHeight=0.506378
TabOrder=7
bBoundToParent=Wahr
End Object
ilSponsor=GUIImageList'GUI2K4.UT2K4SPTab_ProfileNew.SPNilSponsor'
DefaultTeamName="Team"
DefaultCharacter="Jakob"
TeamSponsorPrefix="TeamSymbols_UT2003.sym"
DefaultDifficulty=2
DefaultTeamSponsor=1
InitialFreeAgents(0)="Hathor"
InitialFreeAgents(1)="Huntress"
InitialFreeAgents(2)="Sunspear"
InitialFreeAgents(3)="Cipher"
InitialFreeAgents(4)="Medusa"
InitialFreeAgents(5)="Jackhammer"
InitialFreeAgents(6)="Avarice"
InitialFreeAgents(7)="Darkling"
GameIntroURL="MOV-UT2004-Intro?quickstart=true?TeamScreen=False?savegame="
ErrorProfileExists="Profile with name '%profile%' already exists!"
ErrorCantCreateProfile="Profile creation failed."
DifficultyLevels(0)="Novice"
DifficultyLevels(1)="Average"
DifficultyLevels(2)="Experienced"
DifficultyLevels(3)="Skilled"
DifficultyLevels(4)="Adept"
DifficultyLevels(5)="Masterful"
DifficultyLevels(6)="Inhuman"
DifficultyLevels(7)="Godlike"
PanelCaption="New profile"
}
|
Creation time: Mo 16.4.2007 11:20:35.187 - Created with
UnCodeX