Help

MEDIT-TUTOR

For immortals

***************************************************************************
*                                                                         *
*                      New Mobile Builders Docs                           *
*                         Version 1                                       *
*                         Updated: July 15 1997                           *
*                                                                         *
*  Created By Palio for Arcane Ages                                              *
***************************************************************************

Intended users: New immortals that have had little to no experience
                building on Arcane Ages Mud

Making a mob may seem difficult at first but if you take it a step at a time you should have no problems with it. This is a _very_ _very_ basic help to get you started..there is of course hundreds of things that can be done and set on mobs to make them do many different things.

MCREATE

The first thing you will want to do is find a mob in the game that is similar to the one you wish to make. Then you use that mob as a template and clone that to a VNUM in your range of numbers you are able to edit. We will assume you have the vnums 42200-42300 to work with.

Syntaxmcreate newvnum name-of-mob oldvnum mcreate 42200 black-raven 28656 For example if you find that mob '28656 eagle' is the one you that is closest to the one you want and you would like to use it as a template and clone it and make it a 'Black Raven' you would use the above syntax. This would create an exact duplicate of the eagle with the vnum 42200 You now need to change the mob so that it is your mob and not a clone of the other one. *NOTE* Some find it easier to start with a base mob such as a fang and build up from there, setting everything. While others prefer to find a mob that is very close to the one they want to make and only changing some of the stats. Either way is acceptable, find which you prefer and use it. MSTRING ======= The first thing we will look at is 'mstring' there are a number of variables you can set with mstring and we will look at each one separately.mstring black-raven name black-raven-bird Name -This was set when you cloned the mob and sets the keywords of the mob. You set this mob to black-raven. This means people can use the word 'black' or the word 'raven' when dealing with this character. This can be used to add additional names or keywords to a mob or to change them totally.mstring black-raven short a jet black raven Short -This is the 'name' of the mob for instance 'a girl' 'a wandering thief' 'a cityguard'. This should not be a sentence, it should not start in a capital (the game will capitalize as needed) and should not include a period. The game with take this variable and use it in sentences. For example if you have a mob with a short name of 'a cityguard' and you are fighting you might see: A cityguard's powerful cleave to your chest causes you to scream in anguish!! ^^^^^^ This is the short name.mstring black-raven long enter A jet black raven squawks at you! /s Long -This is what is seen in the room when a player looks. It should be fairly descriptive but not more then 1 line. it should also contain at least 1 'name' or 'keyword' of the mob so players will know how to interact with the mobile.
Syntaxmstring black-raven distant-sound ENTER Caw Caw /s
   Distant-sound -This allows you to set a sound on the mob that can be
         heard from a short distance away. The text is seen exactly as you
         type it in the editor and no leading name is shown. So if you
         use 'caw caw' as a sound, the game will send 'caw caw' to the
         rooms surrounding the mob not 'a black raven says caw caw' 
Syntaxmstring black-raven sound ENTER Caw Caw /s Sound -Is the same as distant-sound except it is heard in the immediate room.

MEDIT

Medit sets the various stats of the mobile you are creating. From how strong it is to how much it weights and how hard it hits. Most of these are self explanatory.

Syntaxmedit mob-name field value medit black-raven level 10 w medit black-raven sex male medit black-raven ac 80
experience      <experience points>
alignment       -1000 to 1000
class
level           <level> <class number>
sex             0 = it, 1 = male, 2 = female
race            <race name, see RACENAMES>
hit             <hit points>
mhit            <maximum hit points>
mana            <mana points>
mvitality       <maximum vitality points (base)>
position        <current position, see POSITION-TYPES>
default_pos     <default position, see POSITION-TYPES>
attacks         <number of attacks the mobile gets>
barenumdie      <number of dice to roll for barehand damage>
baresizedie     <the size of each die for barehand damage>
hitroll         <bonus to hit>
damroll         <bonus do damage>
ac              <avoidance class value, sets ALL areas 10=1.0 20=2.0>
stopping        <stopping value, sets ALL areas  10=1.0 20=2.0>
gold            <gold on hand>
strength        <strength>
intelligence    <intelligence>
wisdom          <wisdom>
dexterity       <dexterity>
constitution    <constitution>
charisma        <charisma>
height          <height>
weight          <weight>
saving          <new saving throw, how well the mob resists the following:> 
                <ethos fortitude reflex will>

Creation of huge-black-spider

mcreate 42201 huge-black-spider 27707
mstring . short a huge black spider
mstring . long A huge black spider is crawling towards you!
mstring . desc <enter>
   This huge black creature is bigger then most.  It is about three feet
high with huge hairy legs and large fangs that could rip apart a prey in
seconds.
/f
/s
medit . saving 20 fortitude
medit . saving 16 ethos
medit . saving 21 reflex
medit . saving 13 will

make note this is to high of stats for a level 15 mob 
will give  -hit when loaded 

medit . str 21 
medit . dex 25
medit . con 24 
medit . cha 21 
medit . wis 23 
medit . int 15 

medit . level 15 wa

medit . exp 3375 this is usually done by the mchecker 
inless you understand mf's

medit . hit 135
this is set automatically no need to edit

medit . hitroll 4
medit . ac 10
medit . stopping 20
medit . gold 482
medit . race insectoid
medit . damroll 5
medit . baresizedie 6

medit . mana 150
no need to edit mobs have all the mana they require

medit . mvitality 1000

AVDAM

This can be a difficult concept to grasp at first but once gotten is not hard at all. The average damage a mob has is figured out with the following formula:

attacks*(((baresizedie/2)+.5)*barenumdie+damroll)
barenumdie      <number of dice to roll for barehand damage>
baresizedie     <the size of each die for barehand damage>
damroll         <bonus do damage>
attacks         <number of attacks the mobile gets>

If we use the spider we created above, we could figure out the avdam with the following information (mstat the mob)

Attacks[1]*
HIT/DAM[4/5] 

NPC Bare Hand Damage: 1d6

If your avdam is to high or to low, play with the numbers a bit until its at the number you would like.

      1*(((6/2)+.5)*1+5) = 8.50 AVDAM
attacks*(((baresizedie/2)+.5)*barenumdie+damroll)=AVDAM

MFLAG

Syntaxmflag mobname flags

There are a number of different flags you can set on mobs to make them act in specific ways, see ACTFLAGS will give you a list of the flags you have access to. You can also alter the affects present upon a mobile by altering its AFFFLAGS. The example sets the huge black spider to stay in the zone he is loaded in. The spider is aggressive and tracks at double speed (running).

Syntaxmflag . stay-zone running aggressive