CSmArenaRulesMode

TrackMania Turbo API


CSmArenaRulesMode

ID 0x2D01A000
Uninstantiable

Inherits from Game::CGamePlaygroundScript → MwFoundations::CMwNod

Rules API for ShootMania gamemodes.

Methods

void SpawnPlayer_Deprecated(CSmPlayer@ Player, int ClanNum, int Armor, CSmScriptBlockSpawn@ PlayerSpawn, int ActivationDate)

void SpawnBotPlayer_Deprecated(CSmPlayer@ Player, int ClanNum, int Armor, CSmScriptLandmark@ Landmark, int ActivationDate)

CSmPlayer@ CreateBotPlayer_Deprecated(MwId ModelId, int ClanNum, int Armor, CSmScriptLandmark@ Landmark, int ActivationDate)

void PassOn(CSmArenaRulesEvent@ Event)

void Discard(CSmArenaRulesEvent@ Event)

void SpawnPlayer(CSmPlayer@ Player, int ClanNum, int Armor, CSmScriptMapPlayerSpawn@ PlayerSpawn, int ActivationDate)

void SpawnBotPlayer_AtPlayerSpawn(CSmPlayer@ Player, int ClanNum, int Armor, CSmScriptMapPlayerSpawn@ PlayerSpawn, int ActivationDate)

void SpawnBotPlayer_AtBotPath(CSmPlayer@ Player, int ClanNum, int Armor, CSmScriptMapBotPath@ BotPath, int ActivationDate)

void SpawnBotPlayer_AtBotSpawn(CSmPlayer@ Player, int ClanNum, int Armor, CSmScriptMapBotSpawn@ BotSpawn, int ActivationDate)

void SpawnBotPlayer_FromOwner(CSmPlayer@ Player, CSmPlayer@ Owner, int Armor, vec3 Offset, int ActivationDate)

void UnspawnPlayer(CSmPlayer@ Player)

void ClearScores()

void SetPlayerClan(CSmPlayer@ Player, int ClanNum)

void SetPlayerWeapon(CSmPlayer@ Player, CSmArenaRulesMode::EWeapon DefaultWeapon, bool AutoSwitchWeapon)

void SetPlayerReloadAllWeapons(CSmPlayer@ Player, bool ReloadAllWeapons)

void SetPlayerAmmo(CSmPlayer@ Player, CSmArenaRulesMode::EWeapon Weapon, int Count)

int GetPlayerAmmo(CSmPlayer@ Player, CSmArenaRulesMode::EWeapon Weapon)

void AddPlayerAmmo(CSmPlayer@ Player, CSmArenaRulesMode::EWeapon Weapon, float DeltaCount)

void SetPlayerAmmoMax(CSmPlayer@ Player, CSmArenaRulesMode::EWeapon Weapon, int Count)

int GetPlayerAmmoMax(CSmPlayer@ Player, CSmArenaRulesMode::EWeapon Weapon)

void AddPlayerArmor(CSmPlayer@ Victim, int DeltaArmor, CSmPlayer@ Shooter, int ShooterPoints)

void RemovePlayerArmor(CSmPlayer@ Victim, int DeltaArmor, CSmPlayer@ Shooter, int ShooterPoints)

int GetWeaponIndex(CSmArenaRulesMode::EWeapon Weapon)

int GetWeaponNum(CSmArenaRulesMode::EWeapon Weapon)

bool CanRespawnPlayer(CSmPlayer@ Player)

void RespawnPlayer(CSmPlayer@ Player)

void RespawnPlayerAtCheckpoint(CSmPlayer@ Player, CSmScriptMapLandmark@ CheckpointLandmark)

CSmPlayer@ CreateBotPlayer(MwId ModelId, int TeamNum)

void DestroyBotPlayer(CSmPlayer@ BotPlayer)

void DestroyAllBotPlayers()

void ScriptedBot_Move(CSmPlayer@ BotPlayer, vec3 Goal)

void ScriptedBot_MoveDelta(CSmPlayer@ BotPlayer, vec3 Delta)

void ScriptedBot_MoveAndAim(CSmPlayer@ BotPlayer, vec3 Goal)

void ScriptedBot_MoveDeltaAndAim(CSmPlayer@ BotPlayer, vec3 Delta)

void ScriptedBot_Aim(CSmPlayer@ BotPlayer, vec3 Goal)

void ScriptedBot_AimDelta(CSmPlayer@ BotPlayer, float DeltaYaw, float DeltaPitch)

void ScriptedBot_RequestAction(CSmPlayer@ BotPlayer)

void ScriptedBot_RequestGunTrigger(CSmPlayer@ BotPlayer)

void ActionLoad(CSmPlayer@ Player, CSmArenaRulesMode::EActionSlot ActionSlot, MwId ModelId)

void ActionBind(CSmPlayer@ Player, CSmArenaRulesMode::EActionSlot ActionSlot, CSmArenaRulesMode::EActionInput ActionInput)

