CSmArenaRulesMode

ManiaPlanet API


CSmArenaRulesMode

ID 0x2D01A000
Uninstantiable

Inherits from Game::CGamePlaygroundScript → MwFoundations::CMwNod

Rules API for ShootMania gamemodes.

Methods

CSmScriptPlayer@ GetPlayerFromUI(CGamePlaygroundUIConfig@ UI)

CSmScriptPlayer@ GetPlayerFromLogin(string Login)

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

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

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

void PassOn(CSmArenaRulesEvent@ Event)

void Discard(CSmArenaRulesEvent@ Event)

void SpawnPlayer(CSmScriptPlayer@ Player, int ClanNum, int Armor, CGameScriptMapSpawn@ PlayerSpawn, int ActivationDate)

void SpawnPlayer_InTurret(CSmScriptPlayer@ Player, int ClanNum, CGameScriptTurret@ Turret, int ActivationDate)

void SpawnPlayer_InVehicle(CSmScriptPlayer@ Player, int ClanNum, CGameScriptVehicle@ Vehicle, int ActivationDate)

void SpawnPlayer_InVehicle2(CSmScriptPlayer@ Player, int ClanNum, CGameScriptVehicle@ Vehicle, int SlotIndex, int ActivationDate)

void SpawnBotPlayer_AtPlayerSpawn(CSmScriptPlayer@ Player, int ClanNum, int Armor, CGameScriptMapSpawn@ PlayerSpawn, int ActivationDate)

void SpawnBotPlayer_AtBotPath(CSmScriptPlayer@ Player, int ClanNum, int Armor, CGameScriptMapBotPath@ BotPath, int ActivationDate)

void SpawnBotPlayer_AtBotSpawn(CSmScriptPlayer@ Player, int ClanNum, int Armor, CGameScriptMapBotSpawn@ BotSpawn, int ActivationDate)

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

void UnspawnPlayer(CSmScriptPlayer@ Player)

void ClearScores()

void SetPlayerClan(CSmScriptPlayer@ Player, int ClanNum)

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

void SetPlayerReloadAllWeapons(CSmScriptPlayer@ Player, bool ReloadAllWeapons)

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

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

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

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

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

void AddArmor(CGameScriptEntity@ Victim, int DeltaArmor, CGameScriptEntity@ Shooter, int ShooterPoints)

void RemoveArmor(CGameScriptEntity@ Victim, int DeltaArmor, CGameScriptEntity@ Shooter, int ShooterPoints)

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

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

int GetWeaponIndex(CSmArenaRulesMode::EWeapon Weapon)

int GetWeaponNum(CSmArenaRulesMode::EWeapon Weapon)

bool CanRespawnPlayer(CSmScriptPlayer@ Player)

void RespawnPlayer(CSmScriptPlayer@ Player)

void RespawnPlayerAtWaypoint(CSmScriptPlayer@ Player, CGameScriptMapWaypoint@ Waypoint)

void RespawnPlayerAtLandmark(CSmScriptPlayer@ Player, CSmScriptMapLandmark@ CheckpointLandmark)

CSmScriptPlayer@ CreateBotPlayer(MwId ModelId, int ClanNum)

void DestroyBotPlayer(CSmScriptPlayer@ BotPlayer)

void DestroyAllBotPlayers()

void ScriptedBot_Move(CSmScriptPlayer@ BotPlayer, vec3 Goal)

void ScriptedBot_MoveDelta(CSmScriptPlayer@ BotPlayer, vec3 Delta)

void ScriptedBot_MoveAndAim(CSmScriptPlayer@ BotPlayer, vec3 Goal)

void ScriptedBot_MoveDeltaAndAim(CSmScriptPlayer@ BotPlayer, vec3 Delta)

void ScriptedBot_Aim(CSmScriptPlayer@ BotPlayer, vec3 Goal)

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

void ScriptedBot_RequestAction(CSmScriptPlayer@ BotPlayer)

void ScriptedBot_RequestGunTrigger(CSmScriptPlayer@ BotPlayer)

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

void ActionLoad_Vehicle(CGameScriptVehicle@ Vehicle, int VehicleSlotIndex, CSmArenaRulesMode::EActionSlot ActionSlot, MwId ModelId)

void ActionLoad_Turret(CGameScriptTurret@ Turret, CSmArenaRulesMode::EActionSlot ActionSlot, MwId ModelId)

uint Action_GetCooldown(CSmScriptPlayer@ Player, CSmArenaRulesMode::EActionInput ActionInput)

uint Action_GetRemainingCooldown(CSmScriptPlayer@ Player, CSmArenaRulesMode::EActionInput ActionInput)

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

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

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

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

void SetNbFakePlayers(int NbClan1, int NbClan2)

CSmObject@ ObjectCreate(MwId ModelId)

void ObjectDestroy(CSmObject@ Object)

void ObjectDestroyAll()

void RemoveShieldArmor(uint VictimShieldId, uint Damage)

void AddVehicleArmor(CGameScriptVehicle@ Victim, int DeltaArmor, CSmScriptPlayer@ Shooter, int ShooterPoints)

void RemoveVehicleArmor(CGameScriptVehicle@ Victim, int DeltaArmor, CSmScriptPlayer@ Shooter, int ShooterPoints)

void Replay_SaveAttackScore(CSmScriptPlayer@ Player, int Score)

void Replay_SaveDefenseScore(CSmScriptPlayer@ Player, int Score)

void Replay_SaveTeamScore(uint Team, int Score)

void Replay_SavePlayerOfInterest(CSmScriptPlayer@ Player)

void Replay_SaveWinner(CSmScriptPlayer@ Player)

void Replay_SaveInterface()

Members

uint StartTime

uint EndTime

uint SpawnInvulnerabilityDuration

bool UseMultiClans

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<CSmScriptPlayer@> Players

const MwFastBuffer<CSmScriptPlayer@> BotPlayers

const MwFastBuffer<CSmScriptPlayer@> Spectators

const MwFastBuffer<CSmScriptPlayer@> 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 ModuleName)

void PassOnModuleEvent(CGamePlaygroundUIConfigEvent@ EventToPassOn)

void DiscardModuleEvent(CGamePlaygroundUIConfigEvent@ EventToDiscard)

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 SkinNameOrUrl)

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()

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 CGamePlaygroundUIConfigMgrScript@ UIManager

const CGamePlaygroundModuleServerHud@ Hud

const bool Ladder_RequestInProgress

const CGameScriptServerAdmin@ ServerAdmin

const bool Solo_NewRecordSequenceInProgress

const CGameServerScriptXmlRpc@ XmlRpc

const CXmlScriptParsingManager@ Xml

const CNetScriptHttpManager@ Http

const CInputScriptManager@ Input

const CGameDataFileManagerScript@ DataFileMgr

const CGameScoreAndLeaderBoardManagerScript@ ScoreMgr

const CSystemPlatformScript@ System

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 CGameScriptMgrTurret@ TurretsManager

const CGameScriptMgrVehicle@ VehiclesManager

const CGameMgrAction@ ActionsManager

Inherited members CMwNod

string IdName

const MwId Id

Enums

EWeapon

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

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 2019-11-19 18:50:52
(Page rendering: 0.06 seconds, 13.08 MB)