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

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

Variables Summary
GUIButtonbtnNextSkin
GUIButtonbtnNextSponsor
GUIButtonbtnPrevSkin
GUIButtonbtnPrevSponsor
moComboBoxcbDifficulty
GUICharacterListTeamclPlayerSkins
stringDefaultCharacter
intDefaultDifficulty
stringDefaultTeamName
intDefaultTeamSponsor
moEditBoxedName
moEditBoxedTeam
stringErrorCantCreateProfile
stringErrorProfileExists
stringGameIntroURL
GUIImageListilSponsor
array<string>InitialFreeAgents
GUISectionBackgroundsbEditBg
GUISectionBackgroundsbPortraitBack
GUISectionBackgroundsbSponsorBack
stringTeamSponsorPrefix
UT2K4SPTab_ProfileNew
stringDifficultyLevels[8]
Inherited Variables from GUI2K4.UT2K4SPTab_Base
CaptionBack, CaptionCancel, CaptionCreate, CaptionDone, CaptionLoad, CaptionPlay, GP, LogPrefix, MainWindow, ProfileClass

Functions Summary
function AddDefaultBots (UT2K4GameProfile GP))
function AddDefaultTeams (UT2K4GameProfile GP))
function InitComponent (GUIController pMyController, GUIComponent MyOwner))
function LoadSponsorSymbols ()))
functionbool onBackClick ()))
function OnNameActivate ()))
function onNameChange (GUIComponent Sender))
function OnNameDeActivate ()))
functionbool onPlayClick ()))
functionbool onSelectSkin (GUIComponent Sender))
functionbool onSelectSponsor (GUIComponent Sender))
function OnTeamActivate ()))
function ResetValues ()))
function ShowPanel (bool bShow))
Inherited Functions from GUI2K4.UT2K4SPTab_Base
btnPlayEnabled, CanClose, GetMainWindow, getProfileName, InitComponent, onBackClick, onPlayClick, ShowPanel


Variables Detail

btnNextSkin Source code

var automated GUIButton btnNextSkin;

btnNextSponsor Source code

var automated GUIButton btnNextSponsor;

btnPrevSkin Source code

var automated GUIButton btnPrevSkin;

btnPrevSponsor Source code

var automated GUIButton btnPrevSponsor;

cbDifficulty Source code

var automated moComboBox cbDifficulty;

clPlayerSkins Source code

var automated GUICharacterListTeam clPlayerSkins;

DefaultCharacter Source code

var string DefaultCharacter;

DefaultDifficulty Source code

var int DefaultDifficulty;

DefaultTeamName Source code

var localized string DefaultTeamName;

DefaultTeamSponsor Source code

var int DefaultTeamSponsor;

edName Source code

var automated moEditBox edName;

edTeam Source code

var automated moEditBox edTeam;

ErrorCantCreateProfile Source code

var localized string ErrorCantCreateProfile;

ErrorProfileExists Source code

var localized string ErrorProfileExists;

GameIntroURL Source code

var string GameIntroURL;
The URL to visit after a profile has been created, the profile name will be appended to the end

ilSponsor Source code

var automated GUIImageList ilSponsor;

InitialFreeAgents Source code

var array<string> InitialFreeAgents;
more agents to add to the free agent pool

sbEditBg Source code

var automated GUISectionBackground sbEditBg;

sbPortraitBack Source code

var automated GUISectionBackground sbPortraitBack;

sbSponsorBack Source code

var automated GUISectionBackground sbSponsorBack;

TeamSponsorPrefix Source code

var string TeamSponsorPrefix;

UT2K4SPTab_ProfileNew

DifficultyLevels[8] Source code

var(UT2K4SPTab_ProfileNew) localized string DifficultyLevels[8];


Functions Detail

AddDefaultBots Source code

function AddDefaultBots ( UT2K4GameProfile GP) )
Add the default bots to the free agent list

AddDefaultTeams Source code

function AddDefaultTeams ( UT2K4GameProfile GP) )
Add the default teams to the list (the Phantom teams)

InitComponent Source code

