Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ SMAUG ➜ SMAUG coding ➜ The Obelisk

The Obelisk

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Garaelb   (54 posts)  Bio
Date Wed 16 Jul 2003 12:35 AM (UTC)
Message
I'm trying to make an object called an Obelisk. The purpose of the obelisk is that it would transport players to different areas in the game. I don't want the object to be moved or taken by the players as it is suppose to be about the size of Stonehenge. Each Obelisk should be able to connect to at least 3- 6 other Obelisks and eventually would allow a player to traverse the entire game world without using the primary roads as such. I've looked at the object type Portal but don't understand how to make it work the way I am trying to. Basically there would be one Obelisk in each major area of the game. The characters would walk (enter) into the obelisk and select a direction to be teleported to. Kind of like a (gasp) Star Gate.

Any ideas on how I would make this object?

Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #1 on Wed 16 Jul 2003 05:03 AM (UTC)
Message
One idea would be to have a room (which you would call the Obelisk) either on one side (eg. West --- "to the West is the obelisk"), or you might have to "enter obelisk".

Once in there a (hidden) mob might say "you can go to X Y or Z - please say your destination" - this could be triggered on an "enter prog".

Other mob progs (on the hidden mob) would then detect each possible destination and the mptransfer you to the appropriate room.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Rob Harper   (108 posts)  Bio
Date Reply #2 on Wed 16 Jul 2003 05:25 AM (UTC)
Message
Room progs bud all room progs, you can go about it two ways if you want them to be able to enter it set the room with the can enter flag and have it labled whatever you want to call it right, then set it up so they say where they want to go and they go there or you can just auto mptrans them. very very simple.
Top

Posted by Garaelb   (54 posts)  Bio
Date Reply #3 on Wed 16 Jul 2003 06:36 AM (UTC)
Message
Thanks. I'll try those for now. So what does the object_type Portal do then? How does it work?
Top

Posted by Meerclar   USA  (733 posts)  Bio
Date Reply #4 on Wed 16 Jul 2003 05:43 PM (UTC)
Message
The portal obj is typically used for gate style spells to create a temporary oneway portal between locations. We use them as permanent gateways from clan halls to various areas as well as a way to seperate our clans from their gold :)

Meerclar - Lord of Cats
Coder, Builder, and Tormenter of Mortals
Stormbringer: Rebirth
storm-bringer.org:4500
www.storm-bringer.org
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


15,104 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.