OpenQTVRMovieFile
Use the specified QTVR movie file. A command line has this format:
[Options are not yet defined.]
OpenQTVRMovieFile Options Name
-----------------------------------------------------
OpenQTVRMovieFile 0 WWDC#Demo
ReplaceMainMovie
Open the specified QuickTime movie in place of the current one. A command line has this format:
[Overlay: 0 == keep current window size; 1 == use new movie's size for window]
[NameType: 0 == full pathname; 1 == relative pathname; 2 == full URL; 3 == relative URL]
[Options are not yet defined.]
ReplaceMainMovie Overlay NameType Options Name
----------------------------------------------------------------------------------------
ReplaceMainMovie 0 0 0 WWDC#Demo
SetCurrentDirectory
Set the directory to be searched for content files. A command line has this format:
[Options are not yet defined.]
Note: the Pathname should be the pathname of *a file* in the desired directory.
SetCurrentDirectory Options Pathname
----------------------------------------------------------------------
SetCurrentDirectory 0 MyHardDisk:ResourceDir:FOO
SetBarState
Show or hide the controller bar. A command line has this format:
[State: 0 == hide; 1 == show; 2 == toggle current state]
[Options are not yet defined.]
SetBarState State Options
----------------------------------------------------------------------
SetBarState 1 0
SetButtonState
Show or hide a button (or display text) in the controller bar. A command line has this format:
[Button:
0 == the QuickTime step buttons (not supported by QTVR);
1 == the speaker button;
2 == the go-back button;
3 == the zoom buttons;
4 == the show hot spots button;
5 == the translate button;
6 == the help text;
7 == the hot spot names]
[State: 0 == hide; 1 == show; 2 == toggle current state]
[Options are not yet defined.]
SetButtonState Button State Options
----------------------------------------------------------------------
SetButtonState 1 0 0
SetResizeState
Enable or disable window resizing. A command line has this format:
[State: 0 == disable; 1 == enable; 2 == toggle current state]
[Options are not yet defined.]
SetResizeState State Options
----------------------------------------------------------------------
SetResizeState 0 0
SetWindowSize
Set the current size of a movie window. A command line has this format:
[Height and width are in pixels.]
[Options are not yet defined.]
SetWindowSize Height Width Options
----------------------------------------------------------------------
SetWindowSize 100 200 0
SetMaxWindowSize
Set the maximum size of a movie window. A command line has this format:
[Height and width are in pixels.]
[Options are not yet defined.]
SetMaxWindowSize Height Width Options
----------------------------------------------------------------------
SetMaxWindowSize 0 0 0
ReplaceCursor
Replace one cursor by another. A command line has this format:
[Options == type of cursor to replace:
0 == restore default cursor;
1 == black and white cursor;
2 == color cursor]
ReplaceCursor PrevID NewID Options
----------------------------------------------------------------------
ReplaceCursor -19687 19687 0
SetHotSpotIDCursors
Replace the triad of cursors for a hot spot specified by its ID. A command line has this format:
[Options are not yet defined.]
SetHotSpotIDCursors NodeID HotSpotID Crsr1ID Crsr2ID Crsr3ID Options
------------------------------------------------------------------ ----------------------------------------
SetHotSpotIDCursors -1 50 128 129 130
SetHotSpotTypeCursors
Replace the triad of cursors for all hot spots of a specified type. A command line has this format:
[Options are not yet defined.]
SetHotSpotTypeCursors NodeID HotSpotID Crsr1ID Crsr2ID Crsr3ID Options
------------------------------------------------------------------ ----------------------------------------
SetHotSpotTypeCursors -1 undf 128 129 130 0
GoToNodeID
Go to the specified node. A command line has this format:
[Options are not yet defined.]
GoToNodeID NodeID Options
----------------------------------------------------------------------
GoToNodeID 1 0
ShowDefaultView
Display the default view of the current node. A command line has this format:
[Options are not yet defined.]
ShowDefaultView Options
----------------------------------------------------------------------
ShowDefaultView 0
OpenResourceFile
Use the specified resource file. A command line has this format:
[Options are not yet defined.]
OpenResourceFile Options Name
----------------------------------------------------------------------
OpenResourceFile 0 myPICTResources
OpenResourceFile 0 mySoundResources
OpenResourceFile 0 StudioSounds
SetCorrection
Use the specified imaging correction mode. A command line has this format:
[Mode is the correction mode (see VRPWQTVR2.0 p. 1-41).]
[Options is the imaging mode (see VRPWQTVR2.0 p. 1-42).]
SetCorrection Mode Options
----------------------------------------------------------------------
SetCorrection 2 100
SetQuality
Use the specified image quality. A command line has this format:
[Quality is the image quality (see VRPWQTVR2.0 p. 1-44):]
[high == 1023; normal == 512; low == 0]
[Options is the imaging mode (see VRPWQTVR2.0 p. 1-42).]
SetQuality Quality Options
----------------------------------------------------------------------
SetQuality 1023 100
SetSwingSpeed
Use the specified swing transition speed. A command line has this format:
[Speed is the swing speed: 1 == slow; 10 == fast]
[Options are not yet defined.]
SetSwingSpeed Speed Options
----------------------------------------------------------------------
SetSwingSpeed 5 0
SetSwingDirection
Use the specified swing transition direction. A command line has this format:
[Dir is the swing direction (see VRPWQTVR2.0 p. 1-58).]
[Options are not yet defined.]
SetSwingDirection Dir Options
----------------------------------------------------------------------
SetSwingDirection 0 0
SetSwingState
Enable or disable swing transitions for the current node. A command line has this format:
[State: 0 == disable; 1 == enable]
[Options are not yet defined.]
SetSwingState State Options
----------------------------------------------------------------------
SetSwingState 1 0
SetPanAngle
Set the pan angle. A command line has this format:
[Options: 0 == angle is absolute; 1 == angle is relative]
SetPanAngle Pan Options
----------------------------------------------------------------------
SetPanAngle 90.0 0
SetTiltAngle
Set the tilt angle. A command line has this format:
[Options: 0 == angle is absolute; 1 == angle is relative]
SetTiltAngle Tilt Options
----------------------------------------------------------------------
SetTiltAngle 0.0 0
SetPanTiltZoom
Set the pan, tilt and zoom angles. A command line has this format:
[Mode: 0 == jump transition; 1 == swing transition; 2 == blocking swing transition]
[Options: 0 == angles are absolute; 1 == angles are relative]
SetPanTiltZoom Pan Tilt Zoom Mode Options
-------------------------------------------------- --------------------------------
SetPanTiltZoom 0.0 0.0 0.0 0 0
SetFieldOfView
Set the field of view angle. A command line has this format:
[Options: 0 == angle is absolute; 1 == angle is relative]
SetFieldOfView FOV Options
----------------------------------------------------------------------
SetFieldOfView 30.0 0
SetViewCenter
Set the view center. A command line has this format:
[Options are not yet defined.]
SetViewCenter xCoord yCoord Options
----------------------------------------------------------------------
SetViewCenter 45 22 0
SetPanLimits
Set the current pan angle constraints. A command line has this format:
[Options: 0 == angle is absolute; 1 == angle is relative]
SetPanLimits Min Max Options
----------------------------------------------------------------------
SetPanLimits 0.0 180.0 0
SetPanLimits 0.0 90.0 1
SetTiltLimits
Set the current tilt angle constraints. A command line has this format:
[Options: 0 == angle is absolute; 1 == angle is relative]
SetTiltLimits Min Max Options
----------------------------------------------------------------------
SetTiltLimits -25.0 25.0 0
SetZoomLimits
Set the current filed of view angle constraints. A command line has this format:
[Options: 0 == angle is absolute; 1 == angle is relative]
SetZoomLimits Min Max Options
----------------------------------------------------------------------
SetZoomLimits 1.0 90.0 0
SetHotSpotState
Set the state of a hot spot. A command line has this format:
[State: 0 == disable; 1 == enable]
[Options are the hot spot enable flags (see VRPWQTVR2.0 p. 1-50).]
SetHotSpotState HotSpotID State Options
----------------------------------------------------------------------
SetHotSpotState 50 1 0
SetTranslateState
Set the state of object translation. A command line has this format:
[State: 0 == disable; 1 == enable]
[Options are not yet defined.]
SetTranslateState State Options
----------------------------------------------------------------------
SetTranslateState 0 0
SetClickRadius
Set the radius within which clicks occur (the mouse-click hysteresis). A command line has this
format:
[Options are not yet defined.]
SetClickRadius Radius Options
----------------------------------------------------------------------
SetClickRadius 2 0
SetClickTimeout
Set the timeout for clicks. A command line has this format:
[Options are not yet defined.]
SetClickTimeout Ticks Options
----------------------------------------------------------------------
SetClickTimeout 10 0
SetPanTiltSpeed
Set the pan and tilt speed. A command line has this format:
[Options are not yet defined.]
SetPanTiltSpeed Speed Options
----------------------------------------------------------------------
SetPanTiltSpeed 5 0
SetZoomSpeed
Set the zoom speed. A command line has this format:
[Options are not yet defined.]
SetZoomSpeed Speed Options
----------------------------------------------------------------------
SetZoomSpeed 10 0
SetMouseScale
Set the mouse-motion scale. A command line has this format:
[Options are not yet defined.]
SetMouseScale Scale Options
----------------------------------------------------------------------
SetMouseScale 90.0 0
SetFrameRate
Set the frame rate of an object node. A command line has this format:
[Options: 0 == rate is absolute; 1 == rate is relative]
SetFrameRate Rate Options
----------------------------------------------------------------------
SetFrameRate 50.0 0
SetViewRate
Set the view rate of an object node. A command line has this format:
[Options: 0 == rate is absolute; 1 == rate is relative]
SetViewRate Rate Options
----------------------------------------------------------------------
SetViewRate 50.0 0
SetViewTime
Set the current view time of an object node. A command line has this format:
[Options: 0 == time is absolute; 1 == time is relative]
SetViewTime Time Options
----------------------------------------------------------------------
SetViewTime 50.0 0
SetViewState
Set the current view state of an object node. A command line has this format:
[Options are not yet defined.]
SetViewState Type State Options
----------------------------------------------------------------------
SetViewState 0 0 0
SetAnimationState
Set the animation state of an object node. A command line has this format:
[Options are not yet defined.]
SetAnimationState Setting State Options
----------------------------------------------------------------------
SetAnimationState 0 0 0
SetControlState
Set the control state of an object node. A command line has this format:
[Options are not yet defined.]
SetControlState Setting State Options
----------------------------------------------------------------------
SetControlState 0 0 0
SetFrameAnimState
Enable or disable frame animation in an object node. A command line has this format:
[Options are not yet defined.]
SetFrameAnimState State Options
----------------------------------------------------------------------
SetFrameAnimState 0 0
SetViewAnimState
Enable or disable view animation in an object node. A command line has this format:
[Options are not yet defined.]
SetViewAnimState State Options
----------------------------------------------------------------------
SetViewAnimState 0 0
SetQTVRVisState
Enable or disable QTVR movie visibility. A command line has this format:
[Options are not yet defined.]
SetQTVRVisState State Options
----------------------------------------------------------------------
SetQTVRVisState 0 0
SetCachePrefs
Set the back buffer resolution, depth, and size. A command line has this format:
[Options are not yet defined.]
SetCachePrefs Resolution Depth Size Options
----------------------------------------------------------------------
SetCachePrefs 1 32 1 0
SetMovieVolume
Set the volume of a QTVR sound track. A command line has this format:
[Options are not yet defined.]
SetMovieVolume Volume Options
----------------------------------------------------------------------
SetMovieVolume 0 0
SetTrackVolume
Set the volume of a QuickTime sound track. A command line has this format:
[ObjID: the object ID of the movie that contains the sound track]
[Volume: an integer between 0 and 256]
[Index: the track's index]
[if Options == 0, value is absolute; if Options == 1, value is relative]
SetTrackVolume ObjID Volume Index Options
-------------- --------------------------------------------------------
SetTrackVolume 100 256 1 0
SetSoundVolume
Set the volume of a sound. A command line has this format:
[Volume: an integer between 0 and 256]
[Options are not yet defined.]
SetSoundVolume ObjID Volume Options
----------------------------------------------------------------------
SetSoundVolume 100 0 0
SetSoundBalance
Set the balance of a sound. A command line has this format:
[Options are not yet defined.]
SetSoundBalance ObjID Left% Right% Options
----------------------------------------------------------------------
SetSoundBalance 100 0 0 0
SetMatte
Set the matte for a node. A command line has this format:
[Options are not yet defined.]
SetMatte Options File
----------------------------------------------------------------------
Set Matte 0 myMatteFile
PlaySceneSound
Play a movie-wide ambient resource sound asynchronously.
[Mode: 0 == loop; 1 == once]
[Fade: Do we fade out gradually when stopping sounds?]
[Options: 0 == play entire sound now (whether or not it's already playing)
1 == restart sound;
2 == toggle current state;
3 == start sound if not playing, otherwise ignore;
4 == stop sound]
PlaySceneSound ResID ObjID Mode Fade Options
----------------------------------------------------------------------
PlaySceneSound 25876 144 1 0 0
PlaySceneQTMidi
Play a movie-wide ambient QuickTime sound-only file asynchronously.
[Mode: 0 == loop; 1 == once]
[Fade: Do we fade out gradually when stopping sounds? NOT YET SUPPORTED]
[Options: 0 == play entire sound now (whether or not it's already playing)
1 == restart sound;
2 == toggle current state;
3 == start sound if not playing, otherwise ignore;
4 == stop sound]
PlaySceneQTMidi ObjID Local xCoord yCoord zCoord ProjAngle Mode Fade Options file
---------------------------------------------------------------------------------------------------------------------
PlaySceneQTMidi 144 1 1.0 0.0 0.0 180.0 0 2 0 ROCKET.MOV
PlayNodeQTMidi
Play a QuickTime sound-only file in a particular node. A command line has this format:
[Mode: 0 == loop; 1 == once]
[Fade: Do we fade out gradually when stopping sounds? NOT YET SUPPORTED]
[Options: 0 == play entire sound now (whether or not it's already playing)
1 == restart sound;
2 == toggle current state;
3 == start sound if not playing, otherwise ignore;
4 == stop sound]
PlayNodeQTMidi NodeID ObjID MaxTimes Local xCoord yCoord zCoord ojAngle Mode Fade Options File
------------------------------------------------------------------ ----------------------------------------
PlayNodeQTMidi 12 144 -1 1 1.0 0 0.0 180.0 0 0 0 ROCKET.MOV
PlayNodeSound
Play a sound in a particular node. A command line has this format:
[Mode: 0 == loop; 1 == once]
[Fade: Do we fade out gradually when stopping sounds?]
[Options: 0 == play entire sound now (whether or not it's already playing);
1 == restart sound;
2 == toggle current state;
3 == start sound if not playing, otherwise ignore]
PlayNodeSound ResID NodeID ObjID MaxTimes Mode Fade Options
---------------------------------------------------------------------------------
PlayNodeSound 128 1 100 -1 1 1 2
PlayNode3DSound
Play a 3D sound in a particular node. A command line has this format:
[SMode: 0 == unfiltered; 1 == localized; 2 == ambient; 3 == binaural]
[Mode: 0 == loop; 1 == once]
[Fade: Do we fade out gradually when stopping sounds?]
[Options: 0 == play entire sound now (whether or not it's already playing);
1 == restart sound;
2 == toggle current state;
3 == start sound if not playing, otherwise ignore;
4 == stop sound]
PlayNode3DSound ResID NodeID ObjID xCoord yCoord zCoord ProjAngle MaxTimes Mode Fade Options
----------------------------------------------------- ----------------------------------------
PlayNode3DSound 28 1 2 1.0 0.0 0.0 0 1 -1 1 1
HotSpotQTMidi
Play a QuickTime sound-only file when a hot spot is clicked. A command line has this format:
[Mode: 0 == loop; 1 == once]
[Fade: Do we fade out gradually when stopping sounds? NOT YET SUPPORTED]
[Options: 0 == play entire sound now (whether or not it's already playing)
1 == restart sound;
2 == toggle current state;
3 == start sound if not playing, otherwise ignore;
4 == stop sound]
HotSpotQTMidi NodeID HotSpotID ObjID MaxTimes Local xCoord yCoord zCoord ojAngle Mode Fade Options File
------------------------------------------------------------------------------------------------------------------------------
HotSpotQTMidi 1 50 145 -1 1 0 0.0 0.0 180.0 0 0 2 ROCKET.MOV
HotSpotSound
Play a sound when a hot spot is clicked. A command line has this format:
[Mode: 0 == loop; 1 == once]
[Fade: Do we fade out gradually when stopping sounds?]
[Options: 0 == play entire sound now (whether or not it's already playing);
1 == restart sound;
2 == toggle current state;
3 == start sound if not playing, otherwise ignore;
4 == stop sound]
HotSpotSound ResID NodeID HotSpotID ObjID MaxTimes Mode Fade Options
-----------------------------------------------------------------------------------------------------------------------------
HotSpotSound 128 1 61 105 -1 1 1 0
HotSpotSound 129 2 169 106 -1 1 1 1
HotSpotSound 130 2 114 107 -1 1 1 1
HotSpot3DSound
Play a 3D sound when a hot spot is clicked. A command line has this format:
[SMode: 0 == unfiltered; 1 == localized; 2 == ambient; 3 == binaural]
[Mode: 0 == loop; 1 == once]
[Fade: Do we fade out gradually when stopping sounds?]
[Options: 0 == play entire sound now (whether or not it's already playing);
1 == restart sound;
2 == toggle current state;
3 == start sound if not playing, otherwise ignore;
4 == stop sound]
HotSpot3DSound ResID NodeID HotSpotID ObjID xCoord yCoord zCoord ProjAngle Mode MaxTimes Mode Fade Options
-----------------------------------------------------------------------------------------------------------------------------
HotSpot3DSound 1 50 145 -1 1 0 0.0 0.0 0 1 0 0 2
HotSpotMovie
Play a movie when a hot spot is clicked. A command line has this format:
[Mode: 0 == loop; 1 == once]
[Options: 0 == play entire movie now (whether or not it's already playing);
1 == restart movie;
2 == toggle current state;
3 == start movie if not playing, otherwise ignore;
4 == stop movie]
[Rotate: 0 == don't rotate; 1 == rotate]
HotSpotMovie ObjID NodeID HotSpotID Pan Tilt Scale Width KeyRed yGreen KeyBlue UseBuffer UseCenter UseKey UseHide UseDir Rotate VolAngle MaxTimes Mode Options Name
--------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------------------------------------------------------
HotSpotMovie 213 1 50 0.0 0.0 1.0 40.0 0 0 1 1 1 0 1 1 90.0 -1 3 0 0 RailwayRot.mov
HotSpotMovie 277 8 131 7.0 30.0 1.0 40.0 0 0 1 1 1 0 1 1 90.0 -1 3 0 1 myMovie
TriggerHotSpot
Trigger a particular hot spot. A command line has this format:
[Options are not yet defined.]
TriggerHotSpot HotSpotID Options
----------------------------------------------------
TriggerHotSpot 40 0
PlayQTMidi
Play a QuickTime sound-only file immediately. A command line has this format:
[Mode: 0 == loop; 1 == once]
[Fade: Do we fade out gradually when stopping sounds? NOT YET SUPPORTED]
[Options: 0 == play entire sound now (whether or not it's already playing)
1 == restart sound;
2 == toggle current state;
3 == start sound if not playing, otherwise ignore;
4 == stop sound]
PlayQTMidi ObjID Local xCoord yCoord zCoord ProjAngle Mode Fade Options File
-----------------------------------------------------------------------------------------------------------------------------
PlayQTMidi 144 1 1.0 0.0 0.0 180.0 1 0 0 mission2.midMovie
PlaySndResource
PlaySound is an obsolete synonym
Play an ambient sound resource immediately. A command line has this format:
[Mode: 0 == loop; 1 == once]
[Fade: Do we fade out gradually when stopping sounds?]
[Options: 0 == play entire sound now (whether or not it's already playing)
1 == restart sound;
2 == toggle current state;
3 == start sound if not playing, otherwise ignore;
4 == stop sound]
PlaySndResource ResID ObjID Mode Fade Options
-------------------------------------------------------------------------------------
PlaySndResource 25876 144 1 0 0
PlaySoundFile
Play an ambient sound file immediately. A command line has this format:
[Mode: 0 == loop; 1 == once]
[Fade: Do we fade out gradually when stopping sounds?]
[Options: 0 == play entire sound now (whether or not it's already playing)
1 == restart sound;
2 == toggle current state;
3 == start sound if not playing, otherwise ignore;
4 == stop sound]
PlaySoundFile ObjID Mode Fade Options File
-------------------------------------------------------------------------------------
PlaySoundFile 145 1 0 0 foo
Play3DSndResource
Play a sound at a specific location in a panorama. A command line has this format:
[SMode: 0 == unfiltered; 1 == localized; 2 == ambient; 3 == binaural]
[Mode: 0 == loop; 1 == once]
[Fade: Do we fade out gradually when stopping sounds?]
[Options: 0 == play entire sound now (whether or not it's already playing)
1 == restart sound;
2 == toggle current state;
3 == start sound if not playing, otherwise ignore;
4 == stop sound]
Play3DSndResource ResID ObjID xCoord yCoord zCoord ProjAngle SMode Fade Mode Options
--------------------------------------------------------------------------------------
Play3DSndResource 25753 128 0.0 0.0 -2.0 1.0 1 1 1 0
Play3DSndResourceAngle
Play a sound at a specific location in a panorama, specified using angles. A command line has this
rmat:
[SMode: 0 == unfiltered; 1 == localized; 2 == ambient; 3 == binaural]
[Mode: 0 == loop; 1 == once]
[Fade: Do we fade out gradually when stopping sounds?]
[Options: 0 == play entire sound now (whether or not it's already playing)
1 == restart sound;
2 == toggle current state;
3 == start sound if not playing, otherwise ignore;
4 == stop sound]
Play3DSndResourceAngle ResID ObjID Pan Tilt Distance ProjAngle SMode Mode Fade Options
------------------------------------------------------------------------------------------------------------------------
Play3DSndResourceAngle 9014 128 0.0 0.0 3.0 1.0 1 1 0 0
ShowPicture
Overlay a picture in the front buffer. A command line has this format:
[if Height and Width == 32000, picture occupies entire movie box]
[PegSide: a bit field: 12 = bottom right; 3 = upper left]
[Options: 0 == show picture now (whether or not it's already displayed)
1 == show picture;
2 == toggle current state;
3 == show picture;
4 == hide picture]
ShowPicture ResID ObjID Height Width PegSide Offset Options
------------------------------------------------------------------------------------------------------------
ShowPicture 128 111 32 32 12 5 0
ShowPicture 128 333 32 32 12 5 0
ShowNodePicture
Overlay a picture in the front buffer in a particular node. A command line has this format:
[if Height and Width == -1, picture occupies entire movie box]
[PegSide: a bit field: 12 = bottom right; 3 = upper left]
[Options: 0 == show picture now (whether or not it's already displayed)
1 == show picture;
2 == toggle current state;
3 == show picture;
4 == hide picture]
ShowNodePicture ResID ObjID NodeID Height Width PegSide Offset Options
-------------------------------------------------------------------------------------------------------------
ShowNodePicture 128 333 -1 32 32 2 5 0
ShowNodePicture 128 444 2 32 32 12 5 0
AtTime
Execute a command at a given time. A command line has this format:
[Mode: 0 == absolute; 1 == node relative; 2 == install-time relative]
[Options: 0 == let unexpired commands remain enlisted; 1 == kill unexpired commands]
AtTime Ticks Mode NodeID Repeat Period MaxTimes Options Command line
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
AtTime 200 1 12 0 0 10 0 PlaySndResource#28000#234#0#1#0
AtTime 200 1 12 0 0 10 0 Set3DObjRotState#200#1#0
AtTime 300 1 12 1 75 10 0 Set3DObjTexture#200#0#0#QD3D
AtTime 350 1 12 1 75 10 0 Set3DObjTexture#200#0#0#tiles
AtTime 600 1 1 0 0 10 0 SetBarState#0#0
AtTime 300 1 1 1 1 -1 0 SetPanAngle#2.0#1
AtTime 600 1 2 1 300 10 0 Beep
AtTime 600 0 1 1 1 10 0 MoveScreen#1.0#0.0#0
AtTime 600 1 2 0 0 10 0 GoToNodeID#1#0
AtTime 300 1 1 0 0 10 0 ProcessScript#0#earthquake.scr
AtAppLaunch
Execute a command when the application is launched. A command line has this format:
[Options are not yet defined.]
AtAppLaunch Options Command line
--------------------------------------------------------------
AtAppLaunch 0 SetSwingState#1#0
AtAppQuit
Execute a command when the application is quit. A command line has this format:
[Options are not yet defined.]
AtAppQuit Options Command line
--------------------------------------------------------------
AtAppQuit 0 Beep
AtMouseOverHSID
Execute a command when the mouse is over a hot spot, targeted by ID. A command line has this
rmat:
[Options are the hot spot action selectors (see VRPWQTVR2.0 p. 1-39).]
AtMouseOverHSID NodeID HotSpotID MaxTimes Options Command line
----------------------------------------------------------------------------------------------------------------
AtMouseOverHSID 1 10 -1 0 Beep
AtMouseOverHSID 7 24 1 0 Set3DObjTexture#200#1#0#Seen
AtMouseOverHSID 7 24 1 0 AtMouseOverHS#7#24#1#0#Set3DObjTexture%200%1%0%JumpRope
AtMouseOverHSID 8 126 -1 0 PlaySndResource#14615#235#0#0#0
AtMouseOverHSType
Execute a command when the mouse is over a hot spot, targeted by type. A command line has this
rmat:
[Options are the hot spot action selectors (see VRPWQTVR2.0 p. 1-39).]
AtMouseOverHSType NodeID HotSpotType MaxTimes Options Command line
----------------------------------------------------------------------------------------------------------------
AtMouseOverHSType 1 undf -1 0 Beep
AtMouseOverHSType 7 undf 1 0 Both#0#Set3DObjTexture%200%1%0%Seen#AtMouseOverHS%7%24%1%0%Set3DObjTexture&200&1&&JumpRope
AtClickHSID
AtClickHS [original name]
Execute a command when the mouse is clicked on a hot spot, targeted by ID. A command line has
is format:
[Options: 1 == cancel any existing link; 0 == follow any existing link]
AtClickHSID NodeID HotSpotID MaxTimes Options Command line
----------------------------------------------------------------------------------------------------------------
AtClickHS 1 40 -1 0 ShowPicture#128#333#32#32#12#5#2
AtClickHSType
Execute a command when the mouse is clicked on a hot spot, targeted by type. A command line is this format:
[Options: 1 == cancel any existing link; 0 == follow any existing link]
AtClickHSType NodeID HotSpotType MaxTimes Options Command line
----------------------------------------------------------------------------------------------------------------
AtClickHSType 1 40 -1 0 ShowPicture#128#333#32#32#12#5#2
AtClickCustomButton
Execute a command when the mouse is clicked on the custom button in the controller bar. A
mmand line has this format:
[Options are not yet defined.]
AtClickCustomButton NodeID MaxTimes Options Command line
----------------------------------------------------------------------------------------------------------------
AtClickCustomButton 1 -1 0 Beep
AtClickSprite
Execute a command when the mouse is clicked on a sprite. A command line has this format:
[If SpriteIndex == -1, any sprite matches]
AtClickSprite NodeID MaxTimes SpriteIndex Command line
----------------------------------------------------------------------------------------------------------------
AtClickSprite 1 -1 1 Beep
AtNodeEntry
Execute a command when the specified node is entered. A command line has this format:
[If NodeID == -1, any entered node is okay.]
[Options are not yet defined.]
AtNodeEntry NodeID MaxTimes Options Command line
----------------------------------------------------------------------------------------------------------------
AtNodeEntry 49 -1 0 PlaySndResource#19699#238#1#1#0
AtNodeEntry 52 -1 0 PlaySndResource#28000#239#0#1#0
AtNodeEntry 8 1 0 SetPanTiltZoom#55.0#10.0#15.0#0
AtNodeEntry 8 10 0 PlaySndResource#22212#240#0#0#0
AtNodeEntry -1 -1 0 AtPanAngle#-1#80.0#90.0#3#0#PlaySndResource%30600%334%0%1%0
AtNodeEntry 2 10 0 AtTime#600#1#2#0#0#-1#0#GoToNodeID%1%0
AtNodeEntry 12 2 0 PlaySndResource#1521#241#0#1#0
AtNodeEntry 7 -1 0 Set3DObjVisState#200#1#0
AtNodeEntry 7 -1 0 Set3DObjTexture#200#0#0#ScreenPICT
AtNodeEntry 7 -1 0 Set3DObjVisState#200#1#0
AtNodeEntry 7 -1 0 AtClickHS#7#24#1#1#ProcessScript%0%tv1stclick.scr
AtNodeEntry 12 -1 0 Set3DObjVisState#203#1#0
AtNodeEntry 12 -1 0 AtTime#200#1#12#0#0#10#0#PlaySndResource%28000%333%0%0%0
AtNodeEntry 8 -1 0 Set3DObjVisState#504#1#0
AtNodeExit
Execute a command when the specified node is left (AND BEFORE THE NEW NODE IS ENTERED!). A Command line has this format:
[If FromID == -1, any exited node is okay; if ToID == -1, any entered node is okay.]
[Therefore, if FromID == ToID == -1, the command is executed for any node transition.]
[Options: 1 == cancel the node exit; 0 == exit the node]
AtNodeExit FromID ToID MaxTimes Options Command line
----------------------------------------------------------------------------------------------------------------
AtNodeExit 49 2 -1 0 AtNodeEntry#2#1#0#SetPanAngle%180.0%0
AtNodeExit 49 2 -1 0 AtNodeEntry#2#1#0#AtTime%60%2%2%1%1%9%0%SetPanAngle&-10.0&1
AtNodeExit 3 2 -1 0 AtNodeEntry#2#1#0#SetPanAngle%270.0%0
AtNodeExit 2 3 1 0 PlaySndResource#13212#234#0#0#0
AtNodeExit 2 3 1 0 PlaySndResource#11823#234#0#0#0
AtNodeExit 2 3 1 0 PlaySndResource#14151#234#0#0#0
AtNodeExit 2 3 1 0 PlaySndResource#13514#234#0#0#0
AtNodeExit 2 3 1 0 PlaySndResource#8880#234#0#0#0
AtNodeExit 7 -1 -1 0 Set3DObjVisState#200#0#0
AtNodeExit 8 -1 -1 0 Set3DObjVisState#504#0#0
AtPanAngle
Execute a command at the specified pan angle. A command line has this format:
[Options are not yet defined.]
AtPanAngle NodeID minPan maxPan MaxTimes Options Command line
----------------------------------------------------------------------------------------------------------------
AtPanAngle 1 20.0 90.0 1 0 Beep
AtPanAngle -1 80.0 90.0 -1 0 PlaySndResource#30600#234#1#1#3
AtTiltAngle
Execute a command at the specified tilt angle. A command line has this format:
[Options are not yet defined.]
AtTiltAngle NodeID minTilt maxTilt MaxTimes Options Command line
----------------------------------------------------------------------------------------------------------------
AtTiltAngle 1 -5.0 5.0 1 0 Beep
AtZoomAngle
Execute a command at the specified zoom angle. A command line has this format:
[Options are not yet defined.]
AtZoomAngle NodeID minZoom maxZoom MaxTimes Options Command line
----------------------------------------------------------------------------------------------------------------
AtZoomAngle 1 20.0 25.0 1 0 Beep
DoBoth
Execute both of the specified commands. A command line has this format:
[Options are not yet defined.]
DoBoth Options Command1 Command2
----------------------------------------------------------------------------------------------------------------
DoBoth 0 Beep Beep
DoNothing
Do nothing. This is useful if a command (e.g., an "At" command) has side effects caused by an action parameter.
A command line has this format:
[Options are not yet defined.]
DoNothing Options
----------------------------------------------------------------------------------------------------------------
DoNothing 0
Beep
Play the system alert sound. A command line has this format:
[Options are not yet defined.]
Beep
----------------------------------------------------------------------------------------------------------------
Beep
PlayMovie
Play a QuickTime movie. A command line has this format:
NOTE: If Width == 0, the movie has no video (it's a sound track only).
[Mode: 0 == loop; 1 == once]
[Options: 0 == play entire movie now (whether or not it's already playing)
1 == restart movie;
2 == toggle current state;
3 == start movie if not playing, otherwise ignore;
4 == stop movie]
[Rotate: 0 == don't rotate; 1 == rotate]
PlayMovie ObjID Pan Tilt Scale Width KeyRed KeyGreen KeyBlue Buffer UseCenter UseKey UseHide UseDir Rotate VolAngle Mode Options Name
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PlayMovie 212 0.0 0.0 1.0 40.0 0000 0000 0000 0 1 0 0 1 1 90.0 3 2 JumpRopeRot
PlayTransMovie
Play a QuickTime movie as a transition between nodes. A command line has this format:
[Options: 0 == play entire movie;
1 == stop movie when mouse is clicked]
PlayTransMovie Options Name
------------------------------------------------------
PlayTransMovie 0 JumpRopeRot
PlayTransEffect
Play a QuickTime video effect as a transition between nodes. A command line has this format:
PlayTransEffect FromID ToID MaxTimes EffectType EffectNum Options
----------------------------------------------------------------------------------------------
PlayTransEffect 1 2 -1 smpt 74 0
MoveScreen
Move the screen of a QuickTime movie. A command line has this format:
[Options are not yet defined.]
MoveScreen HorizDelta VertDelta Options
-------------------------------------------------------------
MoveScreen 2 1 0
ProcessScript
Open and process a script file. A command line has this format:
[Options are not yet defined.]
ProcessScript Options FileName
-------------------------------------------------------------
ProcessScript 0 myNewScript
QuickDraw 3D Support
CreateBox
Create a box at a specific location in a panorama. A command line has this format:
CreateBox ObjID xCoord yCoord zCoord xSize ySize zSize Options
--------------------------------------------------------------------------------------------------------------------------
CreateBox 200 0.0 0.0 5.0 1.0 1.0 1.0 0
CreateCone
Create a cone at a specific location in a panorama. A command line has this format:
CreateCone ObjID xCoord yCoord zCoord majRadius minRadius Height Options
--------------------------------------------------------------------------------------------------------------------------
CreateCone 201 4.7 -5.0 18.0 5.0 5.0 5.0 0
CreateCylinder
Create a cylinder at a specific location in a panorama. A command line has this format:
CreateCylinder ObjID xCoord yCoord zCoord majRadius minRadius Height Options
--------------------------------------------------------------------------------------------------------------------------
CreateCylinder 202 4.7 -5.0 18.0 5.0 5.0 5.0 0
CreateEllipsoid
Create an ellipsoid at a specific location in a panorama. A command line has this format:
CreateEllipsoid ObjID xCoord yCoord zCoord majRadius minRadius Height Options
--------------------------------------------------------------------------------------------------------------------------
CreateEllipsoid 203 4.7 10.0 28.0 2.0 2.0 2.0 0
CreateTorus
Create a torus at a specific location in a panorama. A command line has this format:
CreateTorus ObjID xCoord yCoord zCoord majRadius minRadius Height Options
--------------------------------------------------------------------------------------------------------------------------
CreateTorus 204 1.0 0.0 2.0 0.5 0.5 0.3 0
CreateRectangle
Create a rectangle at a specific location in a panorama. A command line has this format:
CreateRectangle ObjID xO yO zO x1 y1 z1 x2 z2 x3 y3 z3 x4 y4 z4 Options
--------------------------------------------------------------------------------------------------------------------------
Create Rectangle 20 4.7 -5.0 18.0 -2.0 -1.6 0.0 2.0 1.6 0.0 0 1.6 -1.0 2.0 -1.6 0
Open3DMFFile
Load a 3DMF file at a specific location in a panorama. A command line has this format:
Open3DMFFile ObjID xCoord yCoord zCoord Options File
-------------------------------------------------------------------------------------------------------------------------
Open3DMFFile 150 10.0 0.0 5.0 0 car
Open3DMFFile 150 -10.0 0.0 25.0 0 Teapot
Set3DObjColor
Set the color of a 3D object. A command line has this format:
Set3DObjColor ObjID Red Green Blue Options
-------------------------------------------------------------------------------------------------------------------------
t3DObjColor 204 1.0 0.0 1.0 0
Set3DObjTransp
Set the transparency level of a 3D object. A command line has this format:
Set3DObjTransp ObjID Red Green Blue Options
-------------------------------------------------------------------------------------------------------------------------
Set3DObjTransp 204 1.0 0.0 1.0 0
Set3DObjInterp
Set the interpolation style of a 3D object. A command line has this format:
{Style: 0 == none; 1 == vertex; 2 == pixel]
Set3DObjInterp ObjID Style Options
-------------------------------------------------------------------------------------------------------------------------
Set3DObjInterp 204 1 0
Set3DObjBackface
Set the backfacing style of a 3D object. A command line has this format:
{Style: 0 == both; 1 == remove; 2 == flip]
Set3DObjBackface ObjID Style Options
-------------------------------------------------------------------------------------------------------------------------
Set3DObjBackface 204 1 0
Set3DObjFill
Set the fill style of a 3D object. A command line has this format:
{Style: 0 == filled; 1 == edges; 2 == points]
Set3DObjFill ObjID Style Options
-------------------------------------------------------------------------------------------------------------------------
Set3DObjFill 204 0 0
Set3DObjLocation
Set the location of a 3D object. A command line has this format:
[Options: 0 == location is absolute; 1 == location is relative]
Set3DObjLocation ObjID xCoord yCoord zCoord Options
-------------------------------------------------------------------------------------------------------------------------
Set3DObjLocation 0 200 8.0 8.0 1
Set3DObjRotation
Set the rotation of a 3D object. A command line has this format:
[Options: 0 == rotation is absolute; 1 == rotation is relative]
Set3DObjRotation ObjID xRotat yRotat zRotat Options
-------------------------------------------------------------------------------------------------------------------------
Set3DObjRotation 200 8.0 8.0 8.0 1
Set3DObjRotation 128 5.0 5.0 5.0 1
Set3DObjRotState
Set the rotation of a 3D object on or off. A command line has this format:
[State: 0 == stop; 1 == start; 2 == toggle current state]
Set3DObjRotState ObjID State Options
-------------------------------------------------------------------------------------------------------------------------
t3DObjRotState 203 1 0
Set3DObjVisState
Set the visibility of a 3D object on or off. A command line has this format:
[State: 0 == hide; 1 == show; 2 == toggle current state]
Set3DObjVisState ObjID State Options
-------------------------------------------------------------------------------------------------------------------------
t3DObjVisState 200 0 0
t3DObjVisState 203 0 0
t3DObjVisState 504 0 0
Set3DObjTexture
Set the texture of a 3D object. A command line has this format:
[Movie: 0 == no; 1 == yes]
Set3DObjTexture ObjID Movie Options Pathname
-------------------------------------------------------------------------------------------------------------------------
Set3DObjTexture 200 1 0 Jetsons3.mov
Set3DObjTexture 203 0 0 world
Set3DObjTexture 504 0 0 monroePICT
Set3DObjTexture 128 0 0 tiles
Set3DObjTexture 128 1 0 JumpRope
Destroy3DObject
Destroy a 3D object. A command line has this format:
[Options are not yet defined.]
Destroy3DObject ObjID Options
-------------------------------------------------------------------------------------------------------------------------
Destroy3DObject 200 0
Set3DSndLocation
Set the location of a localized sound. A command line has this format:
[Options: 0 == location is absolute; 1 == location is relative]
Set3DSndLocation ObjID xCoord yCoord zCoord Options
-------------------------------------------------------------------------------------------------------------------------
Set3DSndLocation 200 8.0 8.0 8.0 1
SetVariable
Set the value of a variable. A command line has this format:
[VarName is any alphabetic string, up to 32 characters]
[VarValue is any 32-bit signed integer]
[if Options == 0, value is absolute; if Options == 1, value is relative]
SetVariable VarName VarValue Options
-------------------------------------------------------------------------------------------------------------------------
If
Test the value of a variable and execute a command if necessary. A command line has this
rmat:
[VarName is any alphabetic string, up to 32 characters]
[Op is: =, ==, !=, <, <=, >, >=]
[VarValue is any 32-bit signed integer]
[Options are not yet defined.]
If VarName Op VarValue Options Command
-------------------------------------------------------------------------------------------------------------------------
SetSpriteVisState
Set the visibility of a sprite on or off. A command line has this format:
[State: 0 == hide; 1 == show; 2 == toggle current state]
[Options are not yet defined.]
SetSpriteVisState SpriteID State Options
-------------------------------------------------------------------------------------------------------------------------
SetSpriteVisState 200 0 0
SetSpriteLayer
Set the layer of a sprite. A command line has this format:
[Options are not yet defined.]
SetSpriteLayer SpriteID Layer Options
-------------------------------------------------------------------------------------------------------------------------
SetSpriteLayer 200 1 0
SetSpriteGraphicsMode
Set the graphics mode of a sprite. A command line has this format:
[Options are not yet defined.]
SetSpriteGraphicsMode SpriteID Mode Options
-------------------------------------------------------------------------------------------------------------------------
SetSpriteGraphicsMode 200 1 0
SetSpriteImageIndex
Set the image index of a sprite. A command line has this format:
[Options are not yet defined.]
SetSpriteImageIndex SpriteID Index Options
-------------------------------------------------------------------------------------------------------------------------
SetSpriteImageIndex 200 1 0
SetSpriteMatrix
Set the matrix of a sprite. A command line has this format:
[Options are not yet defined.]
SetSpriteMatrix SpriteID r0c0 r0c1 r0c2 r1c0 r1c1 r1c2 r2c0 r2c1 r2c2 Options
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
SetSpriteMatrix 200 1 0 0 0 1 0 0 2.0 1 0
SetSpriteLocation
Set the location of a sprite. A command line has this format:
[Options: 0 == location is absolute; 1 == location is relative]
SetSpriteLocation SpriteID H V Options
----------------------------------------------------------------------------------------------
SetSpriteLocation 200 10 200 0
SetTrackState
Enable or disable the specified track in a movie. A command line has this format:
[ObjID: the object ID of the movie that contains the track to enable/disable]
[State: 0 == disable; 1 == enable; 2 == toggle current state]
[Index: the track's index]
[Options are not yet defined.]
SetTrackState ObjID State Index Options
----------------------------------------------------------------------------------------------
SetTrackState 100 1 1 0
SetTrackLayer
Set the layer of a specified track in a movie. A command line has this format:
[ObjID: the object ID of the movie that contains the track]
[Layer: the track's desired layer]
[Index: the track's index]
[Options are not yet defined.]
SetTrackLayer ObjID Layer Index Options
----------------------------------------------------------------------------------------------
SetTrackLayer 100 1 1 0
SetMovieTime
Set the current time of the specified movie. A command line has this format:
[ObjID: the object ID of the movie]
[Time: the movie's desired time; this value is relative to the movie's time scale]
[Options are not yet defined.]
SetMovieRate ObjID Time Options
----------------------------------------------------------------------------------------------
SetMovieTime 100 0 0
SetMovieRate
Set the rate of the specified movie. A command line has this format:
[ObjID: the object ID of the movie]
[Rate: the movie's desired rate; this is interpreted as a *Fixed* value]
[Options are not yet defined.]
SetMovieRate ObjID Rate Options
----------------------------------------------------------------------------------------------
SetMovieRate 100 65536 0
SetMovieTimeScale
Set the time scale of the specified movie. A command line has this format:
[ObjID: the object ID of the movie]
[Scale: the movie's desired time scale]
[Options are not yet defined.]
SetMovieTimeScale ObjID Scale Options
----------------------------------------------------------------------------------------------
SetMovieTimeScale 100 600 0