ZScript Status Bar Issues
Posted: Mon Apr 12, 2021 7:23 am
EDIT: I said "Menu" and not "Status Bar" - this is what you get for posting when you're up for 18 hours. Sorry, everyone!
Again, as always, I'd like to start off by thanking everyone that stops by to help with this problem.
Now, the problem.
In my last request for help, I was looking to make certain things happen with my Status Bar - a non-uniform list of weapons, as images, showing up in the Status Bar based on what the Player is carrying. I was advised to move to a ZScript Status Bar, and I am. Now, some issues have arisen, and I've only just begun.
-Is it possible to use a larger-than-standard graphic for a status bar? And have it scale properly to the user's screen resolution, so it doesn't look tiny on much larger resolutions? The original Doom one is fairly small - I'd like to use one about 80px tall by 800px wide, so I can show more detail. I've looked through the commented version of the doom_sbar file posted elsewhere, and I can't figure out how to make this enlarged status bar appear properly at the bottom of the screen.
-Is it possible to use two different types of images to represent a currently selected inventory item AND weapon? I ask this, so I can have a larger and more detailed graphic for the currently selected gear, and smaller icons for gear not selected, but held in reserve by the player.
-Is it possible to forcibly scale up the status bar number font, in the code, to match the now-larger status bar, or do I have to manually edit the image files and increase the size of the graphics themselves?
I'll probably have more questions, but these are my biggest roadblocks right now. Thank you again for all those that stop by to help.
Again, as always, I'd like to start off by thanking everyone that stops by to help with this problem.
Now, the problem.
In my last request for help, I was looking to make certain things happen with my Status Bar - a non-uniform list of weapons, as images, showing up in the Status Bar based on what the Player is carrying. I was advised to move to a ZScript Status Bar, and I am. Now, some issues have arisen, and I've only just begun.
-Is it possible to use a larger-than-standard graphic for a status bar? And have it scale properly to the user's screen resolution, so it doesn't look tiny on much larger resolutions? The original Doom one is fairly small - I'd like to use one about 80px tall by 800px wide, so I can show more detail. I've looked through the commented version of the doom_sbar file posted elsewhere, and I can't figure out how to make this enlarged status bar appear properly at the bottom of the screen.
-Is it possible to use two different types of images to represent a currently selected inventory item AND weapon? I ask this, so I can have a larger and more detailed graphic for the currently selected gear, and smaller icons for gear not selected, but held in reserve by the player.
-Is it possible to forcibly scale up the status bar number font, in the code, to match the now-larger status bar, or do I have to manually edit the image files and increase the size of the graphics themselves?
I'll probably have more questions, but these are my biggest roadblocks right now. Thank you again for all those that stop by to help.
