a simple "hudmessage"
Moderator: GZDoom Developers
- cortlong50
- Posts: 753
- Joined: Mon Jun 24, 2013 7:12 pm
- Location: UT-WA
a simple "hudmessage"
im wondering if there was a way to add a hudmessage system for displaying images that was a little more comprehensive and user friendly.
one that would automatically scale to the players resolution, and wasnt bound to scaling on 4:3 aspect rations (as ive come to understand it is according to the wiki and through my extended exercise in futility working with sethudsize and hudmessage.)
if i am missing something please let me know, but i cannot get an image to scale to the entire size of the screen and look okay.
one that would automatically scale to the players resolution, and wasnt bound to scaling on 4:3 aspect rations (as ive come to understand it is according to the wiki and through my extended exercise in futility working with sethudsize and hudmessage.)
if i am missing something please let me know, but i cannot get an image to scale to the entire size of the screen and look okay.
Re: a simple "hudmessage"
It already exists, but is in ZScript. ZScript exposes the lowest level screen drawing abstractions (well, as low as it's able to get to be user friendly) that most of the engine uses to draw 2D stuff. And they support all the cool engine-y stuff like clean scaling and things like that.
As for ACS, I doubt any more development will be invested in here. On top of the fact that the HudMessage implementation has been on the chopping block (even Randi says this!), I just don't see the devs putting in more effort to expand ACS (unless it's for map scripting stuff).
Get on the ZScript wagon! It's well worth it.
As for ACS, I doubt any more development will be invested in here. On top of the fact that the HudMessage implementation has been on the chopping block (even Randi says this!), I just don't see the devs putting in more effort to expand ACS (unless it's for map scripting stuff).
Get on the ZScript wagon! It's well worth it.
- cortlong50
- Posts: 753
- Joined: Mon Jun 24, 2013 7:12 pm
- Location: UT-WA
Re: a simple "hudmessage"
Nash wrote:It already exists, but is in ZScript. ZScript exposes the lowest level screen drawing abstractions (well, as low as it's able to get to be user friendly) that most of the engine uses to draw 2D stuff. And they support all the cool engine-y stuff like clean scaling and things like that.
As for ACS, I doubt any more development will be invested in here. On top of the fact that the HudMessage implementation has been on the chopping block (even Randi says this!), I just don't see the devs putting in more effort to expand ACS (unless it's for map scripting stuff).
Get on the ZScript wagon! It's well worth it.
damn it i just figured out how to use ACS effectively! hahaha to be honest...i have zero idea what the hell script even does or is, and every description just sounds like a pain in the ass. (like...what does any of https://zdoom.org/wiki/Events_and_handlers that mean and where the hell do i put it?)
thanks for the reply man! i will definitely look into the zscripting side of things, if youd supply a link so i can check it out please do, then i will put that in the original comment and it can be closed!
also, graf if you see this...i hope you laugh at this comment as hard as i did, holy shit.
"The HUDMessage stuff as implemented needs to be dumped in the deepest bowels of hell, it's the epitome of insanity. I hope I can figure out what to do with it later" - Graf
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49252
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: a simple "hudmessage"
I still fully agree with that sentiment. To be honest, I have no idea what Randi was thinking when cooking up that coordinate scheme it is using.
- cortlong50
- Posts: 753
- Joined: Mon Jun 24, 2013 7:12 pm
- Location: UT-WA
Re: a simple "hudmessage"
HAAAAAHAHAHA. i cant say i understand his thought process either. reading that article its like "wait...so... 0.2..moves the uh...god damn...thing do...hold on what?"Graf Zahl wrote:I still fully agree with that sentiment. To be honest, I have no idea what Randi was thinking when cooking up that coordinate scheme it is using.
if you do figure it out please let me know haha, because that thing is a brain melter.
Re: a simple "hudmessage"
FYI, Randi has identified as a "she" and openly goes by the name Marisa Heit.
At any rate, I am not strictly defending her thought process but I do believe it comes from the philosophy of working within limitations - limitations that now, with more modern systems and improvements are no longer needed. I think at this point even she will acknowledge that if she were to remake that function now it would be done differently. That's pretty much true of anyone who's been coding for decades. (Good heavens, not a very desirable line of thought you want to tread)
You have to remember when ZDoom was created 20 or so years ago - having the GZDoom that we have now was a virtually impossible, lofty goal, that would have never been envisioned. (After all, it took us 20 years to get to this point, did it not?)
At any rate, I am not strictly defending her thought process but I do believe it comes from the philosophy of working within limitations - limitations that now, with more modern systems and improvements are no longer needed. I think at this point even she will acknowledge that if she were to remake that function now it would be done differently. That's pretty much true of anyone who's been coding for decades. (Good heavens, not a very desirable line of thought you want to tread)
You have to remember when ZDoom was created 20 or so years ago - having the GZDoom that we have now was a virtually impossible, lofty goal, that would have never been envisioned. (After all, it took us 20 years to get to this point, did it not?)
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49252
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: a simple "hudmessage"
The coordinate scheme made no sense under ANY system, though. I can't even fathom the IDEA of using fractional parts of coordinates to control positioning. It makes using math to derive these values virtually impossible.
Re: a simple "hudmessage"
Not the path I'd have chosen, to be sure, I'll agree there. But this kind of coding practice was common in the '90's. In fact, if you go through some of the older games that are known for their relative inflexibility, you find a lot of little quirks built in through hacky overrides like that.
- cortlong50
- Posts: 753
- Joined: Mon Jun 24, 2013 7:12 pm
- Location: UT-WA
Re: a simple "hudmessage"
while i have you two both agreeing that it is super confusing and weird and archaic and while we live Marisa's work we need to get her on the horn so we can get some 2017 support (seriously, where has she been?)...are you aware of a way to make things show on the screen in a resolution different than 4:3?
if i need to use zscript does anyone have a sample code or something i can play with?
if i need to use zscript does anyone have a sample code or something i can play with?
Re: a simple "hudmessage"
Marisa retired - at least for now, likely permanently. She hasn't left us completely but she no longer contributes to development, and as far as I am aware may not even have access to the GZDoom repo. She still visits the site once in every blue moon or so, though.
She may come back someday, though, but the way it was explained to me (in her usual vagueness, I didn't get a lot of details) she's basically moved on with life.
She may come back someday, though, but the way it was explained to me (in her usual vagueness, I didn't get a lot of details) she's basically moved on with life.
- gwHero
- Posts: 360
- Joined: Mon May 08, 2017 3:23 am
- Graphics Processor: Intel with Vulkan/Metal Support
- Location: The Netherlands
Re: a simple "hudmessage"
As an example a simple zscript demo pk3 that shows a fullscreen picture every 5 sec.cortlong50 wrote:while i have you two both agreeing that it is super confusing and weird and archaic and while we live Marisa's work we need to get her on the horn so we can get some 2017 support (seriously, where has she been?)...are you aware of a way to make things show on the screen in a resolution different than 4:3?
if i need to use zscript does anyone have a sample code or something i can play with?
Link: https://drive.google.com/file/d/12h_290 ... sp=sharing
- cortlong50
- Posts: 753
- Joined: Mon Jun 24, 2013 7:12 pm
- Location: UT-WA
Re: a simple "hudmessage"
my man, thank you so much. ill give this a confused stare and figure it out. i appreciate it!gwHero wrote:As an example a simple zscript demo pk3 that shows a fullscreen picture every 5 sec.cortlong50 wrote:while i have you two both agreeing that it is super confusing and weird and archaic and while we live Marisa's work we need to get her on the horn so we can get some 2017 support (seriously, where has she been?)...are you aware of a way to make things show on the screen in a resolution different than 4:3?
if i need to use zscript does anyone have a sample code or something i can play with?
Link: https://drive.google.com/file/d/12h_290 ... sp=sharing
- cortlong50
- Posts: 753
- Joined: Mon Jun 24, 2013 7:12 pm
- Location: UT-WA
Re: a simple "hudmessage"
Rachael wrote: she's basically moved on with life.
i feel like weve all tried this a few times hahaha then you play that one kick ass wad and youre like "alright...fine, ill give in for another five years.
it would be great to have her back.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49252
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: a simple "hudmessage"
Randi never struck me as the passionate Doom player, so we'll have to see...
Re: a simple "hudmessage"
I think whatever's that needed here can already be done with currently existing features.