To post a comment register a SkylinesCity account or us Disqus, social media logins, Steam or Twitch.
Contribute and submit news, guides, maps and mods directly to the site

[ARIS] Enhanced Hearse AI

Author: Soda
Share on FacebookTweet about this on TwitterShare on RedditShare on Google+

Oversees death services to ensure that hearses are dispatched in an efficient manner.

There are two sets of important concepts to keep in mind:
1. Inside vs outside a district
2. Primary vs secondary pickup zone

Inside a District

If a cemetery/crematorium is inside a district, then:
1. Its primary pickup zone is the district
2. Its secondary pickup zone is its effective area, which is specified by the game as a radius range with the building as the center. This area is approximately 50% of one tile.

Outside a District

If a cemetery/crematorium does not belong to any district, then:
1. Its primary pickup zone include all the areas within its effective area that does not belong to a district
2. Its secondary pickup zone is the rest of its effective area

Pickup Priority

Hearses will always prioritize corpses in their primary pickup zone. If there are no corpses left to pick up in both primary and secondary pickup zones, hearses will “patrol” their primary pickup zone.

Conflict Resolution

Each cemetery/crematorium gets its own dispatcher. The dispatcher will try to maximize the efficiency of all its hearses, i.e., reduce the chance that two hearses will be sent to the same location for pick up. HOWEVER, just like in real life, the dispatchers of different cemeteries/crematoriums will not call each other constantly to make sure they are not all dispatching for the same corpse. So, if you have multiple cemeteries right next to each other, it is possible that a corpse will be fought over by hearses from different cemeteries. With that said, it shouldn’t be a common occurrence.

Why is my hearse stopping at a house without the death sign?

Because it has a corpse. The game only puts up the death sign if a corpse has been sitting there for an extended period of time. One way to confirm this is to follow a hearse around. When it stops at one of those houses, you will be able to see that its load percentage increases.

Ideas, questions, thoughts, or bug reports? Please visit the official Skylines Overwatch collaboration portal: http://www.reddit.com/r/SkylinesOverwatch/
Why require Skylines Overwatch?

Check out the new FAQ: https://github.com/arislancrescent/CS-SkylinesOverwatch/wiki/FAQ

Skylines Overwatch is a high efficiency monitoring framework that mods can attach to. By using it, attached mods don’t have to monitor the city themselves. This not only makes coding mods easier, but also reduces each mod’s burden on the system. See Skylines Overwatch for more information:http://steamcommunity.com/sharedfiles/filedetails/?id=421028969

Related Mods

[ARIS] Early Death: http://steamcommunity.com/sharedfiles/filedetails/?id=421188880

Source Code

GitHub: https://github.com/arislancrescent/CS-EnhancedHearseAI

 
You're not logged in but you can still comment below.
Register a SkylinesCity account to post comments.
You can also post through a social network or without logging in.