kewiiNNN Posted February 22, 2015 Share Posted February 22, 2015 How to import these files to load dff files from one .col file and one .txd file? http://gyazo.com/0f6c3b189d9e916698f4ede1badca400 Link to comment
JR10 Posted February 22, 2015 Share Posted February 22, 2015 If you mean replace the original ones then you need the engine functions: https://wiki.multitheftauto.com/wiki/Cl ... _functions Link to comment
kewiiNNN Posted February 22, 2015 Author Share Posted February 22, 2015 col_floors = engineLoadCOL ( "edemhill.col" ) engineReplaceCOL ( col_floors, 3781 ) txd_floors = engineLoadTXD ( "edemhill.txd" ) engineImportTXD ( txd_floors, 3781 ) dff_floors = engineLoadDFF ( "edemhill.dff", 0 ) engineReplaceModel ( dff_floors, 3781 ) but how can i add more .dff files? Link to comment
JR10 Posted February 22, 2015 Share Posted February 22, 2015 Just add more lines? Try to explain better. Just change the path in engineLoadDFF and the model in engineReplaceModel. Don't forget to include your files in the meta.xml file. Link to comment
kewiiNNN Posted February 22, 2015 Author Share Posted February 22, 2015 col_floors = engineLoadCOL ( "edemhill.col" ) engineReplaceCOL ( col_floors, 3781 ) txd_floors = engineLoadTXD ( "edemhill.txd" ) engineImportTXD ( txd_floors, 3781 ) dff_floors = engineLoadDFF ( "edemhill.dff", 0 ) engineReplaceModel ( dff_floors, 3781 ) dff_floors = engineLoadDFF ( "edemhill1.dff", 0 ) engineReplaceModel ( dff_floors, 3781 ) dff_floors = engineLoadDFF ( "edemhill2.dff", 0 ) engineReplaceModel ( dff_floors, 3781 ) dff_floors = engineLoadDFF ( "edemhill3.dff", 0 ) engineReplaceModel ( dff_floors, 3781 ) but what about the ID of the files ? should i delete the numbers at txd and col? Link to comment
MIKI785 Posted February 22, 2015 Share Posted February 22, 2015 One model ID can only have one model (.dff file), so what you're doing is you replace it multiple times but only the last one is in effect. Link to comment
kewiiNNN Posted February 22, 2015 Author Share Posted February 22, 2015 i dont know what you mean Link to comment
MIKI785 Posted February 22, 2015 Share Posted February 22, 2015 You're replacing the same model 4 times but only the last one will take effect. That is: dff_floors = engineLoadDFF ( "edemhill3.dff", 0 ) engineReplaceModel ( dff_floors, 3781 ) Btw. model ID is missing in engineLoadDFF. - ignore that. it got changed. Link to comment
kewiiNNN Posted February 22, 2015 Author Share Posted February 22, 2015 col_floors = engineLoadCOL ( "edemhill.col" ) engineReplaceCOL ( col_floors, 3781 ) txd_floors = engineLoadTXD ( "edemhill.txd" ) engineImportTXD ( txd_floors, 3781 ) dff_floors = engineLoadDFF ( "edemhill.dff", 0 ) engineReplaceModel ( dff_floors, 3481 ) dff_floors = engineLoadDFF ( "edemhill1.dff", 0 ) engineReplaceModel ( dff_floors, 3781 ) dff_floors = engineLoadDFF ( "edemhill2.dff", 0 ) engineReplaceModel ( dff_floors, 371 ) dff_floors = engineLoadDFF ( "edemhill3.dff", 0 ) engineReplaceModel ( dff_floors, 6481 ) will this work? 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