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

XInterface.Tab_MultiplayerHostServerSettings

Extends
UT2K3TabPanel

Core.Object
|   
+-- XInterface.GUI
   |   
   +-- XInterface.GUIComponent
      |   
      +-- XInterface.GUIMultiComponent
         |   
         +-- XInterface.GUIPanel
            |   
            +-- XInterface.GUITabPanel
               |   
               +-- XInterface.UT2K3TabPanel
                  |   
                  +-- XInterface.Tab_MultiplayerHostServerSettings

Variables Summary
stringAdminName
stringAdminPass
boolbAllowBehindView
boolbBalanceTeams
boolbCollectStats
boolbDedicated
boolbInitialized
boolbLanPlay
intBotSkill
boolbPlayersMustBeReady
boolbUseCustomBots
boolbUseDefaults
stringGamePass
intMaxPlayers
intMaxSpecs
intMinPlayers
moEditBoxMyAdminEmail
moEditBoxMyAdminName
moEditBoxMyAdminPasswrd
moCheckBoxMyAdvertise
moCheckBoxMyAllowBehindView
moCheckBoxMyBalanceTeams
moComboBoxMyBotSkill
moCheckBoxMyCollectStats
moCheckBoxMyDedicated
moCheckBoxMyLanGame
moNumericEditMyMaxPlayers
moNumericEditMyMaxSpecs
moNumericEditMyMinPlayers
moEditBoxMyMOTD1
moEditBoxMyMOTD2
moEditBoxMyMOTD3
moEditBoxMyMOTD4
moCheckBoxMyPlayersMustBeReady
moEditBoxMyServerName
moEditBoxMyServerPasswrd
moCheckBoxMyUseCustomBots
moCheckBoxMyUseDefaultBots
moCheckBoxMyUseWebAdmin
moNumericEditMyWebPort
Inherited Variables from XInterface.GUITabPanel
bFillHeight, FadeInTime, MyButton, PanelCaption

Delegates Summary
delegate OnChangeCustomBots (bool Enable)

Functions Summary
function InitComponent (GUIController MyController, GUIComponent MyOwner))
functionstring Play ()))
functionbool UseCustomBots ()))
function UseCustomOnChange (GUIComponent Sender))
function UseMapOnChange (GUIComponent Sender))
Inherited Functions from XInterface.GUITabPanel
CanShowPanel, Free, InitPanel, OnDestroyPanel, Refresh, ShowPanel


Variables Detail

AdminName Source code

var Config string AdminName;

AdminPass Source code

var Config string AdminPass;

bAllowBehindView Source code

var Config bool bAllowBehindView;

bBalanceTeams Source code

var Config bool bBalanceTeams;

bCollectStats Source code

var Config bool bCollectStats;

bDedicated Source code

var Config bool bDedicated;

bInitialized Source code

var bool bInitialized;

bLanPlay Source code

var Config bool bLanPlay;

BotSkill Source code

var Config int BotSkill;

bPlayersMustBeReady Source code

var Config bool bPlayersMustBeReady;

bUseCustomBots Source code

var Config bool bUseCustomBots;

bUseDefaults Source code

var Config bool bUseDefaults;

GamePass Source code

var Config string GamePass;

MaxPlayers Source code

var Config int MaxPlayers;

MaxSpecs Source code

var Config int MaxSpecs;

MinPlayers Source code

var Config int MinPlayers;

MyAdminEmail Source code

var moEditBox MyAdminEmail;

MyAdminName Source code

var moEditBox MyAdminName;

MyAdminPasswrd Source code

var moEditBox MyAdminPasswrd;

MyAdvertise Source code

var moCheckBox MyAdvertise;

MyAllowBehindView Source code

var moCheckBox MyAllowBehindView;

MyBalanceTeams Source code

var moCheckBox MyBalanceTeams;

MyBotSkill Source code

var moComboBox MyBotSkill;

MyCollectStats Source code

var moCheckBox MyCollectStats;

MyDedicated Source code

var moCheckBox MyDedicated;

MyLanGame Source code

var moCheckBox MyLanGame;

MyMaxPlayers Source code

var moNumericEdit MyMaxPlayers;

MyMaxSpecs Source code

var moNumericEdit MyMaxSpecs;

MyMinPlayers Source code

