Floating moving 3d platforms

Ask about mapping, UDMF, using DoomBuilder/editor of choice, etc, here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Floating moving 3d platforms

Postby shino1 » Sat May 30, 2020 3:50 pm

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.
shino1
 
Joined: 17 Dec 2018
Discord: shino1#6558

Re: Floating moving 3d platforms

Postby Apeirogon » Sun May 31, 2020 1:39 am

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.
User avatar
Apeirogon
I have a strange sense of humour
 
Joined: 12 Jun 2017

Re: Floating moving 3d platforms

Postby Caligari87 » Mon Jun 01, 2020 8:22 am

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-)
User avatar
Caligari87
I'm just here for the community
User Accounts Assistant
 
Joined: 26 Feb 2004
Location: Salt Lake City, Utah, USA
Discord: Caligari87#3089

Re: Floating moving 3d platforms

Postby Enjay » Mon Jun 01, 2020 11:22 am

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.
User avatar
Enjay
Everyone is a moon, and has a dark side which he never shows to anybody. Twain
 
 
 
Joined: 15 Jul 2003
Location: Scotland

Re: Floating moving 3d platforms

Postby Darkcrafter » Mon Jun 01, 2020 1:18 pm

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.
Darkcrafter
 
Joined: 23 Sep 2017
Location: Southern Russia
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: Floating moving 3d platforms

Postby CBM » Mon Jun 08, 2020 9:05 am

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
User avatar
CBM
Imp Slayer
 
Joined: 09 Oct 2019
Location: The Shores of Hell
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: Yes (Using Development/Testing Version)
Graphics Processor: nVidia with Vulkan support

Re: Floating moving 3d platforms

Postby ReX » Tue Aug 11, 2020 10:38 am

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.
User avatar
ReX
Title? I don't need no steenkin' title!
 
Joined: 05 Aug 2003
Location: Quatto's Palace

Re: Floating moving 3d platforms

Postby shino1 » Wed Mar 24, 2021 3:06 am

Thanks everyone for replies!
shino1
 
Joined: 17 Dec 2018
Discord: shino1#6558


Return to Mapping

Who is online

Users browsing this forum: No registered users and 1 guest