look on the snippets page.. there is a autoexit snippet on there for the north#.. also, for hidden doors, just do the same thing, after the for().. do a "if (!IS_SET(EXIT(ch, dir)->exit_info, EX_SECRET).. or something like that, then go in db.c, and copy the close door thing, except make it set as secret, then go in act.movement.c, and search for Alas, you cannot go that way... and above that there is an if.. put a || IS_SET(.... secret)... then.. if you want to add in olc, put in zedit.c, not redit.c.. cuz' the exit info.. <1) closeable, 2) pickproof.. > need to be either set.. if you put hidden in there , you won't be able to open the door, <I found out the hard way..> anyways, if you have any problems.. mail me.. <snippet page I referred to is "http://www.cspo.queensu.ca/~fletcher/Circle/Snippet" enjoy Nashak Brian Williams The Realms of Luminari nashak@darkstr.com bmw@efn.org darkstr.com 6969 On Thu, 22 Aug 1996, Alex wrote: > Was wondering if anyone knows of a convinient way to have exits show up > when you enter a room like was mentioned on here a while ago.... > > <roomdesc> > North# East... where the # indicates a closed exit. > > I'd like to see that work more or less like that, and likewise with Exits... > North# - An Iron gate > East - A hallway > > These two seem relatively easy to pull off, (I'll know once I bother to go > and look at the code. :) but what I wanted to do that the stock Circle > doesn't seem to support very well is be able to define some exits as > secret. So that if we had a third exit going south, it would not show up on > autoexits or exits, and furthermore, if you went south, you would not see, > "The secret door is closed," you'd get the "Oof, you can't go that way" > msg. > > The part that's got me really befuddled is how to code the secret door flag in. > > Suggestions? > > -sno > > + + + + + + + + + + + ____ ___ ___ + + + + + + + + + + + > + James Snow + /',__\ / '_ `\ / __`\ + Tai Moro! + > + + + + + + + + + + +/\__, `\/\ \/\ \/\ \L\ \+ + + + + + + + + + + > + sno@mindvox.com +\/\____/\ \_\ \_\ \____/+ I Will Not Serve! + > + + + + + + + + + + + \/___/ \/_/\/_/\/___/ + + + + + + + + + + + > > > > +-----------------------------------------------------------+ > | Ensure that you have read the CircleMUD Mailing List FAQ: | > | http://cspo.queensu.ca/~fletcher/Circle/list_faq.html | > +-----------------------------------------------------------+ > +-----------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://cspo.queensu.ca/~fletcher/Circle/list_faq.html | +-----------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/07/00 PST