Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • 0
Szuran

How to make an enemy not see you / not attack you from behind a window?

Question

I want to have enemies in cells like here, but unable to attack the player. To put it simply, I don't want them to shoot. I tried to make the back of the middle texture a wall or something, hoping this would block their vision, but it doesn't work that way. I don't want to create a new enemy just to make it not see me. I'd like to simply make it blind and deaf for these couple of sectors.

 

obraz.png.f7130aa1f0634b791965178adb13e95d.png

Share this post


Link to post

3 answers to this question

Recommended Posts

  • 1

In vanilla you could draw a sector very close to the window and surrounding wall on the back side (but not touching), and then raise it almost to the ceiling and do not give it any side textures. This creates a see-through invisible wall that blocks attacks and sight, but it does not block sound. But that's easily fixed with block sound lines on the window itself. Remember block sound lines must be done in pairs.

 

In UDMF, things get MUCH simpler. Simply flag the line as block everything. Just for safety, also check the other blocking flags.

Share this post


Link to post
  • 0

I don't have much time at the moment, but take a look at TNT Map 19 sector 405 for a vanilla way to do it. 

Share this post


Link to post
  • 0

Thank you! This solution came to my mind but since texturing the middle sector didn't work, I thought it wouldn't either.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×