Question About 3D Floors

Advanced OpenGL source port fork from ZDoom, picking up where ZDoomGL left off.
[Home] [Download] [Git builds (Win)] [Git builds (Mac)] [Wiki] [Repo] [Bugs&Suggestions]

Moderator: Graf Zahl

Locked
User avatar
Slasher123
Posts: 21
Joined: Sun Jul 13, 2008 8:55
Location: California

Question About 3D Floors

Post by Slasher123 »

Can 3D floors change their solidity dynamically?

For example, a square 3D floor in front of the player, and at any random moment it might go unsolid, or from unsolid to solid again.

Is this possible?
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Post by Enjay »

I'm pretty sure that 3D floors need to be set up at map startup and cannot be setup or changed via a script (and unless I just did something wrong in a little test file, that seems to be correct).

The closest you could get would be to move them instantly to swap a blocking and a non-blocking floor. Which, of course, probably won't work for what you want if the player is actually standing on the floor when it moves. However, if it is always in front of the player as you said, rather than under his feet, it should work.
User avatar
Slasher123
Posts: 21
Joined: Sun Jul 13, 2008 8:55
Location: California

Post by Slasher123 »

Well, my idea was a long floating walkway that the player has to cross, and the whole thing is made of 3D floors that might go unsolid at any moment, whether the player is standing on them or not.

So I guess that won't work. Oh well, thanks anyway.
User avatar
NeoHippo
Posts: 408
Joined: Tue Sep 13, 2005 0:47
Location: British Columbia Canada

Post by NeoHippo »

Enjay wrote:I'm pretty sure that 3D floors need to be set up at map startup and cannot be setup or changed via a script ...
I am almost certain, that you are correct about this.
However, the 160 special in the WIKI is not followed by an asterix to indicate this.
Maybe, somebody, who knows this to be fact, could update the WIKI entries for type | name | number.
TAtL, tU, aE
User avatar
.+:icytux:+.
Stronghold Team
Posts: 399
Joined: Mon Nov 05, 2007 21:50
Location: Finlando

Post by .+:icytux:+. »

well, one way is to have one solid 3D floor. and one unsolid 3D floor somwhere under the ground. and when you want it unsolid. move the controll sectors ceiling and floor, under the ground. and move the unsolid 3D floors controll sector to the original bridge height. its pretty hacky but it works. thoooo, when you stand under it. you might suddenly fly up again because the 3D floors lounges up in the air.
User avatar
Logan MTM
Posts: 179
Joined: Wed Jan 04, 2006 2:52
Location: Rio de Janeiro - BRAZIL
Contact:

Post by Logan MTM »

I don't think that is directly possible, BUT, you can use a trick to do it.

In the same action you could move the ceiling and floor of the control sector 3D Floor with speed 999, and now, Use SetLineSpecial to other control sector alredy done who are waiting to this moment.
So as you read this know my friends I'd love to stay with you all.
Please smile when you think of me. My body's gone that's all...
Locked

Return to “GZDoom”