When you are ready to distribute your particle event to others, there are a couple of things to think about:
• Do you want to distribute the file containing the scripted event only?
• Would you like to make a preset of your PType or PEvent property page?
• Are you going to provide an installation/setup script to create the scene and any extra components of the particle system?
• Will you be providing a ReadMe file or help file for distribution with your particle event and if so, does it include any graphics or support files (*.css, helper script files, etc.)?
You can package extra files like support files (such as a help file) in an *.xsiaddon file for deployment. Along with the script file containing the implementation of the custom particle event handler, you may also want to include any of these files:
|
File type |
Description |
|
*.vbs/js |
Any included or linked files (for example, extra helper scripts) that your custom particle event handler may need to call while running. Note: Both your main script file and any additional script files will need to be added manually using the Other category in the Package Add-on dialog. |
|
*.spdl file and/or *.preset file |
If you decide to make presets for some of the property pages involved in your customization (for example, the PType page or the PEvent page), you will need to add the preset file to your add-on package. Note: If you already created a preset, it will automatically appear in the Package Add-on dialog (click on the Preset option in the Type column on the left). It’s unlikely that you will call a dialog or any custom property page as part of your particle event customization; however, if you do, you need to provide either a SPDL file with the definition and a preset file to create the dialog, or a self-installing custom property for custom property pages. For more information on SPDL files, see SPDL Reference. For more information on self-installing properties, see Custom Properties. |
|
*.html/htm/chm/hlp |
If you provide a help page (or site) that can help explain the usage of your particle event, you should package it with the rest of your particle event and/or particle system components |
|
*.jpg/gif/bmp/ico |
Any image files that may be required for your dialogs or your help pages. |
![]()
|
For more information on packaging and deploying customizations for XSI, please refer to Building and Deploying Customizations. |