![]() |
Trackmania ManiaScript Reference 2025.6.19.2137
A ManiaScript Reference of the new Trackmania.
|
A Shootmania player. More...
#include <doc.h>
Public Types | |
| enum | ESpawnStatus { NotSpawned , Spawning , Spawned } |
A Shootmania player.
Supported declare modes :
| Real CSmPlayer::AccelCoef |
Values in range (0.000000-1.000000)
| Integer CSmPlayer::ActionWheelSelectedSlotIndex |
| Real CSmPlayer::AdherenceCoef |
Values in range (0.000000-1.000000)
| Vec3 const CSmPlayer::AimDirection |
| Real const CSmPlayer::AimPitch |
| Real const CSmPlayer::AimRoll |
| Real const CSmPlayer::AimYaw |
| Boolean CSmPlayer::AllowProgressiveJump |
| Boolean CSmPlayer::AllowWallJump |
| Real CSmPlayer::AmmoGain |
Values in range (0.000000-10.000000)
| Integer CSmPlayer::Armor |
| Integer CSmPlayer::ArmorGain |
| Integer CSmPlayer::ArmorMax |
| Real CSmPlayer::ArmorPower |
Values in range (0.100000-10.000000)
| Integer CSmPlayer::ArmorReplenishGain |
| CSmMapLandmark* const CSmPlayer::CapturedLandmark |
| Real CSmPlayer::ControlCoef |
Values in range (0.000000-1.000000)
| Integer const CSmPlayer::CurrentClan |
| Integer const CSmPlayer::CurrentLapNumber |
| Integer const CSmPlayer::CurrentLapRespawns |
| Integer const CSmPlayer::CurrentLapTime |
| Integer const CSmPlayer::CurrentRaceRespawns |
| Integer const CSmPlayer::CurrentRaceTime |
| Integer const CSmPlayer::DisplaySpeed |
| Real const CSmPlayer::Distance |
| Text CSmPlayer::Dossard |
5 ascii chars (ex: '01TMN') or empty for default value
| Vec3 CSmPlayer::Dossard_Color |
| Text CSmPlayer::Dossard_Number |
| Text CSmPlayer::Dossard_Trigram |
| CSmPlayerDriver* const CSmPlayer::Driver |
| Integer CSmPlayer::EndTime |
| Real CSmPlayer::EnergyLevel |
Values in range (0.000000-1.000000)
| Integer const CSmPlayer::EngineCurGear |
| Real const CSmPlayer::EngineRpm |
| Real const CSmPlayer::EngineTurboRatio |
| Real const CSmPlayer::FlyingDistance |
| Integer const CSmPlayer::FlyingDuration |
| Vec3 CSmPlayer::ForceColor |
| Boolean CSmPlayer::ForceLightTrail |
| Real CSmPlayer::ForceLinearHue |
| Ident CSmPlayer::ForceModelId |
| Real const CSmPlayer::GetLinearHue |
Values in range (0.000000-1.000000)
| Real CSmPlayer::GravityCoef |
Values in range (0.000000-1.000000)
| Integer const CSmPlayer::HandicapForceGasDuration |
| Integer const CSmPlayer::HandicapNoBrakesDuration |
| Integer const CSmPlayer::HandicapNoGasDuration |
| Integer const CSmPlayer::HandicapNoGripDuration |
| Integer const CSmPlayer::HandicapNoSteeringDuration |
| Boolean CSmPlayer::HasShield |
| Integer const CSmPlayer::IdleDuration |
| Real const CSmPlayer::InputGasPedal |
| Boolean const CSmPlayer::InputIsBraking |
| Real const CSmPlayer::InputSteer |
| Boolean const CSmPlayer::IsAttractorActivable |
| Boolean const CSmPlayer::IsBot |
| Boolean const CSmPlayer::IsCapturing |
| Boolean const CSmPlayer::IsEntityStateAvailable |
| Boolean const CSmPlayer::IsFakePlayer |
| Boolean CSmPlayer::IsHighlighted |
| Boolean const CSmPlayer::IsInAir |
| Boolean const CSmPlayer::IsInOffZone |
| Boolean const CSmPlayer::IsInVehicle |
| Boolean const CSmPlayer::IsInWater |
| Boolean const CSmPlayer::IsOnTech |
| Boolean const CSmPlayer::IsOnTechArmor |
| Boolean const CSmPlayer::IsOnTechArrow |
| Boolean const CSmPlayer::IsOnTechGround |
| Boolean const CSmPlayer::IsOnTechLaser |
| Boolean const CSmPlayer::IsOnTechNoWeapon |
| Boolean const CSmPlayer::IsOnTechNucleus |
| Boolean const CSmPlayer::IsOnTechSafeZone |
| Boolean const CSmPlayer::IsOnTechTeleport |
| Boolean const CSmPlayer::IsPowerJumpActivable |
| Boolean CSmPlayer::IsStuck |
| Boolean const CSmPlayer::IsTeleportActivable |
| Boolean const CSmPlayer::IsTouchingGround |
| Boolean const CSmPlayer::IsUnderground |
| Real CSmPlayer::JumpPower |
Values in range (0.100000-1.000000)
Equals CurrentLapWaypointTimes when not empty. If it is empty (i.e. before the 1st CP of a new lap), equals PreviousLapWaypointTimes.
| Vec3 const CSmPlayer::LeftDirection |
| Integer const CSmPlayer::NbActiveAttractors |
| Vec3 const CSmPlayer::Position |
| CSmScore* const CSmPlayer::Score |
| Real const CSmPlayer::SkiddingDistance |
| Integer const CSmPlayer::SkiddingDuration |
| CSmPlayer::ESpawnStatus const CSmPlayer::SpawnStatus |
| Real const CSmPlayer::Speed |
| Real CSmPlayer::SpeedPower |
Values in range (0.100000-1.000000)
| Integer CSmPlayer::Stamina |
| Real CSmPlayer::StaminaGain |
Values in range (0.000000-1.000000)
| Real CSmPlayer::StaminaMax |
Values in range (0.100000-3.000000)
| Integer const CSmPlayer::StaminaMaxValue |
| Real CSmPlayer::StaminaPower |
Values in range (0.100000-1.000000)
| Integer const CSmPlayer::StartTime |
| CStuntStatus* const CSmPlayer::Stunt |
Latest stunt event, and stunt currently building-up. Available when UseStunts is enabled.
| Real CSmPlayer::ThrowSpeed |
Values in range (0.000000-500.000000)
| Boolean CSmPlayer::TrustClientSimu |
| Vec3 const CSmPlayer::UpDirection |
| Real const CSmPlayer::Upwardness |
| Boolean CSmPlayer::UseAlternateWeaponVisual |
| Boolean CSmPlayer::UseCrudeExtrapolation |
Use a low-fi extrapolation to display the player. This extrapolation mode does not take interactions into account. Only use it when this player does not interact with other player (e.g. TM TimeAttack, SM Obstacle).
| CModeVehicle* const CSmPlayer::Vehicle |
| Vec3 const CSmPlayer::Velocity |
| Integer const CSmPlayer::WheelsContactCount |
| Integer const CSmPlayer::WheelsSkiddingCount |