New Character Changes

Posted by Slyone on Wed 05 May 2004 11:38 PM — 7 posts, 26,115 views.

USA #0
Could someone tell me how to change the following things? They just don't exactly match the theme of my MUD :P

The help message that new players get when they create
The "Type HELP START" tutorial. (Or better, how to turn this off)
The whole 'Spectral Gates' thing (and the leave north to the academy that goes with it)
and finally, the messages you get when someone makes a character or logs on. (Hungrilly, a hollow voice asks...)


That would be great if someone could help me here.
USA #1
Quote:

The help message that new players get when they create

Hmm, I'm thinking you mean nmotd. Type hedit nmotd and edit it to what you want. When done, hit /s and then hset save.
Quote:

The "Type HELP START" tutorial. (Or better, how to turn this off)

Well, you can edit the "start" help file by using hedit start, then /s when finished and finally hset save.

To remove:
First, you can go into nanny (in comm.c... i think thats where it is) and find where it sets the PCFLAG_HELPSTART bit. Alternatively, you can go into comm.c, find display_prompt and delete the follow lines:


const char *helpstart = "<Type HELP START>"; // This is at the top of the function

And...

if ( !IS_NPC(ch) && !IS_SET(ch->pcdata->flags, PCFLAG_HELPSTART ) )
        prompt = helpstart;

However, there is an else if below this, so change it to if instead.

Quote:

The whole 'Spectral Gates' thing (and the leave north to the academy that goes with it)

What I would do is make my own starting area, then go into mud.h and change:

#define ROOM_VNUM_SCHOOL          10300

Change the number to the first room in your own starting area. Do not delete the default area, it has many items used by the mud in it.

Quote:

and finally, the messages you get when someone makes a character or logs on. (Hungrilly, a hollow voice asks...)

I actually couldn't find this in my version (Smaug FUSS) but it should be easy enough. The getting off would be in act_comm.c under do_quit. You can probably just delete the lines, or change them. The login ones are probably in nanny, although I'm not sure.

Hope this helped. Good luck.
Amended on Thu 06 May 2004 12:40 AM by Nick Cash
USA #2
Thank you very much! I got everything successfully changed :)
USA #3
:) Good job.
United Kingdom #4
The login lines on a new char are part of the area newacad.are and if I recall changing the line's can come up with quite a few problems... I'm not sure though...
If you plan on creating a whole new start area check mud.h carefully for defines to new players (They may be in comm.c with the nanny()? Incase the define's point to a specific room or item needed by the code to operate. Whiteknight pointed out the startng vnum, which is a example of what you need to watch for.

Rash
USA #5
Yes. If you have any problems post them here. I gues my way is to fix the problem at hand and then fix all the problems it generates aftewards, rather than all at once. That way I know exactly what I need to change. ::shrug:: If problems arise just post back.
USA #6
Quote:

and finally, the messages you get when someone makes a character or logs on. (Hungrilly, a hollow voice asks...)


Yes, that would be a mprog in the newacad.are I think.