![]() |
Trackmania ManiaScript Reference 2025.6.19.2137
A ManiaScript Reference of the new Trackmania.
|
API for titles menus to control the main loop. More...
#include <doc.h>
Public Types | |
| enum | ESplitScreenLayout { Horizontal , Vertical , Four } |
| enum | EResult { Success , Error_Internal , Error_DataMgr , Error_Net_ServerNotFound , Error_Net_ServerUnreachable , Error_Net_Disconnected , Error_Net_WrongPassword , Error_Network_OnlineExpired , Error_Network_ServerFull , Error_Abort } |
| enum | EEditorType { ActionMaker , ChallengeEditor , ItemEditor , InterfaceDesigner , MeshModeler } |
| enum | EReplayEditType { None , Edit , View , Shoot } |
Public Member Functions | |
| Void | PlayMap (Text Map, Text Mode, Text SettingsXml) |
| Void | PlayCampaign (CCampaign Campaign, CMapInfo MapInfo, Text Mode, Text SettingsXml) |
| Void | PlayMapList (Array< Text > MapList, Text Mode, Text SettingsXml) |
| Void | PlayMatchSettings (CMatchSettings MatchSettings, Text OverrideMode, Text OverrideSettingsXml) |
| Void | PlayAgainstReplay (Text Replay, Text Mode, Text SettingsXml) |
| Void | PlaySplitScreen (CTitleControl::ESplitScreenLayout LayoutType, Array< Text > MapList, Text Mode, Text SettingsXml) |
| Void | PlayMultiOnSameScreen (Array< Text > MapList, Text Mode, Text SettingsXml) |
| Void | PlaySplitScreen (CTitleControl::ESplitScreenLayout LayoutType, CMatchSettings MatchSettings) |
| Void | PlayMultiOnSameScreen (CMatchSettings MatchSettings) |
| Void | ViewReplay (Text Replay) |
| Void | OpenEditor (Text EditorName, Text MainPluginSettings) |
| Void | OpenEditor (CTitleControl::EEditorType EditorType) |
| Void | EditSkins () |
| Void | EditSkinsFromFileName (Text SkinFilePath) |
| Void | EditReplay (Array< Text > ReplayList) |
| Void | EditReplay (Array< Text > ReplayList, CTitleControl::EReplayEditType EditType) |
| Void | EditGhosts (Text Map) |
| Void | EditAsset (Text EditorName, Text MainPluginSettingsXml, Text RelativeFileName) |
| Void | EditMap (Text Map, Text EditorPluginScript, Text EditorPluginArgument) |
| Void | EditMap (Text Map, Text Decoration, Text ModNameOrUrl, Text PlayerModel, Text EditorPluginScript, Text EditorPluginArgument) |
| Void | EditMap (Text Map, Text Decoration, Text ModNameOrUrl, Text PlayerModel, Text EditorPluginScript, Text EditorPluginArgument, Boolean UpgradeToAdvancedEditor) |
| Void | EditMap (Text Map, Text Decoration, Text ModNameOrUrl, Text PlayerModel, Array< Text > EditorPluginsScripts, Array< Text > EditorPluginsArguments, Boolean UpgradeToAdvancedEditor) |
| Void | EditMap (Text Map, Text Decoration, Text ModNameOrUrl, Text PlayerModel, Array< Text > EditorPluginsScripts, Array< Text > EditorPluginsArguments, Boolean UpgradeToAdvancedEditor, Boolean OnlyUseForcedPlugins) |
| Void | EditNewMap (Text Environment, Text Decoration, Text ModNameOrUrl, Text PlayerModel, Text MapType, Text EditorPluginScript, Text EditorPluginArgument) |
| Void | EditNewMap (Text Environment, Text Decoration, Text ModNameOrUrl, Text PlayerModel, Text MapType, Boolean UseSimpleEditor, Text EditorPluginScript, Text EditorPluginArgument) |
| Void | EditNewMap (Text Environment, Text Decoration, Text ModNameOrUrl, Text PlayerModel, Text MapType, Boolean UseSimpleEditor, Array< Text > EditorPluginsScripts, Array< Text > EditorPluginsArguments) |
| Void | EditNewMap (Text Environment, Text Decoration, Text ModNameOrUrl, Text PlayerModel, Text MapType, Boolean UseSimpleEditor, Array< Text > EditorPluginsScripts, Array< Text > EditorPluginsArguments, Boolean OnlyUseForcedPlugins) |
| Void | EditNewMapFromBaseMap (Text BaseMapName, Text ModNameOrUrl, Text PlayerModel, Text MapType, Text EditorPluginScript, Text EditorPluginArgument) |
| Void | EditNewMapFromBaseMap (Text BaseMapName, Text Decoration, Text ModNameOrUrl, Text PlayerModel, Text MapType, Text EditorPluginScript, Text EditorPluginArgument) |
| Void | EditNewMapFromBaseMap (Text BaseMapName, Text Decoration, Text ModNameOrUrl, Text PlayerModel, Text MapType, Array< Text > EditorPluginsScripts, Array< Text > EditorPluginsArguments, Boolean OnlyUseForcedPlugins) |
| Void | PublishFile (Text FileName) |
| Void | ProcessManiaCodeXml (Text ManiaCodeXml) |
| Void | DiscoverLocalServers () |
| Void | CreateServer (Text ServerName, Text ServerComment, Integer MaxPlayerCount, Text Password, Text PasswordSpectators, CMatchSettings MatchSettings) |
| Void | CreateServer (Text ServerName, Text ServerComment, Integer MaxPlayerCount, Text Password, Text PasswordSpectators, CMatchSettings MatchSettings, Boolean LocalOnly) |
| Void | GetServerInfo (Text ServerLogin) |
| Void | GetServerInfo (CServerInfo LocalServer) |
| Void | GetServerInfo_Abort () |
| Void | Join_GetServerInfo_Result (Boolean AsSpectator, Text Password) |
| Void | JoinServer (Text ServerLogin, Boolean AsSpectator, Text Password) |
| Void | Quit () |
Public Attributes | |
| Boolean const | IsReady |
| CTitleControl::EResult const | LatestResult |
| Text const | CustomResultType |
| Array< Text > | CustomResultData |
| Boolean const | CanPublishFiles |
| Array< CServerInfo *const > | LocalServers |
| Array< CServerInfo *const > | LocalServers_CurrentTitle |
| CServerInfo *const | GetServerInfo_Result |
| Boolean | JoinServer_DisableSystemDialogs |
Public Attributes inherited from CNod | |
| Ident const | Id |
API for titles menus to control the main loop.
| Void CTitleControl::CreateServer | ( | Text | ServerName, |
| Text | ServerComment, | ||
| Integer | MaxPlayerCount, | ||
| Text | Password, | ||
| Text | PasswordSpectators, | ||
| CMatchSettings | MatchSettings ) |
| Void CTitleControl::CreateServer | ( | Text | ServerName, |
| Text | ServerComment, | ||
| Integer | MaxPlayerCount, | ||
| Text | Password, | ||
| Text | PasswordSpectators, | ||
| CMatchSettings | MatchSettings, | ||
| Boolean | LocalOnly ) |
| Void CTitleControl::DiscoverLocalServers | ( | ) |
| Void CTitleControl::EditAsset | ( | Text | EditorName, |
| Text | MainPluginSettingsXml, | ||
| Text | RelativeFileName ) |
| Void CTitleControl::EditMap | ( | Text | Map, |
| Text | Decoration, | ||
| Text | ModNameOrUrl, | ||
| Text | PlayerModel, | ||
| Array< Text > | EditorPluginsScripts, | ||
| Array< Text > | EditorPluginsArguments, | ||
| Boolean | UpgradeToAdvancedEditor ) |
| Void CTitleControl::EditMap | ( | Text | Map, |
| Text | Decoration, | ||
| Text | ModNameOrUrl, | ||
| Text | PlayerModel, | ||
| Array< Text > | EditorPluginsScripts, | ||
| Array< Text > | EditorPluginsArguments, | ||
| Boolean | UpgradeToAdvancedEditor, | ||
| Boolean | OnlyUseForcedPlugins ) |
| Void CTitleControl::EditMap | ( | Text | Map, |
| Text | Decoration, | ||
| Text | ModNameOrUrl, | ||
| Text | PlayerModel, | ||
| Text | EditorPluginScript, | ||
| Text | EditorPluginArgument ) |
| Void CTitleControl::EditMap | ( | Text | Map, |
| Text | Decoration, | ||
| Text | ModNameOrUrl, | ||
| Text | PlayerModel, | ||
| Text | EditorPluginScript, | ||
| Text | EditorPluginArgument, | ||
| Boolean | UpgradeToAdvancedEditor ) |
| Void CTitleControl::EditNewMap | ( | Text | Environment, |
| Text | Decoration, | ||
| Text | ModNameOrUrl, | ||
| Text | PlayerModel, | ||
| Text | MapType, | ||
| Boolean | UseSimpleEditor, | ||
| Array< Text > | EditorPluginsScripts, | ||
| Array< Text > | EditorPluginsArguments ) |
| Void CTitleControl::EditNewMap | ( | Text | Environment, |
| Text | Decoration, | ||
| Text | ModNameOrUrl, | ||
| Text | PlayerModel, | ||
| Text | MapType, | ||
| Boolean | UseSimpleEditor, | ||
| Array< Text > | EditorPluginsScripts, | ||
| Array< Text > | EditorPluginsArguments, | ||
| Boolean | OnlyUseForcedPlugins ) |
| Void CTitleControl::EditNewMap | ( | Text | Environment, |
| Text | Decoration, | ||
| Text | ModNameOrUrl, | ||
| Text | PlayerModel, | ||
| Text | MapType, | ||
| Boolean | UseSimpleEditor, | ||
| Text | EditorPluginScript, | ||
| Text | EditorPluginArgument ) |
| Void CTitleControl::EditNewMap | ( | Text | Environment, |
| Text | Decoration, | ||
| Text | ModNameOrUrl, | ||
| Text | PlayerModel, | ||
| Text | MapType, | ||
| Text | EditorPluginScript, | ||
| Text | EditorPluginArgument ) |
| Void CTitleControl::EditNewMapFromBaseMap | ( | Text | BaseMapName, |
| Text | Decoration, | ||
| Text | ModNameOrUrl, | ||
| Text | PlayerModel, | ||
| Text | MapType, | ||
| Array< Text > | EditorPluginsScripts, | ||
| Array< Text > | EditorPluginsArguments, | ||
| Boolean | OnlyUseForcedPlugins ) |
| Void CTitleControl::EditNewMapFromBaseMap | ( | Text | BaseMapName, |
| Text | Decoration, | ||
| Text | ModNameOrUrl, | ||
| Text | PlayerModel, | ||
| Text | MapType, | ||
| Text | EditorPluginScript, | ||
| Text | EditorPluginArgument ) |
| Void CTitleControl::EditNewMapFromBaseMap | ( | Text | BaseMapName, |
| Text | ModNameOrUrl, | ||
| Text | PlayerModel, | ||
| Text | MapType, | ||
| Text | EditorPluginScript, | ||
| Text | EditorPluginArgument ) |
| Void CTitleControl::EditReplay | ( | Array< Text > | ReplayList, |
| CTitleControl::EReplayEditType | EditType ) |
| Void CTitleControl::EditSkins | ( | ) |
| Void CTitleControl::GetServerInfo | ( | CServerInfo | LocalServer | ) |
Fetch the server info, from the account id, or 'IP:xxx.xxx.xxx.xxx' with LAN ip
| Void CTitleControl::GetServerInfo_Abort | ( | ) |
Join a server
| Void CTitleControl::OpenEditor | ( | CTitleControl::EEditorType | EditorType | ) |
| Void CTitleControl::PlayCampaign | ( | CCampaign | Campaign, |
| CMapInfo | MapInfo, | ||
| Text | Mode, | ||
| Text | SettingsXml ) |
| Void CTitleControl::PlayMatchSettings | ( | CMatchSettings | MatchSettings, |
| Text | OverrideMode, | ||
| Text | OverrideSettingsXml ) |
| Void CTitleControl::PlayMultiOnSameScreen | ( | CMatchSettings | MatchSettings | ) |
| Void CTitleControl::PlaySplitScreen | ( | CTitleControl::ESplitScreenLayout | LayoutType, |
| Array< Text > | MapList, | ||
| Text | Mode, | ||
| Text | SettingsXml ) |
| Void CTitleControl::PlaySplitScreen | ( | CTitleControl::ESplitScreenLayout | LayoutType, |
| CMatchSettings | MatchSettings ) |
| Void CTitleControl::Quit | ( | ) |
| Boolean const CTitleControl::CanPublishFiles |
| Text const CTitleControl::CustomResultType |
| CServerInfo* const CTitleControl::GetServerInfo_Result |
| Boolean const CTitleControl::IsReady |
Can a command be issued.
| Boolean CTitleControl::JoinServer_DisableSystemDialogs |
| CTitleControl::EResult const CTitleControl::LatestResult |
Result of the latest command issued.
| Array<CServerInfo* const > CTitleControl::LocalServers |
| Array<CServerInfo* const > CTitleControl::LocalServers_CurrentTitle |