Cacodemon
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 General > Vanilla Doom sliding doors
Pages (2): [1] 2 »  
Author
All times are GMT. The time now is 02:50. Post New Thread    Post A Reply
fraggle
Filled with the code of Doom


Posts: 7730
Registered: 07-00


Hi,

I got the Vanilla Doom sliding doors code working a couple of days ago. For those not in the know, this is some commented-out code that was included in the Doom source release, apparently intended for use in the Doom II Wolf3D levels, but never used. The effect is quite ugly (four frame animation) and there are also some bugs in places:



A Chocolate Doom patch that re-enables the code, along with a demo WAD, is here.

Preemptive response to inevitable question: No, this is not an April Fool's joke.

Old Post 03-30-08 06:05 #
fraggle is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Csonicgo


Posts: 4450
Registered: 03-04


Reminds me of Strife's Animated doors. possibly the same concept.

Old Post 03-30-08 06:08 #
Csonicgo is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
GhostlyDeath
Forum Retard


Posts: 1027
Registered: 08-05


Yeah, I saw code for sliding doors in the Doom Source and wondered why it was all commented out.

Old Post 03-30-08 06:11 #
GhostlyDeath is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
EarthQuake
9.5 on the Richter!


Posts: 2839
Registered: 05-03


Do any sounds play? Or is there any sort of support for it playing sound? And do you plan on cleaning up the code to a point where it's use would be more practical?

Old Post 03-30-08 06:13 #
EarthQuake is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Texas Libra
Member


Posts: 458
Registered: 09-05


That was ugly...

Old Post 03-30-08 06:18 #
Texas Libra is offline Profile || Blog || Search || Add Buddy IP || Edit/Delete || Quote
Inferno
Senior Member


Posts: 1095
Registered: 09-03


Even weapons pass through it, lol.

Old Post 03-30-08 07:12 #
Inferno 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: 8757
Registered: 01-08


I'm imagining someone using these doors in a DM wad and letting their victims find out the hard way. :-)

Old Post 03-30-08 12:29 #
GreyGhost is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
deathbringer
Post invalidated by first word being "uhhh"


Posts: 3512
Registered: 04-02


uhhhhhhhh

