Anubhav Posted October 21, 2014 Share Posted October 21, 2014 elseif file == "maccer.dff" then dff = engineLoadDFF ( "maccer.dff", 0 ) engineReplaceModel ( dff, 2 ) elseif file == "leonre64.dff" then dff = engineLoadDFF ( "leonre64.dff", 0 ) engineReplaceModel( dff , 1 ) Bad usage @ 'engineReplaceModel' [Model ID 1 replace failed ] line: 6 Bad usage @ 'engineReplaceModel' [Model ID 2 replace failed ] line: 3 Link to comment
Moderators IIYAMA Posted October 21, 2014 Moderators Share Posted October 21, 2014 Model 2 is something? Model 1 is something? Link to comment
Moderators IIYAMA Posted October 21, 2014 Moderators Share Posted October 21, 2014 and what about txd Link to comment
Moderators IIYAMA Posted October 21, 2014 Moderators Share Posted October 21, 2014 then you need same txd's or remove the last overwrite. Link to comment
Anubhav Posted October 21, 2014 Author Share Posted October 21, 2014 I don't get what you mean. Please explain! Link to comment
Moderators IIYAMA Posted October 21, 2014 Moderators Share Posted October 21, 2014 Most of the dff require a txd to work. DFF = the collision TXD = the paint. (not effects, since they use image data from the "effect" itself) You can replace the txd(correct txd for this model) of an element without dff. But you can't replace dff without txd, because he doesn't know what color the element parts will be. Link to comment
Anubhav Posted October 21, 2014 Author Share Posted October 21, 2014 TXD is replaced first. I made the mod downloader but this only the problem. See the table how it downloads files = { { "bus.txd" }, { "bus.dff" }, { 'maccer.txd' }, { 'maccer.dff' }, { "leonre64.txd" }, { "leonre64.dff" } } Link to comment
Moderators IIYAMA Posted October 21, 2014 Moderators Share Posted October 21, 2014 well then you don't need to apply the dff if it is the same model. Link to comment
Anubhav Posted October 21, 2014 Author Share Posted October 21, 2014 Its not the same. Its totally different model! Link to comment
Moderators IIYAMA Posted October 21, 2014 Moderators Share Posted October 21, 2014 Same models Its not the same. Its totally different model! Apply the txd and the dff directly after each other. Link to comment
Anubhav Posted October 21, 2014 Author Share Posted October 21, 2014 I'm not sure how you are telling, but please contact me on skype. If the file is not downloaded then what? Link to comment
Moderators IIYAMA Posted October 21, 2014 Moderators Share Posted October 21, 2014 Then you check if the file does exist: https://wiki.multitheftauto.com/wiki/FileExists Link to comment
$@!m HeRO Posted October 21, 2014 Share Posted October 21, 2014 wait...tell me only that : you want a resource containing meta file with script and txd and dff files to work on ? i mean you want example.txd and example.dff to replace the skin (example) SKIN ID : 277 , whenever you start the resource ? or what ? Link to comment
Moderators IIYAMA Posted October 21, 2014 Moderators Share Posted October 21, 2014 He is using his own file share system, to share the txd/dff. Some of his txd/dff files are corrupted, that is the problem. (skype info) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now