Page 1 of 1

Extend RoughMonsterSearch with SearchForEnemies params

Posted: Wed Jun 21, 2017 12:48 pm
by InsanityBringer
InsanityBringer wrote:hmm, if they're similar, would it be possible to let RoughMonsterSearch use some of the search params for LookForEnemies and the like? Reason I ask is that I'm toying around with descent style seeker missiles, however this requires constraining the FOV, and RoughMonsterSearch doesn't seem to support this (you can only set it to look ahead, but not with a specific FOV), and LookForEnemies seems to exclusively set the target pointer and nothing else. I did have a hacky solution for this in the past, but it involved just not seeking if the target is out of sight and searching again, but this would frequently cause problems since it would keep on finding the same out of sight monster.
I mentioned this in a previous thread on similar subjects, but it appears nothing ever came of this. Rather than leave that alone in its own thread, I figured it'd be best to make a thread for it if the idea's still on the table.

Re: Extend RoughMonsterSearch with SearchForEnemies params

Posted: Fri Jun 23, 2017 2:20 pm
by nazakomu
It is a splendid idea to extend the parameters for field-of-view considering that if it brings benefits or solves that type of issue – then that is all that matters!

If anybody has an excessive interest in working with enemy behavior, that would be me! :D