Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
Development
Nov 28, 2018, 10:10 am
By Keirath
First Immortal
Oct 12, 2018, 12:02 pm
By GatewaySysop
Bug in do_climb( )
Jun 5, 2018, 5:31 pm
By joeyfogas
question on overland code
May 31, 2018, 10:03 am
By joeyfogas
KaVir's Protocol Snip
May 15, 2018, 7:57 pm
By joeyfogas
tintin++ ogg sound player script for linux
Author: Robert Smith
Submitted by: Vladaar
6Dragons ogg Soundpack
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.4
Author: Vladaar
Submitted by: Vladaar
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
Users Online
CommonCrawl, IgnacioBol

Members: 1
Guests: 21
Stats
Files
Topics
Posts
Members
Newest Member
481
3,740
19,397
638
IgnacioBol
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » Codebases » SWFOTE FUSS » Object Creation / Editing
Forum Rules | Mark all | Recent Posts

Object Creation / Editing
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 May 2, 2011, 6:26 am
Go to the top of the page
Go to the bottom of the page

Gage
Fledgling
GroupMembers
Posts17
JoinedMay 2, 2011

Objects are a very important part of your mud. While not as important as rooms or mobs, it is still crucial to have good objects so that you dont overbalance the game or make people become bored quickly. But remember, entertainment is paramount. If people arent entertained, you have failed your job as a builder. Here is the syntax to create an object:
Ocreate <obj vnum> [copy vnum] <Obj Name>

This should look like "Ocreate 73926 A yellow tooth". It could also look like, if you were going to copy the statistics of one mob to this one, "Ocreate 73296 73295 A yellow tooth". This will create an edit for you to edit using the oset command, which leads us onto our next topic...

Setting the Object

Here is the command you will need the most when creating objects. Again, become very familiar with it and all its functions, you will need to if you want to build good objects. Here I will show you the listing of oset commands and what they do.

OSET TABLE
Long 		<long description> This is the long description. i.e."An axe lies on the floor."
Wear 		<where you would wear the item, e.g. take, wield> <extra flag>
Name 		<Keywords of mob, e.g a wood stick would be Wood Stick>
Short 		<Short description of a object, e.g. A Gold Ring>
*Flags 		<Flags on the object, very important command.>
Desc 		<description of the object, not used often but sometimes is necessary>
Weight 		<Weight of the object, usually 1 - 30 or so>
Cost 		<cost of the object if the object was to be sold byor to a shopkeeper>
Type 		<The Type of object, i.e. weapon, armor, pill, etc.>
Value<0-5> 	<value flag on the item, read help itemvalues onmud.>
ed 		<keyword> This puts you into a buffer for an extra description.
rmed 		<keyword> Removes extra description
layers 		<layer number> This is for layers on armor, such as 2 layers of feet eq.
affect 		<affect spell> This is to add an affect to the object when worn, i.e. shield
rmaffect 	<spell> Removes an affect from the eq
actiondesc 	<Actiondesc> This will make the eq show a special output to the room when worn.
rent 		<number> Cost to rent eq. Not used in SWR base.
timer 		<number> Number of ticks until the object rots away

* NOTE: The flags command is very important, specifically the prototype flag. This flag defines whether the object is "index" or "original". If you edit an index or prototype object, it will affect all the other objects in the game. If the object you edit does not have the prototype flag on it, then when you edit it it will be the only one affected.
       
Pages:<< prev 1 next >>