Cyka Posted January 22, 2018 Share Posted January 22, 2018 Is there any way to mod this so that it applies the cargo haulers and player? to prevent cargo haulers stuck/not docking. I've heard that it is a fairly good fix. Link to comment Share on other sites More sharing options...
Hellatze Posted January 22, 2018 Share Posted January 22, 2018 Use this instead : https://www.avorion.net/forum/index.php/topic,4422.0.html Link to comment Share on other sites More sharing options...
Shrooblord Posted January 22, 2018 Share Posted January 22, 2018 I was actually investigating this just now, as I wanted to not change the docking distance, but the docking speed of the tractor beams. Stay tuned. I may find it soon, or find out it may not be exposed to us in script. Link to comment Share on other sites More sharing options...
Cyka Posted January 22, 2018 Author Share Posted January 22, 2018 Use this instead : https://www.avorion.net/forum/index.php/topic,4422.0.html Im prefering a more automated system, Rusty server runs it. Link to comment Share on other sites More sharing options...
Shrooblord Posted January 30, 2018 Share Posted January 30, 2018 I've looked through what I believe to be all the code considering the tractor beams, and I have not found values to modify for their specific activation, the distance from which they actually activate or the speed at which they drag ships towards the dock. They don't specifically get activated as far as I can tell, but rather are internally activated by the core game code as soon as docks:startDocking() is called (where docks is a predefined shorthand for the appropriate code; see dock.lua, for example). Furthermore, as soon as docks:startDocking() is called, the tractor beams appear and grab the ship passed to that function. This is interesting, because it can happen anywhere in the Sector. However, they are purely visual until the ship approaches ~0.5 km distance to the dock (this varies a little; I've also seen ships being grabbed at around 0.75 km and only starting at 0.25 km), at which point they inactivate all functionality, even script ticking (you can't, for example, hide UI buttons while this proces is taking place), on the ship in question, until it has docked. The good news is I was succesful in my efforts: I have made an Automatic Docking mod. Please stay tuned. It will appear soon. ^^ Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now