Chapter 5: Resets
Well here we are in the tricky section of
OLC...So you got your mobs and objects done eh?
congratulations! Now your ready for resets and I am telling you
these things are confusing...I will
do my best to explain these things...
For resets to be successful make sure that you add them in a
logical order. For example if you are
equiping a mobile don't load a container in the room and fill it
with some objects and then
continue equiping the mobile. It is likely that resets will
backfire if they are not carefully entered.
*NOTE you must be in the room you wish the mob and/or object
in...you do have to be in REDIT when making resets.*
How do I use these reset commands anyways?
You will need to get familiar with two commands....
Step 1.) reset
This command shows you the resets in the current room.
Step 2.) redit reset
This command will updates the rooms resets if you do it.
OBJECT RESETS
For a object to load in the room only...(objs not on a mob;
fountains...)
step 1.) ORESET Vnum
example: oreset 8600
This will load object of vnum 8600 into the room...BUT your
asking what if I want 3 of them in
the room...simply type it 3 times.
For a object to be loaded onto a MOB...
I bet you've been sitting back wondering what those extra
commands in the room editor
were...well guess what...Its time to use em.
step 1.) REDIT
This sets you in the room editor... YOU HAVE TO BE IN HERE
to use these special resets.
step 2.) Syntax: ORESET
This gets a bit complex....So I will try my best to explain this
step- by-step....bear with me...
Ok...lets say you want that object in the room...and you didn't
do it with the reset
command...which you should do too...just in case this don't work.
Here is what you would type:
syntax: oreset
example: oreset 8600
that is it...Now lets say that you want the object to load into
another object ...say you have gold
and a chest and you want the gold inside of the chest.... here is
how you do it...
syntax: oreset
example: oreset 8600 chest
In this example the vnum 8600 is the gold...and the chest is the
chest in the room ...
Now lets say you have an object and you want your mob to have
it....the object is a sword so he
needs to wield it...
syntax: ORESET Vnum MobName Wear Location
example: oreset 8600 puff wielded
Here is a list of all the wear_locations...for mobiles in resets:
none light lfinger rfinger
neck1 neck2 body head
legs feet hands arms
shield about waist lwrist
rwrist wielded hold wield2
*Note- that none flag is good if you want that object to be in
the MOBs inventory. Also make
sure that object is the same type as you are trying to load on
the mob for example if you have
coded a shield...don't place it on the head of the mob...*
MOBILE RESETS
This is probably the easiest part of resets...MOBS are really
easy to do...
step 1.) MRESET VNUM #
example: mreset 8600 1
This is quite easy to explain...your resetting 1 mob of vnum 8600
into the room and there can
only be a total of 1 in the world at any given time... so if you
want like 10 guards running around
you would place a 10 in number slot and a 10 in max
number...simple eh?
Deleting Resets
Ooops I don't want that reset in this Room...now what?
easy...delete it...here's how:
step 1) RESET DELETE
example: reset 1 delete
use that reset command to see what number the reset is and simply
type in that number you want
deleted...easy as that.
Hmm...looks like you graduated from Resets Now for the final
lesson...