ZDaemon Forum Index ZDaemon
Client/Server DOOM
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[ACS] SetHudSize() support.

 
Post new topic   Reply to topic    ZDaemon Forum Index -> Implemented Requests
View previous topic :: View next topic  
Author Message
EarthQuake
Spamming!


Joined: 02 Apr 2004
Location: Athens, Ohio. Dieblieber gonna getcha!

PostPosted: Fri Sep 25, 2015 1:53 am    Post subject: [ACS] SetHudSize() support. Reply with quote

SetHudSize is an ACS function that scales text to a specified resolution, allowing that text to be the same size regardless of a player's screen resolution.

Currently it is possible to display custom fonts and graphics with SetFont(), and draw those to the screen with Print(), PrintBold(), HudMessage(), or HudMessageBold(). Unfortunately, on 320x240, the text/graphics may take up the entirety of the screen, and on 1280x1024 they may be barely legible.

In conjunction with SetFont(), SetHudSize allows us to do a lot of cool things where size/precision are necessary:

1) Custom HUDs to display goals, stats, or custom inventory items.
2) Screen-wide effects, like fading to a certain color.
3) Display of notes, pages, or informational screens.
4) Blood splats, scratches, cracks, or other damage indicators.
5) Advanced custom weapon graphics.
Back to top
View user's profile Send private message Send e-mail
Maikl_Russia
has entered the game!


Joined: 18 Jul 2005
Location: RU

PostPosted: Sat Sep 26, 2015 8:07 am    Post subject: Reply with quote

Yes, it will be great text print function. Smile

For example, I was faced with the necessity of this function while making invasion project conversion.

Oh, there is already the same request here: ACS: SetHUDsize
Back to top
View user's profile Send private message
Krawa
Spamming!


Joined: 23 Nov 2008
Location: #SDA

PostPosted: Thu Jan 31, 2019 9:47 pm    Post subject: Reply with quote

Added for 1.10.07.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    ZDaemon Forum Index -> Implemented Requests All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group