Changeset View
Changeset View
Standalone View
Standalone View
pregame/mainmenu.xml
Context not available. | |||||
type="button" | type="button" | ||||
style="StoneButtonFancy" | style="StoneButtonFancy" | ||||
size="0 32 100% 60" | size="0 32 100% 60" | ||||
tooltip_style="pgToolTip" | tooltip_style="pgToolTip" | ||||
> | > | ||||
<translatableAttribute id="caption">Host Game</translatableAttribute> | <translatableAttribute id="caption">Create Game</translatableAttribute> | ||||
<translatableAttribute id="tooltip">Host a multiplayer game.\n\nRequires UDP port 20595 to be open.</translatableAttribute> | <translatableAttribute id="tooltip">Create a multiplayer game.\n\nRequires UDP port 20595 to be open.</translatableAttribute> | ||||
<action on="Press"> | <action on="Press"> | ||||
closeMenu(); | closeMenu(); | ||||
// Open Multiplayer connection window with host option. | // Open Multiplayer connection window with host option. | ||||
Engine.PushGuiPage("page_gamesetup_mp.xml", { multiplayerGameType: "host" }); | Engine.PushGuiPage("page_gamesetup_mp.xml", { multiplayerGameType: "host" }); | ||||
</action> | </action> | ||||
Context not available. | |||||
type="button" | type="button" | ||||
style="StoneButtonFancy" | style="StoneButtonFancy" | ||||
size="0 64 100% 92" | size="0 64 100% 92" | ||||
tooltip_style="pgToolTip" | tooltip_style="pgToolTip" | ||||
> | > | ||||
<translatableAttribute id="caption">Game Lobby</translatableAttribute> | <translatableAttribute id="caption">Lobby</translatableAttribute> | ||||
<translatableAttribute id="tooltip">Launch the multiplayer lobby.</translatableAttribute> | <translatableAttribute id="tooltip">Launch the multiplayer lobby.</translatableAttribute> | ||||
<action on="Press"> | <action on="Press"> | ||||
closeMenu(); | closeMenu(); | ||||
// Open Multiplayer game lobby. | // Open Multiplayer game lobby. | ||||
Engine.PushGuiPage("page_prelobby.xml", []); | Engine.PushGuiPage("page_prelobby.xml", []); | ||||
Context not available. |
Wildfire Games · Phabricator