astruyk / JTF2-PATROL-Ops

JTF2 Patrol Ops mission for the public server
1 stars 2 forks source link

Increase AI engagement range #17

Closed astruyk closed 10 years ago

astruyk commented 10 years ago

AI is pretty dumb about spotting players at range. This is especially bad for vehicles not shooting at helicopters.

I saw this mod http://www.armaholic.com/page.php?id=2140 and it might be worth looking into how they get the AI to engage. It might just be a question of calling https://community.bistudio.com/wiki/reveal when there is a helo close enough to a vehicle unit.

astruyk commented 10 years ago

Did some experimentation with things this morning/last night.

setting the 'reveal' value to '4' (the max) for an enemy unit definetly makes the AI engage at further ranges. ASR_AI will transmit this between units since we have the option for that, which is probably a bad thing if we're going to do this manually for some vehicles. That is, we don't want the whole AO to suddenly go mad if a tank is magically being made aware of a helo at further range. I need to do more testing to make sure this is actually behaving the way I think with large numbers of enemies, but I'm pretty sure from my testing that it's the case.

I also want to investigate tweaking the spotting skills of the AI a bit more and see if that helps.

TheOtherTaylor commented 10 years ago

You might be able to do something weird like make snipers the crewmen for AAA vehicles. Given that ASR gives them really high spotting and accuracy values, it might make those vehicles more of a threat.