Se7enSins
HomeSe7enSins ForumsSe7enSins PremiumSite Rules

H2: Custom HUD Editing

This is a discussion about H2: Custom HUD Editing within the Halo 2 Advanced Mod Tutorials section, where you will Learn more advanced techniques to further mod your Halo 2 maps. This is for people who have a good grip on the Halo 2 Beginner Mod Tutorials.; .:Custom HUD Editing:. Halo 2 Modding Tutorial by Not Zachary88-2 ~Much thanks to Darkshallfall for his help, so that I can revamp this tutorial. This tutorial will teach you how to create custom HUDs.


 
 
LinkBack Thread Tools
  #1 (permalink)
H2: Custom HUD Editing
Posted on 03-24-2008 at 05:05 PM. By Not Zachary88-2   Not Zachary88-2 is online now

.:Custom HUD Editing:.
Halo 2 Modding Tutorial by Not Zachary88-2
~Much thanks to Darkshallfall for his help, so that I can revamp this tutorial.

This tutorial will teach you how to create custom HUDs. The HUD is what you see on the screen in Halo 2, which has the reticles, shields, etc.

Tools Required:
1. Entity 1.3 or higher
2. A bitmap internaliser: UberBitmapTool, Multiple Bitmap Internaliser, etc.
3. An art application: Adobe Photoshop, GIMPshop, DXT.Bmp, etc.

The Tutorial(s)
Custom HUD Reticles
-Reticles are the crosshairs. This section will teach you how to make your own.
  • Open your map up in Entity (I will be using Entity UE 1.6). Scroll down to the [bitm] tag and pick a nice 64 X 64 bitmap, preferably DXT 2/3 or DXT 4/5. I will be using the "effects\bitmaps\contrails\condensation_contra il" bitmap tag.
  • Once you know what bitmap you're using, open up your bitmap internaliser and find the same tag and internalise it. I will be using UberBitmapTool.
  • Now go back in Entity and find the newly internalised bitmap. Duplicate it, and you should see the tag name with a "(1)" behind it (unless you're using Entity 1.3.9, you can rename it; if that's the case, choose a proper name for it). If you would like to make multiple custom HUD reticles, duplicate the original tag again.
  • Go up to the blue "+" sign and hit "Save Bitmap". Pick a location, name it, and hit save.
  • Now for the editing part: open your bitmap in Photoshop, GIMP, or DXT.Bmp. Using the eraser tool, clear the RGB channels (in DXT.Bmp, it is just the image), or just paint it white (red: 255, green: 255, blue: 255).
  • Now go to the alpha channel and do the same. It should turn black. If not, paint it black (red: 0, green: 0, blue: 0). If you're using DXT.Bmp, you need to import the alpha only, and paint it black.


Now, I will tell you the color scheme needed for editing HUD reticles:

