Hello SimCity Insiders! Im Guillaume Pierre, Lead Gameplay Scripter on SimCity. My team & I build the games simulation using the GlassBox Engine. If you have not done so yet, I recommend you read Tuesdays blog post about public transit options. Today, Im going to talk about emergent traffic.
Previous SimCity games took a map approach to traffic, where each cell would define its maximum traversable speed, along with its traffic capacity and what types of vehicles (pedestrians, cars, etc.) can go on it. In the new SimCity, however, we have actual vehicles that follow the roads, wait at lights and get stuck in traffic. They are path-bound agents that have to make decisions about where they should go, both on a strategic and tactical level.
On the strategic level, each agent is given a list of destinations it should go to, sorted by priority. For example, when Sims decide to go to work, the list goes: 1. Go to work, 2. Go back home, and 3. Leave the city.