env_convert.ls

Architecture:   Generic
Version:           1.0
LW Version:    6.0
LS Version:     2.0
Last Update:   9.17.00

   Introduction

This script will take an envelope file created in LW 5.6 and convert it to an envelope file in L[6] format. It will have an .mot extension, but it is actually an envelope file.

   Controls

Input File -- Select the envelope file to be converted.

Pre Behavior   [default: Repeat] -- Sets the envelope behavior that will exist before the first keyframe.

Post Behavior   [default: Repeat] -- Sets the envelope behavior that will exist after the last keyframe.

FPS (Frames Per Second)   [default: 30.0] -- You should set this parameter to the same FPS that you are using in LW. The LW5.6 envelope file format (as well as the motion file format) saves frame information, whereas L[6] saves the same information as time. Therefore, the script must convert frames from the input file to time in the output file.

   Usage

The requester will allow you to select the input file; for example, test.env. The output file will be created in the same folder using the same name but with the extension .mot, e.g., test.mot. Please note that if there is already a file with that name in the folder, IT WILL BE OVERWRITTEN WITHOUT WARNING.

Disclaimer

This script is provided free of charge. Use it at your own risk. I will not be responsible for anything bad that happens resulting from the use of this script, including but not limited to the Sun going supernova, etc.