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 Message Tutorial

Author Topic: HUD Message Tutorial (7 messages, Page 1 of 1)
Moderators: Dennis

DarkZealot
Joined: Jan 1, 2008

Time management: 40% Xbox, 30% PC, 30% Skating


Posted: Jan 25, 2008 09:47 AM    Msg. 1 of 7       
Ever wonder how to get those damn little blue messages at the top of your screen? I can tell you how.

What you'll need: HEK and notepad (duh)

1: You'll need two files in data\levels\whateveryourlevelnameis ; a hud messages.hmt file, and a whateveryourlevelnameis.scenario file.

2: You MUST name it hud messages.hmt. Because tool is a little evil, it LOOKS for that only.

3: Creating your messages! The format for that is:
<name>=<text>
I.E: obj1=Find how to create HUD Messages

4: Create all the messages you need using the above format. Save as hud message.hmt in UNICODE!

5: Compiling in tool: Use this command: tool hud-messages levels\myscenario myscenario .

So why do we NOT need the / after myscenario? Because tool has it's ways. It automatically does it. The scenario name is what ever is before the .scenario in your folder. It creates them, and even better, REFERENCES them IN the scenario! Tool is so nice.

So now you know how to create HUD messages... oh, and you can add icons to your messages using %whatever ; whatever could be:
 Originally Posted by Listing 1
a-button
b-button
x-button
y-button
black-button
white-button
left-trigger
right-trigger
dpad-down
dpad-left
dpad-right
start-button
back-button
left-thumb
right-thumb
left-stick
right-stick
action
throw-grenade
primary-trigger
integrated-light
jump
use-equipment
rotate-weapons
rotate-grenades
zoom
crouch
accept
back
move
look

Now to add it in a script, use:

(show_hud_help_text true) ;this allows the game to show message text
(hud_set_help_text <message name>) ;this is the command to display the message on screen
(hud_set_objective_text <message name>) ;this command puts the message in you pause menu thing
(sleep 200) ;this is here so the message will stay up for about 6 seconds
(show_hud_help_text false) ;this disables showing the help text. if this isnt here, the help text will stay up forever
(Thanks Donut)

Hope this helps you guys!

Edited by DarkZealot on Jan 25, 2008 at 12:41 PM


Donut
Joined: Sep 30, 2006

I swear I'm not actually dead


Posted: Jan 25, 2008 12:32 PM    Msg. 2 of 7       
nice but you left a few parts out:
first
in the hud globals, there are sequence index references to the mud_msg_icons.bitmap tag for the a b x and y buttons. you can change that sequence index so it uses the other icons in that tag
second
you left out how to call this from a script

(show_hud_help_text true) ;this allows the game to show message text
(hud_set_help_text <message name>) ;this is the command to display the message on screen
(hud_set_objective_text <message name>) ;this command puts the message in you pause menu thing
(sleep 200) ;this is here so the message will stay up for about 6 seconds
(show_hud_help_text false) ;this disables showing the help text. if this isnt here, the help text will stay up forever


DarkZealot
Joined: Jan 1, 2008

Time management: 40% Xbox, 30% PC, 30% Skating


Posted: Jan 25, 2008 12:33 PM    Msg. 3 of 7       
Thanks Donut, I'll add that in now. :)


DarkZealot
Joined: Jan 1, 2008

Time management: 40% Xbox, 30% PC, 30% Skating


Posted: Jan 25, 2008 04:03 PM    Msg. 4 of 7       
As in notepad, where it says encoding, change it to Unicode.


NapalM
Joined: Jul 8, 2007

keke


Posted: Jan 25, 2008 09:37 PM    Msg. 5 of 7       
Ok, nice job.


Somone77
Joined: Aug 25, 2007


Posted: Apr 3, 2008 06:37 PM    Msg. 6 of 7       
VERY sorry for bumping this but didnt want to make a new topic so: What is the script command to make the pause screen text go away like as you finsish the stuff (i know how to do that) just the command for like making it go away.


Masters1337
Joined: Mar 5, 2006

halonaminator's unfortunate idol


Posted: Apr 3, 2008 07:33 PM    Msg. 7 of 7       
Rofl, all you did was re-word kornmans tutorial.

 

 
Previous Older Thread    Next newer Thread







Time: Fri January 20, 2023 5:40 PM 109 ms.
A Halo Maps Website