Page 1 of 1

+MNOTVISIBLE actor flag

Posted: Mon Feb 13, 2023 11:54 am
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).

Re: +MNOTVISIBLE actor flag

Posted: Mon Feb 13, 2023 12:33 pm
by Rachael

Re: +MNOTVISIBLE actor flag

Posted: Mon Feb 13, 2023 12:43 pm
by Marisa the Magician
I see this is still affected by the "random chance to be seen anyway" part of CheckSight? Is that intended?

Re: +MNOTVISIBLE actor flag

Posted: Mon Feb 13, 2023 1:06 pm
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. :)

Re: +MNOTVISIBLE actor flag

Posted: Mon Feb 13, 2023 3:08 pm
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.

Re: +MNOTVISIBLE actor flag

Posted: Mon Feb 13, 2023 4:57 pm
by Rachael
Ah - okay - I will modify it, then.

Re: +MNOTVISIBLE actor flag

Posted: Wed Feb 15, 2023 1:39 am
by Fishytza
I'm guessing this is now called +VISALWAYSFAIL ?

Re: +MNOTVISIBLE actor flag

Posted: Wed Feb 15, 2023 3:21 pm
by Marisa the Magician
It has been renamed to +MVISBLOCKED.