| View previous topic :: View next topic |
| Author |
Message |
Deathshead Corporal

Joined: 18 Feb 2005 Posts: 87
|
Posted: Wed Apr 06, 2005 11:36 am Post subject: [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:
| Code: |
CA_LoadAllSounds ();
|
Add this underneath:
| Code: |
// 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 _________________ Myspace
VampireFreaks
Music4Life
Wolfing Time |
|
| Back to top |
|
 |
Conner94 Moderator

Joined: 15 Jan 2005 Posts: 249 Location: ???
|
Posted: Sat Jul 23, 2005 1:10 am Post subject: |
|
|
So, not while it is loading, but at the begining of each level? Cool!  _________________ My Wolfenstein Website:
http://www.wolf94.cjb.net
Status: Falling apart over a product I ordered that is taking forever to arrive. |
|
| Back to top |
|
 |
|