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

GUI2K4.UT2K4SPTab_Tutorials

Extends
UT2K4SPTab_Base
Modifiers
config

Core.Object
|   
+-- XInterface.GUI
   |   
   +-- XInterface.GUIComponent
      |   
      +-- XInterface.GUIMultiComponent
         |   
         +-- XInterface.GUIPanel
            |   
            +-- XInterface.GUITabPanel
               |   
               +-- XInterface.UT2K4TabPanel
                  |   
                  +-- GUI2K4.UT2K4SPTab_Base
                     |   
                     +-- GUI2K4.UT2K4SPTab_Tutorials

Variables Summary
MaterialBorderMat
MaterialShadowMat
stringStartTutorial
array<GUIImage>TutImages
array<SPTutorial>Tutorials
Inherited Variables from GUI2K4.UT2K4SPTab_Base
CaptionBack, CaptionCancel, CaptionCreate, CaptionDone, CaptionLoad, CaptionPlay, GP, LogPrefix, MainWindow, ProfileClass

Structures Summary
SPTutorial
GameClass, Preview, PreviewLocked, Map, unLocked

Functions Summary
function CreateButtons ()))
function InitComponent (GUIController MyController, GUIComponent MyOwner))
functionbool OnTutorialClick (GUIComponent Sender))
function ShowPanel (bool bShow))
function unlockButton (string tag))
Inherited Functions from GUI2K4.UT2K4SPTab_Base
btnPlayEnabled, CanClose, GetMainWindow, getProfileName, InitComponent, onBackClick, onPlayClick, ShowPanel


Variables Detail

BorderMat Source code

var Material BorderMat;

ShadowMat Source code

var Material ShadowMat;

StartTutorial Source code

var localized string StartTutorial;

TutImages Source code

var array<GUIImage> TutImages;

Tutorials Source code

var config array<SPTutorial> Tutorials;


Structures Detail

SPTutorial Source code

struct SPTutorial
{
var string GameClass;
var string Map;
var string Preview;
var string PreviewLocked;
var bool unLocked;
};
Single player tutorial record. Gameclass is used for the tutorial name Preview is the image to use when the tutorial is available PreviewLocked is used when it's locked Map is the url to start


Functions Detail

CreateButtons Source code

function CreateButtons ( ) )

InitComponent Source code

function InitComponent ( GUIController MyController, GUIComponent MyOwner) )

OnTutorialClick Source code

function bool OnTutorialClick ( GUIComponent Sender) )

ShowPanel Source code

function ShowPanel ( bool bShow) )

unlockButton Source code

static function unlockButton ( string tag) )


Defaultproperties

defaultproperties
{
     Tutorials(0)=(GameClass="xGame.xDeathMatch",Preview="LadderShots.TeamDMMoneyShot",PreviewLocked="LadderShots.TeamDMShot",Map="TUT-DM",unLocked=True)
     Tutorials(1)=(GameClass="xGame.xCTFGame",Preview="LadderShots.CTFMoneyShot",PreviewLocked="LadderShots.CTFShot",Map="TUT-CTF")
     Tutorials(2)=(GameClass="xGame.xDoubleDom",Preview="LadderShots.DOMMoneyShot",PreviewLocked="LadderShots.DOMShot",Map="TUT-DOM2")
     Tutorials(3)=(GameClass="xGame.xBombingRun",Preview="LadderShots.BRMoneyShot",PreviewLocked="LadderShots.BRShot",Map="TUT-BR")
     BorderMat=Texture'2K4Menus.Controls.sectionback'
     ShadowMat=Texture'2K4Menus.Controls.Shadow'
     StartTutorial="Click to play tutorial for"
     PanelCaption="Tutorial"
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: sk 18-3-2018 09:49:57.175 - Created with UnCodeX