Cities: Skylines

Cities: Skylines

135 arvostelua
Enhanced Hearse AI [Fixed for v1.4+]
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Mod
Tiedostokoko
Julkaistu
Päivitetty
30.208 KB
25.12.2015 klo 7.28
27.3.2016 klo 8.21
17 muutosilmoitusta ( näytä )

Tilaa ladataksesi
Enhanced Hearse AI [Fixed for v1.4+]

Kuvaus
Compatible with patch 1.4.0-f3 (SnowFall).
I fixed Skylines Overwatch for SnowFall.

Note: To use this version you need to unsubscribe original version first, and then subscribe to my version.

Note: I changed the code, so this may conflict with other mods' code.

The following description was quoted from the original version.
──────────────────────
Overview
Comparing to the vanilla AI, this AI:
1. Arranges pickups in a much more optimized way. Hearses should no longer travel back and forth across your city just to pick up 10 corpses. It will prioritize the ones close to its current location.
2. Respects district boundaries. If your cemetery/crematorium is inside a district, the hearses it send out will take care of the corpses within the district first, before venturing out.

Details
There are two sets of important concepts to keep in mind for this mod:
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. However, there are several rules within this general rule:
1. Between problematic corpses (those showing the death sign) and nonproblematic ones (those that have no visual clues), hearses will prioritize the problematic ones for pickup
2. However, if they come across a nonproblematic one along their way, they will pick it up first; but only if it is not behind them
3. If there is a closer corpse of the same priority, they will redirect to the closer one; but only if it is along the original bearing
4. If there are no corpses left to pick up, hearses will "patrol" their primary pickup zone.

Efficiency vs Urgency
The pickup priority above exists to achieve a good balance between making the hearses as efficient as possible vs keeping your CIMs as happy as possible. When you see a death sign, that means a corpse has become a nusance and your CIMs are not happy about it. But if we were to prioritize getting rid of the death signs as fast as possible, we would have to take a large hit on overall efficiency; in fact, it would become counterproductive during death waves. On the other hand, if we were to do the opposite, then we would be ensuring maximum efficiency at the risk of losing buildings to abandonment. The existing setup benefits from both approaches by prioritizing problematic corpses for overall bearing, but at the same time allowing pickups of nonproblematic corpses along the way.
──────────────────────

See Also: Skylines Overwatch [Fixed for v1.3+]
Original version: [ARIS] Enhanced Hearse AI
Source: https://github.com/akira-ishizaki/CS-EnhancedHearseAI/tree/develop
Suositut keskustelut Näytä kaikki (1)
1
25.1.2016 klo 6.05
Stack trace issues
GordonDry
54 kommenttia
darker 16.4. klo 14.48 
@tuga_venatus like what??
Tuga_Venatus 10.4.2023 klo 19.03 
@Ushanka King it hasnt worked in years..... there are other mods that do a better hearse management, and fire, and trash, and other services.
Ushanka King 1.4.2023 klo 9.59 
does it still work
Tuga_Venatus 26.7.2022 klo 9.07 
@stheiting mod hasnt been updated since 2016, nad the dependency it uses is even older. it "might" seem to work but brings another issues you might not be aware.
There are other mods now that do similar work and better, updated much more recently and with an active modder working on them. Enhanced district services, as pointed by @LemonsterOG a couple comments below, is one of the more updated working mods.
stheiting 24.7.2022 klo 9.25 
Seams to be working, however, the game tells me on each start up that this doesnt work with Traffic Manager Presidential Edition, but again, it seams to be working fine..?
KingOfDemons 18.1.2021 klo 8.06 
@lemonsterOG thank you
LemonsterOG 17.1.2021 klo 14.26 
KingOfDemons 17.1.2021 klo 13.56 
@tuga_Venatus thank you for the help, do you have any recommended mods that may have the same features as this mod?
Tuga_Venatus 8.1.2021 klo 6.26 
@vibez3 last mod update was march 2016, its obvious it doesnt do anything as it had become obsolete without updates when the game itself has suffered quite some changes since then.
KingOfDemons 3.1.2021 klo 17.37 
I downloaded this mod and it didn't help? am I doing anythign wrong