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: Tue Sep 28, 2004 10:23 pm   

Putting in a wait (for airlock) before continuing on #WALK
 
ok my mud has airlocks in white you walk into the exterior side press touchpad, then wait a few secs and it puts you onto the other side, is it possible to do this with room or walk scripts on the mapper? this is the mud output from one side, button press, and the other side
Code:

Exterior Airlock to Colony
   Maintenance droids are repairing the wall surrounding the airlock where the gray hardened plazsteel structural beams have apparently succumbed to the stresses of particle bombardment and constant use.  A touchpad at the side of the airlock glows softly indicating it is operational. The sign next to it displays instructions.
   Underfoot the ever-present rock dust is trampled almost level by the constant traffic through the airlock. Distinct patterns of footprints in the dust along the perimeter of the dome lead north. In the distance you can see the lights of another dome complex.
   The main road rises to the west leading to the shuttle port.
You can see a touchpad and a sign.
>press touchpad
You touch the pad and the portal opens to admit you. You step into it and the outside iris closes behind you.
Airlock
   The small dimensions of the airlock are obviously meant only for beings class 9 or lower to pass into and out of the colony dome. Touchplates by the irises provide access.
A sign tells you to wait while the pressure equalizes.

<waiting 3 secs here>
Code:

The wait sign blinks out and the inner iris dilates, allowing you to enter the colony.
Interior Airlock
   A personnel grade airlock is set into the glazsteel dome wall here. To the east is the reception area of the colony. A touchpad glows softly beside the airlock indicating it is operational, the sign next to it displays instructions.
   Clusters of planters nearby are filled with a carefully tended assortment of exotic spaceblooms. The inkigo is in bloom, its three green lattice-textured, oval-shaped cylinders arranged equiangularly around a shiny, dark green coroot. The intoxicating sweet scent fills the area. Someone has crudely scrawled across the largest planter, "look for the union label!"
You can see a touchpad and a sign.



Thanks
_________________
Johnny C Fisher
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5187

PostPosted: Wed Sep 29, 2004 1:49 am   
 
The easiest way to do this is with a room that matches the Airlock. This room should have the Pause during speedwalk flag set for it. By setting the exits into the room to 'press touchpad' you will automatically walk in and pause. Then you set the exits out to things like 'emote takes a deep breath of stale air.' and 'emote fogs the mask of his suit.' This give something for the mapper to register direction from. Finally you place "#ALARM +2.5 {#STEP}" into the room script for the airlock. Now it preforms the emote after 2 and half seconds then wait for the other room. Depending on you muds behavior this may be too early or too late. To keep the mapper in sync you have to preform the emote before the mud expires the 3 second delay, but if you are using fast mode walking and the mud eats commands while it is delaying you then it might be too early.

Other tweaks, if the mud eats commands, would be to set both surrounding rooms to pause during speedwalk then in the Walk script of those rooms to "#STEP" This would then allow the mud to eat those emotes (or you could make them anything else at that point), but further directions wouldn't actually be sent until it was confirmed that you arrived on the other side of the airlock.

The best solution really depends on what mode of speedwalking you use, and how the mud behaves during that delay.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
fisher1231
Beginner


Joined: 27 Sep 2004
Posts: 18

PostPosted: Thu Sep 30, 2004 1:01 am   
 
ha, i tried doing everything in the first paragraph there and the mapper didnt move me out of the airlock room, but after putting the #STEP in the ROOM script and not the WALK script as said above, it works perfect, thank you so much!
_________________
Johnny C Fisher
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