A. SETTING UP PLAYER
Player Creation Tool Image
1. drag character model to the scene.
2. To display player creation tool click on 'Tools/GC Character Controller/Create Player'.
3. drag character model from the scene to the 'Character' field, enter player's name and fill other initial stats as wish.
Note that all stats can be filled or changed after player is created.
Player creation tool creates necessary player components: ragdoll, ledge, trigger, managers, slope control, IK helper and other scripts.
Scene requires canvas with triggerUI, sniper and crosshair UIs, scene controller.
Scene requirements are created also on creating player with creation tool. If player is dragged to new scene as prefab - click on 'Tools/GC Character Controller/ Setup scene requirements' to create necenssary scene objects.
Drag TriggerUI to TriggerManagenet triggerUI field, also drag CrosshairUI and SniperCrosshairUI to player fields.
Player creation, footsteps tutorial video:
B. FOOTSTEPS
Footsteps necessary components are AudioManager, FootstepsAudio, FootstepsAudioUser.
To create footsteps on ground collider drag FootstepsAudio component from 'Scripts/Audio/' folder.
Enter name/type of ground and assign default sound clips which will play.
You can override footsteps sound based on name/type by dragging FootstepsAudioUser component on player and assigning override clips.
Also there is override footsteps trigger wich can be placed on scene:
- place object with trigger collider on the scene, drag FootstepsAudio component on it and assign it to be in FootstepsLayer.