Jump to content
This Topic

Pickup messages like Doom 64 on GZDoom


NaliSeed

Recommended Posts

So long story short, I would like to have the messages for picking up items displayed in the same way as Doom 64, as in this screenshot:

 

 

11218.jpg

Edited by NaliSeed

Share this post


Link to post

You will need to replace the default Doom font in your WAD if you want it to use the same style of letters.

 

If you mean the placement of the message, i.e. not all the way in the upper left corner, there is probably some way to accomplish it with a HUD message.

 

If all you mean is the color of the message, like making it white instead of red, all you have to do is append \cc to each inventory message in the DECORATE/ZSCRIPT code. Example:

 

	Inventory.PickupMessage "\ccYou got the Shotgun!"

will yield:

 

unknown.png

Share this post


Link to post

It's the placement of the message, actually. I'm currently playing Doom64 CE and tweaking some things to my own preference. The way the messages are aligned by ZDoom is unlike the original D64, or Nightdive's version for that matter. Would like to change that.

Share this post


Link to post

So in order to do this without ZScript or anything like that, it will take quite a bit of doing. I thought about doing it for Retribution but the required work outweighed the usefulness.

 

Basically you would need to remove all pickup messages from every item and weapon first of all, via DECORATE properties, so the engine won't display one. Then, write an ACS script which does SetHudSize and HudMessage. Use an id number so picking up a lot of items will replace the message instead of displaying a bunch. You can probably make it a function and pass the pickup message string as an arg somehow, to reduce code duplication. Then call this function or script by modifying every item's pickup state in DECORATE and adding the state to execute the script.

Share this post


Link to post
  On 8/12/2022 at 6:02 AM, Nevander said:

So in order to do this without ZScript or anything like that, it will take quite a bit of doing. I thought about doing it for Retribution but the required work outweighed the usefulness.

 

Basically you would need to remove all pickup messages from every item and weapon first of all, via DECORATE properties, so the engine won't display one. Then, write an ACS script which does SetHudSize and HudMessage. Use an id number so picking up a lot of items will replace the message instead of displaying a bunch. You can probably make it a function and pass the pickup message string as an arg somehow, to reduce code duplication. Then call this function or script by modifying every item's pickup state in DECORATE and adding the state to execute the script.

Expand  

 

There's really no need to go to such lengths. The HUD message system has an override (ProcessNotify) in the status bar class where you can intercept these messages and handle them as you like.

 

Share this post


Link to post

ConsolUX has a Doom 64 "skin" if you are interested. ConsolUX, however, is sadly unlikely compatible with the latest and greatest GZ, as at least Saturn TC that is based on it is no longer launching for me. :(

EDIT: The screengrabs in release thread don't have that, so I made one quickly

  Reveal hidden contents

 

Edited by ludicrous_peridot
screenie

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...