Overlay image

Ask about mapping, UDMF, using DoomBuilder/editor of choice, etc, here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Guest

Overlay image

Post by Guest »

Hello! I'm new to Doom and I need help with something that seems easy.

I want to overlay an image with alpha on a camera. I need to turn this image on and off by script.

Now I put the image I want in front of the camera on the map but it seems inaccurate.

Attached photo for better understanding. The image with alpha that I want to add is the black border of the image, something like a viewfinder.

Do you have to manipulate the Hud or is there an easier way?

Thanks a lot! :joker:

(work with UDMF)
uri81
Posts: 1
Joined: Fri Jun 03, 2022 3:49 am

Re: Overlay image

Post by uri81 »

SetFont("ALPHA");
HudMessage(s:"A"; HUDMSG_PLAIN, 1, 0, 0.5,0.5,1.0);

:thumb:

Return to “Mapping”