Page 1 of 1

[kovarex] [0.16.35] Rail planner doesnt replan if obstacle destroyed

Posted: Sat Mar 24, 2018 5:09 pm
by Bilka
When you ghost plan a rail in front of an obstacle (so it cant continue) and then destroy that obstacle without letting go of the rail planner, the planner with still show the red x despite the path being clear.


Re: [0.16.35]Rail planner doesnt replan if obstacle destroyed

Posted: Sat Mar 24, 2018 5:52 pm
by Jap2.0
Can you normally build over ghosts with the rail planner?

Re: [0.16.35]Rail planner doesnt replan if obstacle destroyed

Posted: Sat Mar 24, 2018 6:48 pm
by Bilka
Jap2.0 wrote:Can you normally build over ghosts with the rail planner?
No. But if I stop planning and then plan again, the rail planner will still show instead of the red x.

Re: [0.16.35]Rail planner doesnt replan if obstacle destroyed

Posted: Mon Mar 26, 2018 11:38 am
by kovarex
This is a very specific situation. The rail path finder would have to somehow react to things being destroyed, or try to re-path again from closed locations, which would make it way less efficient, so I would say that this is not worth fixing.

Re: [kovarex] [0.16.35] Rail planner doesnt replan if obstacle destroyed

Posted: Mon Mar 26, 2018 1:53 pm
by Aeternus
A ghost won't replace a ghost. You'd need to first clear the "destroyed building" ghost (with the purple countdown bar) before the area is actually clear. If you don't ghost build the rails but actually build the rails directly, I think you could plow through a destroyed wall like this. Haven't tried it though.