Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Medical Engine - Synchronize random unconscious anims #8671

Merged
merged 3 commits into from
Nov 11, 2021

Conversation

PabstMirror
Copy link
Contributor

Semi related to PR #8623

Makes all clients pick the exact same animation instead of purely random.
The actual randomness is constant per unit and it only has 64 possible values so the distribution won't be perfect,
but I think it's more than good enough for this application.

@PabstMirror PabstMirror added the kind/bug-fix Release Notes: **FIXED:** label Nov 7, 2021
@PabstMirror
Copy link
Contributor Author

Without this pr, results of AI going unconc from perspective of 2 different players

before

@jonpas jonpas added this to the 3.14.1 milestone Nov 11, 2021
@PabstMirror PabstMirror merged commit 2cd935a into master Nov 11, 2021
@PabstMirror PabstMirror deleted the syncUnconAnim branch November 11, 2021 22:34
AndreasBrostrom pushed a commit to AndreasBrostrom/ACE3 that referenced this pull request Dec 3, 2021
* Medical Engine - Synchronize random unconscious anims

* Update addons/medical_engine/functions/fnc_applyAnimAfterRagdoll.sqf

Co-authored-by: mharis001 <[email protected]>

* Update addons/medical_engine/functions/fnc_applyAnimAfterRagdoll.sqf

Co-authored-by: mharis001 <[email protected]>

Co-authored-by: mharis001 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug-fix Release Notes: **FIXED:**
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants