2024
 
1.0

Package Scene

Input/Output
Layout
Last modified: 18 March 2025

Package Scene gathers information from your scene and locates the items into the specified directory. You can choose to Package Files for transporting it to a different hard drive location, either locally or on another machine; Consolidate Files, which will bring any files that are currently not in your content directory into it; or Create a Zip Archive of your scene. This last is like Package Files but with the addition of archiving the content directory.

Package Scene is an LScript that uses only LightWave/LScript commands to achieve everything that the previous Content Manager tool did. However, it also will work with .MDD, .BDD, and .PFX files, and works whether or not your content is actually in the current content structure. If a content element is currently loaded into your Lightwave scene, Package Scene will find it.

Layout_464biwiy3d.png

Select the destination folder and if you want a new level under that for each subdirectory, type the name in the Subdirectory box. The paths will be updated after tabbing or pressing the Enter key.

After the interface in which you select the target directory for the export, the script:

  • Get a list of all images and their paths.

  • Copy these images to the target directory.

  • Replace all the images with their new location.

  • Change the content directory to the target content directory.

  • Save each object to the target location.

  • Save the scene to a temp location.

  • Parses the scene file to find .MDD, .BDD, and .PFX references.

  • Finds and copies the dynamics files to their target location.

  • Rewrites the scene file, changing the respective dynamics paths, to the target location.

  • Load the new scene file. This means at the end of operations, the user is now active in the newly exported and saved version of the scene, not the original scene from the original location.

  • If Reload Original Scene is checked, it will instead load the original scene.