Ricky Phelps Posted June 19, 2013 Posted June 19, 2013 I tried to replace skin 164 (wmyboun) several times with different skin mods but every time I do it, it turns out like this: It looks like the model was replaced but the texture is blank. This is under onClientResourceStart: modelFile = engineLoadDFF("files/wmyboun.dff") engineReplaceModel(modelFile, 164) textureFile = engineLoadTXD("files/wmyboun.txd") engineImportTXD(textureFile, 164) This is in meta.xml: "files/wmyboun.dff" type="client"/> "files/wmyboun.txd" type="client"/> This shows that the files are in the proper directory: Can somebody please help me resolve this issue? Thanks, Ricky Phelps
Castillo Posted June 19, 2013 Posted June 19, 2013 Download "TXDworkshop" and make a DFF check, to see if the model uses the textures inside the TXD.
Castillo Posted June 19, 2013 Posted June 19, 2013 It has nothing to do with that, the TXD doesn't has the textures it should have.
xXMADEXx Posted June 19, 2013 Posted June 19, 2013 It has nothing to do with that, the TXD doesn't has the textures it should have. Not really sure if it does, but a while back, when I was scanning the forums, 50p said that the txd needs to be loaded first.... But, not sure if it works. (on this page: viewtopic.php?f=91&t=60867&p=580304#p580172 )
Ricky Phelps Posted June 19, 2013 Author Posted June 19, 2013 Load the TXD first. Then the DFF in the script. I love you, it worked. Thanks a ton.
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