var moNumericEdit MyMinPlayers;

MyMOTD1 Source code

var moEditBox MyMOTD1;

MyMOTD2 Source code

var moEditBox MyMOTD2;

MyMOTD3 Source code

var moEditBox MyMOTD3;

MyMOTD4 Source code

var moEditBox MyMOTD4;

MyPlayersMustBeReady Source code

var moCheckBox MyPlayersMustBeReady;

MyServerName Source code

var moEditBox MyServerName;

MyServerPasswrd Source code

var moEditBox MyServerPasswrd;

MyUseCustomBots Source code

var moCheckBox MyUseCustomBots;

MyUseDefaultBots Source code

var moCheckBox MyUseDefaultBots;

MyUseWebAdmin Source code

var moCheckBox MyUseWebAdmin;

MyWebPort Source code

var moNumericEdit MyWebPort;


Delegates Detail

OnChangeCustomBots Source code

delegate OnChangeCustomBots ( bool Enable )


Functions Detail

InitComponent Source code

function InitComponent ( GUIController MyController, GUIComponent MyOwner) )

Play Source code

function string Play ( ) )

UseCustomBots Source code

function bool UseCustomBots ( ) )

UseCustomOnChange Source code

function UseCustomOnChange ( GUIComponent Sender) )

UseMapOnChange Source code

function UseMapOnChange ( GUIComponent Sender) )


Defaultproperties

