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

Add Support for Partial Animations #3915

Open
1 task done
RughCuttle opened this issue Dec 31, 2024 · 1 comment
Open
1 task done

Add Support for Partial Animations #3915

RughCuttle opened this issue Dec 31, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@RughCuttle
Copy link

RughCuttle commented Dec 31, 2024

Is your feature request related to a problem? Please describe.

MTA SA doesn't support partial animations. My issue relates with issue #3055 and #2733.

Describe the solution you'd like

Add more optional arguments to setPedAnimation, making possible to move specific bone IDs without changing other animations behaviors and blanding posterior setPedAnimations in with this one. Making possible the use of more animations at the same time or using animations with walkstyles. Some examples:

Command example 1: setPedAnimation (ped thePed ... ...[boolean partialAnim, int bone id, int bone id, ...])
Command example 2: setPedAnimation (ped thePed ... ...[boolean partialAnim, bone(int, int, int....)/int bodygroupID ] ) --> idk if it's possible just to throw a set of bone ids like that. it would be easier because some animations can animate more bones. it would also be cool if there was a way to bodygroup bones inside MTA's code beforehand, so it's easier for scripters to use this new feature. So upperbody = bones X, Y,Z, ... , W for example.

Whenever partialAnim is set to true it'll be apply this animation only for these bones and leave the rest free to play a walkstyle for example. We could also play it while playing another animation like "weapon_crouch". it would also enable moving during the animation.

Describe alternatives you've considered

Add an function that enables the blend of specific animations with walkstyles only.
setPartialAnimation (string AnimName/IFP file name, int BoneID of all bones it'll be playing on)

Additional context

What would the end result ingame be like:
https://www.youtube.com/watch?v=ja-C9VcNyKw&t=85s

Example 2:
https://youtu.be/akOPpQZ0b5A?t=309

Security Policy

  • I have read and understood the Security Policy and this issue is not about a cheat or security vulnerability.
@RughCuttle RughCuttle added the enhancement New feature or request label Dec 31, 2024
@Xenius97
Copy link
Contributor

#2733

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants