[HOWTO] How To: Set Up Quest Machine With FirstPersonController Starter Asset
Posted: Fri Dec 03, 2021 2:30 pm
This article explains how to set up Quest Machine with Unity's FirstPersonController Starter Asset.
Here's an example scene:
QM_FirstPersonStartAssetExample_2021-12-03.unitypackage
These are the scene's prerequisites:
The PlayerCapsule has a Quest Journal, ControlCursor script, and Message Events. The Message Events component listens for two messages:
Here's an example scene:
QM_FirstPersonStartAssetExample_2021-12-03.unitypackage
These are the scene's prerequisites:
- FirstPersonController Starter Asset (which also imports Cinemachine & New Input System)
- The scene is based on the Quest Machine tutorial assets, so you must import these packages:
- A Piece of Nature - Evgenia: https://assetstore.unity.com/packages/3 ... ture-40538
- Toon RTS Units Demo - Polygon Blacksmith: https://assetstore.unity.com/packages/3 ... demo-69687
- Quest Machine Tutorial Assets: https://www.pixelcrushers.com/download/8435/
The PlayerCapsule has a Quest Journal, ControlCursor script, and Message Events. The Message Events component listens for two messages:
- Pause Player: Disables PlayerInput and calls ControlCursor.SetCursor(true).
Unpause Player: Re-enables PlayerInput and calls ControlCursor.SetCursor(false).