defaultproperties
{


	Begin Object class=GUIImage Name=MPServerBk1
		WinWidth=0.426248
		WinHeight=0.978440
		WinLeft=0.016758
		WinTop=0.024687
		Image=Material'InterfaceContent.Menu.BorderBoxD'
		ImageColor=(R=255,G=255,B=255,A=160);
		ImageRenderStyle=MSTY_Alpha
		ImageStyle=ISTY_Stretched
	End Object
	Controls(0)=GUIImage'MPServerBk1'


	Begin Object class=GUIImage Name=MPServerBk2
		WinWidth=0.427032
		WinHeight=0.307188
		WinLeft=0.016172
		WinTop=0.696041
		Image=Material'InterfaceContent.Menu.BorderBoxD'
		ImageColor=(R=255,G=255,B=255,A=160);
		ImageRenderStyle=MSTY_Alpha
		ImageStyle=ISTY_Stretched
	End Object
	Controls(1)=GUIImage'MPServerBk2'


	Begin Object class=moCheckBox Name=MPServerDedicated
		WinWidth=0.385938
		WinHeight=0.040000
		WinLeft=0.035742
		WinTop=0.060001
		Caption="Dedicated Server"
		Hint="When this option is enabled, you will run a dedicated server."
		bSquare=true
		ComponentJustification=TXTA_Left
		CaptionWidth=0.925
	End Object
	Controls(2)=moCheckBox'MPServerDedicated'


	Begin Object class=moCheckBox Name=MPServerLanGame
		WinWidth=0.385938
		WinHeight=0.040000
		WinLeft=0.035742
		WinTop=0.118334
		Caption="Lan Game"
		Hint="Optimizes network usage for players on a local area network."
		bSquare=true
		ComponentJustification=TXTA_Left
		CaptionWidth=0.925
	End Object
	Controls(3)=moCheckBox'MPServerLanGame'


	Begin Object class=moCheckBox Name=MPServerAdvertise
		WinWidth=0.385938
		WinHeight=0.040000
		WinLeft=0.035742
		WinTop=0.185002
		Caption="Advertise Server"
		Hint="Publishes your server to the internet server browser."
		bSquare=true
		ComponentJustification=TXTA_Left
		CaptionWidth=0.925
	End Object
	Controls(4)=moCheckBox'MPServerAdvertise'


	Begin Object class=moCheckBox Name=MPServerCollectStats
		WinWidth=0.385938
		WinHeight=0.040000
		WinLeft=0.035742
		WinTop=0.247502
		Caption="Collect Player Stats"
		Hint="Publishes player stats from your server on the UT2004 stats website."
		bSquare=true
		ComponentJustification=TXTA_Left
		CaptionWidth=0.925
	End Object
	Controls(5)=moCheckBox'MPServerCollectStats'


	Begin Object class=moCheckBox Name=MPServerBalanceTeams
		WinWidth=0.385938
		WinHeight=0.040000
		WinLeft=0.035742
		WinTop=0.305835
		Caption="Balance Teams"
		Hint="Assigns teams automatically for players joining the server."
		bSquare=true
		ComponentJustification=TXTA_Left
		CaptionWidth=0.925
	End Object
	Controls(6)=moCheckBox'MPServerBalanceTeams'


	Begin Object class=moCheckBox Name=MPServerPlayersMustBeReady
		WinWidth=0.385938
		WinHeight=0.040000
		WinLeft=0.035742
		WinTop=0.362085
		Caption="Players Must Be Ready"
		Hint="When selected, all players will be required to press FIRE before the match begins."
		bSquare=true
		ComponentJustification=TXTA_Left
		CaptionWidth=0.925
	End Object
	Controls(7)=moCheckBox'MPServerPlayersMustBeReady'


	Begin Object class=moComboBox Name=MPServer_BotSkill
		WinWidth=0.385938
		WinHeight=0.060000
		WinLeft=0.036132
		WinTop=0.547865
		Caption="Bot Skill"
		Hint="Choose the skill of the bots you wish to play with."
		CaptionWidth=0.5
	End Object
	Controls(8)=moComboBox'MPServer_BotSkill'


	Begin Object class=moCheckBox Name=MPServerUseDefaults
		WinWidth=0.385938
		WinHeight=0.040000
		WinLeft=0.036132
		WinTop=0.622502
		Caption="Use Map Defaults"
		Hint="Uses the map's default minimum/maximum players settings."
		bSquare=true
		ComponentJustification=TXTA_Left
		CaptionWidth=0.925
		OnChange=UseMapOnChange
	End Object
	Controls(9)=moCheckBox'MPServerUseDefaults'


	Begin Object class=moCheckBox Name=MPServerUseCustomBots
		WinWidth=0.385938
		WinHeight=0.040000
		WinLeft=0.036132
		WinTop=0.716252
		Caption="Use Custom Bots"
		Hint="When enabled, you may use the Bot tab to choose bots to play with."
		bSquare=true
		ComponentJustification=TXTA_Left
		CaptionWidth=0.925
		OnChange=UseCustomOnChange
	End Object
	Controls(10)=moCheckBox'MPServerUseCustomBots'


	Begin Object class=moNumericEdit Name=MPServerMinPlayers
		WinWidth=0.381250
		WinHeight=0.060000
		WinLeft=0.035156
		WinTop=0.769792
		Caption="Min player count"
		CaptionWidth=0.7
		MinValue=0
		MaxValue=64
		ComponentJustification=TXTA_Left
		Hint="Bots will join the game if there are fewer players than the minimum."
	End Object
	Controls(11)=moNumericEdit'MPServerMinPlayers'


	Begin Object class=moNumericEdit Name=MPServerMaxPlayers
		WinWidth=0.381250
		WinHeight=0.060000
		WinLeft=0.035156
		WinTop=0.842708
		Caption="Max player count"
		CaptionWidth=0.7
		MinValue=1
		MaxValue=64
		ComponentJustification=TXTA_Left
		Hint="Limits the number of players allowed to join the server at once."
	End Object
	Controls(12)=moNumericEdit'MPServerMaxPlayers'


	Begin Object class=moNumericEdit Name=MPServerMaxSpecs
		WinWidth=0.381250
		WinHeight=0.060000
		WinLeft=0.035156
		WinTop=0.915624
		Caption="Max spectator count"
		CaptionWidth=0.7
		MinValue=0
		MaxValue=64
		ComponentJustification=TXTA_Left
		Hint="Limits the number of spectators allowed to join the server at once."
	End Object
	Controls(13)=moNumericEdit'MPServerMaxSpecs'


	Begin Object class=moEditBox Name=MPServerName
		WinWidth=0.500000
		WinHeight=0.060000
		WinLeft=0.468750
		WinTop=0.060938
		Caption="Server Name"
		Hint="The server name will be displayed in the server browser."
		CaptionWidth=0.4
	End Object
	Controls(14)=moEditBox'MPServerName'


	Begin Object class=moEditBox Name=MPServerPW
		WinWidth=0.500000
		WinHeight=0.060000
		WinLeft=0.468750
		WinTop=0.122605
		Caption="Game Password"
		Hint="Players must enter the game password to join your server."
		CaptionWidth=0.4
	End Object
	Controls(15)=moEditBox'MPServerPW'


	Begin Object class=moEditBox Name=MPServerAdminName
		WinWidth=0.500000
		WinHeight=0.060000
		WinLeft=0.468750
		WinTop=0.217605
		Caption="Admin Name"
		Hint="The admin name will be displayed in the server browser."
		CaptionWidth=0.4
	End Object
	Controls(16)=moEditBox'MPServerAdminName'


	Begin Object class=moEditBox Name=MPServerAdminEmail
		WinWidth=0.500000
		WinHeight=0.060000
		WinLeft=0.468750
		WinTop=0.282605
		Caption="Admin Email"
		Hint="The admin email address will be displayed in the server browser."
		CaptionWidth=0.4
	End Object
	Controls(17)=moEditBox'MPServerAdminEmail'


	Begin Object class=moEditBox Name=MPServerAdminPW
		WinWidth=0.500000
		WinHeight=0.060000
		WinLeft=0.468750
		WinTop=0.350938
		Caption="Admin Password"
		Hint="The admin password is used to connect to the server as an admin."
		CaptionWidth=0.4
	End Object
	Controls(18)=moEditBox'MPServerAdminPW'


	Begin Object class=moEditBox Name=MPServerMOTD1
		WinWidth=0.500000
		WinHeight=0.060000
		WinLeft=0.468750
		WinTop=0.499271
		Caption="MOTD 1"
		Hint="Players see the message of the day when they join the server."
		CaptionWidth=0.4
	End Object
	Controls(19)=moEditBox'MPServerMOTD1'


	Begin Object class=moEditBox Name=MPServerMOTD2
		WinWidth=0.500000
		WinHeight=0.060000
		WinLeft=0.468750
		WinTop=0.574271
		Caption="MOTD 2"
		Hint="Players see the message of the day when they join the server."
		CaptionWidth=0.4
	End Object
	Controls(20)=moEditBox'MPServerMOTD2'


	Begin Object class=moEditBox Name=MPServerMOTD3
		WinWidth=0.500000
		WinHeight=0.060000
		WinLeft=0.468750
		WinTop=0.649271
		Caption="MOTD 3"
		Hint="Players see the message of the day when they join the server."
		CaptionWidth=0.4
	End Object
	Controls(21)=moEditBox'MPServerMOTD3'


	Begin Object class=moEditBox Name=MPServerMOTD4
		WinWidth=0.500000
		WinHeight=0.060000
		WinLeft=0.468750
		WinTop=0.727604
		Caption="MOTD 4"
		Hint="Players see the message of the day when they join the server."
		CaptionWidth=0.4
	End Object
	Controls(22)=moEditBox'MPServerMOTD4'



	Begin Object class=moCheckBox Name=MPServerUseWebAdmin
		WinWidth=0.206250
		WinHeight=0.040000
		WinLeft=0.468750
		WinTop=0.869999
		Caption="Web Admin"
		Hint="Enables remote administration via the web."
		bSquare=true
		ComponentJustification=TXTA_Left
		CaptionWidth=0.8
	End Object
	Controls(23)=moCheckBox'MPServerUseWebAdmin'

	Begin Object class=moNumericEdit Name=MPServerWebPort
		WinWidth=0.2976250
		WinHeight=0.060000
		WinLeft=0.675156
		WinTop=0.859791
		Caption="Web Admin Port"
		CaptionWidth=0.65
		MinValue=0
		MaxValue=9999
		ComponentJustification=TXTA_Left
		Hint="The port used to connect to the web admin site."
	End Object
	Controls(24)=moNumericEdit'MPServerWebPort'



	Begin Object class=moCheckBox Name=MPServerAllowBehindView
		WinWidth=0.385938
		WinHeight=0.040000
		WinLeft=0.035742
		WinTop=0.476668
		Caption="Allow Behind view"
		Hint="When selected, the server will allow use of the 'behindview 1' console command."
		bSquare=true
		ComponentJustification=TXTA_Left
		CaptionWidth=0.925
	End Object
	Controls(25)=moCheckBox'MPServerAllowBehindView'


	WinTop=0.15
	WinLeft=0
	WinWidth=1
	WinHeight=0.77
	bAcceptsInput=false




}

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