Inside3D!
     

[Tutorial PSP/PC] - Custom Map and Episode Menu Names

 
Post new topic   Reply to topic    Inside3d Forums Forum Index -> Programming Tutorials
View previous topic :: View next topic  
Author Message
Team Xlink



Joined: 25 Jun 2009
Posts: 320

PostPosted: Thu Jul 30, 2009 1:36 pm    Post subject: [Tutorial PSP/PC] - Custom Map and Episode Menu Names Reply with quote

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:
Code:

/* GAME OPTIONS MENU */

typedef struct
{
   char   *name;
   char   *description;
} level_t;

level_t      levels[] =
{


Right below that are a list of fields that are structured like this:

Code:
{"start", "Entrance"},

2. To change the Name it displays you would change the Entrance

Like this

Code:
{"start", "Pyramid Of Evil"},


3. To change the name it has to be in the "Pak" file you would change the call to the map like this:

Code:
{"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:
typedef struct
{
   char   *description;
   int      firstLevel;
   int      levels;
} episode_t;

episode_t   episodes[] =
{


3. Right below that is a list of the Episodes in this structure:

Code:

{"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}


4. To change the episode Names it displays you could do this:

Code:

{"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:
Pyramids of Evil
Desert of Doom
Frozen Wasteland
Cold Tundra
Evil at the door
Kill em all
Multi Frag Fest



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.
_________________
Anonymous wrote:
if it works, it works. if it doesn't, HAHAHA!


Last edited by Team Xlink on Sun Jul 11, 2010 6:54 pm; edited 1 time in total
Back to top
View user's profile Send private message
deenky



Joined: 10 Feb 2010
Posts: 1

PostPosted: Tue Feb 16, 2010 9:04 am    Post subject: Reply with quote

Will putting a small pyramid in my bedroom help me in any way? I have read that pyramid shaped objects have special powers. Does anyone know about this?
______________________
keyword research ~ keyword tool ~ keyword tracking ~ affiliate elite


Last edited by deenky on Fri Feb 19, 2010 10:54 am; edited 1 time in total
Back to top
View user's profile Send private message
LonePossum.



Joined: 02 Nov 2009
Posts: 38

PostPosted: Tue Feb 16, 2010 9:33 am    Post subject: Reply with quote

Spam Bot?
Back to top
View user's profile Send private message
mh



Joined: 12 Jan 2008
Posts: 909

PostPosted: Tue Feb 16, 2010 5:55 pm    Post subject: Reply with quote

It can shove the small pyramid up a certain part of it's anatomy if so. Twisted Evil
_________________
DirectQ Engine - New release 1.8.666a, 9th August 2010
MHQuake Blog (General)
Direct3D 8 Quake Engines
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Inside3d Forums Forum Index -> Programming Tutorials All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2004 phpBB Group