Mimimiguel Posted February 9, 2013 Share Posted February 9, 2013 Well, as the title says, I've got a problem replacing the original helmet model to other object, I'm doing such thing to try to script a kind of helmet attached to player's head. The problem is that the texture shows white, as if there was not texture, I tried also with a modded texture but it didn't also worked. Here you have the code I did so if the error is there let me know: txt = engineLoadTXD( "helmet.txd" ) engineImportTXD( txt, 2052 ) dff = engineLoadDFF("helmet.dff", 0 ) engineReplaceModel( dff, 2052 ) Link to comment
Castillo Posted February 9, 2013 Share Posted February 9, 2013 Try doing a DFF check with TXDworkshop. Link to comment
Mimimiguel Posted February 9, 2013 Author Share Posted February 9, 2013 Shows me this: Link to comment
50p Posted February 10, 2013 Share Posted February 10, 2013 Looks like your models didn't have a texture applied to it before it was exported from 3D app. Link to comment
Mimimiguel Posted February 10, 2013 Author Share Posted February 10, 2013 Well, working with the original dff of the helmet from the game I could put the texture on it, but now I got a problem that I don't know how to fix: You see that triangle in the middle of the helmet? well, I don't really know what it's there and how to fix it. Thanks in advance. Link to comment
50p Posted February 10, 2013 Share Posted February 10, 2013 It's hard to say what it is from the screenshot. It looks like a texture problem or vertex ordering is different. Try to weld all the vertices that are close to each other. 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