Demon
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > How to fight against disguised and treacherous 0-length linedefs?
 
Author
All times are GMT. The time now is 13:57. Post New Thread    Post A Reply
scifista42
Senior Member


Posts: 1247
Registered: 05-12


Maybe you know it, maybe not. When editing a map, if you move a verticle on another verticle and you have bad luck and editor mysteriously fails to check for this, it may lead to creation of 0-length linedef. Linedef that connects two verticles with the exactly same position. This linedef is not just very very hard to find and remove, but also may cause problems with your map.
It's no joke. This occured to me several times in the past. They're especially annoying if they don't have set a texture and DB2 error checker reports an error, but isn't able to show where it is.
Yesterday I was making a vanilla map, tested it in Chocolate Doom and didn't notice any problems. Then I decided to playtest it again in Zandronum, just because. And when the map loaded and everything seemed fine, I opened the console to activate cheats. And only because of this, I noticed warning message that told me something like:
code:
Linidef 9121 has been removed. The map contains 1 0-length sidedef.

To remove it, I had to block-select all linedefs in the certain map section, then click-by-click remove all of them from the selection and then press delete. And after that, I had to redraw adjoining sectors to that linedef, because HOMs started to appear in my map in Chocolate Doom (but not Zandronum).

So I'm asking, is this a well known problem which is easy to solve, or did I discover something new?

(And if some of you have doubts, I'm emphasizing that this thread is no joke.)

Old Post 01-01-13 12:45 #
scifista42 is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Mordeth
Administrator


Posts: 1964
Registered: 05-00


Use a decent editor (like Doombuilder) which fixes these things automatically.

Old Post 01-01-13 13:16 #
Mordeth is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
scifista42
Senior Member


Posts: 1247
Registered: 05-12


I use Doom Builder 2 which fixes these things automatically - but only with 99% probability, it seems. This happens just very rarely.

Old Post 01-01-13 13:21 #
scifista42 is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
GreyGhost
Why don't I have a custom title by now?!


Posts: 8131
Registered: 01-08


It might be related to one of my pet hates - the overlapping linedef. What you could try is to search for the linedef by its index number, switch to vertex mode and jiggle the offending vertex a bit, which should result in it stitching properly and the 0-length line being deleted.

Old Post 01-01-13 14:07 #
GreyGhost is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
printz
CRAZY DUMB ZEALOT


Posts: 8538
Registered: 06-06


What editor are you using?

__________________
Automatic Wolfenstein - Version 1.0

Old Post 01-01-13 14:45 #
printz is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Dragonsbrethren
Forum Staple


Posts: 2395
Registered: 03-09


He just said Doom Builder 2 in two different posts.

Old Post 01-01-13 18:05 #
Dragonsbrethren is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Memfis
Forum Legend


Posts: 4780
Registered: 04-07


I've heard that WadAuthor is better at detecting stuff like this.

scifista42 said:
but also may cause problems with your map.

Any examples? :)

Old Post 01-01-13 18:08 #
Memfis is online now Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
scifista42
Senior Member


Posts: 1247
Registered: 05-12


@Memfis: I've mentioned HOMs and flaws of DB2 Map Analysis (well, well, the HOMs appeared after I had removed the linedef). But I've already experienced that a single linedef can cause a crash of vanilla Doom. For example if it's middle texture is "submerged" into the sky or is multipatched. It wouldn't be good if this linedef couldn't be found and edited/removed. But OK, OK, these examples aren't maybe adequate. I must admit, I'm just a big perfectionist who cannot stand error messages :p
I'm not going to use WadAuthor because it's not freeware and also I cannot live without Visual Mode. :)

@GreyGhost: It might work. ZDoom based ports fortunately seem to detect these linedefs and also report their indexes. It took me a while to figure out how to search for linedef by its index (or even display the index), but now I know. Thank you!
Overlapping linedefs are also a tricky thing, but in most cases you can fix them by merging + redrawing sectors, because you know where they are, right? Whereas 0-length linedefs aren't clearly visible. But if you know where they are, then it's easy (easier) to get rid of them.

Old Post 01-02-13 07:57 #
scifista42 is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Memfis
Forum Legend


Posts: 4780
Registered: 04-07


I'm not suggesting to completely swithch to WadAuthor, just that you could use its error check system when you need to find a 0-length linedef.

And I think when WadAuthor expires you can simply extract it in a new folder and it should work for the next 15 days just fine. :) If you're okay with doing that...

Old Post 01-02-13 12:52 #
Memfis is online now Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
GreyGhost
Why don't I have a custom title by now?!


Posts: 8131
Registered: 01-08



Memfis said:
And I think when WadAuthor expires you can simply extract it in a new folder and it should work for the next 15 days just fine. :)
Or lay your hands on a copy of the 3D Game Alchemy CD, which contains a registered version.

Old Post 01-02-13 13:55 #
GreyGhost is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 13:57. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > How to fight against disguised and treacherous 0-length linedefs?

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Message Board Statistics