Color Scheme:
Code:
Black = not visible at all
Dark Gray = slightly visible, and slightly transparent (turns dark blue, or dark pink)
Light Gray = visible, and less transparent (turns blue, or pink)
White = completely visible, and cannot be seen through (turns light blue, or light pink)
Good Color Codes:
Code:
Black = red: 0, green: 0, blue: 0 (#000000)
Dark Gray = red: 60, green: 60, blue: 60 (#3C3C3C)
Light Gray = red: 190, green: 190, blue: 190 (#BEBEBE)
White = red: 255, green: 255, blue: 255 (#FFFFFF)
Why this black and white color scheme? When you apply you're bitmap to the [nhdt] tag, it is relinked with a HUD shader, that will turn the black - white color range to the specific color that the biped's HUD uses: blue, for the Masterchief, or pink, for the Elite.
  • Now that you know the color scheme, edit the alpha layer to your liking, but keep it within about a 40 X 40 area, because these bitmaps will end up looking bigger on your TV screen.

  • Once you're done, save the .DDS as the same type as it was before (you should've taken note in Entity) by going up to "File" > "Save". In this case, mine ("effects\contrails\bitmaps\condensation_trail ") was DXT 2/3. If you can't find the DXT 2 or DXT 4 types, that is because they don't exist. Save it as the final number (3 or 5).
  • Once it saves, go back in Entity and find you're duplicated tag. Go up to the blue "+" sign (Raw Editor) and hit "Inject".
  • Now for relinking: go to the [nhdt] of your weapon or vehicle. Open the "Meta Editor" and find the chunks in the "UI Component" reflexive that use this [bitm]: "ui\hud\bitmaps\new_hud\crosshairs\hud_reticle s". They should also be labeled with the SIDs "crosshair", and "crosshair_friendly". Swap those [bitm] tags with your duplicated [bitm], and change the "Full", "Split", and "Quad Screen Images #" to "0". This will make it so that it's visible in split-screen.


And that's it! You've just created your own custom HUD reticle! Sign, FTP, and test!
__________________________________________________ ________________
Custom HUD Shields
-Shields are, well, the shields. They are a little tricky to edit, but I will teach you how.
  • Open your map up in Entity and scroll down to the [bitm] tag. Pick a nice 256 X 256 or 512 X 512 bitmap that is DXT 2/3 or DXT 4/5. I will be using the battle rifle ("objects\weapons\rifle\battle_rifle\bitmaps\battl e_rifle").
  • Once you find a decent bitmap, internalise it with your bitmap internaliser. Remember, I am using UberBitmapTool.
  • Now that it's internalised, duplicate it twice. You should get a tag ending with a "(1)" and a "(2)" underneath the original (unless you used Entity 1.3.9, then you can rename them to fit their purpose).
  • Now go up to the blue "+" sign (Raw Editor) and hit "Save Bitmap" for both of them. Name the first one "shield_meter" and the second one "shield_mask".
  • Once they're both saved, open them up in Adobe Photoshop or GIMPshop (DXT.Bmp will not work for this). Clear the RGB channels to where they are a blank white, and the alpha channel so that is black. The eraser tool will do just that. If not, paint them white or black.
Now, the color scheme is pretty similar to the reticle editing section, but it only applies to the "mask". the meter uses dark gray and light gray colors for the direction that the shield recharges/depletes. You can make them go up, down ... whatever.

Good Color Codes:
Code:
 
Black = red: 0, green: 0, blue: 0 (#000000)
Dark Gray = red: 60, green: 60, blue: 60 (#3C3C3C)
Light Gray = red: 190, green: 190, blue: 190 (#BEBEBE)
White = red: 255, green: 255, blue: 255 (#FFFFFF)
  • Go to the "shield_meter" alpha channel and make the outline of your shield white. Then fill the inside with a dark gray that I have listed.
  • Now copy the shield image and paste it in the RGB. Using the magic wand tool, select the dark gray area and go to the gradient tool. select the primary color as dark gray, and the secondary color light gray. Then drag a line across the dark gray area (be sure it is still selected) in whatever direction you want. The dark gray area is the direction where the shield will deplete to, the light gray area is the direction where it recharges to.
  • Now paste the original image in the "shield_mask" alpha channel. Using the magic wand tool again, select the dark gray area. Then use the filler tool to fill in a light gray color.


These two bitmaps are used in unision. the mask is what covers the entire shield, and the meter is whenever the shield depletes and recharges. Understand? Yes? ... No?

REMEMBER: THEY NEED TO BE SMALL. ON THE TV SCREEN, THEY WILL APPEAR MUCH LARGER.
  • Now go to "File" > "Save". Save them both in their correct format (mine are DXT 4/5). The final number is the DXT type it has to be saved in (3 or 5).
  • Now open up your map in Entity again and find your duplicated bitmaps. Go back up to the blue "+" sign and hit "Inject" for both of them. Remember which one your meter is, and which one your mask is.
  • Once they're injected, go to the [nhdt] tag and select "ui\hud\masterchief" (for the Masterchief biped) or "ui\hud\dervish" (for the Elite biped). Open the "Meta Editor" and go to the "UI Component" reflexive, then go to Chunk "3". It should be labeled with the "shield_meter" SID, and should be using this [bitm]: "ui\hud\bitmaps\new_hud\meters\shield_meter". Swap it with your duplicated bitmap you are using as the meter, and set the "Full", "Split", and "Quad Screen Image #"s to "0". This will make it so that it's visible in split-screen.
  • Repeat for Chunk "4" (should be labeled with the "shield_mask" SID).
Congratulations! You've just created your own custom HUD shield successfully! Sign, FTP, and test (tons of testing)!

F.A.Q.
-have some questions? Maybe they're answered here.

Q: Can't I just internalise the bitmap that the HUD is using, duplicate it, save it, and edit it normally?
A: No. The bitmaps that the [nhdt] UI Component reflexive uses contain submaps. Bitmaps with submaps can't be extracted nor injected with Entity (Dothalo can extract them, but upon injecting you will brick your map >_<). As for internalising, why would you if you can't save them?

Q: My bitmaps are showing up huge on my TV screen. How do i fix this?
A: I've stated before that the alpha channels must be resized properly, for they show up larger. Use transform controls in your art application to fix this.

Q: Upon relinking, can I change the SID?
A: No. Changing the String ID for anything is a bad idea sometimes. It's the same thing as moving markers (sort of). Leave it alone.

Q: Is this System-Linkable?
A: Yes.

Q: Does it work on Xbox Live.
A: No. Skinning doesn't work on xbox live, you cheaters >_>

__________________________________________________ ________________
Well, that's all for my Custom HUD Editing tutorial. I spent about six to seven hours on it, and I hope every Halo 2 modder enjoys this. (DON'T EVEN THINK ABOUT USING IT ON XBOX LIVE).

If anyone feels I am missing something/misinforming anything, please tell me. I don't think anything is wrong though. If you have a question that wasn't answered in the F.A.Q., then please post it as well, or PM me.

Enjoy
-Not Zachary88-2


Last edited by Not Zachary88-2 : 06-03-2008 at 06:10 PM.
Reply With Quote
The Following User Says Thank You to Not Zachary88-2 For This Useful Post:
haloguy (06-15-2008)
Old 03-24-2008, 05:14 PM   #2 (permalink)
Member
SerpantSlayer's Avatar
Join Date: May 2007
Location: ʎǝsɹǝɾ
Posts: 793
Gave Thanks: 0
Received Thanks 49 Times
SerpantSlayer has a spectacular aura aboutSerpantSlayer has a spectacular aura about
Send a message via AIM to SerpantSlayer Send a message via MSN to SerpantSlayer Send a message via Yahoo to SerpantSlayer
Sexy. Must have taken a ****en long *** time to make this Tut. But no in-game pic? HAHA First post!!!!!!!!!!

Last edited by SerpantSlayer : 03-24-2008 at 05:21 PM.
SerpantSlayer is offline   Reply With Quote
Old 03-24-2008, 05:29 PM   #3 (permalink)
Member
Zieon Eslador's Avatar
Join Date: Dec 2007
Location: กกกƃuılıǝɔ ǝɥʇ ƃɯoz
Posts: 962
Gave Thanks: 20
Received Thanks 57 Times
Zieon Eslador will become famous soon enough
Send a message via AIM to Zieon Eslador
Thanks for the PM, whenever I get around to modding again this will be fun
Zieon Eslador is offline   Reply With Quote
Old 03-24-2008, 06:03 PM   #4 (permalink)
Member
SerpantSlayer's Avatar
Join Date: May 2007
Location: ʎǝsɹǝɾ
Posts: 793
Gave Thanks: 0
Received Thanks 49 Times
SerpantSlayer has a spectacular aura aboutSerpantSlayer has a spectacular aura about
Send a message via AIM to SerpantSlayer Send a message via MSN to SerpantSlayer Send a message via Yahoo to SerpantSlayer
Oh yeah, will I be able to use this on live?
SerpantSlayer is offline   Reply With Quote
Old 03-24-2008, 06:17 PM   #5 (permalink)
Premium Member
haxalot88's Avatar
Join Date: Jun 2007
Location: In Krafty's fridge, getting a bite to eat.
Posts: 1,716
Gave Thanks: 91
Received Thanks 185 Times
haxalot88 has a spectacular aura abouthaxalot88 has a spectacular aura abouthaxalot88 has a spectacular aura about
Send a message via AIM to haxalot88 Send a message via MSN to haxalot88
Quote:
Originally Posted by SerpantSlayer View Post
Oh yeah, will I be able to use this on live?
That's like asking if this is modified content.... IF it is modded, THEN no xbl for you.

Last edited by SiK GambleR : 03-25-2008 at 04:37 PM.
haxalot88 is offline   Reply With Quote
Old 03-24-2008, 06:17 PM   #6 (permalink)
Senior Member
Join Date: Oct 2007
Location: Not on 7S anymore.
Posts: 1,297
Gave Thanks: 25
Received Thanks 152 Times
Not Zachary88-2 has a spectacular aura aboutNot Zachary88-2 has a spectacular aura about
Send a message via AIM to Not Zachary88-2
Quote:
Originally Posted by SerpantSlayer View Post
Oh yeah, will I be able to use this on live?
can people see skins online? you know the answer to that ... >_>
Not Zachary88-2 is online now   Reply With Quote
Old 03-24-2008, 07:40 PM   #7 (permalink)
Member
SerpantSlayer's Avatar
Join Date: May 2007
Location: ʎǝsɹǝɾ
Posts: 793
Gave Thanks: 0
Received Thanks 49 Times
SerpantSlayer has a spectacular aura aboutSerpantSlayer has a spectacular aura about
Send a message via AIM to SerpantSlayer Send a message via MSN to SerpantSlayer Send a message via Yahoo to SerpantSlayer
nice tut.

Last edited by SerpantSlayer : 03-24-2008 at 10:07 PM.
SerpantSlayer is offline   Reply With Quote
Old 03-24-2008, 07:47 PM   #8 (permalink)
Premium Member
haxalot88's Avatar
Join Date: Jun 2007
Location: In Krafty's fridge, getting a bite to eat.
Posts: 1,716
Gave Thanks: 91
Received Thanks 185 Times
haxalot88 has a spectacular aura abouthaxalot88 has a spectacular aura abouthaxalot88 has a spectacular aura about
Send a message via AIM to haxalot88 Send a message via MSN to haxalot88
Quote:
Originally Posted by SerpantSlayer View Post
nice tut.
Please, don't quote the whole tutorial. If you want to say "nice tut" then you don't need to waste so much space with quoting the entire tutorial itself.
haxalot88 is offline   Reply With Quote
Old 03-24-2008, 10:06 PM   #9 (permalink)
Member
SerpantSlayer's Avatar
Join Date: May 2007
Location: ʎǝsɹǝɾ
Posts: 793
Gave Thanks: 0
Received Thanks 49 Times
SerpantSlayer has a spectacular aura aboutSerpantSlayer has a spectacular aura about
Send a message via AIM to SerpantSlayer Send a message via MSN to SerpantSlayer Send a message via Yahoo to SerpantSlayer
lol i know
SerpantSlayer is offline   Reply With Quote
Old 03-25-2008, 06:34 AM   #10 (permalink)
For Great Justice!
UnknowingAcorn's Avatar
Join Date: Oct 2006
Location: Canada! Eh?
Posts: 3,877
Gave Thanks: 64
Received Thanks 130 Times
Total Awards: 5
Loved1 Forum Famous1 Apple Hacker Top Tutorial Donator1 
UnknowingAcorn is a name known to allUnknowingAcorn is a name known to allUnknowingAcorn is a name known to allUnknowingAcorn is a name known to allUnknowingAcorn is a name known to allUnknowingAcorn is a name known to all
o.0 =O

ill admit i couldnt have done/ even know where to start for that. Skinning ftw? SEXY tut
but post an ingame pic. please.
UnknowingAcorn is online now   Reply With Quote
Old 03-25-2008, 04:35 PM   #11 (permalink)
Senior Member
Join Date: Oct 2007
Location: Not on 7S anymore.
Posts: 1,297
Gave Thanks: 25
Received Thanks 152 Times
Not Zachary88-2 has a spectacular aura aboutNot Zachary88-2 has a spectacular aura about
Send a message via AIM to Not Zachary88-2
when i get to my bayhouse i'll try (where my xbox is) >_<

Updated with F.A.Q. and thanks for all the +input guys.

Last edited by Not Zachary88-2 : 03-25-2008 at 04:54 PM.
Not Zachary88-2 is online now   Reply With Quote
Old 03-25-2008, 06:38 PM   #12 (permalink)
Still Modding Halo 2
Eaton's Avatar
Join Date: Jun 2007
Location: USA
Posts: 290
Gave Thanks: 4
Received Thanks 16 Times
Eaton will become famous soon enough
Send a message via AIM to Eaton Send a message via Yahoo to Eaton
Very detailed. I'll make sure to try this. Yet, another great tutorial!
Eaton is offline   Reply With Quote
Old 03-25-2008, 11:00 PM   #13 (permalink)
Junior Member
joey4785's Avatar
Join Date: Dec 2007
Location: Moved to....Krafty's kitchen
Posts: 250
Gave Thanks: 29
Received Thanks 5 Times
Total Awards: 1
Recruiter1 
joey4785 is on a distinguished road
Send a message via AIM to joey4785 Send a message via MSN to joey4785
holy crap good tut that was so awsome!
joey4785 is offline   Reply With Quote
 



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
3.71 M33 Custom Themes Installation capo PSP Tutorials 8 01-26-2008 10:29 PM
H.E.K (Halo Editing Kit) for Halo: Custom Edition. Flashback Halo 1 and PC Modding 1 10-12-2007 07:03 AM
Halo CE & PC Tools List Se7eN MasTa Halo 1/PC Apps 4 08-24-2007 03:59 PM
Halo CE & PC Tools List Se7eN MasTa Halo 1/PC Apps 0 05-19-2007 11:11 AM


All times are GMT -5. The time now is 06:37 PM.


Copyright ©Se7enSins, skin created by AzzidReign
Powered by: vBulletin
Copyright ©2000 - 2006, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Template-Modifikationen durch TMS