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

After the model replacement, the frames are not properly loaded #3699

Open
1 task done
FileEX opened this issue Sep 5, 2024 · 3 comments
Open
1 task done

After the model replacement, the frames are not properly loaded #3699

FileEX opened this issue Sep 5, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@FileEX
Copy link
Contributor

FileEX commented Sep 5, 2024

Describe the bug

When we load a model that has more than one frame, all the remaining frames are ignored. Only one frame appears in the game.

image

In the game, there is only one frame; the remaining frames are not loaded.

Steps to reproduce

  1. Replace, for example, the windmill (3425), and the model will be incomplete. It's enough to load the default model—no edits are necessary.

Version

Multi Theft Auto v1.6-release-22650

Additional context

No response

Relevant log output

No response

Security Policy

  • I have read and understood the Security Policy and this issue is not security related.
@FileEX FileEX added the bug Something isn't working label Sep 5, 2024
@tut001
Copy link
Member

tut001 commented Sep 6, 2024

MTA doesn't load multiclump DFF's, which is another name for what you're refering to here. Other examples of multiclump models are CJ clothes and body parts which have all body transformations in each dff, so when he's normal fit/jacked/obese.

If you're looking for a temporary solution with request instead of replace, according to #3131 you can allocate multiclump models. Also #3003 and #3170 may be interesting to read

Even if you could load the clumps, the implementation to support object animations would still be missing, unless that is handled by the already implemented custom IFP functions?

@FileEX
Copy link
Contributor Author

FileEX commented Sep 6, 2024

That's interesting. Is there any idea why this is happening? Is this an intended effect or an old bug? If it is a bug then I think it's worth fixing and I'll definitely look into it.

Even if you could load the clumps, the implementation to support object animations would still be missing, unless that is handled by the already implemented custom IFP functions?

I know this, I noticed that object animations are also not supported in MTA and I added it to my to-do list as well. I created functions to manipulate model frames, kind of like vehicle components. This will allow to do all sorts of interesting things like interactive construction sites etc. It was while testing these functions that I noticed problems with loading models that have more than one clump.

@nekjutsu
Copy link

nekjutsu commented Sep 7, 2024

That's interesting. Is there any idea why this is happening? Is this an intended effect or an old bug? If it is a bug then I think it's worth fixing and I'll definitely look into it.

Even if you could load the clumps, the implementation to support object animations would still be missing, unless that is handled by the already implemented custom IFP functions?

I know this, I noticed that object animations are also not supported in MTA and I added it to my to-do list as well. I created functions to manipulate model frames, kind of like vehicle components. This will allow to do all sorts of interesting things like interactive construction sites etc. It was while testing these functions that I noticed problems with loading models that have more than one clump.

I've been waiting for IFP animations for objects for 2 years now, I'd be glad if someone would take on this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants