once again: WARNING: room brush with portal center outside the world - by schleicher
schleicher on 21/11/2015 at 22:58
Hi
I have here a problem with that really annoying message:
"WARNING: room brush with portal center outside the world"
There are two room-brushes; even angles. As soon as they
touch each other, I get that error. But they have to
have contact; otherwise the two areas dont play the sound
of the other area.
I cannot understand the problem, that DromEd has.
Is DromEd that buggy, that one has to find workarounds, or
is there anything, that I should know about brushes?
As I said: Both rooms are even; no odd angles. And only this
two rooms are affected.
P.S. I let them snap to the grid; so it is sure, that they not
overlapping.
LarryG on 21/11/2015 at 23:41
No, this is not likely to be a DromEd bug. This is very likely an error you have made in constructing your room brushes. What the error means is that you have a solid space right in the middle of the portal between the two brushes. Try turning on show_player_room. The red lines from show_player_room are when the line between a room portal center and the room center is obstructed by terrain. All the lines are drawn between each room center and its room portal centers. This should help you visualize where you are going wrong. What you may need to do to fix this is create more than just two room brushes for this area. Extra room brushes can be used to avoid solid brushes in the portals.
schleicher on 22/11/2015 at 00:10
Thank you, for explaining that. The only thing I maybe do not fully understand:
There are two big rooms. I only have to separate them just a few millimeters;
even, that they have no contact, and all is ok.
Since they have contact, the error shows up.
If there is an "problem-object" that causes the error: As long as the two rooms
are separated, this "problem-object" is not in the portal-center of one
of the two brushes. But since they have contact, both rooms are calculated
as one part and so the "problem-object" is in the center of that
"combined"-room ?
Am I at least a bit right with this idea ? I just try to understand
the logic behind this message. And your explaining I understand in this
way.
LarryG on 22/11/2015 at 05:49
Portals are formed between rooms that touch or intersect. If the rooms don't touch / intersect, no portal, and hence no portal center to be outside of the world (i.e. in solid). Think of portals as doorways between rooms. Did you use the command and go into game mode to look around? That should tell you all you need to know.
schleicher on 22/11/2015 at 16:03
Quote Posted by LarryG
Did you use the command and go into game mode to look around? That should tell you all you need to know.
Yes, but I was not sure enough about the mechanism behind that. But I think, I got it now, after your explanation. Thank you.
ZylonBane on 22/11/2015 at 17:08
This warning is very common even in the original missions, and almost never worth worrying about. As long as sound propagation in and around the room brush seems normal, just ignore it.
LarryG on 22/11/2015 at 17:34
At the risk of disagreeing, I believe that a lot of the anomalous sound propagation in the OMs is attributable to ignoring such warnings. If you can fix it -- and you almost always can with proper room brushing techniques -- you should fix it.
PinkDot on 22/11/2015 at 20:11
This error may be a problem or may not. If you have two physical rooms next to each other, with a wall between them, so no sound should go through, then if their roombrushes intersect inside that wall, it means you have a problem. The roombrushes should not intersect in this case.
However if you have one room with a pillar in the middle and you roombrush it with two Rooms - each covering a half of them, then they will overlap and the room portal center will be inside that pillar = inside the solid. Dromed will report this as an error, but the sound propagation will be correct, since you want the sound to be propagated between these two Room brushes.
If one understands how the system works, he can judge which cases may be ignored and which can't. However it is a good habit to re-shape your Room brushes in a way, that they never intersect each other in the solid, to avoid any ambigous error messages.
ZylonBane on 22/11/2015 at 21:39
Quote Posted by LarryG
At the risk of disagreeing, I believe that a lot of the anomalous sound propagation in the OMs is attributable to ignoring such warnings. If you can fix it -- and you almost always can with proper room brushing techniques -- you should fix it.
Having fixed many dozens of sound propagation issues in the original SS2 maps, I can attest with empirical certainty that the overwhelming majority, bordering on the entirety, of these issues are caused by either:
1. Room brushes intersecting that shouldn't
2. Room brushes not intersecting that should
Room brush interaction with terrain brushes is fairly nonexistent. I suspect this warning only exists to encourage best-practice room brushing.
Yandros on 23/11/2015 at 05:52
From my experience, I have to agree with ZB on this one. I usually have dozens of such warnings in my missions and only address them if there are sound propagation issues.