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
DisabledNavMeshID
public int DisabledNavMeshID
Field Value
GateNavMeshId
public int GateNavMeshId
Field Value
GhostEntityMove
public bool GhostEntityMove
Field Value
GhostEntitySpeedMultiplier
public float GhostEntitySpeedMultiplier
Field Value
MaxSpeed
public float MaxSpeed
Field Value
MinSpeed
public float MinSpeed
Field Value
NavMeshIdToDisableOnDestination
public int NavMeshIdToDisableOnDestination
Field Value
WheelDiameter
public float WheelDiameter
Field Value
Properties
EditorGhostEntityMove
public bool EditorGhostEntityMove { get; }
Property Value
HasArrivedAtTarget
public bool HasArrivedAtTarget { get; set; }
Property Value
HoldLadders
public bool HoldLadders { get; }
Property Value
IsDeactivated
public override bool IsDeactivated { get; }
Property Value
MovementComponent
public SiegeWeaponMovementComponent MovementComponent { get; }
Property Value
OverTheWallNavMeshID
public int OverTheWallNavMeshID { get; }
Property Value
PathEntity
public string PathEntity { get; }
Property Value
SendLadders
public bool SendLadders { get; }
Property Value
SiegeWeaponPriority
public float SiegeWeaponPriority { get; }
Property Value
State
public BatteringRam.RamState State { get; set; }
Property Value
TargetCastlePosition
public MissionObject TargetCastlePosition { get; }
Property Value
WeaponSide
public FormationAI.BehaviorSide WeaponSide { get; }
Property Value
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
stringsideTag
stringbridgeNavMeshID_1
intbridgeNavMeshID_2
intditchNavMeshID_1
intditchNavMeshID_2
intgroundToBridgeNavMeshID_1
intgroundToBridgeNavMeshID_2
intpathEntityName
string
CreateAIBehaviorObject()
public override UsableMachineAIBase CreateAIBehaviorObject()
Returns
Disable()
public override void Disable()
GetActionTextForStandingPoint(UsableMissionObject)
public override TextObject GetActionTextForStandingPoint(UsableMissionObject usableGameObject)
Parameters
usableGameObject
UsableMissionObject
Returns
GetDescriptionText(GameEntity)
public override string GetDescriptionText(GameEntity gameEntity = null)
Parameters
gameEntity
GameEntity
Returns
GetDistanceMultiplierOfWeapon(Vec3)
protected override float GetDistanceMultiplierOfWeapon(Vec3 weaponPos)
Parameters
weaponPos
Vec3
Returns
GetInitialFrame()
public MatrixFrame GetInitialFrame()
Returns
GetNavmeshFaceIds(out List<int>)
public bool GetNavmeshFaceIds(out List<int> navmeshFaceIds)
Parameters
Returns
GetOrder(BattleSideEnum)
public override OrderType GetOrder(BattleSideEnum side)
Parameters
side
BattleSideEnum
Returns
GetSiegeEngineType()
public override SiegeEngineType GetSiegeEngineType()
Returns
GetTargetFlags()
public override TargetFlags GetTargetFlags()
Returns
GetTargetValue(List<Vec3>)
public override float GetTargetValue(List<Vec3> weaponPos)
Parameters
Returns
GetTickRequirement()
public override ScriptComponentBehavior.TickRequirement GetTickRequirement()
Returns
HasCompletedAction()
public bool HasCompletedAction()
Returns
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).