Jump to content

User:toaster/2.2 leaks

From SRB2 Wiki

Linedef type 9, the Mace Parameters!

Mace point mapthings

Mace point mapthings have been slightly modified.

Internal name Changes from 2.1
MTF_AMBUSH Bigger mace theory (has no effect on custom mace, different effect on spring mace)
MTF_OBJECTFLIP Flips the objects, but nothing else - just so it doesn't look out of place in gravflip sections
MTF_OBJECTSPECIAL Keeps it from attempting to play swinging sounds
  • angle: tag of controlling linedef
  • parameter: number of "spokes" minus one - for example, a parameter of 2 results in 3 equidistant maces rotating around the same point.

Mace linedefs

Mace linedefs have been significantly revamped.

Other

Internal name Purpose
ML_NOCLIMB For chains and chain-mace combos, allow for player control of yaw through strafe keys
ML_EFFECT1 Replacing the seperate mapthings, this makes a mace type swing instead of spin.
ML_EFFECT2 For all spokes of the mace wheel ending in maces, make the chains out of the mace type (inverted for firebars)
ML_EFFECT3 Spawns a bonus mace type at the center(s) of rotation
ML_EFFECT4 Don't clip inside ground
ML_EFFECT5 Always think/visible (maces without this have a pop-in distance effect)
Mapthing number Description
1104 Represents both spinning and swinging maces from prior versions of SRB2, depending on the presence of ML_EFFECT1.
1105 Went from being a swinging mace variant to a combination of chains and maces in a single unit, provided the number of "spokes" is greater than one.
1106? Went from being a swinging chain variant to a vertical spring-on-a-ball-on-a-chain. Yellow by default, apply MTF_AMBUSH to turn into a red spring.
1107 Represents both spinning and swinging chains from prior versions of SRB2, depending on the presence of ML_EFFECT1.
1108 Hidden sling; completely untouched except to port over 2.1's functionality to the new backend.
1109 A Mario castle-level style firebar (no, 2.2 doesn't have Koopa Garrison, I just wanted to give modders the option). This inverts the functionality of ML_EFFECT2 on the tagged linedef.
1111 A custom mace. Use the linedef's frontside texture slots to identify a macetype mobjtype, then use the backside texture slots to identify a linktype mobjtype (defaults to MT_NULL if no backside).
Internal name Description
MF2_MACEROTATE Apply to any object. Replaces the indiscriminate spamming of A_MaceRotate each tic.