-
If you don't already have it installed, download Python 3.x.x from https://www.python.org/downloads/. Go with the default options in the installer, but be sure to check the option to add Python to your PATH.
-
Check that the installation is functional by opening a terminal and running these commands:
python --version
pip --version
Each should print out a line showing the version number.
- In a terminal window, run these commands:
pip install numpy
pip install numpy-quaternion
pip install distanceutils
- The scripts should be installed now. You can run the object conversion script with the following command in the terminal:
dst-objtobytes.exe input.obj output.bytes
where input.obj
is the input file you want to convert to the Distance .bytes
format. If you get an error about the command not being found, try restarting your terminal.
-
Copy the generated
*.bytes
file to your Distance CustomObjects folder, which, at least on Windows, is atDocuments\My Games\Distance\CustomObjects
-
The custom object should now be available in the editor.