CSmPlayerDriver

Trackmania Next API


CSmPlayerDriver

ID 0x2D00A000
Uninstantiable

Inherits from MwFoundations::CMwNod

API for ShootMania bots

Methods

void Scripted_Move(vec3 Goal)

void Scripted_MoveDelta(vec3 Delta)

void Scripted_MoveAndAim(vec3 Goal)

void Scripted_MoveDeltaAndAim(vec3 Delta)

void Scripted_Aim(vec3 Goal)

void Scripted_AimDelta(float DeltaYaw, float DeltaPitch)

void Scripted_RequestAction()

void Scripted_RequestGunTrigger()

void Scripted_RequestInput(CSmArenaRulesMode::EActionInput Input)

void Patrol_Restart()

Members

CSmPlayerDriver::ESmDriverBehaviour Behaviour

ESmDriverBehaviour::Static
ESmDriverBehaviour::Turret
ESmDriverBehaviour::Scripted
ESmDriverBehaviour::IA
ESmDriverBehaviour::Patrol
ESmDriverBehaviour::Escape
ESmDriverBehaviour::Saunter
ESmDriverBehaviour::Orbit
ESmDriverBehaviour::Follow

bool PursueTarget

float AggroRadius

float ShootRadius

float TargetMinDistance

float DisengageDistance

float PathSpeedCoef

float Accuracy

uint ReactionTime

uint ShootPeriodMin

uint ShootPeriodMax

bool RocketAnticipation

float Fov

float TargetDetectionFov

CSmPlayerDriver::ESmAttackFilter AttackFilter

ESmAttackFilter::All
ESmAttackFilter::AllPlayers
ESmAttackFilter::AllBots
ESmAttackFilter::AllOpposite
ESmAttackFilter::OppositePlayers
ESmAttackFilter::OppositeBots
ESmAttackFilter::Nobody

const CSmScriptPlayer@ Target

const bool IsStuck

bool IsFlying

const CSmPlayerDriver::ESmDriverPathState PathState

ESmDriverPathState::Static
ESmDriverPathState::None
ESmDriverPathState::Computing
ESmDriverPathState::Simple
ESmDriverPathState::Full
ESmDriverPathState::Incomplete
ESmDriverPathState::InFlock

const CSmScriptPlayer@ Owner

int PathOffset

float Agressivity

bool UseOldShootingSystem

CSmPlayerDriver::ESmDriverPatrolMode Patrol_Mode

ESmDriverPatrolMode::OneTrip
ESmDriverPatrolMode::BackAndForth
ESmDriverPatrolMode::Loop

CGameScriptMapBotPath@ Patrol_Path

vec3 Escape_AnchorPoint

float Escape_DistanceSafe

float Escape_DistanceMinEscape

float Escape_DistanceMaxEscape

vec3 Saunter_AnchorPoint

uint Saunter_BaseChillingTime

uint Saunter_ChillingTimeDelta

float Saunter_Radius

vec3 Orbit_AnchorPoint

float Orbit_Radius

bool Orbit_IsClockWise

bool Scripted_ForceAimInMoveDir

vec3 Follow_Offset

bool Follow_ForceAimInLeaderDir

bool Follow_HasLeader

CSmScriptPlayer@ Follow_Leader

vec3 Follow_AnchorPoint

CSmScriptPlayer@ ForcedTarget

MwFastBuffer<CSmScriptPlayer@> TargetsToAvoid

bool PredictJump

bool UsePathFinding

CSmArenaRulesMode::EActionInput OnStuckInput

EActionInput::Weapon
EActionInput::Secondary
EActionInput::Movement
EActionInput::QuickAccess1
EActionInput::QuickAccess2
EActionInput::QuickAccess3
EActionInput::QuickAccess4
EActionInput::QuickAccess5
EActionInput::QuickAccess6
EActionInput::QuickAccess7
EActionInput::QuickAccess8
EActionInput::QuickAccess9
EActionInput::QuickAccess0
EActionInput::Consumable1
EActionInput::Consumable2
EActionInput::None

float MaxPathDivergence

float TargetWorldRadius

float TargetWorldPriority

uint LostTargetChaseDuration

MwFastBuffer<CSmPlayerDriver@> FlockPartners

float FlockRadius

float FlockFov

float FlockCohesionWeight

float FlockAlignmentWeight

float FlockSeparationWeight

Inherited members CMwNod

string IdName

const MwId Id

Enums

ESmDriverBehaviour

ESmDriverBehaviour::Static
ESmDriverBehaviour::Turret
ESmDriverBehaviour::Scripted
ESmDriverBehaviour::IA
ESmDriverBehaviour::Patrol
ESmDriverBehaviour::Escape
ESmDriverBehaviour::Saunter
ESmDriverBehaviour::Orbit
ESmDriverBehaviour::Follow

ESmDriverPathState

ESmDriverPathState::Static
ESmDriverPathState::None
ESmDriverPathState::Computing
ESmDriverPathState::Simple
ESmDriverPathState::Full
ESmDriverPathState::Incomplete
ESmDriverPathState::InFlock

ESmDriverPatrolMode

ESmDriverPatrolMode::OneTrip
ESmDriverPatrolMode::BackAndForth
ESmDriverPatrolMode::Loop

ESmAttackFilter

ESmAttackFilter::All
ESmAttackFilter::AllPlayers
ESmAttackFilter::AllBots
ESmAttackFilter::AllOpposite
ESmAttackFilter::OppositePlayers
ESmAttackFilter::OppositeBots
ESmAttackFilter::Nobody

Documentation from build 2024-12-12 15:15:35
(Page rendering: 0.06 seconds, 14.69 MB)