Pathfinding fails when path is blocked off by object on one side of the door #17

Closed
opened 2016-01-24 20:23:08 +00:00 by HLaan · 3 comments
HLaan commented 2016-01-24 20:23:08 +00:00 (Migrated from gitlab.com)

This happened in my most recent save: a raider ship docked just behind my Seed Pod, which was placed against the wall. When raiders tried to enter my main base, they were held back by the pod, generating a lot of error messagesmoai_log_Space.txt (warning: 2.1 Mb log file). Security also couldn't enter the raider base. Save file and screenshot if things aren't clear yet.

Possible Resolutions:

  • Check when docking if the spot behind the door isn't occupied, avoids the issue of an nonexistant path.
  • Outfit all docking ships with an airlock so that raiders have an alternate path to enter the base. This fails in the case that the base has no other entry point, deliberately blocked off or not.
  • Allow raiders to demolish objects that block their path. This would also fix the likely issue of deliberately placing other objects to block off raiders. Would not make players happy, because it might destroy vital apparatus.
  • Let raiders attack objects in their path, and when they damage it to the point of destruction (0%), they can pass through it. Would look odd, but fix deliberate blocking

Also guys, what happened to you? Over the last 2 days I've sent an email, an bug report and a merge request, all of which went unanswered up to now. This project looks like it has some potential and I'd really like to help out, but I don't want to do this alone. Could someone from @all please reply to assure me there is someone on the other side?

This happened in my most recent save: a raider ship docked just behind my Seed Pod, which was placed against the wall. When raiders tried to enter my main base, they were held back by the pod, generating a lot of error messages[moai_log_Space.txt](/uploads/7e47ba28dc0a626736fc5e2b53259201/moai_log_Space.txt) (warning: 2.1 Mb log file). Security also couldn't enter the raider base. [Save file](/uploads/fd8525aa616ddcc39cad59b6aa77aab4/SpacebaseDF9AutoSave.sav) and [screenshot](/uploads/9d7772604ee3399ccc26fcbe2410e09a/2016-01-24_00001.jpg) if things aren't clear yet. Possible Resolutions: * Check when docking if the spot behind the door isn't occupied, avoids the issue of an nonexistant path. * Outfit all docking ships with an airlock so that raiders have an alternate path to enter the base. This fails in the case that the base has no other entry point, deliberately blocked off or not. * Allow raiders to demolish objects that block their path. This would also fix the likely issue of deliberately placing other objects to block off raiders. Would not make players happy, because it might destroy vital apparatus. * Let raiders attack objects in their path, and when they damage it to the point of destruction (0%), they can pass through it. Would look odd, but fix deliberate blocking Also guys, what happened to you? Over the last 2 days I've sent an email, an bug report and a merge request, all of which went unanswered up to now. This project looks like it has some potential and I'd really like to help out, but I don't want to do this alone. Could someone from @all please reply to assure me there is someone on the other side?
bryceharrington commented 2016-01-29 18:27:54 +00:00 (Migrated from gitlab.com)

Yeah I've seen this both with seed pods and also with ship engines (i.e. a ship docked to the engine of a previously docked ship). I wonder if any other constructions do this? E.g. fridges or dressers?

Checking that the spot behind the door is probably the easiest solution. Like you mention it doesn't prevent players from quickly erecting a barricade, but seems like a tactic that could be realistically used.

And yes, raiders should shoot their way through blocking objects. It's not clear why they don't. Bug in pathfinding?

As far as responding to your requests, dude you need to be more patient. All of us are real people with real lives and jobs and whatnot. :-)

Yeah I've seen this both with seed pods and also with ship engines (i.e. a ship docked to the engine of a previously docked ship). I wonder if any other constructions do this? E.g. fridges or dressers? Checking that the spot behind the door is probably the easiest solution. Like you mention it doesn't prevent players from quickly erecting a barricade, but seems like a tactic that could be realistically used. And yes, raiders should shoot their way through blocking objects. It's not clear why they don't. Bug in pathfinding? As far as responding to your requests, dude you need to be more patient. All of us are real people with real lives and jobs and whatnot. :-)
HLaan commented 2016-01-30 11:49:50 +00:00 (Migrated from gitlab.com)

mentioned in merge request !7

mentioned in merge request !7
HLaan commented 2016-01-30 21:16:40 +00:00 (Migrated from gitlab.com)

Status changed to closed by commit 227d9f538e

Status changed to closed by commit 227d9f538e6c321c637ce59b9b071c43becb2aa7
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ald_productions/spacebase-v2-updated-code#17
No description provided.