Page 1 of 1

side railroad

Posted: Tue Apr 26, 2022 9:52 am
by CHINCHIN
Will the facing of the railways be fixed?

Now it costs 1 movement point to traverse the rail side, and also if it is a mountain side or any other terrain. The same happens with the supply, even if the line is cut, if there is another contiguous hex with a railway, the supply passes even if it is not connected.

Re: side railroad

Posted: Mon May 02, 2022 1:10 am
by AlvaroSousa
You mean the line connected itself? It checks via if the hex is rail not the specific direction.

WP2 engine has already improved this.

At the time of WP1 I couldn't figure out an easy way to check this. I also don't want to mess with the code creating a disaster. The pathfinding codes in WP2 are different and improved.

Re: side railroad

Posted: Mon May 02, 2022 10:15 am
by CHINCHIN
Yes, to the connection.
WP RR.jpg
WP RR.jpg (41.16 KiB) Viewed 357 times
Ok.

Re: side railroad

Posted: Thu May 05, 2022 1:26 pm
by AlvaroSousa
Yes that is connected. As long as they touch. I was fairly novice to programming when I did WarPlan and couldn't figure out how to do it. WP2 has it. It was about CPU time to check. I found a shortcut.