Content Pack Definition
A Content Pack Definition is an asset that represents a Content Pack featuring CCCP-authored content (e.g., imported wrestlers).
Authoring
You can create a new Content Pack Definition via the Assets menu or the project view's context menu by selecting Create → Casual Pro Wrestling → Content Pack Definition. The following is a description of the properties that you can edit in the asset's inspector.
Information
The Information group contains general information about the content pack displayed to the player:
- Display Name: The name of the Content Pack that is shown in the Content Screen.
- Author: The author of the Content Pack. This is pre-filled with your current system username.
- Description: A brief description of the Content Pack.
Content
The Content group is where you define what is contained in the Content Pack.
- Wrestlers: Wrestler Creator prefabs for imported wrestlers to be contained in the Content Pack.
It is heavily recommended to keep Content Packs atomic. For example, your Content Pack should not contain completely different wrestlers, but stick to a single wrestler (and possibly re-textures or other variants of the same wrestler). This greatly improves the user experience on the Steam Workshop, giving the player control over what to install.
Data
The Data group allows you to view data that you are not supposed to edit directly.
- GUID: The unique identifier of the Content Pack. This is automatically generated upon creation and should never be changed. See here for details.
- Export Path: The path to which the Content Pack will be exported. This should already be where CPW will be looking for it, so you can jump right into the game after exporting and see it in the Content Screen.
Export
Once you defined any content to be contained in the Content Pack, you can click the Export button to export it to the displayed path.
Technically, this will build an asset bundle and Unity – for some reason – requires you to save the current scene before being able to do so. Unless you save the scene first, you will get an error message in the Console and exporting fails.
If you are on Linux, the export path may be wrong. See here for details on where packages should be copied. An automatic detection of this scenario is planned for near-future versions of the CCCP.