Jump to content

Multiple TXD'S and DFF'S?


Lloyd Logan

Recommended Posts

Posted

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

If you need an Intermediate scripter feel free to PM me as I will accept "almost" any job, STATUS: UNAVAILABLE

SCOTLAND, my hometown, and the Home of GTA!

Posted
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?

If you need an Intermediate scripter feel free to PM me as I will accept "almost" any job, STATUS: UNAVAILABLE

SCOTLAND, my hometown, and the Home of GTA!

Posted

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

Posted
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?

If you need an Intermediate scripter feel free to PM me as I will accept "almost" any job, STATUS: UNAVAILABLE

SCOTLAND, my hometown, and the Home of GTA!

Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...