ManiaPlanet ManiaScript Reference 2019.11.19.1850
A ManiaScript Reference of the ManiaPlanet game.
|
#include <doc.h>
Public Types | |
enum | EWeapon { Laser , Rocket , Nucleus , Arrow , Missile } |
enum | EActionSlot { Slot_A , Slot_B , Slot_C , Slot_D , Slot_E , Slot_F , Slot_G , Slot_H } |
enum | EActionInput { Weapon , Movement , Activable1 , Activable2 , Activable3 , Activable4 , Consumable1 , Consumable2 , None } |
enum | EGameplay { Default , Mp3Beta0 } |
Public Types inherited from CMode | |
enum | EMedal { None , Finished , Bronze , Silver , Gold , Author } |
Public Member Functions | |
CSmPlayer | GetPlayer (CUIConfig UI) |
CSmPlayer | GetPlayer (Text Login) |
Void | PassOn (CSmModeEvent Event) |
Void | Discard (CSmModeEvent Event) |
Void | SpawnPlayer (CSmPlayer Player, Integer ClanNum, Integer Armor, CMapSpawn PlayerSpawn, Integer ActivationDate) |
Void | SpawnPlayer (CSmPlayer Player, Integer ClanNum, CModeTurret Turret, Integer ActivationDate) |
Void | SpawnPlayer (CSmPlayer Player, Integer ClanNum, CModeVehicle Vehicle, Integer ActivationDate) |
Void | SpawnPlayer (CSmPlayer Player, Integer ClanNum, CModeVehicle Vehicle, Integer SlotIndex, Integer ActivationDate) |
Void | SpawnBotPlayer (CSmPlayer Player, Integer ClanNum, Integer Armor, CMapSpawn PlayerSpawn, Integer ActivationDate) |
Void | SpawnBotPlayer (CSmPlayer Player, Integer ClanNum, Integer Armor, CMapBotPath BotPath, Integer ActivationDate) |
Void | SpawnBotPlayer (CSmPlayer Player, Integer ClanNum, Integer Armor, CMapBotSpawn BotSpawn, Integer ActivationDate) |
Void | SpawnBotPlayer (CSmPlayer Player, CSmPlayer Owner, Integer Armor, Vec3 Offset, Integer ActivationDate) |
Void | UnspawnPlayer (CSmPlayer Player) |
Void | ClearScores () |
Void | SetPlayerClan (CSmPlayer Player, Integer ClanNum) |
Void | SetPlayerWeapon (CSmPlayer Player, EWeapon DefaultWeapon, Boolean AutoSwitchWeapon) |
Void | SetPlayerReloadAllWeapons (CSmPlayer Player, Boolean ReloadAllWeapons) |
Void | SetPlayerAmmo (CSmPlayer Player, EWeapon Weapon, Integer Count) |
Integer | GetPlayerAmmo (CSmPlayer Player, EWeapon Weapon) |
Void | AddPlayerAmmo (CSmPlayer Player, EWeapon Weapon, Real DeltaCount) |
Void | SetPlayerAmmoMax (CSmPlayer Player, EWeapon Weapon, Integer Count) |
Integer | GetPlayerAmmoMax (CSmPlayer Player, EWeapon Weapon) |
Void | AddArmor (CEntity Victim, Integer DeltaArmor, CEntity Shooter, Integer ShooterPoints) |
Void | RemoveArmor (CEntity Victim, Integer DeltaArmor, CEntity Shooter, Integer ShooterPoints) |
Integer | GetWeaponNum (EWeapon Weapon) |
Boolean | CanRespawnPlayer (CSmPlayer Player) |
Void | RespawnPlayer (CSmPlayer Player) |
Void | RespawnPlayer (CSmPlayer Player, CMapWaypoint Waypoint) |
CSmPlayer | CreateBotPlayer (Ident ModelId, Integer ClanNum) |
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, Real DeltaYaw, Real DeltaPitch) |
Void | ScriptedBot_RequestAction (CSmPlayer BotPlayer) |
Void | ScriptedBot_RequestGunTrigger (CSmPlayer BotPlayer) |
Void | ActionLoad (CSmPlayer Player, EActionSlot ActionSlot, Ident ModelId) |
Void | ActionLoad (CModeVehicle Vehicle, Integer VehicleSlotIndex, EActionSlot ActionSlot, Ident ModelId) |
Void | ActionLoad (CModeTurret Turret, EActionSlot ActionSlot, Ident ModelId) |
Integer | Action_GetCooldown (CSmPlayer Player, EActionInput ActionInput) |
Integer | Action_GetRemainingCooldown (CSmPlayer Player, EActionInput ActionInput) |
Void | ActionBind (CSmPlayer Player, EActionSlot ActionSlot, EActionInput ActionInput) |
Void | ActionSetVariant (CSmPlayer Player, EActionSlot ActionSlot, Integer ActionVariant) |
Void | SetNbFakePlayers (Integer NbClan1, Integer NbClan2) |
CSmObject | ObjectCreate (Ident ModelId) |
Void | ObjectDestroy (CSmObject Object) |
Void | ObjectDestroyAll () |
Void | RemoveShieldArmor (Integer VictimShieldId, Integer Damage) |
Void | Replay_SaveAttackScore (CSmPlayer Player, Integer Score) |
Void | Replay_SaveDefenseScore (CSmPlayer Player, Integer Score) |
Void | Replay_SaveTeamScore (Integer Team, Integer Score) |
Void | Replay_SavePlayerOfInterest (CSmPlayer Player) |
Void | Replay_SaveWinner (CSmPlayer Player) |
Void | Replay_SaveInterface () |
Public Member Functions inherited from CMode | |
Void | TweakTeamColorsToAvoidHueOverlap () |
Void | RequestLoadMap () |
Void | RequestUnloadMap () |
Void | Hud_Load (Text ModuleName) |
Void | PassOn (CUIConfigEvent EventToPassOn) |
Void | Discard (CUIConfigEvent EventToDiscard) |
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) |
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 () |
Boolean | ItemList_Begin () |
Ident | ItemList_Add (Text ModelName) |
Ident | ItemList_AddWithSkin (Text ModelName, Text SkinNameOrUrl) |
Void | ItemList_End () |
Void | DemoToken_StartUsingToken () |
Void | DemoToken_StopUsingToken () |
Void | DemoToken_GetAndUseToken (CUser User) |
Void | ActionList_Begin () |
Boolean | ActionList_Begin () |
Ident | ActionList_Add (Text ActionName) |
Void | ActionList_End () |
Void | Replay_Start () |
Void | Replay_Stop () |
Text | Dbg_DumpDeclareForVariables (CNod Nod, Boolean StatsOnly) |
Public Attributes | |
Integer | StartTime |
Integer | EndTime |
Integer | SpawnInvulnerabilityDuration |
Boolean | UseMultiClans |
Boolean | UseClans |
Boolean | UseForcedClans |
Boolean | UsePvPCollisions |
Boolean | UsePvPWeapons |
Boolean | UseInterractiveScreensIn3d |
Boolean | UseLaserVsBullets |
Boolean | UseLaserSkewering |
Boolean | UsePlayerTagging |
Boolean | UseBeaconsWithRecipients |
Boolean | UseAmmoBonusOnHit |
Boolean | UseSameWallJump |
Boolean | UseDefaultActionEvents |
Boolean | UseAllies |
Boolean | UseAutoSpawnBots |
Boolean | UseAutoRespawnBots |
Boolean | WalkOnWall |
Boolean | UseAutoDiscardBotEvents |
Boolean | ForceNavMapsComputation |
Integer | GameplayVersion |
EGameplay | Gameplay |
Boolean | UseProtectClanmates |
Real | OffZoneRadius |
Real | OffZoneRadiusSpeed |
Ident | OffZoneCenterLandmarkId |
const Integer | PlayersNbTotal |
const Integer | PlayersNbAlive |
const Integer | PlayersNbDead |
const Integer | ClansNbTotal |
const Integer | ClansNbAlive |
const Integer | ClansNbDead |
const Integer[] | ClansNbPlayers |
const Integer[] | ClansNbPlayersAlive |
const CSmPlayer[] | Players |
const CSmPlayer[] | BotPlayers |
const CSmPlayer[] | Spectators |
const CSmPlayer[] | AllPlayers |
const CSmModeEvent[] | PendingEvents |
const CSmMapBase[] | MapBases |
const CSmMapLandmark[] | MapLandmarks |
const CSmMapLandmark[] | MapLandmarks_PlayerSpawn |
const CSmMapLandmark[] | MapLandmarks_Gauge |
const CSmMapLandmark[] | MapLandmarks_Sector |
const CSmMapLandmark[] | MapLandmarks_BotPath |
const CSmMapLandmark[] | MapLandmarks_BotSpawn |
const CSmMapLandmark[] | MapLandmarks_ObjectAnchor |
const CSmMapLandmark[] | MapLandmarks_Gate |
const CSmScore[] | Scores |
Integer[] | ClanScores |
const CSmObject[] | Objects |
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 |
Text | ClientManiaAppUrl |
const Integer | Now |
const Integer | Period |
Boolean | MatchEndRequested |
const Boolean | ServerShutdownRequested |
const Boolean | MapLoaded |
const CMapInfo[] | MapList |
Integer | NextMapIndex |
const CUIConfigMgr | UIManager |
const CModulePlaygroundHud | Hud |
const Boolean | Ladder_RequestInProgress |
const CServerAdmin | ServerAdmin |
const Boolean | Solo_NewRecordSequenceInProgress |
const CXmlRpc | XmlRpc |
const CParsingManager | Xml |
const CHttpManager | Http |
const CInputManager | Input |
const CDataFileMgr | DataFileMgr |
const CScoreMgr | ScoreMgr |
const CSystemPlatform | System |
Boolean | UseMinimap |
Boolean | Replay_AutoStart |
const CAchievementsManager | AchievementsManager |
const CModeTurretManager | TurretsManager |
const CModeVehicleManager | VehiclesManager |
const CActionManager | ActionsManager |
Public Attributes inherited from CNod | |
const Ident | Id |
Supported declare modes : Local Persistent Rules API for ShootMania gamemodes.