Moving Population Sets


This weekend I continued to work on the tribal migration feature by adding the migrating population selection process I talked about last week. Now, when a new migration event is generated, the cell group chooses which population set to migrate, which can belong to any of the polities present on the cell, or a set of unorganized bands if any is present. I also finally removed the old polity expansion event, and now tribes depend completely on the migration event to expand.

The next step is going to be a lengthy one. In the next weeks I'll be implementing the tribal migration logic I have been talking about in the last month. When deciding to migrate a tribe population into a neighboring cell, the tribe will need to take into account if that cell belongs to a region the tribe wants to settle, or if that cell is closer to that region. It will be a tricky problem because sometimes the shortest path will guide the population into a dead end (like the inner side of a peninsula). So I might need to implement a simple pathfinding algorithm to help them move through a valid pathway toward the target region, if any.

Get Worlds - History Simulator

Leave a comment

Log in with itch.io to leave a comment.