Monster +NOCLIP but doesn't cross certain lines?
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
- Tormentor667
- Posts: 13556
- Joined: Wed Jul 16, 2003 3:52 am
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia (Modern GZDoom)
- Location: Germany
- Contact:
Monster +NOCLIP but doesn't cross certain lines?
Okay, I need a monster now that is able to walk through walls but that isn't able to walk over certain monster blocking lines. How do I do that?
Cheers,
Torm
Cheers,
Torm
- Tormentor667
- Posts: 13556
- Joined: Wed Jul 16, 2003 3:52 am
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia (Modern GZDoom)
- Location: Germany
- Contact:
Unless you want to put them along with normal monsters, you can use fake walls (two-sided linedefs with the "block player" flag and a midtexture) and your monsters will be able to move in and out of them as if they noclipped. But they'll still be blocked by real walls and by monster-blocking linedefs.
An inconvenient of this method is that hitscans and projectiles will pass through these fake walls too.
An inconvenient of this method is that hitscans and projectiles will pass through these fake walls too.
- Tormentor667
- Posts: 13556
- Joined: Wed Jul 16, 2003 3:52 am
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia (Modern GZDoom)
- Location: Germany
- Contact:
Rather than ACS, it seems you could have mook monsters using the +TELEPORT flag that doesn't let them activate lines so that they wouldn't be teleported... Still needs confirmation from Randy but it seems to me that's what it would do.Gez wrote:Speaking of ACS... Would it be possible to have along the walls invisible linedefs (action 80, monsters can activate, activated by crossing line/walking over it) that would check the activator's type and, if the right monster type, teleport it silently to a map spot on the other side of the wall?
Alternatively, the ceiling effect (again, if it works) could be used here too, this time with the passwall monsters as the ones with +TELEPORT. Walls would just have to actually be sectors with a floor height and ceiling height sufficiently different from the corridor to be an opaque obstacle, but these monsters would be able to pass through.
The problem is that these monsters are also then indifferent to floor-height changes.Gez wrote:Rather than ACS, it seems you could have mook monsters using the +TELEPORT flag that doesn't let them activate lines so that they wouldn't be teleported... Still needs confirmation from Randy but it seems to me that's what it would do.
FWIW, +TELEPORT is what was "Semi-no clipping" in Dehacked. More accurately it should be called something like +IGNOREHEIGHTCHANGES, since that's its major effect (and the "doesn't trigger lines" bit is more of a secondary effect for most things).