Jump to content

I can't add timers to the screen.


K_Doom

Recommended Posts

This project has some new weapons and items added, so I was forced to modify a HUD for this. I'm trying to add timers to the effect of new powerups on the screen, but I can't seem to find the right code for this. I dug through the files and commented out/deleted everything remotely related to "powerup timers", if that stopped working I would figure out the right code to add the new items. But I couldn't find it, Doom's default powerup timers keep working no matter what I do. I couldn't find the right code to insert my powerups. I've looked on the wiki too, but to no avail. So I need help knowing what is the correct code responsible for the powerup timers on this HUD.

Below are some details;

Notice the partial invisibility timer in the red rectangle. I want the same effect for custom items.
Screenshot_Doom_20230804_021300.png.99196ce0476ef1bf48ef5640266747a6.png


 

The HUD is merged with the other map files in a pk3. Here are screenshots to easily find HUD files.

cap.PNG.a221fa5455719fb7454b73526d90c501.PNG

cap1.PNG.70844679c6bb876167b55a4cb0c55cbb.PNG

cap2.PNG.ea4c02522ecdbb2e767a485d42911f5c.PNG

cap3.PNG.5f2eee35b45bc6cd3b7f282818740f6b.PNG

 


The pk3 file: test_mnstrs&wpns.rar

Thank you for your attention.

Edited by K_Doom
.

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...