Custom Races

Posted by Huido on Tue 26 Jun 2001 06:59 AM — 6 posts, 21,565 views.

#0
I am making a Dragon Ball Z based MUD and I'm using SMAUG as the base. I have just been editing current race files and changing the names to the custom race's names. But for some reason when I try to create a character only the original races show up as an option. And how do I make it stop asking for classes?
Australia Forum Administrator #1
Are you adding races or renaming existing ones? Renaming should work.

To get rid of questions during the connect routine you would need to change the way function "nanny" works and recompile.
#2
I am renaming the existing races but they STILL don't show up on the list.

As for the answer to question 2, I am REALLY new to this so can you tell me how to edit this "Nanny" thing?
Australia Forum Administrator #3
It is a function in comm.c, I think. You edit it with a text editor and compile it with a compiler.
#4
What is the difference between editing and compiling? and where do I find all these things like comm.c and nanny?
Australia Forum Administrator #5
The program is produced by a process called "compiling" which converts to source code (in C) to machine code, suitable for the computer.

In the case of a large program like SMAUG, there are actually more than one source file, so the output from compiling each one is "linked" together to produce the file .exe file.

The files in question (comm.c etc.) are part of the SMAUG source download, at ftpgame.org.

You unzip (or untar) the file, into a directory, and in one of the subdirectories will be the source files.

You also need a compiler, Cygwin will work.

To edit the files you need a text editor.

However if all of this sounds very new to you, you are probably best of using the MUD "as is" rather than trying to make source code changes.