Class SiegeTower
- Namespace
- TaleWorlds.MountAndBlade
- Assembly
- TaleWorlds.MountAndBlade.dll
public class SiegeTower : SiegeWeapon, IFocusable, IOrderable, IDetachment, ITargetable, IPathHolder, IPrimarySiegeWeapon, IMoveableSiegeWeapon, ISpawnable
- Inheritance
-
SiegeTower
- Implements
- Inherited Members
Constructors
SiegeTower()
public SiegeTower()
Fields
BarrierTagToRemove
public string BarrierTagToRemove
Field Value
BattlementDestroyedParticle
public string BattlementDestroyedParticle
Field Value
GateHandleIdleAnimation
public string GateHandleIdleAnimation
Field Value
GateNavMeshId
public int GateNavMeshId
Field Value
GateOpenTag
public string GateOpenTag
Field Value
GateTag
public string GateTag
Field Value
GateTrembleAnimation
public string GateTrembleAnimation
Field Value
GhostEntityMove
public bool GhostEntityMove
Field Value
GhostEntitySpeedMultiplier
public float GhostEntitySpeedMultiplier
Field Value
HandleTag
public string HandleTag
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 SiegeTower.GateState State { get; set; }
Property Value
TargetCastlePosition
public MissionObject TargetCastlePosition { get; }
Property Value
WeaponSide
public FormationAI.BehaviorSide WeaponSide { get; }
Property Value
Methods
AssignParametersFromSpawner(string, string, string, int, int, int, int, int, int, int, int, Mat3, string)
public void AssignParametersFromSpawner(string pathEntityName, string targetWallSegment, string sideTag, int soilNavMeshID1, int soilNavMeshID2, int ditchNavMeshID1, int ditchNavMeshID2, int groundToSoilNavMeshID1, int groundToSoilNavMeshID2, int soilGenericNavMeshID, int groundGenericNavMeshID, Mat3 openStateRotation, string barrierTagToRemove)
Parameters
pathEntityName
stringtargetWallSegment
stringsideTag
stringsoilNavMeshID1
intsoilNavMeshID2
intditchNavMeshID1
intditchNavMeshID2
intgroundToSoilNavMeshID1
intgroundToSoilNavMeshID2
intsoilGenericNavMeshID
intgroundGenericNavMeshID
intopenStateRotation
Mat3barrierTagToRemove
string
AttachDynamicNavmeshToEntity()
protected override void AttachDynamicNavmeshToEntity()
CollectGetDifficultNavmeshIDs()
public List<int> CollectGetDifficultNavmeshIDs()
Returns
CollectGetDifficultNavmeshIDsForAttackers()
public List<int> CollectGetDifficultNavmeshIDsForAttackers()
Returns
CollectGetDifficultNavmeshIDsForDefenders()
public List<int> CollectGetDifficultNavmeshIDsForDefenders()
Returns
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
GetEntityToAttachNavMeshFaces()
protected override GameEntity GetEntityToAttachNavMeshFaces()
Returns
GetGateNavMeshId()
public int GetGateNavMeshId()
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()
IsAgentOnInconvenientNavmesh(Agent, StandingPoint)
protected override bool IsAgentOnInconvenientNavmesh(Agent agent, StandingPoint standingPoint)
Parameters
agent
AgentstandingPoint
StandingPoint
Returns
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
OnDestroyed(DestructableComponent, Agent, in MissionWeapon, ScriptComponentBehavior, int)
public void OnDestroyed(DestructableComponent destroyedComponent, Agent destroyerAgent, in MissionWeapon weapon, ScriptComponentBehavior attackerScriptComponentBehavior, int inflictedDamage)
Parameters
destroyedComponent
DestructableComponentdestroyerAgent
Agentweapon
MissionWeaponattackerScriptComponentBehavior
ScriptComponentBehaviorinflictedDamage
int
OnInit()
protected override void OnInit()
OnMissionReset()
protected override void OnMissionReset()
OnRemoved(int)
protected override void OnRemoved(int removeReason)
Parameters
removeReason
int
OnTick(float)
protected override void OnTick(float dt)
Parameters
dt
float
OnTickParallel(float)
protected override void OnTickParallel(float dt)
Parameters
dt
float
SetAbilityOfFaces(bool)
public override void SetAbilityOfFaces(bool enabled)
Parameters
enabled
bool
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).