Cyberdemon
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 > Raise Donut tag?
 
Author
All times are GMT. The time now is 00:13. Post New Thread    Post A Reply
Destroylio
Warming Up


Posts: 17
Registered: 11-13


Can someone explain to me better how this Raise Donut tag works and what purpose it achieves... any examples would be greatly appreciated too. I've tried to use it a few times and it has resulted in strange results each time but I would like to learn how to use it effectively.

Old Post 01-18-14 23:51 #
Destroylio is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Foxpup
Member


Posts: 291
Registered: 09-05


From the Unofficial Doom Specs:

Line type 9 is a special one. The definitive example is the chainsaw pillar on E1M2. Take the lowest-numbered linedef that has a sidedef in the tagged sector. If that linedef is one-sided, nothing happens. If it is 2-sided, then the tagged sector's floor will move down to match the 2nd sector's floor height (or it will jump instantly up if it was below, like other floors that are supposed to move "down").

If this 2nd sector CONTAINS the tagged sector, i.e. all the linedefs with a sidedef in the tagged sector have their other sidedef in the 2nd sector, then this 2nd sector is the "donut". This donut's floor will move "up" to match the floor height of the sector on the other side of the DONUT's lowest-numbered linedef, excluding those linedefs that are shared with the "donut hole" central sector. Also, the donut will undergo a floor texture change and special sector type change to match the "outside". The donut sector does not have to be completely surrounded by another sector (i.e. it can have 1-sided linedefs), but if its lowest-numbered linedef is not 2-sided, a minor glitch results: the donut and the donut-hole both move to a strange height, and the donut changes floor texture to TLITE6_6 - the last flat in the directory.

Note that if the donut hole and the donut are both going to move, the donut hole is going to move to match the height that the donut is "going to". In other words, the whole thing will be at a single height when they're done, and this is the height of the "outside" sector that borders the donut.

Whew!


In other words, you want your sectors arranged like this:
code:
<-------- the OUTSIDE SECTOR has no tag, and its floor texture ______ and special type will be transferred to... / \ / <---\---- the DONUT SECTOR, which also has no tag, / ____ \ and whose floor moves up too match the OUTSIDE. | | | | | | <-|---|-- the HOLE SECTOR is the only one that is tagged, | |____| | and does not change texture or type, and moves down \ / to match height with the DONUT (which will be same \ / height as the OUTSIDE). \______/

Note that like all linetypes that transfer sector specials, if the outside sector is secret and the donut isn't, the donut sector will become an extra secret, making more than 100% secrets possible. Similary, if the donut sector is secret but the outside is not, the donut's secret will disappear, making 100% secrets impossible unless the player already entered the donut prior to triggering it.

Old Post 01-19-14 03:17 #
Foxpup is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Kappes Buur
Forum Regular


Posts: 879
Registered: 11-02


Donut Example

http://i.imgur.com/H7P6MyP.jpg

Last edited by Kappes Buur on 01-19-14 at 05:02

Old Post 01-19-14 04:56 #
Kappes Buur is offline Profile || Blog || Search || Add Buddy IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 6088
Registered: 08-00


Somebody should probably mention that the surrounding sectors are found by examining the lowest numbered linedef around the sector, something that you have virtually no control over in Doom Builder 2.

If the lowest numbered line is not two-sided, you may crash the game (in vanilla Doom, anyway - ports are smarter about it). Also, if different sectors immediately border the donut, you may get different properties than the ones you expected.

Thus it's best to have any donuts you build be entirely inside one surrounding sector, or at least a set of them with identical properties, so that you know what you'll get if your sidedefs just get randomly reordered for some reason.

Old Post 01-20-14 01:05 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Foxpup
Member


Posts: 291
Registered: 09-05


Speaking of which, are there any editors that do allow you to reorder linedefs (without resorting to such hackery as manually swapping vertex and sidedef references)?

Old Post 01-20-14 03:36 #
Foxpup is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 00:13. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > Raise Donut tag?

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.