These are also in EDGE, where they work a little better (can't be shot through for instance), they are silent by default but can have sound added

Old Post 03-30-08 12:58 #
deathbringer is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
CODOR
Forum Regular


Posts: 838
Registered: 02-06


Is there some way of making the animation smoother by playing with X-offsets and adding transparent areas within the engine?

Old Post 03-30-08 16:30 #
CODOR is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
LogicDeLuxe
Member


Posts: 642
Registered: 08-03


This sure is interesting as a curiosity.

But if we want to overcome Vanilla Doom's functionality in serious mapping, we just use PolyObjects, don't we? Also, a fake Door should be possible with Boom's scrolling features.

Old Post 03-30-08 19:21 #
LogicDeLuxe is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
geekmarine
Senior Member


Posts: 1796
Registered: 05-00


Any chance of de-bugifying it and having it be fully functional (and not hideous)?

Old Post 03-30-08 21:55 #
geekmarine is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
BJ Blazkowicz
Mini-Member


Posts: 97
Registered: 01-08


Isn't just a simple frame animation?

Old Post 03-30-08 23:10 #
BJ Blazkowicz is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
_bruce_
Senior Member


Posts: 1300
Registered: 11-07


Good job fraggle.
But why has the door no depth - just a sprite?
Before I saw the vid, I assumed it was a sector "passing away" line per line.

Old Post 03-30-08 23:19 #
_bruce_ is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
printz
CRAZY DUMB ZEALOT


Posts: 8885
Registered: 06-06


Ugly may be, but it could have been used to create togglable Impassable linedefs, particularly grates, which for now are only permanent blockers.

Eternity has the 3dMidTex option, but it makes the affected linedefs block the projectiles as well as the actors.

__________________
Automatic Wolfenstein - Version 1.0 - also on Android

Old Post 03-31-08 07:32 #
printz is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
esselfortium
A Major Doomworld Concern


Posts: 6613
Registered: 01-02



printz said:
Ugly may be, but it could have been used to create togglable Impassable linedefs, particularly grates, which for now are only permanent blockers.

Eternity has the 3dMidTex option, but it makes the affected linedefs block the projectiles as well as the actors.



ZDoom can set lines impassible or impassible ingame with a script. Eternity might be able to do this too, I'm not sure.

Either way, the reasons why this is ugly and choppy and unfinished is because....it wasn't a finished feature! That's the entire reason why it wasn't in the final game in the first place!

__________________
essel.spork-chan.net - doom stuff, artwork, and music by esselfortium

Old Post 03-31-08 07:35 #
esselfortium is online now Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Xeriphas1994
Junior Member


Posts: 178
Registered: 06-07



fraggle said:
apparently intended for use in the Doom II Wolf3D levels


Inferno said:
Even weapons pass through it, lol.

As they did in the original DOS version of Wolfenstein.  The engine thought that doors opened and closed instantaneously, regardless of what their animations showed.

Old Post 04-02-08 00:40 #
Xeriphas1994 is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
myk
volveré y seré millones


Posts: 15226
Registered: 04-02



geekmarine said:
Any chance of de-bugifying it and having it be fully functional (and not hideous)?
I'd say the point was to more or less show the code that's already in the source, not to provide some OMG new feature.


LogicDeLuxe said:
But if we want to overcome Vanilla Doom's functionality in serious mapping, we just use PolyObjects, don't we?
That depends on the nature of the project, as the polyobjects code as seen in Hexen isn't free software.

Old Post 04-02-08 04:56 #
myk is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
printz
CRAZY DUMB ZEALOT


Posts: 8885
Registered: 06-06



fraggle said:
A Chocolate Doom patch that re-enables the code
I`m sorry, but ain`t Choco-Doom supposed to emulate vanilla Doom, not enhance it with map features? Next time we may see plain Doom wads actually requiring the port.

Post typed from a PSP.

__________________
Automatic Wolfenstein - Version 1.0 - also on Android

Old Post 04-02-08 07:00 #
printz is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
esselfortium
A Major Doomworld Concern


Posts: 6613
Registered: 01-02



printz said:
I`m sorry, but ain`t Choco-Doom supposed to emulate vanilla Doom, not enhance it with map features? Next time we may see plain Doom wads actually requiring the port.

Post typed from a PSP.


As you can see from the video, this isn't really usable as a map feature in its current form, and I doubt that it'll become a Chocolate Doom feature.

__________________
essel.spork-chan.net - doom stuff, artwork, and music by esselfortium

Old Post 04-02-08 07:18 #
esselfortium is online now Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Graf Zahl
Why don't I have a custom title by now?!


Posts: 7769
Registered: 01-03



myk said:

That depends on the nature of the project, as the polyobjects code as seen in Hexen isn't free software.




The one in Eternity is. So there is an alternative for GPL ports.

Old Post 04-02-08 08:01 #
Graf Zahl is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 6088
Registered: 08-00


Personally I don't think PolyObjects would work if you intended to use these things for every door in your map. For one thing, without an extension such as ExtraData, you are limited to 255 PolyObjects per map, due to the inability to address any more than that via the args to Hexen linedef specials and the angle field of mapthings. For another, the more PolyObjects you put in a map, the more likely you are to have trouble with overdraw errors and nodes getting split where you need square subsectors. Finally, the way PolyObjects are created is kind of annoying; requires a lot of extra, careful mapping work.

So with those things in mind, I don't think an extra way to do cheap, light-weight sliding doors would be out of line. I had considered resurrecting this code myself back when it was first (re)discovered, but I don't really have a solution for partial clipping, so that you could pass through the door as soon as it is open wide enough, and not either be required to wait until it is fully open, or be able to pass through it as soon as it is open even a crack. 3DMidTex do not solve this problem either, since they clip on a per-line basis and not a per-column basis.

Old Post 04-02-08 18:20 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
esselfortium
A Major Doomworld Concern


Posts: 6613
Registered: 01-02



Quasar said:
Personally I don't think PolyObjects would work if you intended to use these things for every door in your map. For one thing, without an extension such as ExtraData, you are limited to 255 PolyObjects per map, due to the inability to address any more than that via the args to Hexen linedef specials and the angle field of mapthings. For another, the more PolyObjects you put in a map, the more likely you are to have trouble with overdraw errors and nodes getting split where you need square subsectors. Finally, the way PolyObjects are created is kind of annoying; requires a lot of extra, careful mapping work.

So with those things in mind, I don't think an extra way to do cheap, light-weight sliding doors would be out of line. I had considered resurrecting this code myself back when it was first (re)discovered, but I don't really have a solution for partial clipping, so that you could pass through the door as soon as it is open wide enough, and not either be required to wait until it is fully open, or be able to pass through it as soon as it is open even a crack. 3DMidTex do not solve this problem either, since they clip on a per-line basis and not a per-column basis.


Heh, if there was some way to make horizontally-moving 3Dmidtex platforms, that'd be amazing. Silly annoying jump puzzles would never be the same again :P

__________________
essel.spork-chan.net - doom stuff, artwork, and music by esselfortium

Old Post 04-02-08 20:01 #
esselfortium is online now Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Graf Zahl
Why don't I have a custom title by now?!


Posts: 7769
Registered: 01-03



Quasar said:
For another, the more PolyObjects you put in a map, the more likely you are to have trouble with overdraw errors and nodes getting split where you need square subsectors. Finally, the way PolyObjects are created is kind of annoying; requires a lot of extra, careful mapping work.



That's where polyobject-aware node builders come in.

Old Post 04-02-08 20:20 #
Graf Zahl is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
deathbringer
Post invalidated by first word being "uhhh"


Posts: 3512
Registered: 04-02


uhhhhhhh

You could make a crude emulation of a side-opening (not closing again) door using several instant-lower sectors. The advantage is it would be "3D", the disadvantage is it'd look more like the door was progressively dissapearing than 'opening'. Though it could work with more plain textures or if you see the actual opening from a long distance.
Using that method "swinging" doors work better, there's some in Eternal 3

Old Post 04-02-08 21:07 #
deathbringer is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
printz
CRAZY DUMB ZEALOT


Posts: 8885
Registered: 06-06



Graf Zahl said:
That's where polyobject-aware node builders come in.
Are there any for Eternity, as long as it uses the Doom format?

__________________
Automatic Wolfenstein - Version 1.0 - also on Android

Old Post 04-02-08 21:11 #
printz is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
esselfortium
A Major Doomworld Concern


Posts: 6613
Registered: 01-02



deathbringer said:
You could make a crude emulation of a side-opening (not closing again) door using several instant-lower sectors. The advantage is it would be "3D", the disadvantage is it'd look more like the door was progressively dissapearing than 'opening'. Though it could work with more plain textures or if you see the actual opening from a long distance.
Using that method "swinging" doors work better, there's some in Eternal 3


It's tricky and extremely tedious/error-prone to build, but there is an actual way to do this without having the door look like it's "disappearing". The trick is to slightly angle the lines inwards by 1 unit. If you set it up right, it won't become progressively thinner as it opens, it'll just be 2 units thinner on one end than the other, which shouldn't be too noticeable. I made use of it in a map I did for a certain yet-to-be-released Boom project a while back...

__________________
essel.spork-chan.net - doom stuff, artwork, and music by esselfortium

Old Post 04-02-08 21:21 #
esselfortium is online now Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
TheDarkArchon
Senior Member


Posts: 2332
Registered: 08-04



printz said:
Are there any for Eternity, as long as it uses the Doom format?


Nodes are independant of the map format so ZDBSP and DeePSeas BSP(?) should be able to handle it.

__________________
* insert completely and utterly useless nonsense here that nobody will ever read ever *

Old Post 04-03-08 02:08 #
TheDarkArchon is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Creaphis
I will deliberately take a contrary position just for the sake of writing incredibly long arguments


Posts: 4181
Registered: 10-05


There's also this sliding door method for Boom and compatible, but I don't know if it's worth using in any actual projects. It has the same clipping issue - when you can first enter the door, you can walk through the textured part of it.

http://www.doomworld.com/idgames/index.php?id=9714

Old Post 04-03-08 05:36 #
Creaphis is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
printz
CRAZY DUMB ZEALOT


Posts: 8885
Registered: 06-06



TheDarkArchon said:


Nodes are independant of the map format so ZDBSP and DeePSeas BSP(?) should be able to handle it.

Fortunately EE uses the same doomednums for the polyobj things, so if the BSP prog doesn't care about map format, all's fine. It will be less fine if EE polyobjs are addressed through ExtraData control objects.

__________________
Automatic Wolfenstein - Version 1.0 - also on Android

Old Post 04-03-08 07:21 #
printz is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
esselfortium
A Major Doomworld Concern


Posts: 6613
Registered: 01-02



printz said:
Fortunately EE uses the same doomednums for the polyobj things, so if the BSP prog doesn't care about map format, all's fine. It will be less fine if EE polyobjs are addressed through ExtraData control objects.

I might be wrong, but I think the only way to use polyobjects in EE is with ExtraData control objects, as there are no fields for their id numbers or other parameters in the Doom map format. It might be possible to do them without ExtraData, but I've never done it.

__________________
essel.spork-chan.net - doom stuff, artwork, and music by esselfortium

Old Post 04-03-08 08:17 #
esselfortium is online now Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 02:50. Post New Thread    Post A Reply
Pages (2): [1] 2 »  
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom General > Vanilla Doom sliding doors

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.