-
Notifications
You must be signed in to change notification settings - Fork 231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AI Patch V2 #2566
Merged
Merged
AI Patch V2 #2566
Commits on Aug 6, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 622a54b - Browse repository at this point
Copy the full SHA 622a54bView commit details -
Configuration menu - View commit details
-
Copy full SHA for cde15a9 - Browse repository at this point
Copy the full SHA cde15a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 68b72b5 - Browse repository at this point
Copy the full SHA 68b72b5View commit details -
AIEconomicBuilders.lua Added AssisteeType to Builder `T1 Engineer Find Unfinished` ------------------------------------------------------------------------------------ AILandAttackBuilders.lua function LandAttackCondition() -Fix: Added check for missing locationmanager ------------------------------------------------------------------------------------ AISeaAttackBuilders.lua function SeaAttackCondition() -Fix: Added check for missing locationmanager ------------------------------------------------------------------------------------ SorianEconomicBuilders.lua -Fix: Added AssisteeType to several Builders ------------------------------------------------------------------------------------ aiutilities.lua function AIGetSortedMassWithEnemy() -Fix: Adjusted masspoint location check for map border function AIGetSortedMassLocations() -Fix: Added masspoint location check for map border ------------------------------------------------------------------------------------ AttackManager.lua function FormAttackPlatoon() -Fix: Better error mesage in case of invalid location manager ------------------------------------------------------------------------------------ sorianutilities.lua function GetTemplateReplacement() -Fix: In case we don't have an default ingame unit squad use the modded squad to 100%. ------------------------------------------------------------------------------------ defaultantiprojectile.lua unitstate RedirectingState() -Fix: Added failsafe in case of missing enemy position ------------------------------------------------------------------------------------ SorianBuildConditions.lua function CanBuildOnHydroLessThanDistance() -Fix: Better error mesage in case of invalid location manager ------------------------------------------------------------------------------------ EffectUtilities.lua function SpawnBuildBots() -Fix: Added failsafe in case a unit is destoyed while building ------------------------------------------------------------------------------------ platoon.lua function OnDestroy() -Fix: removed PlatoonDisband() function (added by Duncan). function PlatoonDisband() -Fix: Unneded values will now removed from any unit while the platoon is disbanding -Fix: Destroying AIThread if present, before the platoon is disbanding function RepairAI() -Fix: optimized Do-Until loop function ManagerEngineerFindUnfinished() -Fix: Added proper loop until the unit is finished. function ManagerEngineerAssistAI() -Fix: Added proper loop to check if the enginner is still assisting -New: Added check for new builder condition `AssistUntilFinished` for engineers function EconAssistBody() -Fix: Added failsafe in case a engineer is missing/destroyed -Fix: Better error mesage in case of invalid or missing AssistLocatio or AssisteeType -New: Added `AssistClosestUnit`. Unit will asssit the nearest building, not the one with least assisters function EngineerBuildAI() -Fix: Unitreplacement is no longer using non existing global squads if an modded unit exist. function UnitUpgradeAI() -New: Added builder conditon `OverideUpgradeBlueprint` so we can upgrade to supportfactories function EconUnfinishedBody() -Fix: Added UnitBeingAssist for the assist wait loop function ProcessBuildCommand() -Fix: Added check for assisting units ------------------------------------------------------------------------------------ Builder.lua function StoreHandle() -Fix: Removed forked thread that was waiting 1 second before a platoonhandle was deleted. ------------------------------------------------------------------------------------ EngineerManager.lua function AssignEngineerTask() -Fix: Added check for assisting and building engineers to prevent new orders while still working ------------------------------------------------------------------------------------ FactoryBuilderManager.lua function GetFactoryTemplate() -Fix: reworked sorian unitreplacement (customunits) for factories. Now using all available units. ------------------------------------------------------------------------------------ Unit.lua function OnWorkBegin() -Fix: Better error message in case a ACU enhancment fails ------------------------------------------------------------------------------------ ThreatBuildConditions.lua function EnemyThreatGreaterThanValueAtBase() -Fix: Added check for missing locationmanager function EnemyThreatLessThanValueAtBase() -Fix: Added check for missing locationmanager function HaveLessThreatThanNearby() -Fix: Added check for missing locationmanager ------------------------------------------------------------------------------------ MarkerBuildConditions.lua function CanBuildOnMassLessThanDistance() -Fix: Added check for missing locationmanager ------------------------------------------------------------------------------------ SorianBuildConditions.lua function EnemyThreatLessThanValueAtBase() -Fix: Added check for missing locationmanager function CanBuildOnHydroLessThanDistance() -Fix: Added check for missing locationmanager ------------------------------------------------------------------------------------ UnitCountBuildConditions.lua Added new function CheckBuildPlattonDelay(aiBrain, PlatoonName)
Configuration menu - View commit details
-
Copy full SHA for 54f7ced - Browse repository at this point
Copy the full SHA 54f7cedView commit details
Commits on Aug 16, 2018
-
Configuration menu - View commit details
-
Copy full SHA for f26f509 - Browse repository at this point
Copy the full SHA f26f509View commit details
Commits on Sep 6, 2018
-
This fix is for skirmish singleplayer launch in case the game victory setting is not sandbox. You can now start the game and sandbox is set automatically.
Configuration menu - View commit details
-
Copy full SHA for c48ad7e - Browse repository at this point
Copy the full SHA c48ad7eView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.