Jump to content

Fix engineReplaceModel collisions


diegofkda

Recommended Posts

Posted

I was doing real cars, but i saw it has a bug

So wiki says:

Example

______________________________________________________________________________________________

Example 1: This example loads a combination of a custom DFF and TXD file to replace the Euros vehicle in-game. The collisions are embedded inside the DFF file.

outputChatBox ( "> replacing the euros vehicle" ) 
  
txd = engineLoadTXD ( "data/euros.txd" ) 
engineImportTXD ( txd, 587 ) 
dff = engineLoadDFF ( "data/euros.dff", 587 ) 
engineReplaceModel ( dff, 587 ) 

So whats the bug?

The bug is... DFF collisions doesnt works, engineReplaceModel uses the original collisions.

In this example, if i import a Nissan Skyline GTR, it will use the original Euros collisions.

So, can MTA team fix it? its already fixed for 1.1 mta version?

"Everything exists, because otherwise nothing would", Bob Marley, 2015.

Posted
engineLoadCOL 
engineReplaceCOL 

"engineReplaceCOL: Object models are supported only (no vehicles or players)."

Yep.

I used it and it doesnt works lol.

"Everything exists, because otherwise nothing would", Bob Marley, 2015.

Posted
"engineReplaceCOL: Object models are supported only (no vehicles or players)."

*trollface*

Well, I'm quite sure MTA Staff will do something to solve that, diegofkda ;)

Posted
"engineReplaceCOL: Object models are supported only (no vehicles or players)."

*trollface*

Well, I'm quite sure MTA Staff will do something to solve that, diegofkda ;)

i hope :roll:

"Everything exists, because otherwise nothing would", Bob Marley, 2015.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...