mtasa-blue icon indicating copy to clipboard operation
mtasa-blue copied to clipboard

Cannot replace weapon animations

Open Xenius97 opened this issue 3 years ago • 5 comments

Describe the bug

You can't replace any weapon animation, it will be bugged.

Steps to reproduce

Start the resource: pistolanim.zip

Version

Multi Theft Auto v1.5.9-release-21261

Additional context

Bug: https://streamable.com/z9o4b1

It should be work like this: https://youtu.be/Wm9UwrvvJEg

Relevant log output

No response

Security Policy

  • [X] I have read and understood the Security Policy and this issue is not security related.

Xenius97 avatar Sep 11 '22 11:09 Xenius97

It should be work like this: https://youtu.be/Wm9UwrvvJEg

According to that video it seems like it uses a mod that modifies the camera rotation matrix "GTA V aiming (Credits: DK22Pac and Astitva)" but the animation is working.

Attempt to install the mod in singleplay without the required mod and see if it works to confirm.

Haxardous avatar Sep 12 '22 16:09 Haxardous

@Haxardous I would't be upload if not bugged. Works fine in Singleplayer without camera mod. https://streamable.com/tq13bs

Xenius97 avatar Sep 12 '22 17:09 Xenius97

Basic GTA IV animations converted to SA, works perfectly in Singleplayer. https://streamable.com/dp9k8u Mod: https://www.mediafire.com/file/996ziu5bgi2scuc/GTA+4+UPDATE+WEAPON.7z

Xenius97 avatar Sep 12 '22 17:09 Xenius97

Pretty sure it's because that animation is a partial one, and you can't really change those as intended.

It should be noted that partial animations are not supported, you can still replace them, but they won't work as intended, for example, "FightA_block" animation from "ped" block is a partial animation, you can't replace it properly, only a few animations are partial, rest of them are not, so it shouldn't be a problem. https://wiki.multitheftauto.com/wiki/EngineReplaceAnimation

PlatinMTA avatar Sep 12 '22 18:09 PlatinMTA

image

Same issues with setWeaponProperty - "flag_aim_arm".

TetsuDev avatar Sep 12 '22 21:09 TetsuDev