If you use the tutorial that Jamez wrote on his website, when you press the button to show the crosshair it will flash very fast on and off. You have to modify it a little bit to not make it do that. But if you look at the part of the code where the MLI cheat is defined you can find out how to fix this.

This tutorial creates a crosshair that triggers when you press the 'X' button. You will need a sprite editor for Wolfenstein to make the crosshair graphics. Each weapon will have a different crosshair, and the code is easy customized to allow for more crosshairs, and for weapons to share a crosshair.

Open WL_DEF.H and add the following sprite constants:

::: CODE :::

//
// Crosshairs
//
SPR_CROSSHAIR1,SPR_CROSSHAIR2,CROSSHAIR3,

Now search for "gamestate". You should encounter the gamestate structure. Add under the "int ammo" definition: "int crosshair". It should now look like:

I hate to bump such an old thread, but I like this particular crosshair tutorial (being able to use a different crosshair for each type of weapon is awesome). My question: I am using weapon bobbing and I notice the crosshair bobs with the weapon. How do I make the crosshair stationary?

_________________"When I see someone wearing crocs in public, I have all the information I need to know that I will never get along with that person." -Me