Jump to content

txd,dff,col


RandomRambo

Recommended Posts

Hi guys,how should I replace model if it has 3 dff different files for this model?
I know how to replace it when I have 1 txd,1 dff and 1 col files but how to replace with 3 dff,1 txd and 1 col for example?

>example of 3 files (txd,dff,col)

txd = engineLoadTXD ( "cave.txd" ) 
engineImportTXD ( txd,    3964 ) 
col = engineLoadCOL ( "cave.col" ) 
engineReplaceCOL ( col,   3964 ) 
dff = engineLoadDFF ( "cave.dff", 0 )
engineReplaceModel ( dff, 3964 )
engineSetModelLODDistance(3964, 160) 

Help please :(

Edited by RandomRambo
Link to comment
  • Administrators

There's smarter ways of going about it, but I just do this

 

txd = engineLoadTXD ( "cave.txd" ) 
engineImportTXD ( txd,    3964 ) 
col = engineLoadCOL ( "cave.col" ) 
engineReplaceCOL ( col,   3964 )
col = engineLoadCOL ( "cave.col" ) 
engineReplaceCOL ( col,   11111 ) 
col = engineLoadCOL ( "cave.col" ) 
engineReplaceCOL ( col,   22222 ) 

dff = engineLoadDFF ( "cave.dff", 0 )
engineReplaceModel ( dff, 3964 )
dff = engineLoadDFF ( "cavepackages.dff", 0 )
engineReplaceModel ( dff, 11111 )
dff = engineLoadDFF ( "cavemachines.dff", 0 )
engineReplaceModel ( dff, 22222 )

  • Thanks 1
Link to comment
8 hours ago, Tut said:

There's smarter ways of going about it, but I just do this

 

txd = engineLoadTXD ( "cave.txd" ) 
engineImportTXD ( txd,    3964 ) 
col = engineLoadCOL ( "cave.col" ) 
engineReplaceCOL ( col,   3964 )
col = engineLoadCOL ( "cave.col" ) 
engineReplaceCOL ( col,   11111 ) 
col = engineLoadCOL ( "cave.col" ) 
engineReplaceCOL ( col,   22222 ) 

dff = engineLoadDFF ( "cave.dff", 0 )
engineReplaceModel ( dff, 3964 )
dff = engineLoadDFF ( "cavepackages.dff", 0 )
engineReplaceModel ( dff, 11111 )
dff = engineLoadDFF ( "cavemachines.dff", 0 )
engineReplaceModel ( dff, 22222 )

Thanks a lot :)

Link to comment
9 hours ago, Tut said:

There's smarter ways of going about it, but I just do this

 

txd = engineLoadTXD ( "cave.txd" ) 
engineImportTXD ( txd,    3964 ) 
col = engineLoadCOL ( "cave.col" ) 
engineReplaceCOL ( col,   3964 )
col = engineLoadCOL ( "cave.col" ) 
engineReplaceCOL ( col,   11111 ) 
col = engineLoadCOL ( "cave.col" ) 
engineReplaceCOL ( col,   22222 ) 

dff = engineLoadDFF ( "cave.dff", 0 )
engineReplaceModel ( dff, 3964 )
dff = engineLoadDFF ( "cavepackages.dff", 0 )
engineReplaceModel ( dff, 11111 )
dff = engineLoadDFF ( "cavemachines.dff", 0 )
engineReplaceModel ( dff, 22222 )

Waaait,look,now I have 3 col files,1 dff,1 txd (and it is 1 object (model))
So,it doesn't work 😕

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