void ActionSetVariant(CSmPlayer@ Player, CSmArenaRulesMode::EActionSlot ActionSlot, uint ActionVariant)

void LoadAction(CSmPlayer@ Player, CSmArenaRulesMode::EActionSlot ActionSlot, MwId ModelId, uint ActionVariant)

void BindAction(CSmPlayer@ Player, CSmArenaRulesMode::EActionSlot ActionSlot, CSmArenaRulesMode::EActionInput ActionInput)

void SetNbFakePlayers(int NbClan1, int NbClan2)

CSmObject@ ObjectCreate(MwId ModelId)

void ObjectDestroy(CSmObject@ Object)

void ObjectDestroyAll()

void Replay_SaveAttackScore(CSmPlayer@ Player, int Score)

void Replay_SaveDefenseScore(CSmPlayer@ Player, int Score)

void Replay_SaveTeamScore(uint Team, int Score)

void Replay_SavePlayerOfInterest(CSmPlayer@ Player)

void Replay_SaveWinner(CSmPlayer@ Player)

void Replay_SaveInterface()

Members

uint StartTime

uint EndTime

uint SpawnInvulnerabilityDuration

bool UseClans

bool UseForcedClans

bool UsePvPCollisions

bool UsePvPWeapons

bool UseInterractiveScreensIn3d

bool UseLaserVsBullets

bool UseLaserSkewering

bool UsePlayerTagging

bool UseBeaconsWithRecipients

bool UseAmmoBonusOnHit

bool UseSameWallJump

bool UseDefaultActionEvents

bool UseAllies

bool UseAutoSpawnBots

bool UseAutoRespawnBots

bool WalkOnWall

bool UseAutoDiscardBotEvents

bool DbgEnableNavMesh

bool ForceNavMapsComputation

uint GameplayVersion

CSmArenaRulesMode::EGameplay Gameplay

EGameplay::Default
EGameplay::Mp3Beta0

bool UseProtectClanmates

float OffZoneRadius

float OffZoneRadiusSpeed

MwId OffZoneCenterBlockId

MwId OffZoneCenterLandmarkId

const uint PlayersNbTotal

const uint PlayersNbAlive

const uint PlayersNbDead

const uint ClansNbTotal

const uint ClansNbAlive

const uint ClansNbDead

const MwFastBuffer<uint> ClansNbPlayers

const MwFastBuffer<uint> ClansNbPlayersAlive

const MwFastBuffer<CSmPlayer@> Players

const MwFastBuffer<CSmPlayer@> BotPlayers

const MwFastBuffer<CSmPlayer@> Spectators

const MwFastBuffer<CSmPlayer@> AllPlayers

const MwFastBuffer<CSmArenaRulesEvent@> PendingEvents

const MwFastBuffer<CSmScriptBase@> Bases

const MwFastBuffer<CSmScriptBlock@> Blocks

const MwFastBuffer<CSmScriptBlockSpawn@> BlockSpawns

const MwFastBuffer<CSmScriptBlockPole@> BlockPoles

const MwFastBuffer<CSmScriptBotPath@> BotPaths

const MwFastBuffer<CSmScriptObjectAnchor@> ObjectAnchors

const MwFastBuffer<CSmScriptMapBase@> MapBases

const MwFastBuffer<CSmScriptMapLandmark@> MapLandmarks

const MwFastBuffer<CSmScriptMapLandmark@> MapLandmarks_PlayerSpawn

const MwFastBuffer<CSmScriptMapLandmark@> MapLandmarks_Gauge

const MwFastBuffer<CSmScriptMapLandmark@> MapLandmarks_Sector

const MwFastBuffer<CSmScriptMapLandmark@> MapLandmarks_BotPath

const MwFastBuffer<CSmScriptMapLandmark@> MapLandmarks_BotSpawn

const MwFastBuffer<CSmScriptMapLandmark@> MapLandmarks_ObjectAnchor

const MwFastBuffer<CSmScriptMapLandmark@> MapLandmarks_Gate

const MwFastBuffer<CSmArenaScore@> Scores

uint Clan1Score

uint Clan2Score

MwFastArray<int> ClanScores

const MwFastBuffer<CSmObject@> Objects

Inherited methods CGamePlaygroundScript

void TweakTeamColorsToAvoidHueOverlap()

void RequestLoadMap()

void RequestUnloadMap()

void Hud_Load(wstring ModuleUrl)

void Ladder_OpenMatch_Request()

void Ladder_AddPlayer(CGamePlaygroundScore@ PlayerScore)

void Ladder_OpenMatch_BeginRequest()

void Ladder_OpenMatch_AddPlayer(CGamePlaygroundScore@ PlayerScore)

void Ladder_OpenMatch_EndRequest()

void Ladder_CloseMatchRequest()

void Ladder_CancelMatchRequest()

void Ladder_SetResultsVersion(uint Version)