function InitComponent ( GUIController pMyController, GUIComponent MyOwner) )

LoadSponsorSymbols Source code

function LoadSponsorSymbols ( ) )
Loads all Sponsor symbols

onBackClick Source code

function bool onBackClick ( ) )
Go back to the main menu when there are not proflies

OnNameActivate Source code

function OnNameActivate ( ) )
Clear the input box when it has the default name

onNameChange Source code

function onNameChange ( GUIComponent Sender) )
Disable "create" button when names are empty

OnNameDeActivate Source code

function OnNameDeActivate ( ) )
Check to see if we have an empty name

onPlayClick Source code

function bool onPlayClick ( ) )
Create the profile and load it

onSelectSkin Source code

function bool onSelectSkin ( GUIComponent Sender) )
Change the selected skin

onSelectSponsor Source code

function bool onSelectSponsor ( GUIComponent Sender) )
Change the selected sponsor

OnTeamActivate Source code

function OnTeamActivate ( ) )
Clear the input box when it has the default team name

ResetValues Source code

function ResetValues ( ) )
Will reset all the settings to their initial value

ShowPanel Source code

function ShowPanel ( bool bShow) )


Defaultproperties

defaultproperties
{
	Begin Object class=GUICharacterListTeam Name=SPNclPlayerSkins
		Hint="Your character's appearance, use arrow keys to change"
		WinWidth=0.199566
		WinHeight=0.500000
		WinLeft=0.048207
		WinTop=0.191921
		bCenterInBounds=true
		FixedItemsPerPage=1
		StyleName="CharButton"
		TabOrder=0
		bBoundToParent=true
	End Object
	clPlayerSkins=SPNclPlayerSkins


	Begin Object class=GUISectionBackground Name=SPNimgEditBg
		WinWidth=0.425171
		WinHeight=0.770000
		WinLeft=0.536263
		WinTop=0.101463
		Caption="Profile"
		bBoundToParent=true
    End Object
    sbEditBg=SPNimgEditBg


	Begin Object class=moEditBox Name=SPNmeName
		Caption="Player Name: "
		Hint="Your character's name"
		LabelJustification=TXTA_Left
		WinHeight=0.122500
		WinWidth=0.345000
		WinLeft=0.572258
		WinTop=0.286087
		bVerticalLayout=true
		OnChange=onNameChange
		OnActivate=OnNameActivate
		OnDeActivate=OnNameDeActivate
		TabOrder=1
		bBoundToParent=true
	End Object
	edName=SPNmeName


	Begin Object class=moEditBox Name=SPNmeTeam
		Caption="Team Name: "
		Hint="The name of your team"
		LabelJustification=TXTA_Left
		WinHeight=0.122500
		WinWidth=0.345000
		WinLeft=0.572258
		WinTop=0.428007
		bVerticalLayout=true
		OnChange=onNameChange
		OnActivate=OnTeamActivate
		OnDeActivate=OnNameDeActivate
		TabOrder=2
		bBoundToParent=true
	End Object
	edTeam=SPNmeTeam


	Begin Object class=moComboBox Name=SPNmcDifficulty
		Caption="Difficulty: "
		Hint="Customize your challenge"
		LabelJustification=TXTA_Left
		WinWidth=0.345000
		WinHeight=0.068311
		WinLeft=0.572258
		WinTop=0.568803
		bVerticalLayout=true
		bReadOnly=true
		TabOrder=3
		bBoundToParent=true
	End Object
	cbDifficulty=SPNmcDifficulty


	Begin Object class=GUIImageList Name=SPNilSponsor
		Hint="Your team's sponsor, use arrow keys to change"
		WinWidth=0.185561
		WinHeight=0.506378
		WinLeft=0.304401
		WinTop=0.189296
		ImageRenderStyle=MSTY_Normal
		ImageStyle=ISTY_Justified
		ImageAlign=IMGA_Center
		bWrap=true
		TabOrder=7
		bBoundToParent=true
	End Object
	ilSponsor=SPNilSponsor


	Begin Object class=GUISectionBackground Name=SPNimgPortraitBack
		WinWidth=0.234133
		WinHeight=0.770000
		WinLeft=0.030428
		WinTop=0.101463
		Caption="Portrait"
		bBoundToParent=true
    End Object
    sbPortraitBack=SPNimgPortraitBack


	Begin Object Class=GUIButton Name=SPNbtnPrevSkin
		Hint="Selects a new appearance for your character"
		StyleName="ArrowLeft"
		WinWidth=0.048750
		WinHeight=0.080000
		WinLeft=0.060867
		WinTop=0.733722
		bNeverFocus=true
		bRepeatClick=true
		OnClickSound=CS_Down
		OnClick=onSelectSkin
		TabOrder=5
		bBoundToParent=true
	End Object
	btnPrevSkin=SPNbtnPrevSkin


	Begin Object Class=GUIButton Name=SPNbtnNextSkin
		Hint="Selects a new appearance for your character"
		StyleName="ArrowRight"
		WinWidth=0.048750
		WinHeight=0.080000
		WinLeft=0.178054
		WinTop=0.733722
		bNeverFocus=true
		bRepeatClick=true
		OnClickSound=CS_Up
		OnClick=onSelectSkin
		TabOrder=6
		bBoundToParent=true
	End Object
	btnNextSkin=SPNbtnNextSkin


	Begin Object class=GUISectionBackground Name=SPNimgSponsorBack
		WinWidth=0.253265
		WinHeight=0.770000
		WinLeft=0.273865
		WinTop=0.101463
		Caption="Team symbol"
		bBoundToParent=true
    End Object
    sbSponsorBack=SPNimgSponsorBack


	Begin Object Class=GUIButton Name=SPNbtnPrevSponsor
		Hint="Selects a new symbol for your team"
		StyleName="ArrowLeft"
		WinWidth=0.048750
		WinHeight=0.080000
		WinLeft=0.311505
		WinTop=0.733722
		bNeverFocus=true
		bRepeatClick=true
		OnClickSound=CS_Down
		OnClick=onSelectSponsor
		TabOrder=8
		bBoundToParent=true
	End Object
	btnPrevSponsor=SPNbtnPrevSponsor


	Begin Object Class=GUIButton Name=SPNbtnNextSponsor
		Hint="Selects a new symbol for your team"
		StyleName="ArrowRight"
		WinWidth=0.055000
		WinHeight=0.080000
		WinLeft=0.433380
		WinTop=0.733722
		bNeverFocus=true
		bRepeatClick=true
		OnClickSound=CS_Up
		OnClick=onSelectSponsor
		TabOrder=9
		bBoundToParent=true
	End Object
	btnNextSponsor=SPNbtnNextSponsor


	PanelCaption="New profile"


	DefaultTeamName="Team"
	DefaultTeamSponsor=1
	DefaultDifficulty=2
	TeamSponsorPrefix="TeamSymbols_UT2003.sym"
	DefaultCharacter="Jakob"
	ErrorProfileExists="Profile with name '%profile%' already exists!"
	ErrorCantCreateProfile="Profile creation failed."
	GameIntroURL="MOV-UT2004-Intro?quickstart=true?TeamScreen=False?savegame="


    DifficultyLevels(0)="Novice"
    DifficultyLevels(1)="Average"
    DifficultyLevels(2)="Experienced"
    DifficultyLevels(3)="Skilled"
    DifficultyLevels(4)="Adept"
    DifficultyLevels(5)="Masterful"
    DifficultyLevels(6)="Inhuman"
    DifficultyLevels(7)="Godlike"


	InitialFreeAgents(0)="Hathor"
	InitialFreeAgents(1)="Huntress"
	InitialFreeAgents(2)="Sunspear"
	InitialFreeAgents(3)="Cipher"
	InitialFreeAgents(4)="Medusa"
	InitialFreeAgents(5)="Jackhammer"
	InitialFreeAgents(6)="Avarice"
	InitialFreeAgents(7)="Darkling"
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Do 14.8.2014 09:58:27.440 - Created with UnCodeX