M&B: Bannerlord 1.0.0
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.MountAndBlade.SiegeWeaponMovementComponent Class Reference

Inherits TaleWorlds.MountAndBlade.UsableMissionObjectComponent.

Public Member Functions

void HighlightPath ()
 
void SetupGhostEntity ()
 
void SetGhostVisibility (bool isVisible)
 
void OnEditorInit ()
 
void SetDistanceTraveledAsClient (float distance)
 
override bool IsOnTickRequired ()
 
void TickParallelManually (float dt)
 
MatrixFrame GetInitialFrame ()
 
MatrixFrame GetTargetFrame ()
 
void SetDestinationNavMeshIdState (bool enabled)
 
void MoveToTargetAsClient ()
 
virtual bool IsOnTickRequired ()
 

Static Public Member Functions

static MatrixFrame FindGroundFrameForWheelsStatic (ref MatrixFrame frame, float axleLength, float wheelDiameter, GameEntity gameEntity, List< GameEntity > wheels)
 

Public Attributes

float AxleLength = 2.45f
 
int NavMeshIdToDisableOnDestination = -1
 

Static Public Attributes

const string GhostObjectTag = "ghost_object"
 
const string MoveStandingPointTag = "move"
 

Properties

bool HasApproachedTarget [get]
 
bool HasArrivedAtTarget [get]
 
float CurrentSpeed [get]
 
int MovementSoundCodeID [get, set]
 
float MinSpeed [get, set]
 
float MaxSpeed [get, set]
 
string PathEntityName [get, set]
 
float GhostEntitySpeedMultiplier [get, set]
 
float WheelDiameter [set]
 
SynchedMissionObject MainObject [get, set]
 

Member Function Documentation

◆ HighlightPath()

void TaleWorlds.MountAndBlade.SiegeWeaponMovementComponent.HighlightPath ( )

◆ SetupGhostEntity()

void TaleWorlds.MountAndBlade.SiegeWeaponMovementComponent.SetupGhostEntity ( )

◆ SetGhostVisibility()

void TaleWorlds.MountAndBlade.SiegeWeaponMovementComponent.SetGhostVisibility ( bool  isVisible)

◆ OnEditorInit()

void TaleWorlds.MountAndBlade.SiegeWeaponMovementComponent.OnEditorInit ( )

◆ SetDistanceTraveledAsClient()

void TaleWorlds.MountAndBlade.SiegeWeaponMovementComponent.SetDistanceTraveledAsClient ( float  distance)

◆ IsOnTickRequired()

override bool TaleWorlds.MountAndBlade.SiegeWeaponMovementComponent.IsOnTickRequired ( )
virtual

◆ TickParallelManually()

void TaleWorlds.MountAndBlade.SiegeWeaponMovementComponent.TickParallelManually ( float  dt)

◆ GetInitialFrame()

MatrixFrame TaleWorlds.MountAndBlade.SiegeWeaponMovementComponent.GetInitialFrame ( )

◆ GetTargetFrame()

MatrixFrame TaleWorlds.MountAndBlade.SiegeWeaponMovementComponent.GetTargetFrame ( )

◆ SetDestinationNavMeshIdState()

void TaleWorlds.MountAndBlade.SiegeWeaponMovementComponent.SetDestinationNavMeshIdState ( bool  enabled)

◆ MoveToTargetAsClient()

void TaleWorlds.MountAndBlade.SiegeWeaponMovementComponent.MoveToTargetAsClient ( )

◆ FindGroundFrameForWheelsStatic()

static MatrixFrame TaleWorlds.MountAndBlade.SiegeWeaponMovementComponent.FindGroundFrameForWheelsStatic ( ref MatrixFrame  frame,
float  axleLength,
float  wheelDiameter,
GameEntity  gameEntity,
List< GameEntity wheels 
)
static

Member Data Documentation

◆ GhostObjectTag

const string TaleWorlds.MountAndBlade.SiegeWeaponMovementComponent.GhostObjectTag = "ghost_object"
static

◆ MoveStandingPointTag

const string TaleWorlds.MountAndBlade.SiegeWeaponMovementComponent.MoveStandingPointTag = "move"
static

◆ AxleLength

float TaleWorlds.MountAndBlade.SiegeWeaponMovementComponent.AxleLength = 2.45f

◆ NavMeshIdToDisableOnDestination

int TaleWorlds.MountAndBlade.SiegeWeaponMovementComponent.NavMeshIdToDisableOnDestination = -1

Property Documentation

◆ HasApproachedTarget

bool TaleWorlds.MountAndBlade.SiegeWeaponMovementComponent.HasApproachedTarget
get

◆ HasArrivedAtTarget

bool TaleWorlds.MountAndBlade.SiegeWeaponMovementComponent.HasArrivedAtTarget
get

◆ CurrentSpeed

float TaleWorlds.MountAndBlade.SiegeWeaponMovementComponent.CurrentSpeed
get

◆ MovementSoundCodeID

int TaleWorlds.MountAndBlade.SiegeWeaponMovementComponent.MovementSoundCodeID
getset

◆ MinSpeed

float TaleWorlds.MountAndBlade.SiegeWeaponMovementComponent.MinSpeed
getset

◆ MaxSpeed

float TaleWorlds.MountAndBlade.SiegeWeaponMovementComponent.MaxSpeed
getset

◆ PathEntityName

string TaleWorlds.MountAndBlade.SiegeWeaponMovementComponent.PathEntityName
getset

◆ GhostEntitySpeedMultiplier

float TaleWorlds.MountAndBlade.SiegeWeaponMovementComponent.GhostEntitySpeedMultiplier
getset

◆ WheelDiameter

float TaleWorlds.MountAndBlade.SiegeWeaponMovementComponent.WheelDiameter
set

◆ MainObject

SynchedMissionObject TaleWorlds.MountAndBlade.SiegeWeaponMovementComponent.MainObject
getset