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


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

Powered by TMLOGS.




Building Guide

DOORS & DOOR KEYS

OLC: Down and Dirty in the MUD


REDIT & OEDIT
In REDIT you will be creating the doors and doorways.
You will also need to utilize OEDIT to create your door keys.

THE FIRST STEP
GOTO the room you want the door in. Make sure you have the right exit.
It's always a good idea to make the key before you make the door so you can put in all the door info at once. BECOMING A LOCKSMITH
Type: edit object create
example: edit object create 1000
this will create a single object without any specific attributes.
set the type to key
assign all the other information to the key object, and finish it. Make sure you note the vnum of the key because you will need it.
You can use the same key to lock / unlock several of the same doors in an area.
BUILDING YOUR DOOR
Type: door
example: north door closed
this will create a door in the north exit of the room that is closed. It will not be locked or have other characteristics at this point.
DOOR TYPES
Type: ? exit
this will bring up this list of attributes you can assign to a door
ddoor - normal door. it can be opened and closed. It will create a door in both rooms it adjoins.
closed - the door will always be closed. It can be opened but once opened it will close in a tic or so.
locked - the door will always be locked. It can be unlocked with the specified key but, will lock again once closed.
pickproof - this makes a locked door unable to be picked by using the picklock skill
nopass - the pass door spell will not enable the player/mob/pet to go through this door
easy - difficulty level of the lock to be picked
hard - difficulty level of the lock to be picked
infuriating - difficulty level of the lock to be picked
noclose - the door will never close
nolock - the door will never be able to be locked
STACKING & CHANGING DOOR TYPES
Type: door
example: north door closed
this will not only create the door and assign it closed, if typed again it will remove the door type. Removing all the door types will delete the door. Also, by using that syntax with different door types will add the attributes to your door.
example: north door ddoor
north door closed
north door locked
north door nopass
north door infuriating
this will create a door that is closed with a lock that is infuriatingly hard to pick and will not allow players/mobs/pets to use the pass door spell to circumvent it. Oops, what if we didn't want it to be nopass? To remove it type: north door nopass and this will remove the attribute. ROOM KEYS
Type: key
example: north key 1000
this will assign key vnum 1000 to unlock the north door in the room you are editing.
To delete a key, type: key 0
To change a key, type: key