Mace (Swinging)

From SRB2 Wiki
Jump to: navigation, search

Thing type 1105, Mace (Swinging), is a type of Thing that, when used in conjunction with linedef type 9, defines the center of a mace that swings back and forth. A link of chains and the mace are placed around this Thing. The mace provides non-elemental damage on contact.

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 mace'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 mace can reach, and any value greater than 128 will act as 128). The direction of the mace's swing is determined by the control linedef's front texture Y offset, and should be between 0 and 359. The angle which the mace spawns at is determined by the control linedef's front texture X 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 maces with the floor height of the control sector, but this method is more limited and doesn't allow you to make, for instance, alternating swinging maces, such as the ones found in Castle Eggman Zone Act 2. This should only be used when all maces that are set up in the control sector have the same properties.

Checking the Ambush flag makes the mace twice as big.


  Thing types – Hazards [view]
SpikeballSpikeBig Floating MineCannonball LauncherBig Floating Mine (Air)TorchMace (Spinning)Mace (Swinging)Rock SpawnerFlame Jet (Horizontal)Flame Jet (Vertical)Spinning Flame Jet (Counter-Clockwise)Spinning Flame Jet (Clockwise)