Args9throughArgs40fields have been added; however, their use is limited to very specific codepointers that cannot be properly parameterized otherwise.
- Add
MBF2y Bits = Xin the Frame definition. - The format is the same as the existing
MBF21 BitsandBitsfields. - Example:
MBF2y Bits = ALLOWUSE+NOPAIN. - The value can also be given as a number (sum of the individual flag values below).
| Name | Value | Description |
|---|---|---|
ALLOWUSE |
0x001 | Thing will jump to its Use frame if it intercepts a player use frame. |
NOPAIN |
0x002 | Thing will not jump to its pain state when receiving damage in this frame. |
FASTWEAPON |
0x004 | When used on a weapon frame, causes its duration to be divided by 2 (rounded up) when pw_fastweapon is enabled. |
SKIPFASTWEAPON |
0x008 | When used on a weapon frame, causes its duration to be treated as 0 when pw_fastweapon is enabled. Overrides FASTWEAPON. |
SEMIFULLBRIGHT |
0x010 | This frame's render brightness is drawn as (lightlevel + 256) / 2, resulting in a brighter appearance in darker sectors, but the effect becomes less noticeable as the sector brightens. |
- Add
Min brightness = Xin the Frame definition. - Sets the minimum brightness level (equivalent to sector brightness) at which to render the frame.
- Example:
Min brightness = 192will cause the frame to be drawn as though it's in a sector with a brightness level of 192 unless it would be drawn with a higher brightness for any reason. - The interaction between this property and
SEMIFULLBRIGHTis that theSEMIFULLBRIGHTtakes effect after this property takes effect. For example, ifMin brightness = 144is applied and the thing (or player, in the case of a weapon frame) is within a sector with a brightness level of 128, the frame will be drawn with a brightness level of 200, while in a sector with a brightness level of 144 or higher, the frame would be drawn with a brightness level of 208.