Raised This Month: $ Target: $400
 0% 

How do you align a HUD message with text aligned to left while the message is not


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Cv3
Junior Member
Join Date: Sep 2014
Old 12-07-2014 , 11:29   How do you align a HUD message with text aligned to left while the message is not
Reply With Quote #1

I've attached an example of my question.
So far when I align the whole HUD on the right, the text is also aligned to the right. How could I make it aligned to the left ?

Attached Images
File Type: jpg Untitled-1.jpg (20.1 KB, 287 views)

Last edited by Cv3; 12-07-2014 at 11:30.
Cv3 is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 12-07-2014 , 12:13   Re: How do you align a HUD message with text aligned to left while the message is not
Reply With Quote #2

Sorry, what do you mean by "HUD" and "text"? As far as I know that both of them are the same things.

Last edited by zmd94; 12-07-2014 at 12:13.
zmd94 is offline
NiHiLaNTh
Way Past Expiration
Join Date: May 2009
Location: Latvia
Old 12-07-2014 , 15:50   Re: How do you align a HUD message with text aligned to left while the message is not
Reply With Quote #3

Quote:
Originally Posted by zmd94 View Post
Sorry, what do you mean by "HUD" and "text"? As far as I know that both of them are the same things.
actually not really. HUD stands for "Heads-up-display". Its everything on the screen, including health, armor, ammo icons, radar, damage indicators and all kinds of text.

Anyway, what do you mean by aligning? If you your text to be at left, just play with the X coord or whatever native you use (set_hudmessage/set_dhudmessage).
__________________

NiHiLaNTh is offline
Send a message via Skype™ to NiHiLaNTh
Cv3
Junior Member
Join Date: Sep 2014
Old 12-07-2014 , 16:01   Re: How do you align a HUD message with text aligned to left while the message is not
Reply With Quote #4

The problem is that there are 2 lines of text there

Pts: #NICKNAME# (where the nickname's length might vary)
Weapon: glock18* (* just as example, might be other aswel)

I was just wondering if there is something tricky to pass the align to the message, but it's okay. I guess the players will get used to it

Thanks.
Cv3 is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 12-07-2014 , 21:43   Re: How do you align a HUD message with text aligned to left while the message is not
Reply With Quote #5

Quote:
HUD stands for "Heads-up-display". Its everything on the screen, including health, armor, ammo icons, radar, damage indicators and all kinds of text.
I appreciate the explanation. ;)
zmd94 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:23.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode