MD-500D/SL Features

From
< MD-500D
Revision as of 19:06, 27 November 2026 by Kelly (talk | contribs)
Jump to: navigation, search
SECTION 12. SL Features

This section describes features of the MD-500D specific to its implementation in Second Life, including gestures, cockpit interaction, chat commands, and the use of macros and appliers to automate aircraft operations and customize aircraft appearance.

1 Gestures

1.1 Installing Gestures

1.2 Gesture Assignments

1.3 Custom Gestures

2 Switch and Control Operation

2.1 Two-Position Switches

2.2 Three-Position Switches

2.3 Rotary Switches

2.4 Mouselook Touch

3 Chat Commands

Chat commands may be issued on local chat or on channel /2973 for use in gestures.

3.1 Command Summary

The following table summarizes the chat commands available for the MD-500D. Commands that accept additional subcommands are described in subsequent sections.

Command Description
help / poh Get a link to the aircraft flight manual.
menu Post the main menu.
hud Get a copy of the flight HUD.
prehud Get a copy of the preflight HUD (upcoming feature).
checklist Bring out or stow the checklist.
cv / cv0 / cv1 / cv2 / cv3 Change camera view: toggle / cockpit / behind / overhead / underside.
mlt Toggle mouselook touch.
dc Close all doors.
cycen Center the cyclic.
pedcen Center the pedals.
fc / fc0 / fc1 / fc2 Fine control: toggle / off / fine / very fine.
qstart Perform a quick start, bypassing the normal engine start procedure.
qstop / stop Perform a quick shutdown, bypassing the normal engine shutdown procedure.
ec/n Set the throttle position to n percent (0–100). A setting of 10% corresponds to ground idle.
ec+ Increase throttle position by 10 percentage points.
ec- Decrease throttle position by 10 percentage points.
s switch-name Toggle the specified switch.
s1 switch-name Turn on the specified switch.
s0 switch-name Turn off the specified switch.
sn switch-name Set a rotary or multi-position switch to position n.
alt nn.nn Set the altimeter setting to nn.nn.
dg hdg Set the directional gyro to the specified heading.
com1 freq Set the COM1 radio frequency to freq.
com2 freq Set the COM2 radio frequency to freq.
nav cmd / nav1 cmd Execute a NAV radio command.
x cmd Execute a transponder command.
gps cmd Execute a GPS command.
w cmd Execute a cargo hook or long-line command.
wx cmd Execute a weather command.
exec name Execute a command macro notecard (macro:).
apply name Execute an applier macro notecard (apply:).

3.2 Throttle Commands

The throttle commands control the position of the engine twist grip. The percentage refers to throttle travel, not engine power or RPM. A throttle position of 10% corresponds to the normal ground idle position.

Command Description
ec/n Set throttle position to n percent (0–100).
ec+ Increase throttle position by 10 percentage points.
ec- Decrease throttle position by 10 percentage points.
ec/0 Set throttle to fuel cutoff.
ec/10 Set throttle to ground idle.
ec/100 Set throttle to fully open.

3.3 Transponder Commands

3.4 NAV Radio Commands

3.5 GPS Commands

Command Description
gps new Delete all waypoints.
gps route wp1 wp2 ... wpn Set a full route as a sequence of waypoints.
gps save label Save the current route to the server.
gps load label Load a route from the server.

3.6 Cargo Hook Commands

3.7 Weather Commands

Refer to The SL Helicopter Flying Handbook - Weather for static weather chat commands.

4 Macros and Appliers

Macros and appliers can be used to execute fixed sequences of commands. The commands are written in notecards with specific prefixes, "*apply:" for appliers, and "*macro:" for macros. Both types of notecards are functionally equivalent and differ only in the command used to invoke them and their intended use. Appliers are intended to set textures and otherwise modify the visual appearance of the aircraft, while macros are intended to activate switches and controls to put the aircraft into a desired state.

4.1 Invoking

To invoke an applier, use the command:

apply seats-white

This will look for the notecard "*apply:seats-white" in the aircraft inventory and execute commands from it. Similarly, use the command:

exec auto

to invoke commands from the notecard "*macro:auto".

4.2 Commands

Command Description
PUSH asgns Executes a list of ; separated assignments.
APPLY prim:face:type=uuid Sets the type on the specified prim and face to the specified uuid. type can be one of diff/norm/spec for the Diffuse, Normal or Specular of legacy materials, or 'mat' for the PBR material.
MESG mesg Displays the message mesg to the flight crew only.
SAY mesg Displays the message mesg on local chat.
XPDR xpdr-cmd Enters a transponder code, or executes a specific transponder command.
SLEEP seconds Sleeps for the specified number of seconds.
CMD command Executes command as if it were a command typed in local chat.
ONFAIL asgns | mesg Sets a behavior to execute when a REQUIRE command fails. asgns is a list of assignments to perform, and mesg is a message to display to the pilot.
REQUIRE cond | fail-mesg Tests to see if the condition cond is true. If not, the message fail-mesg is displayed to the crew and the commands configured by the ONFAIL command are executed before the macro is terminated.
4.2.1 APPLY

The following example applies a set of legacy and PBR materials to the pilot's seat:

SAY Applying white seat textures.....
APPLY pilot-seat:0:diff=eeac5299-5b1a-c5f0-4b5d-c9a41cf69324
APPLY pilot-seat:0:norm=1a28b8df-1aad-a7d0-e35a-1bf4c7b95dbe
APPLY pilot-seat:0:spec=f242948b-59b8-6f9d-becf-6141579423eb
APPLY pilot-seat:0:mat=489bb016-aaed-41e9-98e2-b39b0ba1c722