Table of Contents

Class BatteringRam

Namespace
TaleWorlds.MountAndBlade
Assembly
TaleWorlds.MountAndBlade.dll
public class BatteringRam : SiegeWeapon, IFocusable, IOrderable, IDetachment, ITargetable, IPathHolder, IPrimarySiegeWeapon, IMoveableSiegeWeapon, ISpawnable
Inheritance
BatteringRam
Implements
Inherited Members

Constructors

BatteringRam()

public BatteringRam()

Fields

DamageMultiplier

public float DamageMultiplier

Field Value

float

DisabledNavMeshID

public int DisabledNavMeshID

Field Value

int

GateNavMeshId

public int GateNavMeshId

Field Value

int

GhostEntityMove

public bool GhostEntityMove

Field Value

bool

GhostEntitySpeedMultiplier

public float GhostEntitySpeedMultiplier

Field Value

float

MaxSpeed

public float MaxSpeed

Field Value

float

MinSpeed

public float MinSpeed

Field Value

float

NavMeshIdToDisableOnDestination

public int NavMeshIdToDisableOnDestination

Field Value

int

WheelDiameter

public float WheelDiameter

Field Value

float

Properties

EditorGhostEntityMove

public bool EditorGhostEntityMove { get; }

Property Value

bool

HasArrivedAtTarget

public bool HasArrivedAtTarget { get; set; }

Property Value

bool

HoldLadders

public bool HoldLadders { get; }

Property Value

bool

IsDeactivated

public override bool IsDeactivated { get; }

Property Value

bool

MovementComponent

public SiegeWeaponMovementComponent MovementComponent { get; }

Property Value

SiegeWeaponMovementComponent

OverTheWallNavMeshID

public int OverTheWallNavMeshID { get; }

Property Value

int

PathEntity

public string PathEntity { get; }

Property Value

string

SendLadders

public bool SendLadders { get; }

Property Value

bool

SiegeWeaponPriority

public float SiegeWeaponPriority { get; }

Property Value

float

State

public BatteringRam.RamState State { get; set; }

Property Value

BatteringRam.RamState

TargetCastlePosition

public MissionObject TargetCastlePosition { get; }

Property Value

MissionObject

WeaponSide

public FormationAI.BehaviorSide WeaponSide { get; }

Property Value

FormationAI.BehaviorSide

Methods

AssignParametersFromSpawner(string, string, int, int, int, int, int, int, string)

public void AssignParametersFromSpawner(string gateTag, string sideTag, int bridgeNavMeshID_1, int bridgeNavMeshID_2, int ditchNavMeshID_1, int ditchNavMeshID_2, int groundToBridgeNavMeshID_1, int groundToBridgeNavMeshID_2, string pathEntityName)

Parameters

gateTag string
sideTag string
bridgeNavMeshID_1 int
bridgeNavMeshID_2 int
ditchNavMeshID_1 int
ditchNavMeshID_2 int
groundToBridgeNavMeshID_1 int
groundToBridgeNavMeshID_2 int
pathEntityName string

CreateAIBehaviorObject()

public override UsableMachineAIBase CreateAIBehaviorObject()

Returns

UsableMachineAIBase

Disable()

public override void Disable()

GetActionTextForStandingPoint(UsableMissionObject)

public override TextObject GetActionTextForStandingPoint(UsableMissionObject usableGameObject)

Parameters

usableGameObject UsableMissionObject

Returns

TextObject

GetDescriptionText(GameEntity)

public override string GetDescriptionText(GameEntity gameEntity = null)

Parameters

gameEntity GameEntity

Returns

string

GetDistanceMultiplierOfWeapon(Vec3)

protected override float GetDistanceMultiplierOfWeapon(Vec3 weaponPos)

Parameters

weaponPos Vec3

Returns

float

GetInitialFrame()

public MatrixFrame GetInitialFrame()

Returns

MatrixFrame

GetNavmeshFaceIds(out List<int>)

public bool GetNavmeshFaceIds(out List<int> navmeshFaceIds)

Parameters

navmeshFaceIds List<int>

Returns

bool

GetOrder(BattleSideEnum)

public override OrderType GetOrder(BattleSideEnum side)

Parameters

side BattleSideEnum

Returns

OrderType

GetSiegeEngineType()

public override SiegeEngineType GetSiegeEngineType()

Returns

SiegeEngineType

GetTargetFlags()

public override TargetFlags GetTargetFlags()

Returns

TargetFlags

GetTargetValue(List<Vec3>)

public override float GetTargetValue(List<Vec3> weaponPos)

Parameters

weaponPos List<Vec3>

Returns

float

GetTickRequirement()

public override ScriptComponentBehavior.TickRequirement GetTickRequirement()

Returns

ScriptComponentBehavior.TickRequirement

HasCompletedAction()

public bool HasCompletedAction()

Returns

bool

HighlightPath()

public void HighlightPath()

OnAfterReadFromNetwork((BaseSynchedMissionObjectReadableRecord, ISynchedMissionObjectReadableRecord))

public override void OnAfterReadFromNetwork((BaseSynchedMissionObjectReadableRecord, ISynchedMissionObjectReadableRecord) synchedMissionObjectReadableRecord)

Parameters

synchedMissionObjectReadableRecord (BaseSynchedMissionObjectReadableRecord, ISynchedMissionObjectReadableRecord)

OnDeploymentStateChanged(bool)

protected override void OnDeploymentStateChanged(bool isDeployed)

Parameters

isDeployed bool

OnInit()

protected override void OnInit()

OnMissionReset()

protected override void OnMissionReset()

OnTick(float)

protected override void OnTick(float dt)

Parameters

dt float

OnTickParallel(float)

protected override void OnTickParallel(float dt)

Parameters

dt float

SetSpawnedFromSpawner()

public void SetSpawnedFromSpawner()

SwitchGhostEntityMovementMode(bool)

public void SwitchGhostEntityMovementMode(bool isGhostEnabled)

Parameters

isGhostEnabled bool

WriteToNetwork()

public override void WriteToNetwork()

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