Editing Scroller linedef types
From Eternity Wiki
Jump to navigationJump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 32: | Line 32: | ||
UDMF equivalent: [[Scroll_Texture_Model]](tag, 0) | UDMF equivalent: [[Scroll_Texture_Model]](tag, 0) | ||
==Simple Static Scrollers== | ==Simple Static Scrollers== | ||
Line 45: | Line 40: | ||
For simplicity, a static scroller is provided that scrolls the first sidedef of a linedef, based on its x- and y- offsets. No tag is used. The x offset controls the rate of horizontal scrolling, 1 unit per frame per x offset, and the y offset controls the rate of vertical scrolling, 1 unit per frame per y offset. | For simplicity, a static scroller is provided that scrolls the first sidedef of a linedef, based on its x- and y- offsets. No tag is used. The x offset controls the rate of horizontal scrolling, 1 unit per frame per x offset, and the y offset controls the rate of vertical scrolling, 1 unit per frame per y offset. | ||
* 48 -- Animated wall, Scrolls Left | * 48 -- Animated wall, Scrolls Left | ||
A linedef with this type scrolls its first sidedef left at a constant rate of 1 unit per frame. | A linedef with this type scrolls its first sidedef left at a constant rate of 1 unit per frame. | ||
* 85 -- Animated wall, Scrolls Right | * 85 -- Animated wall, Scrolls Right | ||
A linedef with this type scrolls its first sidedef right at a constant rate of 1 unit per frame. | A linedef with this type scrolls its first sidedef right at a constant rate of 1 unit per frame. | ||
* 417 -- Animated wall, Scrolls Up | * 417 -- Animated wall, Scrolls Up | ||
A linedef with this type scrolls its first sidedef up at a constant rate of 1 unit per frame. | A linedef with this type scrolls its first sidedef up at a constant rate of 1 unit per frame. | ||
* 418 -- Animated wall, Scrolls Down | * 418 -- Animated wall, Scrolls Down | ||
A linedef with this type scrolls its first sidedef down at a constant rate of 1 unit per frame. | A linedef with this type scrolls its first sidedef down at a constant rate of 1 unit per frame. | ||
* 419 -- Animated wall, Scrolls Down Fast | * 419 -- Animated wall, Scrolls Down Fast | ||
A linedef with this type scrolls its first sidedef down at a constant rate of 3 units per frame. | A linedef with this type scrolls its first sidedef down at a constant rate of 3 units per frame. | ||
==Dynamic Scrolling== | ==Dynamic Scrolling== | ||
Line 91: | Line 74: | ||
The tagged sector's ceiling texture scrolls in the direction of the scrolling trigger line, when the sector on the trigger's first sidedef changes height. The amount moved is the height change times the trigger length, divided by 32. Objects attached to the ceiling do not move. | The tagged sector's ceiling texture scrolls in the direction of the scrolling trigger line, when the sector on the trigger's first sidedef changes height. The amount moved is the height change times the trigger length, divided by 32. Objects attached to the ceiling do not move. | ||
* 246 -- Scroll Tagged Floor w.r.t. 1st Side's Sector | * 246 -- Scroll Tagged Floor w.r.t. 1st Side's Sector | ||
The tagged sector's floor texture scrolls in the direction of the scrolling trigger line when the sector on the trigger's first sidedef changes height. The amount moved is the height change times the trigger length, divided by 32. Objects on the floor do not move. | The tagged sector's floor texture scrolls in the direction of the scrolling trigger line when the sector on the trigger's first sidedef changes height. The amount moved is the height change times the trigger length, divided by 32. Objects on the floor do not move. | ||
* 247 -- Push Objects on Tagged Floor wrt 1st Side's Sector | * 247 -- Push Objects on Tagged Floor wrt 1st Side's Sector | ||
Objects on the tagged sector's floor move in the direction of the scrolling trigger line when the sector on the trigger's first sidedef changes height. The amount moved is the height change times the trigger length, divided by 32. | Objects on the tagged sector's floor move in the direction of the scrolling trigger line when the sector on the trigger's first sidedef changes height. The amount moved is the height change times the trigger length, divided by 32. | ||
* 248 -- Push Objects & Tagged Floor wrt 1st Side's Sector | * 248 -- Push Objects & Tagged Floor wrt 1st Side's Sector | ||
The tagged sector's floor texture, and objects on the floor, move in the direction of the scrolling trigger line when the sector on the trigger's first sidedef changes height. The amount moved is the height change times the trigger length, divided by 32. | The tagged sector's floor texture, and objects on the floor, move in the direction of the scrolling trigger line when the sector on the trigger's first sidedef changes height. The amount moved is the height change times the trigger length, divided by 32. | ||
* 249 -- Scroll Tagged Wall w.r.t 1st Side's Sector | * 249 -- Scroll Tagged Wall w.r.t 1st Side's Sector | ||
Walls with the same tag as the linedef trigger scroll at the same rate as a floor or ceiling controlled by one of 245-249, allowing their motion to be synchronized. When the linedef trigger is not parallel to the wall, the component of the linedef in the direction perpendicular to the wall causes the wall to scroll vertically. The length of the component parallel to the wall sets the horizontal scroll displacement, the length of the component perpendicular to the wall sets the vertical scroll displacement. The distance scrolled is the controlling sector's height change times the trigger length, divided by 32. | Walls with the same tag as the linedef trigger scroll at the same rate as a floor or ceiling controlled by one of 245-249, allowing their motion to be synchronized. When the linedef trigger is not parallel to the wall, the component of the linedef in the direction perpendicular to the wall causes the wall to scroll vertically. The length of the component parallel to the wall sets the horizontal scroll displacement, the length of the component perpendicular to the wall sets the vertical scroll displacement. The distance scrolled is the controlling sector's height change times the trigger length, divided by 32. | ||
===Accelerative Scrollers=== | ===Accelerative Scrollers=== | ||
Line 133: | Line 100: | ||
The tagged sector's ceiling's rate of scroll changes in the direction of the trigger linedef (use vector addition if already scrolling) by the change in height of the sector on the trigger's first sidedef times the length of the linedef trigger, divided by 32. For example, if the ceiling is motionless originally, the linedef trigger is 32 long, and the ceiling of the controlling sector moves 1 unit, the tagged ceiling will start scrolling at 1 unit per frame. | The tagged sector's ceiling's rate of scroll changes in the direction of the trigger linedef (use vector addition if already scrolling) by the change in height of the sector on the trigger's first sidedef times the length of the linedef trigger, divided by 32. For example, if the ceiling is motionless originally, the linedef trigger is 32 long, and the ceiling of the controlling sector moves 1 unit, the tagged ceiling will start scrolling at 1 unit per frame. | ||
* 215 -- Accel Tagged Floor w.r.t. 1st Side's Sector | * 215 -- Accel Tagged Floor w.r.t. 1st Side's Sector | ||
The tagged sector's floor's rate of scroll changes in the direction of the trigger linedef (use vector addition if already scrolling) by the change in height of the sector on the trigger's first sidedef times the length of the linedef trigger, divided by 32. For example, if the floor is motionless originally, the linedef trigger is 32 long, and the ceiling of the controlling sector moves 1 unit, the tagged floor will start scrolling at 1 unit per frame. | The tagged sector's floor's rate of scroll changes in the direction of the trigger linedef (use vector addition if already scrolling) by the change in height of the sector on the trigger's first sidedef times the length of the linedef trigger, divided by 32. For example, if the floor is motionless originally, the linedef trigger is 32 long, and the ceiling of the controlling sector moves 1 unit, the tagged floor will start scrolling at 1 unit per frame. | ||
* 216 -- Accel Objects on Tagged Floor wrt 1st Side's Sector | * 216 -- Accel Objects on Tagged Floor wrt 1st Side's Sector | ||
Line 146: | Line 109: | ||
Objects on the tagged sector's floor's rate of motion changes in the direction of the trigger linedef (use vector addition if already moving) by the change in height of the sector on the trigger's first sidedef times the length of the linedef trigger divided by 32. For example, if the objects are motionless originally, the linedef trigger is 32 long, and the ceiling of the controlling sector moves 1 unit, the objects on the tagged floor will start moving at 1 unit per frame. | Objects on the tagged sector's floor's rate of motion changes in the direction of the trigger linedef (use vector addition if already moving) by the change in height of the sector on the trigger's first sidedef times the length of the linedef trigger divided by 32. For example, if the objects are motionless originally, the linedef trigger is 32 long, and the ceiling of the controlling sector moves 1 unit, the objects on the tagged floor will start moving at 1 unit per frame. | ||
* 217 -- Accel Objects&Tagged Floor wrt 1st Side's Sector | * 217 -- Accel Objects&Tagged Floor wrt 1st Side's Sector | ||
The tagged sector's floor, and objects on it, change its rate of motion in the direction of the trigger linedef (use vector addition if already moving) by the change in height of the sector on the trigger's first sidedef times the length of the linedef trigger, divided by 32. For example, if the floor and objects are motionless originally, the linedef trigger is 32 long, and the ceiling of the controlling sector moves 1 unit, the objects and the tagged floor will start moving at 1 unit per frame. | The tagged sector's floor, and objects on it, change its rate of motion in the direction of the trigger linedef (use vector addition if already moving) by the change in height of the sector on the trigger's first sidedef times the length of the linedef trigger, divided by 32. For example, if the floor and objects are motionless originally, the linedef trigger is 32 long, and the ceiling of the controlling sector moves 1 unit, the objects and the tagged floor will start moving at 1 unit per frame. | ||
* 218 -- Accel Tagged Wall w.r.t 1st Side's Sector | * 218 -- Accel Tagged Wall w.r.t 1st Side's Sector | ||
Walls with the same tag as the linedef trigger increase their scroll rate in sync with a floor or ceiling controlled by one of 214-217. When the linedef trigger is not parallel to the wall, the component of the linedef in the direction perpendicular to the wall causes the wall to increase its vertical scroll rate. The length of the component parallel to the wall sets the change in horizontal scroll rate, the length of the component perpendicular to the wall sets the change in vertical scroll rate. The rate change is the height change times the trigger length, divided by 32. | Walls with the same tag as the linedef trigger increase their scroll rate in sync with a floor or ceiling controlled by one of 214-217. When the linedef trigger is not parallel to the wall, the component of the linedef in the direction perpendicular to the wall causes the wall to increase its vertical scroll rate. The length of the component parallel to the wall sets the change in horizontal scroll rate, the length of the component perpendicular to the wall sets the change in vertical scroll rate. The rate change is the height change times the trigger length, divided by 32. | ||
[[category:Editing reference]] | [[category:Editing reference]] |