Editing Talk:Linedef (section) From DoomWiki.org Warning: You are not logged in. Your IP address will be recorded in this page's edit history. Anti-spam check. Do not fill this in! ==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, [[User:222.154.133.7|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. [[User:Fraggle|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, [[User:222.154.159.101|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. [[User:Fraggle|Fraggle]] 07:23, 11 September 2007 (UTC) Summary: All contributions to DoomWiki.org are considered to be released under the CC BY-SA 4.0 International (see Doom Wiki:Copyrights for details). By contributing, you agree to be bound by the Terms of Use. Your changes will be visible immediately. Please enter a summary of your changes above. Do not submit copyrighted images or text without permission! This includes text taken from in-game codices or logbooks, or from official instruction manuals, strategy guides, and other such books. This project is not affiliated with id Software, Raven Software, ZeniMax Media, Bethesda SoftWorks, or any other commercial software developer or publisher. Use of trademarked logos and other protected intellectual property is solely for the purpose of analysis and critical commentary on the identified products and associated fan community activity, and does not imply any endorsement by any of these organizations or their employees, past or present. Upload images to the wiki. Don't forget to categorize pages! For testing, please use a sandbox. View this template Cancel | Editing help (opens in new window)