Table of Contents

Class Ballista

Namespace
TaleWorlds.MountAndBlade
Assembly
TaleWorlds.MountAndBlade.dll
public class Ballista : RangedSiegeWeapon, IFocusable, IOrderable, IDetachment, ITargetable, ISpawnable
Inheritance
Ballista
Implements
Derived
Inherited Members

Constructors

Ballista()

public Ballista()

Fields

AnimationHeightDifference

public float AnimationHeightDifference

Field Value

float

BallistaShootingSpeed

public float BallistaShootingSpeed

Field Value

float

BodyTag

public string BodyTag

Field Value

string

HorizontalDirectionRestriction

[EditableScriptComponentVariable(false)]
public float HorizontalDirectionRestriction

Field Value

float

IdleActionName

[EditableScriptComponentVariable(true)]
protected string IdleActionName

Field Value

string

NavelTag

public string NavelTag

Field Value

string

PickUpAmmoEndActionName

[EditableScriptComponentVariable(true)]
protected string PickUpAmmoEndActionName

Field Value

string

PickUpAmmoStartActionName

[EditableScriptComponentVariable(true)]
protected string PickUpAmmoStartActionName

Field Value

string

PlaceAmmoEndActionName

[EditableScriptComponentVariable(true)]
protected string PlaceAmmoEndActionName

Field Value

string

PlaceAmmoStartActionName

[EditableScriptComponentVariable(true)]
protected string PlaceAmmoStartActionName

Field Value

string

ReloadActionName

[EditableScriptComponentVariable(true)]
protected string ReloadActionName

Field Value

string

Properties

CanShootAtPointCheckingOffset

public override Vec3 CanShootAtPointCheckingOffset { get; }

Property Value

Vec3

DirectionRestriction

public override float DirectionRestriction { get; }

Property Value

float

HorizontalAimSensitivity

protected override float HorizontalAimSensitivity { get; }

Property Value

float

MaximumBallisticError

protected override float MaximumBallisticError { get; }

Property Value

float

ShootingSpeed

protected override float ShootingSpeed { get; }

Property Value

float

VerticalAimSensitivity

protected override float VerticalAimSensitivity { get; }

Property Value

float

ballistaBody

protected SynchedMissionObject ballistaBody { get; }

Property Value

SynchedMissionObject

ballistaNavel

protected SynchedMissionObject ballistaNavel { get; }

Property Value

SynchedMissionObject

Methods

ApplyAimChange()

protected override void ApplyAimChange()

ApplyCurrentDirectionToEntity()

protected override void ApplyCurrentDirectionToEntity()

CanRotate()

protected override bool CanRotate()

Returns

bool

CreateAIBehaviorObject()

public override UsableMachineAIBase CreateAIBehaviorObject()

Returns

UsableMachineAIBase

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

GetSiegeEngineType()

public override SiegeEngineType GetSiegeEngineType()

Returns

SiegeEngineType

GetSoundEventIndices()

protected override void GetSoundEventIndices()

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

HandleUserAiming(float)

protected override void HandleUserAiming(float dt)

Parameters

dt float

IsTargetValid(ITargetable)

protected override bool IsTargetValid(ITargetable target)

Parameters

target ITargetable

Returns

bool

OnInit()

protected override void OnInit()

OnRangedSiegeWeaponStateChange()

protected override void OnRangedSiegeWeaponStateChange()

OnTick(float)

protected override void OnTick(float dt)

Parameters

dt float

OnTickParallel(float)

protected override void OnTickParallel(float dt)

Parameters

dt float

ProcessTargetValue(float, TargetFlags)

public override float ProcessTargetValue(float baseValue, TargetFlags flags)

Parameters

baseValue float
flags TargetFlags

Returns

float

RegisterAnimationParameters()

protected override void RegisterAnimationParameters()

SetSpawnedFromSpawner()

public void SetSpawnedFromSpawner()

UpdateAmmoMesh()

protected override void UpdateAmmoMesh()

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