Custom Single and Multi-Screen Reticles

Tutorials for the Xbox version of Halo 2.
Post Reply
User avatar
DemonicSandwich




Advisor Connoisseur

Posts: 1198
Joined: Sat Sep 30, 2006 6:10 pm
Location:

Custom Single and Multi-Screen Reticles

Post by DemonicSandwich »

Custom Single and Multi-Screen Reticles

When I say "Single and Multi-Screen", I am referring to reticles that are normal sized on single-player screens and half-size on split and quad-screen.
Another advantage is that you can re-inject new HUD reticle bitmaps if necessary.

Items Required:
  • Any version of Entity (1.3 will be used in this tutorial)
  • Notepad, Wordpad, or other word processor to copy down values.
  • The Custom [bitm] tag I have supplied
  • An image editor like Photoshop
  • NVIDIA DDS plugins (Photoshop users only)
=============================================================
-------------------------------------------------------------------------------------------------------------
=============================================================

Stage 1) The Bitmap Tag and HUD Links
Most of the bitmaps for the HUD can be either DXT 2/3 or DXT 4/5.
Since the 4/5 format has a more detailed alpha channel, that is the one that I used for the custom bitmap tag.
--------------------------------------------------------------
Transfer the custom [bitm] i have supplied into your map. It goes by the tag name of ui\hud\bitmaps\new_hud\crosshairs\Sandwich_reticles.
Now go down to the [nhdt] tag list and select the HUD you want the new reticles for and open it in the meta editor. In my case it is the Plasma Pistol.
Scroll through the chunks untill you find the "crosshair" chunk. Once found, scroll down a little till you find the "bitmap" Ident.

Image Image
Change the "bitmap" Ident to ui\hud\bitmaps\new_hud\crosshairs\Sandwich_reticles.
Change the Fullscreen Sequence to 0 and the Halfscreen and Quarterscreen to 1.

Now repeat the process above on the "crosshair_friend" chunk.
--------------------------------------------------------------
Optional:
I also intend to have custom reticles for the Plasma Lockon of the Plasma Pistol.
So I will also setup the "crosshair_plasma_tracking" the same way as above except I used 2 and 3 for the Sequence values.
Image Image
-------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------

Test 1) Viewing for Testing and Size Reference
Load up your map to see the bitmaps at work with both Single and Multi-Screen.
Image Image
I also setup the plasma lockon bitmaps.
Image Image
-------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------

Stage 2) Making and prepping the Reticle bitmaps
The purpose of Test 1) about was to let you get a sense of how big the bitmap is so you can design one to accurate size.
--------------------------------------------------------------
Go back up to the ui\hud\bitmaps\new_hud\crosshairs\Sandwich_reticles tag and extract the DDS and open it in your choice of editor (Mine being Photoshop CS2).

Now take a look at the DDS I had you extract. First thing you will notice is that the Red, Blue, and Green channels are solid white.
The HUD will only be looking for the alpha channel so leave those color channels solid white, the alpha is what's needed to be edited. So make the reticle completely in the alpha channel.
Image

Once you have finishedsave it as a DDS file with DXT 5 format and no mipmaps just like the example below.
Image Image

Making a Multi-Screen version of your reticle is simple, just scale you image 50% but maintain the image size of 128x128.
Save it with the same format setting as above but with a different file name.
Image
--------------------------------------------------------------
Here is my reticle I made for this tutorial. Both single and multi-screen and the corresponding lock-on versions.
Image Image Image Image
-------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------
Stage 3) The Reticle Bitmap Injection
Open your map up in Entity, goto the [bitm] tag list and open ui\hud\bitmaps\new_hud\crosshairs\Sandwich_reticles in the meta editor. Since we set submap #0 to be the Full screen reticle, you can just inject the Full Screen reticle now. Then reload the bitmap tag by selecting another tag and selecting our tag again.
Image

Now scroll down to the "Bitmap Data" reflexive, while still in chunk 0, copy down the "LOD1 Offset" and paste it into Notepad.
Now scroll to chunk 1 and copy its "LOD1 Offset" value, scroll back to chunk 0 and paste over the LOD value there. Save and reload the bitmap tag.
Now the second submap bitmap should be showing as default.
Now inject your Multi_Screen bitmap. Reload the bitmap tag.
Image Image Image Image

Go back to the "Bitmap Data" reflexive. Copy that value you saved in Notepad and paste it over the "LOD1 Offset" value in chunk 0. Save and reload the tag once more.
Image Image
--------------------------------------------------------------
Open the bitmap in Entity's bitmap viewer and scroll through the submaps to see if you where successful.
Since I also wanted the Plasma Lock-on reticles, I injected those into submaps 2 and 3.
Image Image Image Image
-------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------
Finished
I know this was incredibly long and the reticle is rather large but if you followed this as you're supposed to, you should have what it looks like below.

Also please note that you may need to edit the reticle screen location to accommodate different designs. Mine in particular needs to me moved down.
Besides, the reticle can be shrunk down and re-injected anyway. :wink:

If you need more than 4 bitmap slots, just clone the [bitm] tag.
Image
Image
ImageImage
ImageImage
AIM wrote:Demonic5andwich (6:10:10 PM): structure of a first person weapon animation:
Demonic5andwich (6:10:43 PM): mess, mess, maybe a node?, another header?! wtf!, more mess, tacos, more shit
User avatar
Eaton




Enthraller

Posts: 1639
Joined: Thu Jun 14, 2007 4:16 pm
Location: USA

Post by Eaton »

Funny how you and I release a tutorial on the same day... :P
Image
User avatar
G.I.R.




Recreator Coroner

Posts: 3221
Joined: Thu Aug 11, 2005 1:07 pm
Location: Missouri
Contact:

Post by G.I.R. »

Inferior .DDS plugin is inferior. Here, use this link: link
Image
I think Noobraska is a pretty cool state. eh grows corn and doesn't afraid of anythng.
(12:18:11 AM) GTAF: DAMNIT GIR WE ARE ON THE SUBJECT OF VINCE'S DICK.
Post Reply