Jump to content

Problem replacing the original helmet model to other object


Mimimiguel

Recommended Posts

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

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