News:

Use the "Forum Search"
It may help you to find anything in the forum ;).

Passenger Script-AI from koa - Proposed Changes

Started by Andarix, May 17, 2026, 12:28:01 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Andarix

change select start city to minimum citizen 500

Since code synchronization is difficult without a repository, I have written the new code into the file `changes_andarix.nut`.

The pathfinder does not build bridges over rivers and bodies of water with shallow banks. I need to investigate why this is the case. This behavior had already been observed in `pak.nippon` in connection with `sqai_rail`.


I have removed unused files to improve clarity.

koa

Quote from: Andarix on May 17, 2026, 12:28:01 PMThe pathfinder does not build bridges over rivers and bodies of water with shallow banks. I need to investigate why this is the case. This behavior had already been observed in `pak.nippon` in connection with `sqai_rail`.
I think the reason you can't build bridges with the "Half-Height" pak set is because it isn't tall enough.IMG_2782.png

prissi

How about setting up a guthub repo? Then things are easier to follow.

koa

Quote from: prissi on Yesterday at 12:06:34 PMHow about setting up a guthub repo? Then things are easier to follow.
Thank you for nice suggestion.
In that case, I'm not sure how to structure the repository.
How does sqai_rail?
Is it included in the main Simutrans development repository, or separate repository?

prissi

The ai are in the main branch. Since most people nowadays prefer github, it might be easier to just add repository on github by cloing from sqai. I think I would leave Andarix to suggest something.

Andarix

sqai_rail is a fork of sqai by Dwachs.

There are now 5 possibilities:

  • A new repository account is created containing the files from sqai_koa.
  • A fork of sqai_rail is created in a new repository account, and the modified files from sqai_koa are then copied into it.
  • Instead of in a new repository account, option 1 or 2 is created within the Simutrans account.
  • I create a new branch within sqai_rail and grant koa access to my repo (though I am currently unsure whether the permissions allow for granting access to only a single branch).
  • The same as option 4, but within the Simutrans account.

prissi

I am fine with repo under the simutrans ubrella or as a fork from Dwachs/Andarix. I think, forking may be easier long term to synchronize the parts that do not change but were improved in squai/sqai_rail