Table of Contents

Class SiegeWeaponMovementComponent

Namespace
TaleWorlds.MountAndBlade
Assembly
TaleWorlds.MountAndBlade.dll
public class SiegeWeaponMovementComponent : UsableMissionObjectComponent
Inheritance
SiegeWeaponMovementComponent
Inherited Members

Constructors

SiegeWeaponMovementComponent()

public SiegeWeaponMovementComponent()

Fields

AxleLength

public float AxleLength

Field Value

float

GhostObjectTag

public const string GhostObjectTag = "ghost_object"

Field Value

string

MoveStandingPointTag

public const string MoveStandingPointTag = "move"

Field Value

string

NavMeshIdToDisableOnDestination

public int NavMeshIdToDisableOnDestination

Field Value

int

Properties

CurrentSpeed

public float CurrentSpeed { get; }

Property Value

float

GhostEntitySpeedMultiplier

public float GhostEntitySpeedMultiplier { get; set; }

Property Value

float

HasApproachedTarget

public bool HasApproachedTarget { get; }

Property Value

bool

HasArrivedAtTarget

public bool HasArrivedAtTarget { get; }

Property Value

bool

MainObject

public SynchedMissionObject MainObject { get; set; }

Property Value

SynchedMissionObject

MaxSpeed

public float MaxSpeed { get; set; }

Property Value

float

MinSpeed

public float MinSpeed { get; set; }

Property Value

float

MovementSoundCodeID

public int MovementSoundCodeID { get; set; }

Property Value

int

PathEntityName

public string PathEntityName { get; set; }

Property Value

string

Velocity

public Vec3 Velocity { get; }

Property Value

Vec3

WheelDiameter

public float WheelDiameter { set; }

Property Value

float

Methods

FindGroundFrameForWheelsStatic(ref MatrixFrame, float, float, GameEntity, List<GameEntity>, Scene)

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

Parameters

frame MatrixFrame
axleLength float
wheelDiameter float
gameEntity GameEntity
wheels List<GameEntity>
scene Scene

Returns

MatrixFrame

GetInitialFrame()

public MatrixFrame GetInitialFrame()

Returns

MatrixFrame

GetTargetFrame()

public MatrixFrame GetTargetFrame()

Returns

MatrixFrame

GetTotalDistanceTraveledForPathTracker()

public float GetTotalDistanceTraveledForPathTracker()

Returns

float

HighlightPath()

public void HighlightPath()

IsOnTickRequired()

public override bool IsOnTickRequired()

Returns

bool

MoveToTargetAsClient()

public void MoveToTargetAsClient()

OnAdded(Scene)

protected override void OnAdded(Scene scene)

Parameters

scene Scene

OnEditorInit()

public void OnEditorInit()

OnEditorTick(float)

protected override void OnEditorTick(float dt)

Parameters

dt float

OnMissionReset()

protected override void OnMissionReset()

OnTick(float)

protected override void OnTick(float dt)

Parameters

dt float

SetDestinationNavMeshIdState(bool)

public void SetDestinationNavMeshIdState(bool enabled)

Parameters

enabled bool

SetDistanceTraveledAsClient(float)

public void SetDistanceTraveledAsClient(float distance)

Parameters

distance float

SetGhostVisibility(bool)

public void SetGhostVisibility(bool isVisible)

Parameters

isVisible bool

SetTargetFrameForPathTracker()

public void SetTargetFrameForPathTracker()

SetTotalDistanceTraveledForPathTracker(float)

public void SetTotalDistanceTraveledForPathTracker(float distanceTraveled)

Parameters

distanceTraveled float

SetupGhostEntity()

public void SetupGhostEntity()

TickParallelManually(float)

public void TickParallelManually(float dt)

Parameters

dt float

This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).