[code] Display Mapname at beginning of Level - Darkone Searching through Darkone's NewWolf Classic source, I stumbled upon this simple piece of code that displays the mapname at the beginning of each level.
First, you need to include my ingame messages variation tutorial. Then open WL_GAME.C and find the SetupGameLevel function. Look for this line at the bottom:
CA_LoadAllSounds ();
Add this underneath:
// display map name
{
char name[16];
int n;
for(n=0; n<16; n++)
name[n]=mapheaderseg[mapon]->name[n];
Msg_Printf(name);
}
Save and compile. Credit goes to Darkone for this code.
There you go
-Deathshead
Conner94- 07-22-2005
So, not while it is loading, but at the begining of each level? Cool! :D
Forumer™ is Voted #1 Free Forum Hosting provider
Build your own community today with the largest message board hosting company.