Hello there! You want to know how to make reverse gravity, like in Eggrock Zone? Well, this is the place to go, because this tutorial will not only teach how to make reverse gravity, but also how to make it return to normal gravity!
Making the Reverse Gravity flip
Instructions
First, make your map, and all other required things.
|
Then, create a sector inside of it. Give it Sector Effect 64, and an unused tag (in this case, we will use tag 1).
|
After that, create a new control sector outside the map. One of the horizontal linedefs must have a length of 17 fracunits, or else it won't work. Give that one linedef effect 434, the sector tag you gave the previous sector (again, 1 in this case), and make sure the 'No Climb' flag is checked.
|
Now, select another linedef on the same control sector. Give it linedef effect 300, and the same sector tag as the previous linedef.
|
Now, test your map. If you did everything right, it should work!
But, how do you return to normal gravity again?
Making the gravity return to normal
Instructions
First, create a new sector. Give it a new tag (tag 2 in this case).
|
Then, create another control sector.
|
After that, select any horizontal linedef, give it sector effect 434, and the same sector tag as the sector used to restore gravity (again, tag 2). Make sure the No Climb flag is not checked, or else it won't work.
|
Finally, select any other linedef on the same control sector. Give it linedef effect 300, and the same sector tag as the previous linedef.
|
And we're finished!
Notes
It generally is a nice effect to add middle textures to the gravity-changing sectors. To do this, just select the linedefs of the sector, click on the Sidedefs tab, and add both middle textures.
- For gravity flipping sectors, it is best to use the texture UP3A, and check 'Lower Unpegged' in the Properties tab.
- For gravity restoring sectors, you should use the texture DOWN3A, and check 'Upper Unpegged' in the Properties tab
Sample
Sample 1
- Example WAD: Sample-custompower-gravityboots.wad
Notes
- This example WAD can be played in any gametype. It uses
MAP01, replacing Greenflower Zone Act 1.
- If you step on the differently colored floor, the player will be flipped upside down once he enters the sector.
- If you go into the sector behind the gravity flip, the player will flip back to normal gravity.