Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
fisher1231
Beginner


Joined: 27 Sep 2004
Posts: 18

PostPosted: Wed Oct 06, 2004 12:53 pm   

How to script speedwalker to use the 'shuttle' in the mud...
 
I've been working at this one for a few days now and cant quit get it. It's a shuttle in the mud, basically like a train, I walk into the shuttle port, wait for the shuttle to arrive and then #STEP, i can get in the shuttle but nowhere from there. the shuttle makes 4 different stops PLUS the cargon city exit which is where I come from. Anyways, this is what the mud outputs to me:
Code:
>se
Cargon City shuttle station
   You are standing on the platform of the electromagnetic shuttle station. Above you hangs a sign which tells you that the shuttle service is running again, following the recent operational difficulties which cut off access to the other stations for so long.
   The way out is northwest to a slideway.

wait for the shuttle to arrive then it puts out
Code:

A canned voice announces, "The shuttle now arriving is for the Cargon Loop Line, calling at Nisrik, Harrington, Scargill and Hobbs End. Please allow disembarking passengers to get out before attempting to get in."
You can feel the overpressure as the shuttle rapidly decelerates into the station. As it halts the doors slide open and passengers rush out, elbowing those waiting to get in.

then once I'm in the shuttle it goes (i have to give an 'out' to depart at any one of the stations, and theres quite a pause between each one)
Code:

>in
Shuttle
   You are sitting in the carriage of the shuttle. Along each side of the carriage is benching, and in the middle is room for standing passengers.
{wait til shuttle takes off}
A sugar-coated female voice announces, "Please mind the closing doors, the shuttle is about to depart."
The doors close and there is a slight feeling of pressure as the shuttle accelerates out of the station.
An illuminated sign flickers into existence. "We are now arriving at Nisrik Mines. Please make sure you have all your belongings with you." The doors slide open revealing the platform at Nisrik Mine.
{wait til shuttle takes off}
A sugar-coated female voice announces, "Please mind the closing doors, the shuttle is about to depart."
The doors close and there is a slight feeling of pressure as the shuttle accelerates out of the station.
{wait til shuttle arrives}
An illuminated sign flickers into existence. "We are now arriving at Harrington Mine. Please make sure you have all your belongings with you." The doors slide open revealing the platform at Harrington Mine.
{wait til shuttle takes off}
A sugar-coated female voice announces, "Please mind the closing doors, the shuttle is about to depart."
The doors close and there is a slight feeling of pressure as the shuttle accelerates out of the station.
{wait til shuttle arrives}
An illuminated sign flickers into existence. "We are now arriving at Scargill Mines. Please make sure you have all your belongings with you." The doors slide open revealing the platform at Scargill Mine.
{wait til shuttle takes off}
A sugar-coated female voice announces, "Please mind the closing doors, the shuttle is about to depart."
The doors close and there is a slight feeling of pressure as the shuttle accelerates out of the station.
{wait til shuttle arrives}
An illuminated sign flickers into existence. "We are now arriving at Hobbs End Mine. Please make sure you have all your belongings with you." The doors slide open revealing the platform at Hobbs End Mine.
{wait til shuttle takes off}
A sugar-coated female voice announces, "Please mind the closing doors, the shuttle is about to depart."
The doors close and there is a slight feeling of pressure as the shuttle accelerates out of the station.
{wait til shuttle arrives}
An illuminated sign flickers into existence. "We are now arriving at Cargon City. Please make sure you have all your belongings with you." The doors slide open revealing the platform at Cargon City.

and we're back home. Anyone got any suggestions on how to work this one so i can speedwalk into the different areas here? All I need is one and I should be able to work the rest of them out just fine.
_________________
Johnny C Fisher
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Wed Oct 06, 2004 4:52 pm   
 
I don't know if you'll be able to do a speedwalk, but you can certainly automate the process.
#AL shuttle {#IF (%numparam() = 0) {#PICK {p:Pick a destination} {o:1} {*Cargon City:#VAR shuttle1 {Cargon City}} {Nisrik Mines:#VAR shuttle1 {Nisrik Mines}} {Harrington Mine:#VAR shuttle1 {Harrington Mine}} {Scargill Mines:#VAR shuttle1 {Scargill Mines}} {Hobbs End Mine:#VAR shuttle1 {Hobbs End Mine}}} {#VAR shuttle1 {%-1}};#T+ shuttle2}
#TR shuttle2 {A canned voice announces, ~"The shuttle now arriving} {on} {} {disable}
#COND {We are now arriving at @shuttle1} {off;#T- shuttle2}
_________________
LightBulb
Senior member

Most scripts in this forum are written for Command Line entry.
Don't even open the Settings Editor unless its use is specified or obvious.
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Wed Oct 06, 2004 9:46 pm   
 
First question, do you use the mapper? It makes a big difference.

If you are using the mapper create seperate rooms for each stop in the shuttle's route and connecting rooms for each station. Set each of these rooms to Pause on Speedwalk. Match the entrances to these rooms with appropiate "in" and "out" values, then link all the rooms on the route with emotes of some kind. Finally you place a trigger in the room script for each room on the route of "#TR {An illuminated sign flickers into existence.} {#STEP}". Finally your connecting rooms need triggers in the room scripts "#TR {You can feel the overpressure as the shuttle rapidly decelerates into the station.} {#STEP}"; and another for getting out of the shuttle, which you didn't provide information for.

If you are not using the mapper simply place the triggers I mentioned above into a class, and adjust your paths to include ';#PAUSE;#T+ shuttle class;.' in the middle where you enter the shuttle, with some emotes and more #PAUSEs to simulate the steps; and ';#T- shuttle class;.' where you exit the shuttle.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net