Cities: Skylines

Cities: Skylines

[Deprecated] SOM - Services Optimization Module
Dyemond42 Mar 31, 2015 @ 5:06am
Multiple Hearses Dispatched to the Same Location
I have not checked the newest update, but in previous versions of this Mod I noticed that sometimes I would get multiple hearses in a row all going to the same location. They would do this 3-4 times then the hearses that were following the front Hearse would start to despawn and then get redispatched from their home base and repeat.

If this has been fixed then please just ignore this questions, but is it possible to mark a certain location as "Covered" or "Taken Care Of" so that only one hears will be dispatched to a given location?
< >
Showing 1-4 of 4 comments
Soda  [developer] Mar 31, 2015 @ 5:51am 
Yeah, it's been fixed. The first version of the mod used a greedy algorithm for AI. While it works well when you have a lot of corpses all over the place, the AI fails when you have a bunch of hearses around a few corpses.

The new version uses a notify-claim-challenge model for AI. In simple terms, the dispatcher notifies all its hearses of a new corpse; one hearse (usually the first free one to receive the message) will claim it; others can claim the corpse if they can state a superior claim to the current claimant. So, if you see a hearse moving away from its closest corpse, chances are there's another hearse better positioned to pick it up and won the challenge.
Dyemond42 Mar 31, 2015 @ 1:44pm 
Wow this is some great decision making, I would love to see the code that is used to make those decisions, especially the challenge claim rating methods.
Soda  [developer] Mar 31, 2015 @ 2:05pm 
I'll put the code on Github once it becomes relatively stable. When I do that, I'll link it here :)
Dyemond42 Apr 1, 2015 @ 7:59am 
Awesome thanks!
< >
Showing 1-4 of 4 comments
Per page: 1530 50