Code Editing Tutorials
Getting the No Clipping cheat back

You dirty cheater! You want to clip again eh? Well, read on!

Step 1. Go to your source code directory and open the file
WL_DEBUG.C .

Step 2. Go to line 502. You should now see this:

#ifdef SPEAR %%%

else if (Keyboard[sc_N]) // N = no clip

{

noclip^=1;

CenterWindow (18,3);

if (noclip)

US_PrintCentered ("No clipping ON");

else

US_PrintCentered ("No clipping OFF");

VW_UpdateScreen();

IN_Ack ();

return 1;

}

#endif %%%

#if 0 %%%

else if (Keyboard[sc_O]) // O = overhead

{

ViewMap(); %%%

return 1;

}

#endif %%%

else if (Keyboard[sc_P])

{

PicturePause ();

return 1;

}


Step 3. Delete the lines who have an
%%% sign behind it.

Step 4. Now the code looks like this:


else if (Keyboard[sc_N]) // N = no clip

{

noclip^=1;

CenterWindow (18,3);

if (noclip)

US_PrintCentered ("No clipping ON");

else

US_PrintCentered ("No clipping OFF");

VW_UpdateScreen();

IN_Ack ();

return 1;

}

else if (Keyboard[sc_O]) // O = overhead

{

return 1;

}

else if (Keyboard[sc_P])

{

PicturePause ();

return 1;

}


Step 5. Save the file and Compile. Now you can use the No Clip cheat.

 


 

Get back to the Dome tutorials
Jump to the top