Jump to content

WASP103

Members
  • Posts

    5
  • Joined

  • Last visited

WASP103's Achievements

0

Reputation

  1. Currently you can't really control engagement range, since the mod only attributes for target-re-evaluation range, NOT engagement distance. I'm currently working on an upgrade to the attack order of Carrier Commander mod. The plan is to make fighters stay within a certain percentage of their max weapon range. Hopefully ending up in a PR to the original author. That might fix some things for you and while I'm at it, I'll let you know if and how easily I can give you some control over miner/salvager fighter range. Until then it might already help you to switch to squad-based distance calculation to get more mileage out of them.
  2. As a reply to your question there: [MOD] BetterDocking Try setFlyLinear() instead of setFly() :*
  3. This mod uses the builtin collision checking while flying towards the end of the docking strip (the path of lights) and away from the docking port. In Order for the ship to get close enough to the docking port, I had to fall back to a method of movement without the builtin collision checking within those landing lights. On this final approach, I've implemented a means of collision checking with the docking port AND the station itself, but not with other surrounding objects. Otherwise in weirdly shaped stations, the freighter would stop far away from docking ports in order to avoid "collisions" with the bounding boxes/spheres of said stations. So as long as you stay out of landing strips, you should be absolutely fine. Two more things that got improved versus vanilla behaviour is that now a freighter will use the collision avoidance movement on the way back to the end of the docking lights after its transaction, so you and other approaching freighters should be quite safe at least from collisions with departing ships. The other thing that helps a great deal with collision avoidance is that now each freighter uses the docking port that is nearest to its position when entering a sector. Vanilla always used a single, fixed docking port for freight traffic. The problem you describe in the other post mainly originates from that builtin collision prevention system. If the ship detects that it can't move to any direction without colliding with something, it will simply refuse to move. (eg: little fragments of salvage reaching into the ships' current bounding box/sphere) A solution for that behaviour could be implementing a "brute force" method after a certain time of immobility. Brute force meaning deactivating the collision detection and moving out of the debris field, even if collisions might occur.
  4. I've just released a Mod to the public that deals with traders docking (more) properly. It solves the mentioned docking port selection issue together with most of the collisions with stations. See [MOD] BetterDocking
  5. BetterDocking A mod for Avorion that enforces a system wide don't drink and fly policy for tradeship pilots. What it does: Prevents traders from crashing into stations (and other things) at all costs. (Please share findings with me in case that you can actually make them fly into things again) Prevents traders from wreaking havoc over your station in case you're currently editing it and "accidentally" delete their desired docking port in the process. Prevents traders from pushing stations across the whole system. Won't happen again. Traders now use the docking port closest to their entry point to the system, distributing load over all docking ports Traders who just take too long, now jump out of the sector again in order to prevent Kessler Syndrome What it does not: Enforce aforementioned policy. They still do what they want... It's just that their autopilot got a decent upgrade now :P Verification: Over the course of several days of testing, data was gathered for camparison. Latest results show a significant reduction of docking accidents: V1.0.4 is down to one accident per ~600 Docking maneuvers (your mileage may still vary depending on station and ship hulls) Verification Spreadsheet BetterDocking was also verified on several public servers that run the mod: Rusty's Galaxy Servers GER Cyber-Junkies-Galaxy Server If you want your server to be listed here as well, please PM me. Download latest .zip BetterDocking on GitHub special thanks A big shoutout to Dirtyredz for a lot of support and help with Avorion modding. Also check out his awesome mods and server tools!
×
×
  • Create New...