Skip to content

Take 2: Fix Old Brak missiles + add pw_ignorelatch

Kays Ishaq requested to merge kays/SRB2:fix-oldbrak-missiles2 into next

In 2.2, jumping off a CR_GENERIC object would remove your tracer's target, making it near impossible to jump off of Old Brak's missiles - this solves that by only removing the tracer's target if the tracer is not MF_MISSILE - missiles should remember who "fired" them.

This also adds a player power pw_ignorelatch, a timer for how long to ignore new attachments to CR_GENERIC objects. pw_ignorelatch & (1<<15) (i.e., add 32768) will ignore new attachments to all CR_ types, sans the two NiGHTS mode types. It won't prevent new attachments by way of A_MixUp (teleporter monitor).

Finally, this adds some missing powers to the Recycler monitor's ignorelist.

For convenience:

crtest.exe Build

crtest.wad Map with every vanilla carry accessible

crtest.lua Script to view powers[pw_ignorelatch] on the HUD and set it with console command ignorelatch

Merge request reports

Loading