Jump to content
  • 0

Custom models collisions problem


dzek (varez)

Question

Hi.

I have a mta server,

I have there a custom models,textures and collisions (a skate park, downloaded from community).

The problem is the collisions of custom models sometimes stop to work (collisions are getting back to that ones from original model, replaced by the script).

I had the same problem with old_garage resource.

I tried to fix this, writing a script that "refreshes" the collisions when a player gets near custom models (150m from whole skatepark).

Now i see even that models are loosing their collisions (and dissapear when im really close to them).

My fix works great with old_garage resource, but i cannot fix this in that way :/

The strangest thing is that i put more than one of object (same object, just cloned it) and one work ok, another fails..

Any ideas?

Link to comment

5 answers to this question

Recommended Posts

  • 0

Hi.

I have a mta server,

I have there a custom models,textures and collisions (a skate park, downloaded from community).

The problem is the collisions of custom models sometimes stop to work (collisions are getting back to that ones from original model, replaced by the script).

I had the same problem with old_garage resource.

I tried to fix this, writing a script that "refreshes" the collisions when a player gets near custom models (150m from whole skatepark).

Now i see even that models are loosing their collisions (and dissapear when im really close to them).

My fix works great with old_garage resource, but i cannot fix this in that way :/

The strangest thing is that i put more than one of object (same object, just cloned it) and one work ok, another fails..

Any ideas?

Link to comment
  • 0

LOD is set to 500 which is MTA maximum.

Btw: in GTA (dunno about San Andreas, but it was working that way in Vice City) where you set too high LOD value, object loosing collisions whatever you do. It was visible from another end of the map, but you was just passing through it wen stryng to iht the object.

I`ve temporarly fixed it by reloading model, textures and collisions when player gets nearby, but objects are "blinking" with that method :(

Link to comment
  • 0

LOD is set to 500 which is MTA maximum.

Btw: in GTA (dunno about San Andreas, but it was working that way in Vice City) where you set too high LOD value, object loosing collisions whatever you do. It was visible from another end of the map, but you was just passing through it wen stryng to iht the object.

I`ve temporarly fixed it by reloading model, textures and collisions when player gets nearby, but objects are "blinking" with that method :(

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