void Ladder_SetMatchMakingMatchId(uint MatchId)

void Ladder_EnableChallengeMode(bool Enable)

bool Admin_KickUser(CGamePlayerInfo@ User, wstring Reason)

void Admin_SetLobbyInfo(bool IsLobby, int LobbyPlayerCount, int LobbyMaxPlayerCount, float LobbyPlayersLevel)

void AutoTeamBalance()

void Solo_SetNewRecord(CGamePlaygroundScore@ PlayerScore, CGamePlaygroundScript::EMedal PlayerScore)

int Synchro_AddBarrier()

bool Synchro_BarrierReached(int Barrier)

bool Users_AreAllies(CGamePlayerInfo@ User1, CGamePlayerInfo@ User2)

void Users_RequestSwitchToSpectator(CGamePlayerInfo@ User)

CGamePlayerInfo@ Users_CreateFake(wstring NickName, int RequestedTeam)

void Users_DestroyFake(CGamePlayerInfo@ User)

void Users_SetNbFakeUsers(int NbTeam1, int NbTeam2)

void Users_DestroyAllFakes()

void ItemList_Begin()

bool ItemList_Begin2()

MwId ItemList_Add(wstring ModelName)

MwId ItemList_AddWithSkin(wstring ModelName, wstring SkinName)

void ItemList_End()

void DemoToken_StartUsingToken()

void DemoToken_StopUsingToken()

void DemoToken_GetAndUseToken(CGamePlayerInfo@ User)

void ActionList_Begin()

bool ActionList_Begin2()

MwId ActionList_Add(wstring ActionName)

void ActionList_End()

void Replay_Start()

void Replay_Stop()

CGameManiaplanetPluginInterface@ GetPluginInterface(wstring Name)

wstring Dbg_DumpDeclareForVariables(CMwNod@ Nod, bool StatsOnly)

Inherited members CGamePlaygroundScript

CPlugFileTextScript@ Script

wstring ModeStatusMessage

const CGameManiaTitle@ LoadedTitle

const string ServerLogin

const wstring ServerName

const wstring ServerModeName

const wstring MapName

const CGameCtnChallenge@ Map

const wstring MapPlayerModelName

const MwFastBuffer<CGamePlayerInfo@> Users

const MwFastBuffer<CGameTeamProfile@> Teams

string NeutralEmblemUrl

const string ForcedClubLinkUrl1

const string ForcedClubLinkUrl2

string ClientManiaAppUrl

const uint Now

const uint Period

bool MatchEndRequested

const bool ServerShutdownRequested

const bool MapLoaded

const MwFastBuffer<CGameCtnChallengeInfo@> MapList

uint NextMapIndex

const CGamePlaygroundUIConfigMgr@ UIManager

const CGamePlaygroundModuleServerHud@ Hud

const bool Ladder_RequestInProgress

const bool Solo_NewRecordSequenceInProgress

const CGamePlaygroundScriptXmlRpc@ XmlRpc

const CXmlScriptManager@ Xml

const CNetScriptHttpManager@ Http

const CInputScriptManager@ Input

const CGameDataManagerScript@ DataMgr

const CGameScoreAndLeaderBoardManagerScript@ ScoreMgr

const CGamePlaygroundScript::ESystemPlatform SystemPlatform

ESystemPlatform::None
ESystemPlatform::Steam
ESystemPlatform::UPlay
ESystemPlatform::PS4
ESystemPlatform::XBoxOne

const CGamePlaygroundScript::ESystemSkuIdentifier SystemSkuIdentifier

ESystemSkuIdentifier::Unknown
ESystemSkuIdentifier::EU
ESystemSkuIdentifier::US
ESystemSkuIdentifier::JP

uint Users_EdNbFakeUsers

bool UseMinimap

bool Replay_AutoStart

const CGameAchievementScriptManager@ AchievementsManager

const MwFastBuffer<CGameManiaplanetPluginInterface@> PluginInterfaces

const CGamePluginInterfacesScript@ Plugins

Inherited members CMwNod

string IdName

const MwId Id

Enums

EWeapon

EWeapon::Laser
EWeapon::Rocket
EWeapon::Nucleus
EWeapon::Arrow

EActionSlot

EActionSlot::Slot_A
EActionSlot::Slot_B
EActionSlot::Slot_C
EActionSlot::Slot_D
EActionSlot::Slot_E
EActionSlot::Slot_F
EActionSlot::Slot_G
EActionSlot::Slot_H

EActionInput

EActionInput::Weapon
EActionInput::Movement
EActionInput::Activable1
EActionInput::Activable2
EActionInput::Activable3
EActionInput::Activable4
EActionInput::Consumable1
EActionInput::Consumable2
EActionInput::None

EGameplay

EGameplay::Default
EGameplay::Mp3Beta0

Documentation from build 2016-11-07 16:15:45
(Page rendering: 0.06 seconds, 11.35 MB)