X2CommunityCore / X2WOTCCommunityHighlander

https://steamcommunity.com/workshop/filedetails/?id=1134256495
MIT License
60 stars 68 forks source link

Add hook to allow overriding patrol behavior if pod seen by unrevealed xcom unit #1354

Closed Tedster59 closed 1 month ago

Tedster59 commented 2 months ago

Another LW2/X2CommunityHighlander feature that is not part of the WOTC Highlander.

Code is at https://github.com/X2CommunityCore/X2CommunityHighlander/blob/master/X2CommunityHighlander/Src/XComGame/Classes/XGAIPlayer.uc#L702

The code as is from the X2CommunityHighlander should work to update the matching function in XGAIPlayer.uc

The comment from LW2 config shows why this is needed:

This adjusts an interesting vanilla setting in which patrolling AI (who had not sighted XCOM) would stop patrolling when a concealed XCOM unit sighted them)