<< Back to Area Coding | Forward to The #MOBILES Section >> |
#AREA
|
There is an example at the end of this page.
Here's what the (underlined) terms mean:
filename.are
Area Name
{H{{
fromlevel tolevel}
{MCreator
{TAreaname
~
fromlevel
'; this
is needed to display a single left brace in spite of color coding. If you
were to remove all these complications, the line would look like this:
{fromlevel tolevel} Creator Areaname~
{fromlevel tolevel}
fromlevel
and tolevel
are recommended levels for
players wanting to adventure in your area. The fromlevel
should
be such that a single player of that level should usually be able to find at least
something he can kill in there. The tolevel
should be
such that a player of that level can still make a few points by killing
something in your area. Thus, you would code an area suitable for levels
10 to 20 like this: {10 20}
.
There are three special cases where you code a keyword rather than a level range between the braces:
{ ALL }
{CLANS}
{ IMM }
In order to line up with the level specs of other areas in the output from
the fromlevel tolevel
' should be 5 characters long inside the
braces. Examples: {10 20} or { 1 30}.
Creator
In order for your name to line up with others in the output from the
Areaname
Area Name
' (see above)
and 'Areaname
'. The first one is seen in a player's prompt and the
second one is seen in the list produced by the AREAS command. That's all.
In the interest of avoiding confusion, though, you should make the two the same
or at least similar.
Do not forget to place a tilde ('~') directly after the end of the areaname,
or your area file will not load!
startingvnum
endingvnum
No tilde follows this last entry in the area section. This may make a little more sense to you if you are aware that tildes are used to mark the end of text strings only. Names are text strings. Numbers are not. Certain letters used as codes are also not text strings. Just remember to be very aware of where tildes need to go, and where not. The MUD program is very sensitive to missing or extraneous tilde characters.
There is no 'section ender' for the #AREA
section as there
is for all the others. The reason for this is that the Area section contains
a fixed number of entries, and there is no need to indicate when a variable
number of something has ended.
AREA example
#AREA example.are~ Example Area~ {H{{1 100} {MElrac&Sharra {TExample Area~ 6900 6999 |
<< Back to Area Coding | Forward to The #MOBILES Section >> |
This page was last updated May 15, 2001. |