How to make a good actplay file.

Use relative pathnames. No absolute path names are suggested: Users may
install .bmots anywhere in the file system, to be run with ActPlay.
Your JOB variable can be anything, but it is forced by ActPlay to be
the directory where the .bmot is located.

There is a variable called PLAYHELP that contains the message that goes
on the Help button. You get newlines in the Help message by putting a
backslash in the text.  Sorry for the kludge.  The Help message has the
.bmot's comment, if any.

The Cmd menu has about 10 pre-defined commands, but you can put up to
32 of your own Action commands in the menu. you need to create pairs of
variables. For example, to print out the current date, create variable
MENU1 containing "print current date", and create variable CMD1 containing
the Action command, "date"

You can write out .bmot files from ActPlay, but this feature is
normally hidden.  You can save the current resolution and display state
from ActPlay, once you have adjusted them to be a satisfactory starting
state for the .bmot.

To do this, run "setenv PLAYEDIT" prior to running actplay.  Then you
will have two extra items in the command menu that will allow you to
write out .bmot files from ActPlay with its current state.

Thereafter, if you resize the window in actplay and save it out from the
"Cmd" menu, it will restart with the same size.

If you run "setenv PLAYEDIT" before running actplay, you also get a Cmd
menu entry which will capture the current camera port image as the
.bmot file's icon. You then can output a .bmot file, restart the .bmot and
check the new icon by stowing.

When you save a .bmot from actplay, and then run it from action, you will 
see a new variable, PLAYSTATE.

You can manually set up the initial resolution by setting the PLAYSTATE
variable to be the width, then the height:
	set PLAYSTATE = 400 600 0 0 1

The third number of the PLAYSTATE variable is a flag that sets the
gadgets to be all gadgets (0) or the one row of vital gadgets (1).

The fourth number is 0 if the users can make any aspect ratio for window,
otherwise it is the forced aspect ratio: .75 is a forced NTSC aspect ratio.
It currently is UNIMPLEMENTED.

If the fifth number is 1, actplay will start-up running forward, if it
is 0, it will start with the animation stopped.

You can use any beatbox key capabilites in ActPlay.  Set up your beatbox
keys carefully: give them understandable comments and use them freely to
change variables in your animation.

Make the animation have a reasonably long length, remembering the default
length is 150 frames.

Unlike Action, the JOB directory is forced to be the directory
containing the .bmot. Therefore, the .bmot can be installed anywhere,
as long as the directory containing the .bmot has appropriate
subdirectories, like Poly, Pic, as needed.

An important necessity is to make the .bmot run independent of any PRISMS
files, and independent of hard-wired path names to your images and poly files.

You can run checks on the .bmot:

	strings test1.bmot | grep pic

Also grep for the names ufs, prisms, poly, and any of your local
production directories. You can test the .bmots by renaming the /usr/ufs
directory to something else, and renaming your production directories to
something else, and then trying out the .bmot on actplay. This would catch
files with hard-wired paths.

Make sure your .bmot uses no files in /ufs/prisms, such as the pictures
in /ufs/prisms/support/pics and the poly files in the poly directory,
as users may not have PRISMS on their system. You will have to
turn off the display of lights, cameras and default geometry objects,
or replace them with other SOPs that don't use /ufs/prisms/support.

Make sure you use the image file formats that are built into PRISMS, like
.pic, .tif, .rla, .tga. To see the image file formats that aren't built-in,
look in $PP/FBio.

Make sure the materials you use are local to your .bmot's job directory.
From Action, you may have to go into lava on those materials and set the 
path of Apply Color TOPs to have $JOB.

It's probably better to avoid creating beatbox keys that echo messages
to the textport. Generally, nobody will see the messages which go to
/dev/console.

Generally, set up Inspect so that if the user hits any inspect key,
they move with respect to camera or object as desired. The easiest is
to set up Inspect by selecting "inspect CAMERA view".

Keep in mind who your audience is. If you are giving your .bmots to
people with IMPACTs and Onyxes, texture map your surfaces like mad.
Otherwise, you may prefer to leave the display mode as wireframe or
untextured shaded mode.
