[Ohrrpgce] [ohrrpgce/ohrrpgce] Add vehicle setting to respect NPC zones, hide "Override walls" setting (#1144)

Ralph Versteegen notifications at github.com
Tue Feb 23 16:40:25 PST 2021


Additionally, if the vehicle bitset "Pass through walls" is set all collision/wallchecking (except walking off the map edge), including the "Blocked by" setting and collisions with NPCs, is completely disabled.  (It should be renamed "Pass through walls and NPCs" or "Pass through all obstacles", and in fact maybe split into two or more bits.)

When we add vehicle zones we need to either:

1. Change it so that in combination with zones it instead acts like the NPC setting "Ignore Passmap" (only ignores ordinary walls) plus ignoring collisions. But for backcompat it should still disable "Blocked by" (separately, maybe we could add a backcompat bitset to disable that).
2. Hide and disable that setting when using zones, and add an NPC definition setting to let the NPC walk through other NPCs which you can use instead together with "Ignore passmap". (Currently there's only an NPC instance setting to do that, only accessible via scripting)

I suggest we go with (2) and have a vehicle setting "Walls/Collisions: Respect NPC zones & settings/Use passmap bits". "Blocked by", "Override walls" and "Pass through walls and NPCs" would only appear when using the second, but "Override walls" would be hidden if it's not already set. We could also have a third option "Use fixed settings" to get options to set the movement and avoidance zones and "Pass through walls" and "Pass through NPCs".

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/ohrrpgce/ohrrpgce/issues/1144#issuecomment-784640361
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20210223/d7b01fc8/attachment.html>


More information about the Ohrrpgce mailing list