CAmod
CAmod copied to clipboard
LoadCargoBotModule to replace most of AI preload units
This module make AI be able to load their units into transport
The benefit of this module:
- Yaml code simply. Most of preloaded transport for AI is no longer needed, makes the code more readable and maintainable. (I don't remove them in this PR, in case of crashing the campaigns)
- Al will load the passengers once again instead of leaving them to the ground.
- Ease the bug (when preloaded passenger changes weapon on upgrade, AttackGarrison is not able to sync with the change) on AttackGarrison of preloaded.
Add a setting to allow AI load unit for each other, so there will be a chance of mixed tech units with more funs.