Talk:Linedef

Am I right in thinking that the sound-blocking flag only works in one direction? In E1M4, monsters in sector 97 are awakened by gunfire in sector 82, despite the sound-blocking linedefs between them. Ryan W 02:44, 4 March 2006 (UTC)


 * Heh, wrong. Sounds are only blocked if they have to cross at least *two* sound-blocking linedefs to reach the "target" .    Ryan W 22:54, 5 September 2007 (UTC)

Flag 0x0004 isn't exactly two-sided
I did some really weird experiments (like having an open sector for example) and I can tell you that it is NOT the "two-sided" flag, it is the "transparency" flag. If you deset this flag in a level, you will find that there is a void, but it still has two sides, since you can just walk through it. If you want two-sides, make two sidedefs. --GreaseMonkey, 222.154.133.7 06:07, 6 September 2007 (UTC)
 * The two-sided flag controls whether the "back" side of a linedef is displayed. From p_setup.c, the code that loads the level:

li->frontsector = sides[ldef->sidenum[side]].sector; if (ldef-> flags & ML_TWOSIDED) li->backsector = sides[ldef->sidenum[side^1]].sector; else li->backsector = 0;


 * What this means is that the "front side" of the line is always set, but the "back side" of the line is only set when the two sided flag is set. Basically, the second sidedef is ignored if this bit is missing.
 * It's important to note that two-sidedness is not the same as impassibility. Being able to walk through something doesn't mean anything - make a level with a single empty room and turn off the "impassible" flags on the walls and you'll be able to walk through them, but they're still one-sided lines. Fraggle 07:56, 6 September 2007 (UTC)
 * The point I was saying was that it's a transparency flag, but thanks for that info. --GreaseMonkey, 222.154.159.101 04:24, 11 September 2007 (UTC)
 * Well, sort of. It's used as a hint to the rendering engine to identify the difference between walls and "joining" lines.
 * I'm going to change this back to "two sided" as this is the standard terminology used both in the Doom source code and in pretty much every level editor I've ever seen. Fraggle 07:23, 11 September 2007 (UTC)

"Other side" of the line
"The specified action usually will take place in the sector or sectors that have the same tag number as the linedef. Exceptions to this include local doors (which act on the sector on the other side of the line)" By "other side" does it mean to say it acts on the sector on the left or "back" side of the line? If so I believe saying that would be a more accurate description of how these types of linedefs work, than saying "other side". 147.153.84.5 20:42, June 4, 2013 (UTC)