[Tutorial PSP/PC] - Custom Map and Episode Menu Names
Posted: Thu Jul 30, 2009 1:36 pm
Hello,
Today I am going to show you how to add custom map names in the menu and Episode Names.
This should work on any source code it is very easy to do.
Custom Map Names
1. Open up Menu.c
Find where it says this:
Right below that are a list of fields that are structured like this:
2. To change the Name it displays you would change the Entrance
Like this
3. To change the name it has to be in the "Pak" file you would change the call to the map like this:
That will make it display "Pyramid Of Evil" on the Menu and it will load the map with the file name of "Evil1".
Custom Episode Names
1. Open up "Menu.c"
2. Find where it says this:
3. Right below that is a list of the Episodes in this structure:
4. To change the episode Names it displays you could do this:
That code causes the Episode Names to be this:
Thank you for reading this.
If you have any questions or comments post below.
EDIT:
I just realized that this tutorial is in the wrong section.
Today I am going to show you how to add custom map names in the menu and Episode Names.
This should work on any source code it is very easy to do.
Custom Map Names
1. Open up Menu.c
Find where it says this:
Code: Select all
/* GAME OPTIONS MENU */
typedef struct
{
char *name;
char *description;
} level_t;
level_t levels[] =
{Code: Select all
{"start", "Entrance"},
Like this
Code: Select all
{"start", "Pyramid Of Evil"},Code: Select all
{"Evil1", "Pyramid Of Evil"},That will make it display "Pyramid Of Evil" on the Menu and it will load the map with the file name of "Evil1".
Custom Episode Names
1. Open up "Menu.c"
2. Find where it says this:
Code: Select all
typedef struct
{
char *description;
int firstLevel;
int levels;
} episode_t;
episode_t episodes[] =
{Code: Select all
{"Welcome to Quake", 0, 1},
{"Doomed Dimension", 1, 8},
{"Realm of Black Magic", 9, 7},
{"Netherworld", 16, 7},
{"The Elder World", 23, 8},
{"Final Level", 31, 1},
{"Deathmatch Arena", 32, 6}
Code: Select all
{"Pyramids of Evil", 0, 1},
{"Desert of Doom", 1, 8},
{"Frozen Wasteland", 9, 7},
{"Cold Tundra", 16, 7},
{"Evil at the door", 23, 8},
{"Kill em all", 31, 1},
{"Multi Frag Fest", 32, 6}
That code causes the Episode Names to be this:
Code: Select all
Pyramids of Evil
Desert of Doom
Frozen Wasteland
Cold Tundra
Evil at the door
Kill em all
Multi Frag FestThank you for reading this.
If you have any questions or comments post below.
EDIT:
I just realized that this tutorial is in the wrong section.