Page 1 of 1

Floating moving 3d platforms

PostPosted: Sat May 30, 2020 3:50 pm
by shino1
I recently had an idea to "demake" the levels from Chex Quest HD back to regular Chex Quest. This would definitely be a GZDoom-only map pack, as HD heavily utilizes true 3D features like room-over-room, which would be impossible in Boom compatible maps. However, one thing bothers me - at some point in HD, there is a part where you have to platform across platforms suspended in mid-air above the floor, and said platforms are moving on a set path, both vertically and horizontally.

Here's the part in question:

Skip to 11:15.

So my question is, is there a feature in GZDoom that would allow me to replicate that behavior? I don't care much about aesthetics, I would be satisfied with floating boxes (or floating sprites), as long as they would move in 3D space and that player can stand on them.

Re: Floating moving 3d platforms

PostPosted: Sun May 31, 2020 1:39 am
by Apeirogon
With pure mapping skill, no. Unless there are some hacks involving poly object and portals attached to it.
You should use zscript for it. ACS can do so, but it require building hack over hack using hacking hack to do so. It would be very hard to implement I mean.

Re: Floating moving 3d platforms

PostPosted: Mon Jun 01, 2020 8:22 am
by Caligari87
It certainly isn't possible with map constructs. Moving vertically is easy obviously, moving horizontally is theoretically possible with complicated portal+polyobject setups, but combining both is a no-go, especially if the platforms would need to overlap at any point.

The best way to replicate this cleanly would be 3D model objects textured to look like lines/flats, and attached to a moving actor. Using Zscript, moving one actor with another actor (like moving the player with the platform) is possible and proof-of-concept has been shown a few times, though I don't have any links at the moment.

8-)

Re: Floating moving 3d platforms

PostPosted: Mon Jun 01, 2020 11:22 am
by Enjay
Apeirogon himself has quite a nice example here: viewtopic.php?f=105&t=68771

It needs a bit of final polish, but the basic setup seems to be working quite nicely.

Re: Floating moving 3d platforms

PostPosted: Mon Jun 01, 2020 1:18 pm
by Darkcrafter
I would make a 3D model of such a platform then place a custom made simple decorate based invisible solid and nogravity actor that - under it. Then move two actors simultaneously with scripts along interpolated anchors.

Re: Floating moving 3d platforms

PostPosted: Mon Jun 08, 2020 9:05 am
by CBM
Darkcrafter wrote:I would make a 3D model of such a platform then place a custom made simple decorate based invisible solid and nogravity actor that - under it. Then move two actors simultaneously with scripts along interpolated anchors.

exactly

I actually have a plan that involves making a megawad where all levels are inside a giant skybox and each level is then made up of 3d platforms and other 3d objects

Re: Floating moving 3d platforms

PostPosted: Tue Aug 11, 2020 10:38 am
by ReX
Gooberman had created exactly what you're looking for. I've found that the most convincing way of using this method is to use a model for the platform, rather than the linedef method Gooberman uses in his example.

Re: Floating moving 3d platforms

PostPosted: Wed Mar 24, 2021 3:06 am
by shino1
Thanks everyone for replies!