Lloyd Logan Posted January 5, 2013 Share Posted January 5, 2013 Hey, i was wondering how you put in serveral txds and dffs, as i downloaded a skin mod and it had 4 txds and 4 dffs, so if this were the case for one : txd7 = engineLoadTXD("skins/12.txd") -- Police LV engineImportTXD(txd7, 51) dff7 = engineLoadDFF("skins/12.dff", 51) engineReplaceModel(dff7, 51) Would i just keep continuing doing this with the dffs and txds? Would it not mess it up if i were to put a txd file over another txd file? If you get what i mean? Thanks in advance Lloyd Logan Link to comment
uhm Posted January 5, 2013 Share Posted January 5, 2013 it will mess up indeed, you should replace one model per txd and dff couple Link to comment
Lloyd Logan Posted January 5, 2013 Author Share Posted January 5, 2013 it will mess up indeed, you should replace one model per txd and dff couple So why is it that when I download a skin mod it has several txds and dffs, like feet.txd arms.txd? Link to comment
uhm Posted January 5, 2013 Share Posted January 5, 2013 oh, you are talking about CJ clothes, I didn't quite realise in that case you should use this function addPedClothes so no (engine) model replacement is involved then Link to comment
50p Posted January 6, 2013 Share Posted January 6, 2013 If a model uses more than 1 texture then all the textures must be inside 1 .txd file. In this case replacing 1 txd file will apply all the textures from this file. AFAIK you can't replace clothes models but you can replace other ped models. Link to comment
Lloyd Logan Posted January 6, 2013 Author Share Posted January 6, 2013 If a model uses more than 1 texture then all the textures must be inside 1 .txd file. In this case replacing 1 txd file will apply all the textures from this file. AFAIK you can't replace clothes models but you can replace other ped models. So how would i apply multiple TXD's and DFF's? Link to comment
50p Posted January 6, 2013 Share Posted January 6, 2013 You need to understand, you can apply only 1 txd ("texture archive") to specific model. If you single model uses multiple "textures" then they need to be put into 1 "texture archive" (txd file). If you open a txd file with TXD Workshop or G-TXD, you will find that it contain more than 1 texture. Most of the txd files hold more than 1 texture (especially environment and vehicles) but not all of them. 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