Chain (Swinging)

From SRB2 Wiki
Jump to: navigation, search

Thing type 1106, Chain (Swinging), is a type of Thing that, when used in conjunction with linedef type 9, creates a chain that players can hang on and that swings back and forth. The Angle of this Thing should be the same as the tag of the control linedef. The number of chain links is defined by the control linedef's X distance; one fracunit equals one chain link. The movement speed is defined by the control linedef's Y distance; 0 is stationary, 8 is the fastest possible speed, and any value above 8 will act as 8.

The angle of the chain's swing is determined by the ceiling height of the control sector, and should be between 0 and 128 (0 is stationary, 128 is the maximum angle that the chain can reach, and any value greater than 128 will act as 128). The direction of the chain's swing is determined by the control linedef's front texture Y offset, and should be between 0 and 359. The angle which the chain spawns at is determined by the control linedef's front side texture Y offset, and should be between 0 and 359. Bear in mind that the maximum angle and speed values are dependent upon each other: a wide angle range will require more speed, and a narrow angle range will require less speed.

It is also possible to define a direction for swinging chains with the floor height of the control sector, but it's more limited and doesn't allow you to make, for instance, alternated swinging chains. This should only be used when all chains that are set up in the control sector have the same properties.

Checking the Ambush flag makes the chain links twice as big.


  Thing types - Miscellaneous [view]
Air Bubble PatchLevel End SignStar PostChain (Swinging)Chain (Spinning)Hidden ChainATZ Target