Open tut001 opened 5 years ago
I've tried to replace model IDs listed in https://wiki.multitheftauto.com/wiki/Clothing_Component_IDs
engineReplaceModel isn't able to replace the ID, isn't it possible to whitelist those IDs?
yeah, this would be cool, any ideas?
In the meantime I think a shader will work
What about using something like engineRequestModel("cj") to add those IDs into customizable CJ body parts?
In the meantime I think a shader will work
Shaders work on body parts, but AFAIK there's no way to create vertices in a DirectX 9 vertex shader. So they can replace CJ body parts textures and perform morphing, but not introduce geometric detail to scenes or perform tessellation.
According to this page you can replace TXD's but not DFF's. https://wiki.multitheftauto.com/wiki/Clothing_Component_IDs
I wonder if it will ever be possible to replace body.dff from cj, I don't see it anytime soon mta developers are focused on patches and stuff and not on adding something, I would be happy to contribute more I don't have time to read it all the source code of mta
It would be a great addition
Is your feature request related to a problem? Please describe. MTA doesn't allow loading/replacing CJ clothing and body parts. (done testing on SP and MTA with modded player.img which on the other hand does work just fine)
Describe the solution you'd like MTA engine should be able to load and replace custom models stored in player.img
Describe alternatives you've considered Very far away there's an alternative being modifying a player.img for your server and having each player install it into their local files. As MTA does render local custom player.img, but can't seem to load/replace using the engineLoadDff/engineReplaceDff.
Additional context Use this for testing if you need to. No errors, only poor rigging. 30541.dff.zip