Specification
[EAW/FOC] Corrected AI_Combat_Power for space invasions being ignored on special structures such as the Hypervelocity Gun and Ion Cannon which can damage units in space. This problem also seemed to ignore any secondary space structures. The AI would previously not send enough units to account for a defense with one of these structures. Additional details:
- Space special structures are now calculated as part of the SpaceTotalUnnormalized token. We modified the
Garrison_Category to be a Space_Or_Garrison_Category. So something that can be garrisoned should also not be a special space structure.
- The XML tags
<Garrison_Category> and <Space_Or_Garrison_Category> are actually the same. You can specify either one, but should only specify one, and they'll work the same for units and structures that can be garrisoned.
- For land-based space units and space special structures you can use the
<Space_Or_Garrison_Category> as a secondary category mask for the AI to determine what to bring to counter. Since Structure is not one of the matching categories in PGAICommands.lua::Set_Contrast_Values(). If <Space_Or_Garrison_Category> is empty it will default to Capital for land-based space units and space special structures.
Specification
[EAW/FOC] Corrected
AI_Combat_Powerfor space invasions being ignored on special structures such as the Hypervelocity Gun and Ion Cannon which can damage units in space. This problem also seemed to ignore any secondary space structures. The AI would previously not send enough units to account for a defense with one of these structures. Additional details:Garrison_Categoryto be aSpace_Or_Garrison_Category. So something that can be garrisoned should also not be a special space structure.<Garrison_Category>and<Space_Or_Garrison_Category>are actually the same. You can specify either one, but should only specify one, and they'll work the same for units and structures that can be garrisoned.<Space_Or_Garrison_Category>as a secondary category mask for the AI to determine what to bring to counter. Since Structure is not one of the matching categories inPGAICommands.lua::Set_Contrast_Values(). If<Space_Or_Garrison_Category>is empty it will default toCapitalfor land-based space units and space special structures.