Cities: Skylines

Cities: Skylines

[Deprecated] SOM - Services Optimization Module
Dyemond42 2015 年 3 月 31 日 上午 5:06
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?
< >
正在显示第 1 - 4 条,共 4 条留言
Soda  [开发者] 2015 年 3 月 31 日 上午 5:51 
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 2015 年 3 月 31 日 下午 1:44 
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  [开发者] 2015 年 3 月 31 日 下午 2:05 
I'll put the code on Github once it becomes relatively stable. When I do that, I'll link it here :)
Dyemond42 2015 年 4 月 1 日 上午 7:59 
Awesome thanks!
< >
正在显示第 1 - 4 条,共 4 条留言
每页显示数: 1530 50