forked from FAForever/fa
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changelog: ------------------------------------------------------------------------------------ AIAddBuilderTable.lua function AddGlobalBuilderGroup() -Opt: Added a warning message in case a global buildergroup is missing ------------------------------------------------------------------------------------ AIBehaviors.lua function CommanderThreadImproved() -Fix: changed the handling from ACU platoons to prevent disbanding the armypool Wow! I searched almost a year for this bug, where factories are canceling their buildorders with no reason... Caused by adding the ACU to the armypool and then disbanding this platoon :D ------------------------------------------------------------------------------------ AIDefenseBuilders.lua AIEconomicBuilders.lua SorianDefenseBuilders.lua SorianEconomicBuilders.lua SorianStrategyPlatoonBuilders.lua -Fix: deleted duplicated args in buildconditions. Changed from : { MIBC, 'FactionIndex', {3, 3}}, to { MIBC, 'FactionIndex', {3}}, You only need a single argument to identify a faction. ------------------------------------------------------------------------------------ aibuildstructures.lua function AIExecuteBuildStructure() -Fix: In case the Ai can't find a place to build near the base, it's now also searching neer the engineer position. -Fix: In case we have a modded platoon template, the AI is not able to find a build place for it. So if we have an unknown template we now use `T1LandFactory` as dummy to find a build place. ------------------------------------------------------------------------------------ aiutilities.lua function AIGetSortedMassWithEnemy() -removed: this function was not used. (also not in vanilla) function EngineerTryReclaimCaptureArea() -Fix: AI got stuck if an resource point was occupied by map objects like rocks etc. Added a check for reclaimable objects and reclaim them before building massextractors etc. ------------------------------------------------------------------------------------ aibrain.lua function DeadBaseMonitor() -Fix: removed unnecessary if-then statement. ------------------------------------------------------------------------------------ MiscBuildConditions.lua -Fix: updated function FactionIndex to manage 5 factions instead of 3 -Opt: removed all unused buildconditions. Removed function: IsAIBrainLayerPref() Removed function: MissionNumber() Removed function: MissionNumberGreaterOrEqual() Removed function: MissionNumberLessOrEqual() Removed function: CheckScenarioInfoVarTable() Removed function: CheckScenarioInfoVarTableFalse() Removed function: DifficultyEqual() Removed function: DifficultyLessOrEqual() Removed function: MarkerChainExists() Removed function: CheckAvailableGates() Removed function: ArmyWantsTransports() Removed function: CDRRunningAway() ------------------------------------------------------------------------------------ platoon.lua function GetUnitsAroundPoint() -Fix: renamed this function to GetPlatoonUnitsAroundPoint. So this is not so confusing because we have an c-engine command with he same name. function ReclaimStructuresAI() -Fix: function accepts now categories as string and userdata. function RepairAI() -Opt: changed function call manager:GetLocationRadius() to manager.Radius function EconAssistBody() -Fix: Update assist logic to make sure we don't have more then 20 assistees building the same object. function UnitUpgradeAI() -Fix: Changed error text to warningtext in case we can't upgrade to a supportfactory
- Loading branch information
1 parent
8984dc3
commit ca70c23
Showing
12 changed files
with
347 additions
and
546 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.