EngineLoadCOL: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
__NOTOC__  
__NOTOC__  
This function loads a RenderWare Collision (COL3) file into GTA. The collisions can then be used to provide collisions for in-game objects.
This function loads a RenderWare Collision (COL3) file into GTA. The collisions can then be used to provide collisions for in-game objects.
For vehicles, please omit this function by embedding your COL file into your DFF file. This way, you can be sure that the COL file is correctly (and automatically) loaded when calling [[engineLoadDFF]].


This is a client-side function. Be sure to transfer your COL file by including it in the meta file.
This is a client-side function. Be sure to transfer your COL file by including it in the meta file.

Revision as of 22:15, 9 June 2007

This function loads a RenderWare Collision (COL3) file into GTA. The collisions can then be used to provide collisions for in-game objects.

For vehicles, please omit this function by embedding your COL file into your DFF file. This way, you can be sure that the COL file is correctly (and automatically) loaded when calling engineLoadDFF.

This is a client-side function. Be sure to transfer your COL file by including it in the meta file.

Syntax

txd engineLoadCOL ( string col_file ) 

Required Arguments

  • col_file: The relative path to the col file you want to load

Returns

Returns a col object if the file was loaded, false otherwise.

Example

See Also