M&B: Bannerlord 1.0.0
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.MountAndBlade.TacticSergeantMPBotTactic Class Reference

Dummy tactic

Inherits TaleWorlds.MountAndBlade.TacticComponent.

Public Member Functions

 TacticSergeantMPBotTactic (Team team)
 

Additional Inherited Members

- Static Public Member Functions inherited from TaleWorlds.MountAndBlade.TacticComponent
static void SetDefaultBehaviorWeights (Formation f)
 
- Static Public Attributes inherited from TaleWorlds.MountAndBlade.TacticComponent
static readonly int MoveHornSoundIndex
 
static readonly int AttackHornSoundIndex
 
static readonly int RetreatHornSoundIndex
 
- Protected Member Functions inherited from TaleWorlds.MountAndBlade.TacticComponent
 TacticComponent (Team team)
 
List< FormationConsolidateFormations (List< Formation > formationsToBeConsolidated, int neededCount)
 
void SplitFormationClassIntoGivenNumber (Func< Formation, bool > formationClass, int count)
 
virtual bool CheckAndSetAvailableFormationsChanged ()
 
void AssignTacticFormations1121 ()
 Merge and split AI controlled formations to end up with 1 infantry, 1 ranged, 2 cavalry(left and right) and 1 mounted range formation More...
 
virtual void ManageFormationCounts ()
 
void ManageFormationCounts (int infantryCount, int rangedCount, int cavalryCount, int rangedCavalryCount)
 
virtual void StopUsingAllMachines ()
 
virtual void StopUsingAllRangedSiegeWeapons ()
 
void SoundTacticalHorn (int soundCode)
 
bool CheckAndDetermineFormation (ref Formation formation, Func< Formation, bool > isEligible)
 Checks whether a reference to a formation is null or empty, if it is null or empty tries to re-refer it to an eligible formation More...
 
- Static Protected Member Functions inherited from TaleWorlds.MountAndBlade.TacticComponent
static float GetFormationGroupEffectivenessOverOrder (IEnumerable< Formation > formationGroup, OrderType orderType, IOrderable targetObject=null)
 
static float GetFormationEffectivenessOverOrder (Formation formation, OrderType orderType, IOrderable targetObject=null)
 
static float CalculateNotEngagingTacticalAdvantage (TeamQuerySystem team)
 
static List< FormationChooseAndSortByPriority (IEnumerable< Formation > formations, Func< Formation, bool > isEligible, Func< Formation, bool > isPrioritized, Func< Formation, float > score)
 
- Protected Attributes inherited from TaleWorlds.MountAndBlade.TacticComponent
readonly Team team
 
int _AIControlledFormationCount = 0
 
bool IsTacticReapplyNeeded = false
 
Formation _mainInfantry
 
Formation _archers
 
Formation _leftCavalry
 
Formation _rightCavalry
 
Formation _rangedCavalry
 
- Properties inherited from TaleWorlds.MountAndBlade.TacticComponent
IEnumerable< FormationFormations [get]
 
IEnumerable< FormationFormationsIncludingSpecial [get]
 
bool AreFormationsCreated [get]
 

Constructor & Destructor Documentation

◆ TacticSergeantMPBotTactic()

TaleWorlds.MountAndBlade.TacticSergeantMPBotTactic.TacticSergeantMPBotTactic ( Team  team)