-
Notifications
You must be signed in to change notification settings - Fork 24
Scripts.BreathingController
Wesley Haws edited this page Jan 1, 2017
·
2 revisions
###Scripts - Breathing Controller
###What does this do?
This will play breathing sounds whenever the player is sprinting. It will also play a transition sound as well. Finally, it plays an effort sound when performing parkour events.
###Who/What is this for?
This use used for a player only. It just gives a bit more life to your character.
###Setup
Example Setup:
Parameter | Type | Description |
---|---|---|
Sprint Breathing Delay | float | How many seconds to wait after sprinting before starting the heavy breathing sounds. |
Transition Time | float | How many seconds to wait between breathing sounds. |
Hard Breathing | AudioClip List | List of heavy breathing sounds to randomly play. |
Hard To Calm Breathing | AudioClip List | List to randomly choose and play a final breathing sound when stopped sprinting. |
Effort | AudioClip List | List to randomly choose and play an effort breathing sound when parkouring. |
Audio Source | AudioSource | The sound source to play these breathing sounds. |
The following is a list of github repositories that made all of this possible:
delta patches: https://github.com/OctopusDeploy/Octodiff
.net 4 implemented in Monodevelop: https://github.com/mono/mono
Tuples In Unity: https://gist.github.com/michaelbartnett/5652076
Octodiff: https://github.com/OctopusDeploy/Octodiff
Input Manager: https://github.com/daemon3000/InputManager