Page 1 of 1
Portal Room Idea
Posted: Mon Jan 26, 2004 8:45 pm
by Ldap
How would i make a room that i could do goto and have it teleport me to a certain room? maybe like markus and other locations etc.. ive been off editing for a while and im not sure how to. My mud version is 1.11o
Thanks
Re: Portal Room Idea
Posted: Mon Jan 26, 2004 10:37 pm
by Kai Shadowbane
make a room tb that reacts to the "goto (location)" words, like temar eldanti opens the door to aged titan spells. then attatch a teleport spell to each "goto". simple enough.
Re: Portal Room Idea
Posted: Tue Jan 27, 2004 10:08 am
by syntax53
make a room tb that reacts to the "goto (location)" words, like temar eldanti opens the door to aged titan spells. then attatch a teleport spell to each "goto". simple enough.
temar eldanti is a remote action on a hidden exit, not a teleport. most "go path"'s are just text exits that refer to messages for commands. what you want is something like "touch altar" in the blood champ's room. check out map 7 room 1285.
map 7 room 1285 --
has a CMD Text assigned to it, textblock 216
textblock 216 --
touch altar:nomonsters 503:message 502:message 508:message 504:cast 214:teleport 1250 7
push altar:nomonsters 503:message 502:message 508:message 504:cast 214:teleport 1250 7
move altar:nomonsters 503:message 502:message 508:message 504:cast 214:teleport 1250 7
all of these lines do the same thing, just different commands for people to type. they type either "touch altar", "push altar", or "move altar", then it checks that there are no monsters (the 503 is the message to display if there are), then it displays three messages (502, 508, and 504), then casts a spell (214), and then teleports you.
Re: Portal Room Idea
Posted: Tue Jan 27, 2004 5:56 pm
by Kai Shadowbane
temar eldanti is a remote action on a hidden exit, not a teleport. most "go path"'s are just text exits that refer to messages for commands. what you want is something like "touch altar" in the blood champ's room. check out map 7 room 1285.
map 7 room 1285 --
has a CMD Text assigned to it, textblock 216
textblock 216 --
touch altar:nomonsters 503:message 502:message 508:message 504:cast 214:teleport 1250 7
push altar:nomonsters 503:message 502:message 508:message 504:cast 214:teleport 1250 7
move altar:nomonsters 503:message 502:message 508:message 504:cast 214:teleport 1250 7
all of these lines do the same thing, just different commands for people to type. they type either "touch altar", "push altar", or "move altar", then it checks that there are no monsters (the 503 is the message to display if there are), then it displays three messages (502, 508, and 504), then casts a spell (214), and then teleports you.
Used it as an example, not a specific, since I usually just make tport spells, that way I can tag them to other items later too :)
Re: Portal Room Idea
Posted: Tue Jan 27, 2004 6:03 pm
by syntax53
Used it as an example, not a specific, since I usually just make tport spells, that way I can tag them to other items later too :)
used it as an example of what? a remote action is setup nothing like a textblock action. him looking at the temar eldanti setup would have helped him in no way possible. i'm not trying to start shit.
Re: Portal Room Idea
Posted: Tue Jan 27, 2004 6:43 pm
by Kai Shadowbane
used it as an example of what? a remote action is setup nothing like a textblock action. him looking at the temar eldanti setup would have helped him in no way possible. i'm not trying to start shit.
I didn't use it as an example of code, I used it as an example of saying something in a room, and it doing something (anything).
Re: Portal Room Idea
Posted: Tue Jan 27, 2004 6:52 pm
by Sven
a dumbed down version would be to have a room that you can walk into, and from there you could have it exiting into the major areas, or do something black wasteland ish.
Another way is to make it like a healer, instead if just teleports you, like buy silveremere teleport, you would have to combine what syntax told you to do with the healer scripts though.
There are many different ways to do it depending on how you want it to work and how much effort you want to put into (or how good you want it to look).
Re: Portal Room Idea
Posted: Tue Jan 27, 2004 7:53 pm
by Kai Shadowbane
basically there are 3 ways to make "portals", either you tport through textblocks, tport through a spell, or you just connect the rooms quick and dirty like to make a hub where you just walk a direction and you're there.
Syntax listed a great textblock one, the walking one is pretty simple to figure out, and as for the spell, not too sure where, perhaps the grey lord stuff (but I think it's still tbs there too) too bad the jail set has a timer attatched, else that would be a good thing, course if it just attatches to the player, and not the cell, it'd be great for making an area where you're timed (say like a treasure dungeon, or a scripting dungeon)
Re: Portal Room Idea
Posted: Thu Jan 29, 2004 12:04 am
by Miles
Maybe he is talking about sys goto's?
The other ideas... work.
Re: Portal Room Idea
Posted: Thu Jan 29, 2004 6:40 am
by Kai Shadowbane
Maybe he is talking about sys goto's?
The other ideas... work.
ROCK, another pointless (and wrong post) from Miles.
Check the topic: Portal Room Idea
last time I checked, sys gotos weren't restricted on what room you're in when you use them