Real room above room

Moderator: GZDoom Developers

User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49183
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

David Ferstat wrote: and monsters can see through the fake floors and ceilings,

No, they can't. That is handled by the sight checking code.
User avatar
Hirogen2
Posts: 2033
Joined: Sat Jul 19, 2003 6:15 am
Operating System Version (Optional): Tumbleweed x64
Graphics Processor: Intel with Vulkan/Metal Support
Location: Central Germany

Re: Real room above room

Post by Hirogen2 »

Vader wrote:Image
(the iso-view partially sucks :P )
Your text and arrow skills fail it completely, AND the map and 3D view look better than text/arrow... how come? :lol:
User avatar
Daniel
Posts: 811
Joined: Sun Jul 04, 2004 3:21 pm

Re: Real room above room

Post by Daniel »

Vader wrote:Let´s say the above picture is taken in the editor of your choice.
now what I think Compwhiz128 is trying to do is:
Drawing a simple room + a stairway leading down(1)
Connecting the stairway with another room, wich is about in the same position as the first room only a few mapunits below it´s floor (2)
Given a hypethitical isometric view, it would look like shown in 3.

You wouldn´t be able to see the above room from the room below or vice versa.
I know that it was possible in Duke3d, but I´ve no clue about how it could work in Zdoom:?

How about this:

Suppose the higher sector is 256/128 ceiling/floor height
Suppose the lower sector is 128/0 ceiling/floor height

When the player go down to the stairs, just put a line that moves down the floor, and following, a line that puts the ceiling down; before these lines, just put a line that puts the floor up and a line that puts the ceiling up (all oriented in the player way to go down the stairs).


READY! You'll have your (fake) 3D SECTOR!!!!!!!

:lol:
User avatar
QBasicer
Posts: 766
Joined: Tue Sep 16, 2003 3:03 pm

Post by QBasicer »

Ok, so why don't we just bite the bullet and recode the engine?
User avatar
Bio Hazard
Posts: 4019
Joined: Fri Aug 15, 2003 8:15 pm
Location: ferret ~/C/ZDL $

Post by Bio Hazard »

Cause randy isin't crazy like I am...

I would so try if I could compile ZDoom. (and knew the math and all that too)
User avatar
Vader
Posts: 4241
Joined: Fri Jul 30, 2004 4:00 am
Location: Germany

Re: Real room above room

Post by Vader »

Hirogen2 wrote: Your text and arrow skills fail it completely, AND the map and 3D view look better than text/arrow... how come? :lol:
Heh, maybe I´m kind of dyslexic, dunno :)
Daniel wrote:How about this:

Suppose the higher sector is 256/128 ceiling/floor height
Suppose the lower sector is 128/0 ceiling/floor height

When the player go down to the stairs, just put a line that moves down the floor, and following, a line that puts the ceiling down; before these lines, just put a line that puts the floor up and a line that puts the ceiling up (all oriented in the player way to go down the stairs).


READY! You'll have your (fake) 3D SECTOR!!!!!!!

Laughing
Omg, why haven´t I thought of this before... awesome trick [/sarcasm]
Seriously, this method is a very cheap hack plus it wouldn´t work in multiplayer games :wink:
User avatar
David Ferstat
Posts: 1113
Joined: Wed Jul 16, 2003 8:53 am
Location: Perth, Western Australia

Post by David Ferstat »

Graf Zahl wrote:
David Ferstat wrote: and monsters can see through the fake floors and ceilings,

No, they can't. That is handled by the sight checking code.
Sorry. My mistake.

Is this a recent bug-fix, or has this been so since the start of fake floors? I ask because I thought that monsters were trying to shoot me through one of the fake floors in Rex's Darkest hour.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49183
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

It has been like that since Boom. But it isn't 100% foolproof.
User avatar
Biff
Posts: 1061
Joined: Wed Jul 16, 2003 5:29 pm
Location: Monrovia, CA, USA

Post by Biff »

I remembered something I did years back, putting an imp on a fake floor, and he could see me and shoot at me through the floor. His fireballs just explode on the bridge objects though, don't come through to hit me. Based on this experiment, the sight checking code must not work well for this issue.

Check this out, his feet show through the floor. I guess the bridge objects could be raised a bit to fix that? The player would notice the step up then, probably.
You do not have the required permissions to view the files attached to this post.
User avatar
David Ferstat
Posts: 1113
Joined: Wed Jul 16, 2003 8:53 am
Location: Perth, Western Australia

Post by David Ferstat »

Remember, though, that if the top surface of the bridge object is higher than the adjacent floor, the monster won't move from floor to bridge object.
User avatar
Phoenix
Posts: 344
Joined: Tue Sep 28, 2004 4:49 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Location: Canada

Post by Phoenix »

it's cause all Things are bumped down by 4 pixels, for god knows what bloody reason.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49183
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

No, they don't. The bridge's z-position is at its bottom, not its top (as for all other things in the game.) It is 4 units high so there you are.
User avatar
Daniel
Posts: 811
Joined: Sun Jul 04, 2004 3:21 pm

Re: Real room above room

Post by Daniel »

Vader wrote:Seriously, this method is a very cheap hack plus it wouldn´t work in multiplayer games :wink:
OF course! Just try to play Hell Revealed in Multiplayer... it is full of tricks like that
User avatar
Vader
Posts: 4241
Joined: Fri Jul 30, 2004 4:00 am
Location: Germany

Post by Vader »

When you´re running around together with your teammates, it may all work wonderfull!
If two player tries to pass such a spot on different ways (one walks the upper wyy the other one the lower) one of them would get stuck though!
User avatar
Belial
Posts: 1616
Joined: Wed Feb 09, 2005 3:09 pm

Post by Belial »

All of the old wads used this trick. Nothing cheap about it. And it's really hard to make it screw up.

A player is standing on top of the "bridge". The other player is running at ground level towards the bridge. Once he passes the line the bridge will lower and of course the player on top of it will go down with it. That's perfectly fine cause once the running player passes the second line the bridge will raise again.

There, it works. For bridges only but it works.

For full rooms it's impossible to do it in multiplayer. But for SP it's acceptable, and a must if you're making a vanilla map.

Return to “Closed Feature Suggestions [GZDoom]”