Setting up a low-gravity area on a 3D floor

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
Rex Claussen
Developer
Developer
Posts: 2659
Joined: Tue Jul 11, 2006 18:36
Contact:

Setting up a low-gravity area on a 3D floor

Post by Rex Claussen »

I searched through the forums and didn't come across this question. How do I create an area of low-gravity on top of a 3D floor. I know that setting it up below the 3D sector (i.e., tagging the main sector instead of the control sector) will allow low-gravity jumping above the 3D floor, but it will also allow low-gravity jumping below. I have tried setting the low gravity to the control sector's tag, but that doesn't work.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: Setting up a low-gravity area on a 3D floor

Post by Graf Zahl »

Gravity is per sector and cannot be split into sections by 3D floors.
User avatar
Rex Claussen
Developer
Developer
Posts: 2659
Joined: Tue Jul 11, 2006 18:36
Contact:

Re: Setting up a low-gravity area on a 3D floor

Post by Rex Claussen »

Ok, thanks.
User avatar
NeoHippo
Posts: 408
Joined: Tue Sep 13, 2005 0:47
Location: British Columbia Canada

Re: Setting up a low-gravity area on a 3D floor

Post by NeoHippo »

http://files.drdteam.org/index.php/file ... D/fly01.7z

Perhaps this example may help.
It's a jump pad on top of a 3D floor, and normal below.
To do this, a script checks the player's Z position.

edit:
there is a thread over at the ZDoom forum dealing with a similar subject
http://forum.zdoom.org/viewtopic.php?f= ... 1&start=15
Locked

Return to “GZDoom”