Jump to content

Can't load custom COL


laurens

Recommended Posts

I'm fizzling around with loading custom objects, but I found a problem.

Loading a custom .col file does not work, the .dff works fine though.

This is my (client code):

engineReplaceCOL ( engineLoadCOL ( "collision.col"), 3374 ) 
engineReplaceModel ( engineLoadDFF ( "blokje.dff", 0 ), 3374 ) 

And this is part of the meta.xml:

<meta> 
    <file src="blokje.dff" /> 
    <file src="collision.col" /> 
</meta> 

It says that there's a bad COL pointer at line 1.

Link to comment
I'm fizzling around with loading custom objects, but I found a problem.

Loading a custom .col file does not work, the .dff works fine though.

This is my (client code):

engineReplaceCOL ( engineLoadCOL ( "collision.col"), 3374 ) 
engineReplaceModel ( engineLoadDFF ( "blokje.dff", 0 ), 3374 ) 

And this is part of the meta.xml:

<meta> 
    <file src="blokje.dff" /> 
    <file src="collision.col" /> 
</meta> 

It says that there's a bad COL pointer at line 1.

Not sure, but does it help if you replace:

engineReplaceModel ( engineLoadDFF ( "blokje.dff", 0 ), 3374 ) 

with?:

engineReplaceModel ( engineLoadDFF ( "blokje.dff",[b]3374[/b] ), 3374 ) 

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