View Single Post
Old 06-22-2003, 05:37 PM   #1
sosojni
New Member
 
Join Date: Jun 2003
Posts: 1
sosojni is on a distinguished road
Unhappy

I downloaded circle 3.0, implemented OLC, removed all zones and classes, created few of my
own and changed spells and skills so they fit to SF mud.
Than one day i got this idea to create vehicles so people could drive in em.
I created new item type VEHICLE, room type NOVEHICLE and other room/item/char related
stuff.
Than i start to work on mount and dismount command and my first problem appeared.
This is problem:
I don't know how to put char on object. I wish that when you look in
room where character is on vehicle, you see something like:
"Razor is mounted upon the Honda CBR" and that u can look at Razor(char) and at
vehicle (honda cbr).
(I don't wish to see char and obj seperate like:
Razor is mounted upon the Honda
Honda is mounted by Razor)

I succeded to make mount command which do something like that. It puts
character into DRIVEING position, put the flag on him so it doesn't loose mv points,
change his look at room desc, but i had to remove vehicle from room.
As u see, in that situation u have char that's driveing but u can't look at vehicle
that he is driveing couse it isn't in room.
I know for code that puts obj_to_room, obj_to_char etc. and i tryed to change it
to something like char_on_obj but it's out of my reach for now.

So.....any kind of help would be helpfull. Maybe part of char_on_obj code or just
an idea how to make it....anything.

I do this just to parctice codeing (i don't have mud online and i will not), so if
i manage to make it working without of errors i will give code to whoever
want's it. It could be used for vehicles like cars in sf muds or charriots (i hope it's
spelled that way) in fantasy muds.
Well...that's all from me this time....i hope u can help.
sosojni is offline   Reply With Quote