Halo 2 Compass Shader [Tutorial + Shader Download]

This if for tutorials and information for the community to use for great works.
Keep them organized now!..
Post Reply
User avatar
Click16
Posts: 1941
Joined: Mon Dec 31, 2007 4:36 am
Location: United States

Halo 2 Compass Shader [Tutorial + Shader Download]

Post by Click16 »

Halo 2 Compass Shader
I recently discovered the secret to creating a compass shader for Halo 2. Thanks to the help of DemonicSandwich, I figured out the simple changes that had to be made to a widely used Shader.

This is how I went about discovering this. (For all who care)
DemonicSandwich wrote:...a while back and pointed out that the SID "compass" reacted to the maps local North.

I just edited one of those ammo counter shaders to use it.
Well, It really is THAT simple.

I first used Entity 2.1.3 With default plug-ins and duplicated the shader

Code: Select all

objects\weapons\rifle\battle_rifle\shaders\ones
I renamed it to

Code: Select all

objects\multi\compass\shaders\compass
Along with that I duplicated

Code: Select all

objects\weapons\rifle\battle_rifle\bitmaps\number_pad
I renamed that to

Code: Select all

objects\multi\compass\bitmaps\compass_pointers
Side note: I tried many versions of Entity, 2.1.3 has to be THE BEST one I have ever used! It's pretty cool, I like the layout, color style, and the features.

I relinked the bitmaps, and opened the shader in the meta editor. I set it to show Invisibles, scrolled down to the "Shader Effects" and changed the position to the SID "compass" and the next SID input (labeled "Unknown") to "primary_ammunition_ones" then saved it.

I injected the bitmaps in this order (This is for a 10-chunk bitmap)

0 north
1 northwest
2 west
3 southwest
4 south
5 southeast
6 southeast
7 east
8 northeast
9 northeast

Pictures

Image

Image

Image

Side Note: When I inject with a 8 chunk bitmap, when I turn west the pointer goes north west then jumps to east. So i might update this later with only 8 chunks, but for now It will have ten, it performs the same.

Well, that wraps it up. Enjoy!

Credit

DemonicSandwich for telling me about the SID "compass" and how he used it in a ammo counter shader
DarkShallFall for discovering the SID "compass"
Attachments
Halo 2 Tags.rar
Download to your C:/ Directory and choose "Extract Here" or else it will add an extra folder
(22.86 KiB) Downloaded 398 times
Image
User avatar
Aumaan Anubis
Staff
Posts: 1812
Joined: Thu Dec 13, 2007 12:18 am
Contact:

Re: Halo 2 Compass Shader [Tutorial + Shader Download]

Post by Aumaan Anubis »

Moved to Tutorials.
Post Reply