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
GhostObjectTag
public const string GhostObjectTag = "ghost_object"
Field Value
MoveStandingPointTag
public const string MoveStandingPointTag = "move"
Field Value
NavMeshIdToDisableOnDestination
public int NavMeshIdToDisableOnDestination
Field Value
Properties
CurrentSpeed
public float CurrentSpeed { get; }
Property Value
GhostEntitySpeedMultiplier
public float GhostEntitySpeedMultiplier { get; set; }
Property Value
HasApproachedTarget
public bool HasApproachedTarget { get; }
Property Value
HasArrivedAtTarget
public bool HasArrivedAtTarget { get; }
Property Value
MainObject
public SynchedMissionObject MainObject { get; set; }
Property Value
MaxSpeed
public float MaxSpeed { get; set; }
Property Value
MinSpeed
public float MinSpeed { get; set; }
Property Value
MovementSoundCodeID
public int MovementSoundCodeID { get; set; }
Property Value
PathEntityName
public string PathEntityName { get; set; }
Property Value
Velocity
public Vec3 Velocity { get; }
Property Value
WheelDiameter
public float WheelDiameter { set; }
Property Value
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
MatrixFrameaxleLength
floatwheelDiameter
floatgameEntity
GameEntitywheels
List<GameEntity>scene
Scene
Returns
GetInitialFrame()
public MatrixFrame GetInitialFrame()
Returns
GetTargetFrame()
public MatrixFrame GetTargetFrame()
Returns
GetTotalDistanceTraveledForPathTracker()
public float GetTotalDistanceTraveledForPathTracker()
Returns
HighlightPath()
public void HighlightPath()
IsOnTickRequired()
public override bool IsOnTickRequired()
Returns
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).