A Community discussion forum for Halo Custom Edition, Halo 2 Vista, Portal and Halo Machinima

Home  Search Register  Login Member ListRecent Posts
  
 
»Forums Index »Halo Custom Edition (Bungie/Gearbox) »Halo CE Technical / Map Design »hud messages: using more than a single line for the text.

Author Topic: hud messages: using more than a single line for the text. (7 messages, Page 1 of 1)
Moderators: Dennis

sierra117
Joined: Jan 10, 2008

If sex is good exercise, why are there fat sluts?


Posted: Jun 24, 2009 06:54 AM    Msg. 1 of 7       
i know how to get Hud Messages ingame and use. But; i want to make each string take up more than one line. Because some of my strings are to big to fit into a single line. Like in b40 and other levels (b40 is the only actual one that i an think right now that uses this)
So if i press pause and see that the strings pass the limit of size. Like they go out of my screen D:


Headhunter09
Joined: May 6, 2008

This is the truth.


Posted: Jun 24, 2009 06:56 AM    Msg. 2 of 7       
Create two and display both of them. Or you could check out how they did it by downloading the scripts.


sierra117
Joined: Jan 10, 2008

If sex is good exercise, why are there fat sluts?


Posted: Jun 24, 2009 07:00 AM    Msg. 3 of 7       
every time i try to display both only the first one shows for about a tick. ( :0 i can notice things that fast) and then displays the 2nd. :( ill go check the b40 script now.

EDIT: just check the scripts and there's nothing significant that show what they did.
Quote:
(script dormant obj_chasm2
(show_hud_help_text true )
(hud_set_help_text obj_chasm2 )
(hud_set_objective_text obj_chasm2 )
(sleep (* 30 10 ))(show_hud_help_text false ))

obviously its chasm2 which is the one where i can exactly remember where i saw them use more that one line for the string..
Edited by sierra117 on Jun 24, 2009 at 07:03 AM


Headhunter09
Joined: May 6, 2008

This is the truth.


Posted: Jun 24, 2009 07:05 AM    Msg. 4 of 7       
They used both help text and objective text? Or is objective text the thing in your menu and help text the stuff on your screen? I can't remember.


sierra117
Joined: Jan 10, 2008

If sex is good exercise, why are there fat sluts?


Posted: Jun 24, 2009 07:55 AM    Msg. 5 of 7       
i cant remember either, i just usually use both of them in my maps to save any problems. and i cant be bothered making a test map to check either D:


Me KS
Joined: Feb 2, 2008

Desire is Reality. Xfire: jetmaster23


Posted: Jun 24, 2009 01:44 PM    Msg. 6 of 7       
You can't display two hud messages, so that's why it didn't show both when you tried it. 'hud_set_help_text' is for the on-screen message, and 'hud_set_objective_text' is for the objectives in the pause menu.

As for having more than one line, there is a 'new line' character that they used in the source '.hmt' file that I found by opening the 'hud_message_text' tag in a Hex editor.

If I got it right, it's this:

|n

Just stick this wherever you want a new line to start, but don't make a new line in the source file. In the message you were talking about, obj_chasm2, this is probably how they did it:

obj_chasm2=>> Reach the transition to the |n third chasm.

Now, I put 4 spaces after the '|n' because that's what was in the Hex Editor. I'm not sure if that's needed, but it might be to make sure that the arrows '>>' line up with the new line, so add a space before and 4 spaces after the '|n' wherever you use it.

Edit: for some reason you can't actually see the 4 spaces in the post, but if you quote me and look at the text where you write the message, you'll see them.
Edited by Me KS on Jun 24, 2009 at 01:46 PM


sierra117
Joined: Jan 10, 2008

If sex is good exercise, why are there fat sluts?


Posted: Jun 25, 2009 04:31 AM    Msg. 7 of 7       
thanks :)

 

 
Previous Older Thread    Next newer Thread







Time: Fri January 20, 2023 3:32 AM 140 ms.
A Halo Maps Website