Utilities for city planners [PREVIEW]

If you liked this item, please rate it up on Steam Workshop page.

Author: ChalwaBechatex

Last revision: 5 Jul, 2023 at 18:58 UTC

File size: 125.95 KB

On Steam Workshop

Description:

Please read description before download.
This mod is using experimental features from (test) 0.8.9.17 version, please do not use with stable version.
DO NOT REPORT TO DEVS CRASHES USING THIS ON CURRENT STABLE BRANCH! I WARNED YOU.

Intention was to make some useful tools for planning cities.

First one called (Commuters Counter) – primary goal was to count all citizens in area nearby bustrain station and return
how many are working locally and how many can be exported to some external industry. Secondary goal was to count all
workplaces in nearby area to better plan your industry – this was not achieved due to current game modding interface limitations.

How to use it?
Point camera at bustrain station with unpaused game. It handle only buildings in walking area, if you have multiple stations handling nearby city district or services distributed outside walking range this informations might be useless.

Then click mod icon in scripts menu.

(This is temporary solution that will be fixed with new updates for scripting)
Open browser eg. edge with file:///C:/Program%20Files%20(x86)/Steam/steamapps/common/SovietRepublic/log.html
Refresh browser and scroll down or click END on your keyboard.

Structure of log:
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ – start of new log
$$$$$$ Inputs
maxWorkers – maximum available spaces in all nearby houses
currentWorkersAllEducation – all adult workers living in residentials
currentWorkersHigh – all highly educated adult workers living in residentials
currentWorkersLow – all basically educated adult workers living in residentials
uneducated
unemployed
unemployedDueKids
baby
kids
students
$$$$$$ Outputs
ServicesWorkersCurrent – number of workers on current shift in all nearby service buildings
GovWorkersCurrent – as above, government buildings
IndustryWorkersCurrent – as above, industry buildings
TourismWorkersCurrent – as above, tourism buildings
ConstructionWorkersCurrent – as above, constructions
MeanServicesEfficiency – this factor shows mean efficiency of services – below 100% mean that not all workplaces for current shaft are assigned or loyalty is too low. Lower value may mean that you have unsufficient staff in your services.
MeanGovEfficiency – as above, government buildings
MeanIndustryEfficiency – as above, industry buildings
MeanTourismEfficiency – as above, tourism buildings
Teoretical workplaces for utilization – this is number of workplaces (not shafts) that can be currently exported to external industry. Below zero mean that there is more workplaces locally to staff than available workforce (currentWorkers – (3 * (ServicesWorkersCurrent + GovWorkersCurrent + IndustryWorkersCurrent + TourismWorkersCurrent + ConstructionWorkersCurrent))) / 3

Second one called Debug town is for demonstrating ability to make local edicts affecting citizens – that idea will be extended in mod updates after needed modding interface update.
Change a default values in setting file: C:Program Files (x86)SteamsteamappscommonSovietRepublicmedia_sovietworkshop_wip2950740611include
Point camera at city name on map.
Click script Select town (flag pole).
See markers on map indicating area this is not a real town area in gameplay sense (not possible right now) just a circle.
Click debug town script.
It will change all citizens needs in area of circle with predefined value. That might be useful for some experiments with citizens or fixing broken save.