The AI's check whether there's a line of sight between two tiles will now use the respective tiles above when the height of the unit added to the height of the terrain exceeds the height of the tile. This prevents the AI from considering slopes that make them peak out as cover with the new mechanism.
First of all, I would like to mention you did the tremendously great job, as the idea of AI improvement has been floating around for merely a decade.
Second, thank you so much for putting efforts into overhaul of annoying sniper/spotter mechanism.
I really want to put the couple of thoughts that were visiting me while I was reading the forum sections you created, and I have read it all, because you are not only passionate developer, but also very neat in explaining the reasons behind your solutions.
1. When it comes to AI efficiency, it is clearly good that it has such advance in decision making.
The troubling part is: the game is not always about the hell chess with superior forces, that are, clearly, outnumber your troops in 99% of cases. The game is also about feels, joy, and satisfaction with progress and story.
One particular example is when you assault human-enemy bases in XCF with troop ratio of 24:200 (Superhuman difficulty gives x2 boost of enemy spawn) and perform the f**king MASSACRE of both aliens and their human supporters.
Roughly, anyone believes that gameplay with basic AI if/else logic is limited to camping and abusing of AI limitations, but what about the fun part? These missions are very fun and satisfying in terms of enemy numbers.
2. The mods economies and progresses are largely dependent on possessions that player acquires from battlefield. Thus, in many cases, reducing amount of enemies is discouraged in terms of potential gameplay progress.
Example is not only the item sell values, but also experience and stat boosts that player troops gain from missions with lots of enemies.
Most of the mods have player units transformation mechanics, which are vital for the progress. These mechanics allow player to extend the troops abilities behind some point of training. 90% of troops training comes from battlefield.
This also includes doubled chances of capturing mid-tier enemies, as their numbers are also quite frequently doubled, and killing one doesn't mean losing the mission purpose. Please notice, the amount of such missions is 40-50% in earlygame to 25% in midgame in XCF and X-Piratez, from overall value.
3. Most of the OXCE players don't play vanilla, but rather play X-Piratez, XCF or WH40k and other mods that are thoroughly (by years of creation) balanced with basic AI. I.e. unit stats, armors, weapon stats, etc.
4. a Little note about enemies avoiding primed sensor grenades and landmines: is it fair to cut off a player from such a tool? These items were implemented intentionally, for the purpose of enemies to freaking BLOW UP on them.
5. I have overall impression that your AI forces the player to tank more, have better Armor&Guns, have better stats (better night vision etc.), which is fairly impossible in XCF, for example, because events in the early to mid game are more or less incremental over your current progress.
6. The reaction fire is one of the classic mechanics and it is also refers more to the joy/excitement/gambling part of the game. Oh, yes, these mods contain such many gambling with probabilities deep in skin of players (not only in battlefield). The major of players are gambling maniacs. While giving new gambling mechanics, please not cut the established ones. The joy of running before the cyberdisc that can oneshot your unit with plasma (or not) is existential. The joy of killing it with autofire from machinegun (or not, and then get the plasma in the face) has purely gambling mechanic. Please consider it.
7. There was a suggestion about mixing behaviors in battlefield, i.e. assigning random roles. That was pretty neat suggestion, IMHO.
Such things translated, I hope to hear your thoughts on the topics. Preferably, please avoid answer "don't like - don't play", as many developers here simultaneously use it. I am really encouraged with your work.
With all respect,