Jump to content

Collisions when restarting a resource


Controlled

Recommended Posts

Posted

When we add a .map to our server we get some weird issues. We add it, restart the resource and then its fine. But when someone else reconnects to the server, they get weird collisions on the map all over the place. The only way to fix it is to restart that resource again. But when you reconnect the issue starts again.

I'm not sure if I am missing something or what.

Thanks

Posted
"editor_main"> 
    "object (bighangar1_SFx) (4)" interior="0" alpha="255" doublesided="false" model="3816" scale="1" dimension="0" posX="1686.599609375" posY="-2662.5" posZ="21.10000038147" rotX="0" rotY="0" rotZ="179.99450683594"> 
    "object (arhang_LAS) (1)" interior="0" alpha="255" doublesided="false" model="3629" scale="1" dimension="0" posX="1890.8000488281" posY="-2659.6999511719" posZ="19.200000762939" rotX="0" rotY="0" rotZ="0">

 

Like that and then in the Meta:

"airport.map" dimension="0">

Posted

I think I got what you are doing there now.

I'm not into this kinda whatever it is called.

So about your problem, what do you mean by collisions?

Since no one else replied yet this doesn't seem to be clear.

Posted

Collisions is when a Element can run into a object, or walk through it.

The collisions are set to true which they shouldnt be. When I restart the resource while I'm online then the collisions get fixed but after reconnecting they are all set to true.

Posted

Hmm, so you want the collisions to be off? True would make them be enabled.

Newer maps have a collision attribute in their map files.

Maybe some server side function attached to resource start event is modifying something.

This would only affect you while you are on the server.

  • Moderators
Posted

Your problem is still not clear at all. That's why no one can suggest fixes. We just understood there are problems with collisions but that's not enough.

Posted

This thread is here, if you do not understand you can ask questions. Simply saying "We don't understand" is not helping anyone. What do you not understand, so I can explain it to you?

  • Moderators
Posted

As far I know, you only can explicitly disable the collisions from the script. You just shown us your map file.

(I finally understood you want to turn off the collisions for some objects and it only works when you restart the resource. If you just connect, the collisions are still on for that same objects.)

  • Moderators
Posted

Then none of the collisions can be turned off, I don't even understand how the collisions are turned off after a restart ...

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