Extend RoughMonsterSearch with SearchForEnemies params

Remember, just because you request it, that doesn't mean you'll get it.

Moderator: GZDoom Developers

User avatar
InsanityBringer
Posts: 3386
Joined: Thu Jul 05, 2007 4:53 pm
Location: opening the forbidden box

Extend RoughMonsterSearch with SearchForEnemies params

Post 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.
User avatar
nazakomu
Posts: 131
Joined: Wed Nov 30, 2016 12:51 am
Graphics Processor: nVidia with Vulkan support

Re: Extend RoughMonsterSearch with SearchForEnemies params

Post 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
Post Reply

Return to “Feature Suggestions [GZDoom]”