Jump to content

PLEASE HELP ME I'M STARTING TO LOSE MY MIND


Recommended Posts

I dont know what is wrong with my colision file but it didnt work

client.lua

txd = engineLoadTXD ( "4807.txd" )
engineImportTXD ( txd, 3781 )
col = engineLoadCOL ( "4807.col" )
engineReplaceCOL ( col, 3781 )
dff = engineLoadDFF ( "4807.dff" )
engineReplaceModel ( dff, 3781 )
 

meta.xml

<meta>
    <info author='MavisBey' name='MavisBey4807' />
       <script src='client.lua' type='client' />
     <file src="4807.txd" />
     <file src="4807.dff" />
     <file src="4807.col" />
</meta>

photo of colision file

https://i.hizliresim.com/dr1gvbt.PNG

 

Link to comment
  • Administrators

When you say it doesn't work, do you mean it's loading the object's original collision instead of your custom collision? Have you tried placing the object somewhere else ingame instead of in the original location? @MavisBey4807

Link to comment
Just now, Tut said:

When you say it doesn't work, do you mean it's loading the object's original collision instead of your custom collision? Have you tried placing the object somewhere else ingame instead of in the original location? @MavisBey4807

i mean colision dont work i can go through object. and i didnt try diffrent location

Just now, MavisBey4807 said:

i mean colision dont work i can go through object. and i didnt try diffrent location

thanks for help it works in another location but not where i want

Link to comment
  • Administrators
3 minutes ago, MavisBey4807 said:

i mean colision dont work i can go through object. and i didnt try diffrent location

The original object doesn't use collisions, and has IDE flag 130, which makes me think it is trying to load the model without collisions in MTA.

Try placing it in a different location. Does that work? If it doesn't work, then click its object properties (select the object with map editor) and make sure collisions are set as enabled. If that also doesn't work, then you will need to replace an object that by default has collisions, such as ID 4576

  • Thanks 1
Link to comment
Just now, Tut said:

The original object doesn't use collisions, and has IDE flag 130, which makes me think it is trying to load the model without collisions in MTA.

Try placing it in a different location. Does that work? If it doesn't work, then click its object properties (select the object with map editor) and make sure collisions are set as enabled. If that also doesn't work, then you will need to replace an object that by default has collisions, such as ID 4576

thanks bro problem solved ❤️

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