Page 1 of 1

Making lock notices into regular non-centered messages

PostPosted: Sun Apr 04, 2021 10:32 am
by CasualChris
I have one request that hopefully should not be too difficult to fulfill.

I want to make it so that the messages that show up whenever you try to open a locked door, activate a locked object, etc., show up as simple "top-left" messages (the same vein as the ones that show up when you pick up things like items/weapons/ammo) like in the original Doom, rather than centered messages.

Any and all help would be greatly appreciated!

Re: Making lock notices into regular non-centered messages

PostPosted: Mon Apr 05, 2021 12:35 am
by Player701
Unfortunately, it appears that this behavior is hard-coded: P_CheckKeys calls PrintMessage which in turn calls C_MidPrint. If you want to change the message style for your own map only, you could try emulating the "locked" action specials with an ACS script by checking for keys manually via CheckInventory and calling Log and PlaySound if the check fails.