Jump to content

Problem replacing the original helmet model to other object


Mimimiguel

Recommended Posts

Posted

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 ) 
  

Posted

Looks like your models didn't have a texture applied to it before it was exported from 3D app.

Posted

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:

mtascreen20130210163758.png

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.

Posted

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.

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...