Linedef type 12
Jump to navigation
Jump to search
Linedef type 12, Rock Spawner Parameters, is a type of linedef special which is used to set the parameters for a rock spawner.
Setup
The tag should be the same as the Angle of the rock spawner Thing. The direction of the control linedef determines the direction in which the rocks are spawned. The length of the linedef determines the speed of the rocks (16 fracunits of the linedef length equal 1 fracunit per tic of speed), and the front texture X offset determines the time in tics it takes to spawn a rock. The front texture Y offset determines the sprite used for the rocks, as shown in the table below.
Y offset | Sprite prefix | Rock sprite | Description |
---|---|---|---|
0 | ROIA
|
Brown rock | |
1 | ROIB
|
Brownish-gray rock | |
2 | ROIC
|
Gray rock | |
3 | ROID
|
Bluish-gray rock | |
4 | ROIE
|
Brownish-gray rock with orange spots | |
5 | ROIF
|
Red rock | |
6–15 | ROIG –ROIP
|
(None) | Blank slots |
Checking Flag [6] / Not Climbable will add a random number between 0 and 8 to the speed of the rocks, in fracunits per tic.
|
Sample
- Example file: ex_ld012_rockspawnparameters.wad (MAP01)
How to use |
---|
|