Jump to content

TXD replacement changing all known textures with same name?


J.S.

Recommended Posts

So I've made a script which was intended to change the texture of a single road. The code itself is fairly remedial and should come as no surprise

txd = engineLoadTXD("newroads1.txd") 
engineImportTXD(txd, 5506) 

The script successfully replaces the road which it was intended to replace, however for some reason it goes on to replace all roads using the same textures (dt_road and snpedtest1 to be specific) even though it was set to change only that single road (5506).

(Visual explanation)

Any clues as to why this is? Everything seems like it should be working as it should.

Edit: To clarify, the road I intended on changing is a single object, the others are separate objects.

Link to comment
  • 3 weeks later...

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