+MNOTVISIBLE actor flag

Moderator: GZDoom Developers

User avatar
Matt
Posts: 9696
Joined: Sun Jan 04, 2004 5:37 pm
Preferred Pronouns: They/Them
Operating System Version (Optional): Debian Bullseye
Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia

+MNOTVISIBLE actor flag

Post by Matt »

A flag that, if true, would cause another actor's sight check to always return false.

The use case I've got is here, but I'm sure there are others - camouflage, lighting/disguise stealth tricks, trying to get around shields, etc..

Currently every option either ends up with unwanted physics effects (+nosector) or rendering effects (+invisible) or causes the attacker to change targets (virtually everything else).
User avatar
Rachael
Posts: 13523
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her

Re: +MNOTVISIBLE actor flag

Post by Rachael »

User avatar
Marisa the Magician
Posts: 3886
Joined: Fri Feb 08, 2008 9:15 am
Preferred Pronouns: She/Her
Operating System Version (Optional): (btw I use) Arch
Graphics Processor: nVidia with Vulkan support
Location: Vigo, Galicia

Re: +MNOTVISIBLE actor flag

Post by Marisa the Magician »

I see this is still affected by the "random chance to be seen anyway" part of CheckSight? Is that intended?
User avatar
Rachael
Posts: 13523
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her

Re: +MNOTVISIBLE actor flag

Post by Rachael »

I basically tried to make it work with all RF_INVISIBLE checks on the playsim side, without changing anything on the rendering side. So it should physically work like an +INVISIBLE actor except that it can be seen by the player. If this is incorrect, please feel free to put a PR against my mistake, because I am not sure exactly what part is wrong. :)
User avatar
Matt
Posts: 9696
Joined: Sun Jan 04, 2004 5:37 pm
Preferred Pronouns: They/Them
Operating System Version (Optional): Debian Bullseye
Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia

Re: +MNOTVISIBLE actor flag

Post by Matt »

TIL I need to click on the button instead of Ctrl+Enter in order to pass the invisible captcha.

Anyway thanks for the super quick response though as I mentioned in the GitHub issue making an equivalent to +INVISIBLE would still cause the monster to lose an existing target.
User avatar
Rachael
Posts: 13523
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her

Re: +MNOTVISIBLE actor flag

Post by Rachael »

Ah - okay - I will modify it, then.
User avatar
Fishytza
Posts: 781
Joined: Wed Feb 23, 2011 11:04 am
Preferred Pronouns: No Preference

Re: +MNOTVISIBLE actor flag

Post by Fishytza »

I'm guessing this is now called +VISALWAYSFAIL ?
User avatar
Marisa the Magician
Posts: 3886
Joined: Fri Feb 08, 2008 9:15 am
Preferred Pronouns: She/Her
Operating System Version (Optional): (btw I use) Arch
Graphics Processor: nVidia with Vulkan support
Location: Vigo, Galicia

Re: +MNOTVISIBLE actor flag

Post by Marisa the Magician »

It has been renamed to +MVISBLOCKED.

Return to “Closed Feature Suggestions [GZDoom]”