ManiaPlanet 3 ManiaScript Reference 2015.06.18.1510
A ManiaScript Reference of the ManiaPlanet 3 game (frozen installation). This is OUTDATED, and exists only for entertainment purposes.
|
#include <doc.h>
Public Types | |
enum | ETmScoreSortOrder { TotalPoints , BestRace_Time , BestRace_Stunts , BestRace_NbRespawns , BestRace_CheckpointsProgress , PrevRace_Time , Name , LadderRankSortValue } |
enum | ETMRespawnBehaviour { Normal , DoNothing , GiveUpBeforeFirstCheckPoint , AlwaysGiveUp } |
enum | ETmRaceChronoBehaviour { Auto , Hidden , CountDown , Normal } |
enum | EPersonalGhost { Disabled , Latest , FastestRace } |
Public Types inherited from CMode | |
enum | EMedal { None , Finished , Bronze , Silver , Gold , Author } |
Public Member Functions | |
Void | PassOn (CTmModeEvent Event) |
Void | Discard (CTmModeEvent Event) |
Void | SpawnPlayer (CTmPlayer Player, Integer ClanNum, Integer RaceStartTime) |
Void | UnspawnPlayer (CTmPlayer Player) |
Void | SetPlayerClan (CTmPlayer Player, Integer ClanNum) |
Void | Scores_Sort (ETmScoreSortOrder SortOrder) |
Void | Scores_Clear () |
Void | Ladder_ComputeRank (ETmScoreSortOrder SortOrder) |
Public Member Functions inherited from CMode | |
Void | TweakTeamColorsToAvoidHueOverlap () |
Void | RequestLoadMap () |
Void | RequestUnloadMap () |
Void | Ladder_OpenMatch_Request () |
Void | Ladder_AddPlayer (CScore PlayerScore) |
Void | Ladder_OpenMatch_BeginRequest () |
Void | Ladder_OpenMatch_AddPlayer (CScore PlayerScore) |
Void | Ladder_OpenMatch_EndRequest () |
Void | Ladder_CloseMatchRequest () |
Void | Ladder_CancelMatchRequest () |
Void | Ladder_SetResultsVersion (Integer Version) |
Void | Ladder_SetMatchMakingMatchId (Integer MatchId) |
Void | Ladder_EnableChallengeMode (Boolean Enable) |
Boolean | Admin_KickUser (CUser User, Text Reason) |
Void | Admin_SetLobbyInfo (Boolean IsLobby, Integer LobbyPlayerCount, Integer LobbyMaxPlayerCount, Real LobbyPlayersLevel) |
Void | AutoTeamBalance () |
Void | Solo_SetNewRecord (CScore PlayerScore, EMedal PlayerScore) |
Integer | Synchro_AddBarrier () |
Boolean | Synchro_BarrierReached (Integer Barrier) |
Boolean | Users_AreAllies (CUser User1, CUser User2) |
Void | Users_RequestSwitchToSpectator (CUser User) |
CUser | Users_CreateFake (Text NickName, Integer RequestedTeam) |
Void | Users_DestroyFake (CUser User) |
Void | Users_SetNbFakeUsers (Integer NbTeam1, Integer NbTeam2) |
Void | Users_DestroyAllFakes () |
Void | ItemList_Begin () |
Ident | ItemList_Add (Text ModelName) |
Ident | ItemList_AddWithSkin (Text ModelName, Text SkinName) |
Void | ItemList_End () |
Void | DemoToken_StartUsingToken () |
Void | DemoToken_StopUsingToken () |
Void | DemoToken_GetAndUseToken (CUser User) |
Void | ActionList_Begin () |
Ident | ActionList_Add (Text ActionName) |
Void | ActionList_End () |
Void | Replay_Start () |
Void | Replay_Stop () |
Public Attributes | |
const CTmPlayer[] | AllPlayers |
const CTmPlayer[] | Spectators |
const CTmPlayer[] | Players |
const CTmPlayer[] | PlayersRacing |
const CTmPlayer[] | PlayersWaiting |
const CTmScore[] | Scores |
Integer | Clan1Score |
Integer | Clan2Score |
Integer[] | ClanScores |
const Integer | ClansNbTotal |
const Integer[] | ClansNbPlayers |
const CTmModeEvent[] | PendingEvents |
Integer | CutOffTimeLimit |
Integer | NbLaps |
Boolean | IndependantLaps |
Boolean | UseClans |
Boolean | UseForcedClans |
ETMRespawnBehaviour | RespawnBehaviour |
Boolean | UiRounds |
Boolean | UiLaps |
Boolean | UiStuntsMode |
Boolean | UiDisplayStuntsNames |
Boolean | UiDisableHelpMessage |
Integer | UiScoresPointsLimit |
ETmRaceChronoBehaviour | UiRaceChrono |
Boolean | HideOpponents |
Integer | ForceMaxOpponents |
Boolean | EnableLegacyXmlRpcCallbacks |
Boolean | MedalGhost_ShowGold |
Boolean | MedalGhost_ShowSilver |
Boolean | MedalGhost_ShowBronze |
EPersonalGhost | PersonalGhost |
const Vec3 | MapStartLinePos |
const Vec3[] | MapCheckpointPos |
const Vec3[] | MapFinishLinePos |
const Boolean | MapIsLapRace |
const Integer | MapNbLaps |
Public Attributes inherited from CMode | |
Text | ModeStatusMessage |
const CTitle | LoadedTitle |
const Text | ServerLogin |
const Text | ServerName |
const Text | ServerModeName |
const Text | MapName |
const CMap | Map |
const Text | MapPlayerModelName |
const CUser[] | Users |
const CTeam[] | Teams |
Text | NeutralEmblemUrl |
const Text | ForcedClubLinkUrl1 |
const Text | ForcedClubLinkUrl2 |
const Integer | Now |
const Integer | Period |
Boolean | MatchEndRequested |
const Boolean | ServerShutdownRequested |
const Boolean | MapLoaded |
const CMapInfo[] | MapList |
Integer | NextMapIndex |
const CUIConfigMgr | UIManager |
const Boolean | Ladder_RequestInProgress |
const Boolean | Solo_NewRecordSequenceInProgress |
const CXmlRpc | XmlRpc |
const CXmlManager | Xml |
const CHttpManager | Http |
Boolean | UseMinimap |
Boolean | Replay_AutoStart |
Public Attributes inherited from CNod | |
const Ident | Id |
Supported declare modes : Local Persistent Rules API for TrackMania gamemodes.
const Vec3 [] CTmMode::MapCheckpointPos |
You can use MapCheckpointPos.count to get the number of checkpoints.