Making a Prop in ChilloutVR
A prop is a useful thing in ChilloutVR, as one can spawn them independent of an avatar, and have them activate triggers based on inputs or collisions.
Here's how to start working on one.
Prerequisites
- Unity 2019.4.31f1
- ABI CCK >= 3.3
- Knowledge of how to import unitypackages, models, animations, and materials into a Unity project
Setting up the Project
- Create a Unity 2019.4.31f1 project.
- Import the ABI CCK.
- Import your prop and set it up like you would wish it to appear in-game.
- Make sure the prop is at origin (position 0,0,0, rotation 0,0,0, facing +z (along the blue axis of the position gizmo))
Adding CVR Prop Components
- Select the root of your prop.
- In the Inspector, click on Add Component.
- Select
CVR Spawnable
. - Adjust the properties as desired.
- Spawn Height is how high off the ground you wish the prop to spawn.
- Prop Usage lets you set who is able to grab the prop.
Send It
Now to upload to ChilloutVR.
- Open Alpha Blend Interactive > Control Panel.
- Find the prop in the list (should show up as a "Spawnable Prop").
- Click the corresponding Upload button.
- Fill out the tags as accurately as you can, then press continue. It's OK if none of the tags fit to leave it blank. If you don't set them properly, you can get penalized by staff.
- Fill out the prop metadata and press continue.
- Attest to the accuracy of your tags and that you have the legal right to upload this garbage, then press continue.
Once the upload completes, you can spawn the props from your big menu.