Home
PLAY
Donations
Wholist
Clans
Immortals
Stories
Directions
Snippets
Building Guide
Sacred Codebase
Forum


TML can be found at:
www.mageslair.net:7060

Powered by TMLOGS.




Building Guide

ROOM AND AREA

OLC: Down and Dirty in the MUD

REDIT
REDIT stands for 'room editing.' It will be your most used editing mode.
By typing redit at your prompt you will be brought into the OLC editor that modifies the room specifications. There are several different specs that can be adjusted to create unique environments.

Type: show or just hit return and you will see the attributes assigned to that room.

CREATING A ROM

Type: edit room create
example: edit room create 1000
this will create a single room without any exits.

CREATING MORE ROOMS
Type: dig
example: north dig 1001
this will create a room north of the room you were just in with a two way exit.

LINKING EXISTING ROOMS
Type: link
example: north link 1002
this will link an already existing room ( the vnum specified) to the room you are in

ONE WAY EXITS
Type: room
example: north room 1002
this will create a one way link north from the room you are in to an already existing room (the vnum specified). This is great for no-exit rooms, mazes and traps.

ROOM NAMES
Type: name or n
example: n The Grand Ballroom
this will assign or change the room name to The Grand Ballroom

ROOM DESCRIPTIONS
Type: desc or description
this will enter you into the description editor. Type in your description. Hit return when you are finished with a line. Don't worry about making the lines perfect because you can format them within the editor.
To use editor commands, you must enter the following codes separately on a blank line.
the commonly used editor commands are:
.h - shows you the available editor commands
.f  - formats the description typed in the editor
.s - shows the description that has been typed in the editor as it will appear within the room.
.r 'misspelled' 'corrected'  - this allows you to change misspelled words, four example, if in the editor you could change the misspelled four in the sentence above to for by typing on a blank line: .r 'four' 'for'
this will change four to for.
@ - exits the editor

ROOM ATTRIBUTES
typing ? room within REDIT will bring up a list of these attributes.. this is what they mean.
dark - players to need light sources in order to see in the room
legend - legend characters only
no_mob - mobiles, charmies and pets can not enter this room
indoors - flags a room indoors. You will not see weather or time of day changes. Also certain spells will not be effective indoors like, weather based spells or forage. It is usually partnered with the SECTOR flag indoors. See SECTOR below for more info.
private - no more than 2 players, mobs, charmies or pets can be in a private room at one time.
safe - combat can not take place
solitary - only one character, mob, charmie or pet can be in this room at one time
pet_shop - allows a room to be used as a pet shop. There are other needs to make a pet shop and these can be found in the shops section of this site
no_recall - disables the ability recall in this room
imp_only - implementors only
gods_only - immortals only
heroes_only - hero characters only
newbies_only - only level 1 - 5 characters can occupy this type of room
law - law means that wanted/criminal flags will be effective in this type of room.
nowhere - the where command will not work in these rooms causing players to effectively be invisible. Hunt and stalk will not work if the target player is within a nowhere room.
no_scan - players and mobs will not show up on scan
bank - this allows this room to be used as a bank. There are other stipulations to creating a bank and they are covered within the shops page of this site.
no_shadow - shadow and shadow related spells will not function

In order to flag a room with any one or a multiple of these attributes, you must use this syntax within redit in the room you want to work with.
type the flag name using the exact form it is listed as in the ? room list. hit return. To remove a room flag, do the same thing. By typing the room flag name you can toggle it on or off.
to use multiple flags in a room, type each of the room attributes at a separate prompt like:
indoors
dark
no_mob
this will create a room that is indoors, dark and will not allow mobs, charmies or pets to enter it.

SECTOR ATTRIBUTES
typing ? sector within REDIT will bring up a list of these attributes.. this is what they mean.
inside - usually partnered with the indoors ROOM flag it disables the weather and time of day messages. Inside is also used for underground areas like caves, caverns, sewers and the like
city - sets the environment to city so that cityguards and laws will function
field - a field, meadow or pasture type of area
forest - designates a room as a forest
hills - designates a room as an area with hills
mountain - used to assign a room as a mountain or mountainous region
swim - if swim is a skill that can be utilized it will require players and mobs to use this skill when in a room with this sector flag. If swim is not a skill in place on the mud, the flag will be ineffective and the player can enter the room unaided.
noswim - used for a watery area, it allows players to navigate rooms with this sector type without the need for the swim skill however,  a boat is required in order to enter this type of room.
unused - this flag does absolutely nothing except allows no specific sector to be set. Don't use this attribute.
air - requires that players and mobs be affected with the fly ability or spell in order to enter this type of room.
desert - designates the room as a desert area.

The sector flags also affect player and pet movement. Some require more movement and some less. Typically the wilderness sector types (forest, hill, desert etc..) require more
In order to flag a room with one of these sector attributes, you must use this syntax within redit, in the room you want to work with.
type the sector name using the exact form it is listed as in the ? sector list. hit return. The sector portion of REDIT can not be left blank and a room can only be one sector type. Therefore, if you need to change the sector type do so by changing it to a different sector.

REDIT BELLS AND WHISTLES

SAVING YOUR WORK
Type: asave changed asave area
by doing this you are saving your work. Feel free to type asave changed FREQUENTLY! while working on an area. Many builders have lost lots of hours of work because they didn't save.

DELETING ROOMS
rooms can not be deleted. They can however, be unlinked and linked somewhere else.
Type: delete
example: north delete
this will delete the north exit out of this room (and the south exit that was in the north room if it was a two way exit)

OLIST, MLIST and RLIST
Type: mlist all   will show you a list of all the mobiles in the area you are editing
         olist all   will show you a list of all the objects in the area you are editing
         rlist all   will show you a list of all the rooms in the area you are editing

EXITING REDIT
Type: done
always always always save your area before you exit the editor!!