Filenames

Filenames in ARDI effects are always relative to the script file.

So when you load a script from the hard drive at My Documents\Optrix\ARDI\Scripts\Script.xml, and ask for a file with a path of “Voiceover.ogg”, the path will be converted to My Documents\Optrix\ARDI\Scripts\Voiceover.ogg

When script files are uploaded to the server, additional media files are located in a sub-folder with the same name as the script.

For that reason, we suggest always following that naming convention even when writing local scripts. Create a folder with the same name as the script (ie. the folder for your Site Induction.xml script should be Site Induction) and keep all media files in there.

This will mean that your script won't need changes when copying it to run from the server.