Image Not to Scale via HUDMessage?

Ask about ACS, DECORATE, ZScript, or any other scripting questions 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.

Image Not to Scale via HUDMessage?

Postby SuperAble » Tue Jan 02, 2018 9:20 pm

Hi, I was trying to test out on making a scripted TITLEMAP using a "Warning Message" as an example (size is 300x240) and apply it into the code:
Code: Select allExpand view
#include "zcommon.acs"

script 1 OPEN{


to which when I tested it out, it resulted for the image to shrink in scale rather than filling up the screen:

Any way to fix this? Thanks.
Last edited by SuperAble on Tue Jan 02, 2018 9:26 pm, edited 1 time in total.
Joined: 02 Jan 2018

Re: Image Not to Scale via HUDMessage?

Postby wildweasel » Tue Jan 02, 2018 9:25 pm

Well, for starters, your 320x200 image is being displayed as if the screen resolution is 640x480, so that would not fill the entire screen. You'll want SetHudSize to indicate roughly the size of the images you want to be displaying, so that higher (and lower) resolutions will scale appropriately to present the same sized image.
User avatar
change o' pace.
Moderator Team Lead
Joined: 15 Jul 2003

Return to Scripting

Who is online

Users browsing this forum: No registered users and 2 guests