Difference between revisions of "Mob Record"

From The Final Challenge Wiki
Jump to navigation Jump to search
m
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| align="right" class="wikitable"
|<BR>[[#VNUM|A: The mob's vnum]].
[[#Names|B: The mob's name]].
[[#Short Description|C: The mob's short description]].
[[#Long Description|D: The mob's long description]].
[[#Look Description|E: The mob's look description]].
[[#Actions|F: The mob's actions]].
[[#Affects|G: Things affecting the mob]].
[[#Alignment|H: The mob's alignment]].
I: This must be an S.
[[#Level|J: The mob's level]].
K: Set this to 0.
L: Set this to 0.
| M: Set this to 0d0+0.
N: Set this to 0d0+0.
O: Set this to 0.
P: Set this to 0.
Q: Set this to 8.
R: Set this to 8.
[[#Sex|S: The mob's sex]].
[[#Language|T: The mob's language]]. [Optional]
[[#Animal Flag|U: The Animal flag]].
[[#No-Wear Flag|V: The No-Wear flag]].
[[#One Spell Special Function|W: The spec_one_spell entry]]
|}
An individual mob is laid out in the following format:
An individual mob is laid out in the following format:


A
A
Line 29: Line 76:




A: The mob's vnum.


B: The mob's name.
<BR><BR>


C: The mob's short description.
==#MOBILES Block Structure==
 
The block starts with the string '''#MOBILES''', followed by one or more mob records, and ending with the string '''#0'''.  
D: The mob's long description.
This is an example of a mobiles block:  


E: The mob's look description.
<nowiki>#MOBILES</nowiki><BR>
mob 1: see above for layout <BR>
mob 2: see above for layout <BR>
mob 3: see above for layout <BR>
<nowiki>#0</nowiki><BR><BR>


F: The mob's actions.
==VNUM==
 
G: Things affecting the mob.
 
H: The mob's alignment.
 
I: This must be an S.
 
J: The mob's level.
 
K: Set this to 0.
 
L: Set this to 0.
 
M: Set this to 0d0+0.
 
N: Set this to 0d0+0.
 
O: Set this to 0.
 
P: Set this to 0.
 
Q: Set this to 8.
 
R: Set this to 8.
 
S: The mob's sex.
 
T: The mob's language. [Optional]
 
U: The Animal flag.
 
V: The No-Wear flag.
 
W: The spec_one_spell entry
 
 
A: The mob's vnum


This number identifies the mob to the MUD for loading purposes and other functions. The Syntax is:
This number identifies the mob to the MUD for loading purposes and other functions. The Syntax is:
Line 82: Line 96:
<nowiki>#XXYY</nowiki>
<nowiki>#XXYY</nowiki>


XX is the number assigned to your area. YY is a number between 00 and 99 identifying a particular mob in the area. No duplicates vnum's are allowed.
XX is the number assigned to your area. YY is a number between 00 and 99 identifying a particular mob in the area. No duplicates vnum's are allowed.  ie #4710 is 10 in area 47.
 
 
Example: #4710


This is mob 10 in area 47.


==Names==


B: The mob's name
This is the keywords used by mortals to interact with a mob. Generally, the name field should have no more than 2 or 3 words in it. The field should be all in lower case, and the last character must be a tilde (the squiggly hyphen).
 
This is the keyword (or words) used by mortals to interact with a mob. Generally, the name field should have no more than 2 or 3 words in it. The field should be all in lower case, and the last character must be a tilde (the squiggly hyphen).


If the mob is an ogre named herman, "herman" and "ogre" are the 2 words you would put in the name field. Do not put articles or prepositions in this field, and make sure one of the keywords is also used in the long description.
If the mob is an ogre named herman, "herman" and "ogre" are the 2 words you would put in the name field. Do not put articles or prepositions in this field, and make sure one of the keywords is also used in the long description.




C: The mob's short description
==Short Description==


This is the phrase the MUD uses when the mob does something. If the mob's short description is "herman", then if it bows it might read as:
This is the phrase the MUD uses when the mob does something. If the mob's short description is "herman", then if it bows it might read as: Herman bows in your presence.
Herman bows in your presence.


The short description should be a phrase that makes grammatical sense, and it must be followed by the tilde. Also make sure you do NOT capitalize leading prepositions, such as in "The ogre". Instead use "the ogre". This allows the messages the mud generates using this description to look right, such as "Your slash hits the ogre."
The short description should be a phrase that makes grammatical sense, and it must be followed by the tilde. Also make sure you do NOT capitalize leading prepositions, such as in "The ogre". Instead use "the ogre". This allows the messages the mud generates using this description to look right, such as "Your slash hits the ogre."




D: The mob's long description
==Long Description==


This is the sentence that the MUD displays for mobs standing in a room. If a mob has the long description "Herman stands here idly.", then when you enter the room, following the room description the MUD would display:
This is the sentence that the MUD displays for mobs standing in a room. If a mob has the long description "Herman stands here idly.", then when you enter the room, following the room description the MUD would display:


Herman stands here idly.
Herman stands here idly.
Line 118: Line 126:




E: The mob's look description
==Look Description==


This is the paragraph describing the mob that you would see when you look at him. If the mob had the name "herman" and the look description of "Herman is a fat, ugly ogre. He stands here swatting flies, picking his nose, and wondering whether you would make a good lunch.", then when you type LOOK HERMAN, the MUD would display:
This is the paragraph describing the mob that you would see when you look at him. If the mob had the name "herman" and the look description of "Herman is a fat, ugly ogre. He stands here swatting flies, picking his nose, and wondering whether you would make a good lunch.", then when you type LOOK HERMAN, the MUD would display:
Line 128: Line 136:




F: The mob's actions
==Actions==
 
Refer to the flag list for legal values which are used to define how a mob interacts with the world. If you use nothing out of the list, enter a 0.
 
 
G: Things affecting the mob
 
Refer to the flag list for legal values which are used to define what things are affecting the mob. If you use nothing out of the list, enter a 0.
 
 
H: The mob's alignment


This is a number between -1000 (super evil) and 1000 (super good). For a mob to register as either evil or good, the absolute value of the alignment must be at least 350.
These are flags that determine how the mob act.  Does it stay in the same room, does it wander, is it aggressive and so on. Refer to the [[Mob Act Flags|flag list]] for legal values which are used to define how a mob interacts with the world. If you use nothing out of the list, enter a 0.


==Affects==


I: This field MUST be an S
Refer to the [[Mob Affect Flags|flag list]] for legal values which are used to define what things are affecting the mob. If you use nothing out of the list, enter a 0.  To use multiple affects they values can be added together.


There is no why. An S and nothing but an S is acceptable.


==Alignment==


J: The mob's level
This is a number between -1000 (super evil) and 1000 (super good). For a mob to register as either evil or good, the absolute value of the alignment must be at least 350.  In general because TFC does not use ''levels'' of Good and Evil, use only the full value.  -1000 for evil, 1000 for good. 
NOTE TO NATI - FIND Neutral...


This is the level of the mob, a non-negative number. Maximum level should generally be 50. Remember that mob levels differ from player levels, with a mob's level equating to a player's level some 3 to 10 player levels higher. Also remember that specfuns often cause a mob to be capable of fighting several levels above their own level. Consider thesr facts when designing mob levels with respect to your assigned/chosen area level range.




K through R: Set these to "whatever" is listed in the diagram legend.
==Level==


There is no why. Just set them to what is indicated.
This is the level of the mob and must always be a positive number. Maximum level should generally be 50. Remember that mob levels differ from player levels, with a mob's level equating to a player's level some 3 to 10 player levels higher. Also remember that specfuns often cause a mob to be capable of fighting several levels above their own level. Consider these facts when designing mob levels with respect to your assigned/chosen area level range.




S: The mob's sex
==Sex==


This number indicates if the mob is male(1), female(2), or an it(0).
This number indicates if the mob is male(1), female(2), or an it(0).




T: The mob's language (optional)
==Language==


Mobs can be set to speak a language. If none is set, they speak the universal god-tongue. Language has the format:
This is optional.  Mobs can be set to speak a language. If none is set, they speak the universal god-tongue. Language has the format:




Line 175: Line 174:
1: This is a L.
1: This is a L.


2: This is the languages a mob KNOWS. Refer to the flag list for values.
2: These are the languages a mob KNOWS. Refer to the [[Language Known Flags|flag list]] for values. Values can be added together for multiple languages.  For example if the mob understands Elven, Gnomish and Common the value would be (4+8+1),  13.
 
3: This is the what the mob prefers speaking. Refer to the list for values. Only ONE value is allowed - do NOT combine values in this field.


3: This is the language that the mob prefers speaking. Refer to the [[Language Spoken Flags|flag list]] for values. Only ONE value is allowed - do NOT combine values in this field.


U: The Animal flag (optional)
==Animal Flag==


If the mob is a animal, put a single A on this line. If this is omitted, do NOT put in a blank line.
This is optional. If the mob is a animal, put a single A on this line. If this is omitted, do NOT put in a blank line.




V: The No-Wear flag (optional)
==No-Wear Flag==


If the mob is not allowed to wear equipment, enter a N on this line. If this is omitted, do NOT put in a blank line. Most animals should receive this flag with dragons being a notable exception to that rule.
This is optional. If the mob is not allowed to wear equipment, enter a N on this line. If this is omitted, do NOT put in a blank line. Most animals should receive this flag with dragons being a notable exception to that rule.




W. The spec_one_spell block (optional) (requires *Special Permission*)
==One Spell Special Function==


The spec_one_spell block sets the single spell a mob knows. To use a spec_one_spell in an area, the mob must have this block AS WELL AS an associated entry in the #SPECIALS section. If a mob is not receiving this specfun, do NOT put in blank lines. The block has the format:
This is optional and requires special permission to use.  The spec_one_spell block sets the single spell a mob knows. To use a spec_one_spell in an area, the mob must have this block AS WELL AS an associated entry in the [[http://wiki.tfcmud.com/index.php/Special,_Trigger,_and_Rspec_Records|#SPECIALS]] section. If a mob is not receiving this specfun, do NOT put in blank lines. The block has the format:




Line 206: Line 204:
3. This is a tilde. It must be on the same line as, and begin immediately after, the spell text with NO spaces.
3. This is a tilde. It must be on the same line as, and begin immediately after, the spell text with NO spaces.


An example of a Mobile record follows:


<nowiki>#4710</nowiki>
 
==Example of a Mobile==
 
This example shows the #MOBILES block and 2 mobs.<BR><BR>
 
<pre>
#MOBILES
#4710
herman ogre~  
herman ogre~  
Herman~  
Herman~  
Herman stands here idly.  
Herman stands here idly.  
~  
~  
Herman is a fat, ugly ogre. He stands here swatting flies, picking  
Herman is a fat, ugly ogre. He stands here swatting flies, picking  
his nose, and wondering whether you would make a good lunch.  
his nose, and wondering whether you would make a good lunch.  
~  
~  
96 0 -350 S  
96 0 -350 S  
21 0 0 0d0+0 0d0+0  
21 0 0 0d0+0 0d0+0  
0 0  
0 0  
8 8 1  
8 8 1  
L  
L  
256 256
#4711
funny bunny~
a funny little bunny~
A funny little bunny is here.
~
Poor little thing looks a little worn out from being Natilena's test
subject all the time.
~
132 0 1000 S
5 0 0 0d0+0 0d0+0
0 0
8 8 1
L
32769 32768
O
rift~
#0
</pre>


256 256
[[Category:Area Development]]
[[Category:Area Development]]

Latest revision as of 15:47, 1 February 2015


A: The mob's vnum.

B: The mob's name.

C: The mob's short description.

D: The mob's long description.

E: The mob's look description.

F: The mob's actions.

G: Things affecting the mob.

H: The mob's alignment.

I: This must be an S.

J: The mob's level.

K: Set this to 0.

L: Set this to 0.

M: Set this to 0d0+0.

N: Set this to 0d0+0.

O: Set this to 0.

P: Set this to 0.

Q: Set this to 8.

R: Set this to 8.

S: The mob's sex.

T: The mob's language. [Optional]

U: The Animal flag.

V: The No-Wear flag.

W: The spec_one_spell entry

An individual mob is laid out in the following format:

A

B

C

D

E

F G H I

J K L M N

O P

Q R S

T

U

V

W




#MOBILES Block Structure

The block starts with the string #MOBILES, followed by one or more mob records, and ending with the string #0.

This is an example of a mobiles block:

#MOBILES
mob 1: see above for layout
mob 2: see above for layout
mob 3: see above for layout
#0

VNUM

This number identifies the mob to the MUD for loading purposes and other functions. The Syntax is:

#XXYY

XX is the number assigned to your area. YY is a number between 00 and 99 identifying a particular mob in the area. No duplicates vnum's are allowed. ie #4710 is 10 in area 47.


Names

This is the keywords used by mortals to interact with a mob. Generally, the name field should have no more than 2 or 3 words in it. The field should be all in lower case, and the last character must be a tilde (the squiggly hyphen).

If the mob is an ogre named herman, "herman" and "ogre" are the 2 words you would put in the name field. Do not put articles or prepositions in this field, and make sure one of the keywords is also used in the long description.


Short Description

This is the phrase the MUD uses when the mob does something. If the mob's short description is "herman", then if it bows it might read as: Herman bows in your presence.

The short description should be a phrase that makes grammatical sense, and it must be followed by the tilde. Also make sure you do NOT capitalize leading prepositions, such as in "The ogre". Instead use "the ogre". This allows the messages the mud generates using this description to look right, such as "Your slash hits the ogre."


Long Description

This is the sentence that the MUD displays for mobs standing in a room. If a mob has the long description "Herman stands here idly.", then when you enter the room, following the room description the MUD would display:

Herman stands here idly.

The long description gets preceded by things like aura's and other spell effects, so take that into account when you write the description. In general, this sentence should be approximately 70 characters in maximum length if the mob has no affects on him. If the mob has affects, take the auras into consideration, making sure the description and auras all fit on ONE line, like this:

(Hide)(Invis)(Sanctuary)(Translucent)(Red Aura) An ogre stands here.

The sentence should be grammatically correct and following it, on a separate line by itself, should be a tilde.


Look Description

This is the paragraph describing the mob that you would see when you look at him. If the mob had the name "herman" and the look description of "Herman is a fat, ugly ogre. He stands here swatting flies, picking his nose, and wondering whether you would make a good lunch.", then when you type LOOK HERMAN, the MUD would display:

Herman is a fat, ugly ogre. He stands here swatting flies, picking his nose, and wondering whether you would make a good lunch.

The lines in the paragraph should be no more than 70-75 characters in length so line wrap problems don't occur. On a separate line following the paragraph should be a tilde.


Actions

These are flags that determine how the mob act. Does it stay in the same room, does it wander, is it aggressive and so on. Refer to the flag list for legal values which are used to define how a mob interacts with the world. If you use nothing out of the list, enter a 0.

Affects

Refer to the flag list for legal values which are used to define what things are affecting the mob. If you use nothing out of the list, enter a 0. To use multiple affects they values can be added together.


Alignment

This is a number between -1000 (super evil) and 1000 (super good). For a mob to register as either evil or good, the absolute value of the alignment must be at least 350. In general because TFC does not use levels of Good and Evil, use only the full value. -1000 for evil, 1000 for good. NOTE TO NATI - FIND Neutral...


Level

This is the level of the mob and must always be a positive number. Maximum level should generally be 50. Remember that mob levels differ from player levels, with a mob's level equating to a player's level some 3 to 10 player levels higher. Also remember that specfuns often cause a mob to be capable of fighting several levels above their own level. Consider these facts when designing mob levels with respect to your assigned/chosen area level range.


Sex

This number indicates if the mob is male(1), female(2), or an it(0).


Language

This is optional. Mobs can be set to speak a language. If none is set, they speak the universal god-tongue. Language has the format:


1

2 3


1: This is a L.

2: These are the languages a mob KNOWS. Refer to the flag list for values. Values can be added together for multiple languages. For example if the mob understands Elven, Gnomish and Common the value would be (4+8+1), 13.

3: This is the language that the mob prefers speaking. Refer to the flag list for values. Only ONE value is allowed - do NOT combine values in this field.

Animal Flag

This is optional. If the mob is a animal, put a single A on this line. If this is omitted, do NOT put in a blank line.


No-Wear Flag

This is optional. If the mob is not allowed to wear equipment, enter a N on this line. If this is omitted, do NOT put in a blank line. Most animals should receive this flag with dragons being a notable exception to that rule.


One Spell Special Function

This is optional and requires special permission to use. The spec_one_spell block sets the single spell a mob knows. To use a spec_one_spell in an area, the mob must have this block AS WELL AS an associated entry in the [[1]] section. If a mob is not receiving this specfun, do NOT put in blank lines. The block has the format:


1

23


1. This is the letter O.

2. This is the NAME of the spell being given to the mob.

3. This is a tilde. It must be on the same line as, and begin immediately after, the spell text with NO spaces.


Example of a Mobile

This example shows the #MOBILES block and 2 mobs.

#MOBILES
#4710
herman ogre~ 
Herman~ 
Herman stands here idly. 
~ 
Herman is a fat, ugly ogre. He stands here swatting flies, picking 
his nose, and wondering whether you would make a good lunch. 
~ 
96 0 -350 S 
21 0 0 0d0+0 0d0+0 
0 0 
8 8 1 
L 
256 256
#4711
funny bunny~ 
a funny little bunny~ 
A funny little bunny is here. 
~ 
Poor little thing looks a little worn out from being Natilena's test 
subject all the time.
~ 
132 0 1000 S 
5 0 0 0d0+0 0d0+0 
0 0 
8 8 1 
L 
32769 32768
O
rift~
#0