[UDMF] Line Portals and Sound

Ask about mapping, UDMF, using DoomBuilder/editor of choice, etc, here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Post Reply
User avatar
FFFFRRRR
Posts: 99
Joined: Sat Nov 04, 2017 3:33 am

[UDMF] Line Portals and Sound

Post by FFFFRRRR »

Hello.

I am currently working on a mutli-story building. I have connected the individual floors through staircases and line portals, using "156 - Set Line Portal".
What I have noticed when placing enemies is that sound does not travel through the portals. When a monster shoots on one side of the portal, you do not hear the shot on the other side.

I figured that this is a limitation of how those portals work. I just want to make sure though if there is any way to solve this, or if I have to rethink the way I connect parts of the map.
User avatar
Enjay
 
 
Posts: 27140
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: [UDMF] Line Portals and Sound

Post by Enjay »

If you set your portals to be the static type, then sounds travel across the portal. There are other considerations with this type, but I think it is the only type that allows sounds to work in the way that you want. See [wiki]Line_SetPortal[/wiki] for details.
User avatar
FFFFRRRR
Posts: 99
Joined: Sat Nov 04, 2017 3:33 am

Re: [UDMF] Line Portals and Sound

Post by FFFFRRRR »

Thank you very much!
I have tested static wall portals and so far they do exactly what I want from them.
Post Reply

Return to “Mapping”