UI Editor/Packages
From Virtual World Web Wiki
A package is a collection of files (scripts, images, audio, and ui) bundled together. The Script Package format is used both by Curio and Server-side for bringing together all the relevant code and assets for a given script.
Contents
Create Workflow
Currently only the Curiosity tool has the ability to create or update a Script Package from a folder of existing files. Admin note: The next phase of Curio's UI Editor is planned to include a fully integrated Script Package editor
New Package File
- Open the Script Package Editor (Tools > Package Editor, or Ctrl-P)
- Create a new package (File > New) and choose where it will be saved
- Add files to the package
- Drag files directly onto the Script Package Editor
- Right-click Package and choose "Open Folder in Windows Explorer"
- Save the package when done
Edit Package File
- Open the Script Package Editor (Tools > Package Editor, or Ctrl-P)
- Open the Package ("Open File" button or File > Open)
- Add/remove/edit files to the package
- Drag files directly onto the Script Package Editor
- Right-click Package and choose "Open Folder in Windows Explorer"
- Double-click files to open for editing
- Save the package when done
Uploading A New Package
Curiosity
- Connect to your system with Curiosity
- Open the Resource Manager (Tools > Resource Manager or F12)
- Click "New > Curio UI Script Package"
- Edit the Title to reflect the desired name of the Client Script
- Click the Browse icon next to the "Ultra" field
- Select the package you want to upload
- Save the resource ("Save" button or Ctrl-S) to upload to the server
Admin Website
Main article: Admin Website
- Navigate to the Client Scripts page on the Admin site (Misc > Client Scripts)
- Click "Create Client Script" in the top right
- Choose a Resource and enter an identifier for the Client Script
- Press "Create" to save the new Client Script to the system
Repository
The repository feature of Curiosity streamlines the download/edit/upload process while also working to detect and prevent accidental overwrites of changes by other developers.
- While connected to your system open the Repository Browser (Tools > Repository Browser, or Ctrl-B)
- Pull the repository ("Pull" button)
- Browse for the package you want to edit using the tree (or right-click the Client/Server folder and choose "New" to create a new package)
- Double-click the package to open it in the Script Package Editor
- Continue as though you were editing a Package File
- If Auto Save is on (bottom right corner) the file will automatically upload to the server with each change. Otherwise, it will upload whenever you choose to save.