[No] Real room above room

Moderator: GZDoom Developers

Postby Graf Zahl » Mon May 23, 2005 12:50 pm

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
Graf Zahl
Lead GZDoom Developer
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Real room above room

Postby Hirogen2 » Mon May 23, 2005 4:29 pm

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
Hirogen2
 
Joined: 19 Jul 2003
Location: Central Germany

Re: Real room above room

Postby Daniel » Mon May 23, 2005 4:56 pm

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
Daniel
 
Joined: 04 Jul 2004

Postby QBasicer » Mon May 23, 2005 9:01 pm

Ok, so why don't we just bite the bullet and recode the engine?
User avatar
QBasicer
#include <QBasicer.h>
 
Joined: 16 Sep 2003
Github ID: qbasicer

Postby Bio Hazard » Mon May 23, 2005 10:33 pm

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
Bio Hazard
Lord of the Lord of Nitpicking.
 
Joined: 15 Aug 2003
Location: ferret ~/C/ZDL $

Re: Real room above room

Postby Vader » Tue May 24, 2005 2:02 am

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
Vader
Mandroid ginger Ninja
 
Joined: 30 Jul 2004
Location: Germany

Postby David Ferstat » Tue May 24, 2005 8:17 am

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
David Ferstat
Oh dear, I think you'll find reality is on the blink again.
 
Joined: 16 Jul 2003
Location: Perth, Western Australia

Postby Graf Zahl » Tue May 24, 2005 9:31 am

It has been like that since Boom. But it isn't 100% foolproof.
User avatar
Graf Zahl
Lead GZDoom Developer
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany

Postby Biff » Tue May 24, 2005 10:09 am

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.
Attachments
2storyf.zip
(1.94 KiB) Downloaded 62 times
User avatar
Biff
Caleb is back for a visit
 
Joined: 16 Jul 2003
Location: Monrovia, CA, USA

Postby David Ferstat » Tue May 24, 2005 11:25 am

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
David Ferstat
Oh dear, I think you'll find reality is on the blink again.
 
Joined: 16 Jul 2003
Location: Perth, Western Australia

Postby Phoenix » Tue May 24, 2005 7:54 pm

it's cause all Things are bumped down by 4 pixels, for god knows what bloody reason.
User avatar
Phoenix
omg album art
 
Joined: 28 Sep 2004
Location: nowhere

Postby Graf Zahl » Wed May 25, 2005 3:35 am

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
Graf Zahl
Lead GZDoom Developer
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Real room above room

Postby Daniel » Wed May 25, 2005 8:28 am

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
Daniel
 
Joined: 04 Jul 2004

Postby Vader » Wed May 25, 2005 9:00 am

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
Vader
Mandroid ginger Ninja
 
Joined: 30 Jul 2004
Location: Germany

Postby Belial » Wed May 25, 2005 9:14 am

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.
User avatar
Belial
MC™
 
Joined: 09 Feb 2005

PreviousNext

Return to Closed Feature Suggestions

Who is online

Users browsing this forum: No registered users and 1 guest