O'Reilly logo

Halo 2 Hacks by Stephen Cawood

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Hack #74. Give Your Map Its Own Menu Image

Give your map a pretty picture in the maps menu.

The bitmap associated with your map can be viewed by opening Ch2r [Hack #51] and double-clicking globals/globals.matg. The test map [Hack #54] currently has no image associated with it. From this view, you can check the number of your map in the globals.matg—they start at 0 and go to up 49. The Test map is currently the last entry so it's fiftieth on the list—in other words, its value is 49 (see Figure 9-12).

The globals.matg tag

Figure 9-12. The globals.matg tag

To alter the menu image that is associated with your map, you will need to swap a dependency in the mainmenu.map file.

To do this, you should first open Ch2r [Hack #51] right-click globals/globals.matg and choose Properties (see Figure 9-13).

Accessing the properties of globals.matg

Figure 9-13. Accessing the properties of globals.matg

Next, you will change the dependency of the bitmap. To do this, select the Dependencies tab and scroll down to find ui\code_global_bitmaps\multiplayer49—this is the number of the test map. Double click on this entry and click Change to change it to a different bitmap. Change it to the image for Ascension, which is ui\code_global_bitmaps\multiplayer0 (see Figures 9-14 and 9-15).

Figure 9-14. Swapping the image for the map

Figure 9-15. After swapping the image

After ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required