Custom Global Gravity
Jump to navigation
Jump to search
This article is about the sector type that changes gravity for the whole level. For the linedef type that controls individual sector gravity strength, see Linedef type 1.
This effect has been deprecated in favor of the level header parameter Gravity . It should not be used in new maps.
|
Sector type 176, Custom Global Gravity, is a sector type which sets the global gravity for the entire map. It can be used on any sector in the level, though it is usually more practical to put it in a separate control sector outside the map.
The floor height of the sector determines the strength of the gravity. For example, a floor height of 500 gives the default global gravity (0.5 FU/tic2), a height of 1000 gives twice this value (1 FU/tic2), and 250 gives half of this value (0.25 FU/tic2). Note that the sector is only evaluated once when the level is loaded, so the global gravity cannot be adjusted at runtime by changing the floor height of this sector.
Sample
- Example file: ex_st00176_customglobalgravity.wad (MAP01)
How to use |
---|
|
Sector types – Group 2 | [view] | |
Trigger Linedef Executor (Pushable Objects • Anywhere in Sector, All Players • Floor Touch, All Players • Anywhere in Sector • Floor Touch • Emerald Check • NiGHTS Mare) • Check for Linedef Executor on FOFs • Egg Capsule • Special Stage Time/Spheres Parameters • Custom Global Gravity |