Giter Site home page Giter Site logo

captain-of-coit / cs2-city-monitor Goto Github PK

View Code? Open in Web Editor NEW
13.0 2.0 1.0 21.81 MB

"City Vitals" but for Cities: Skylines 2

License: MIT License

Makefile 9.95% JavaScript 28.20% C# 61.85%
cities-skylines-2 cities-skylines-2-mod game-ui hookui mod ui hookui-extension

cs2-city-monitor's Introduction

City Monitor for Cities: Skylines 2

Displays a little window so you can see the most important details of your city without having to open up any panels manually.

demo.mp4

Should display the following stats:

  • Electricity availability (electricityInfo.electricityAvailability)
  • Water availability (waterInfo.waterAvailability)
  • Sewage treatment (waterInfo.sewageAvailability)
  • Landfill usage (garbageInfo.landfillAvailability)
  • Incineration status TODO
  • Healthcare availability (healthcareInfo.healthcareAvailability)
  • Average health (healthcareInfo.averageHealth)
  • Cemetery usage (healthcareInfo.cemeteryAvailability)
  • Crematorium availability TODO
  • Fire hazard (fireAndRescueInfo.averageFireHazard)
  • Crime rate (policeInfo.averageCrimeProbability)
  • Jail availability (policeInfo.jailAvailability)
  • Elementary school availability (educationInfo.elementaryAvailability)
  • High school availability (educationInfo.highSchoolAvailability)
  • College availability (educationInfo.collegeAvailability)
  • University availability (educationInfo.universityAvailability)
  • Employment rate TODO

Requirements

Installation

  • Make sure BepInEx 6.0.0 is installed
  • Make sure HookUI is installed
  • Download latest release from GitHub - https://github.com/Captain-Of-Coit/cs2-city-monitor/releases
  • Extract the ZIP archive
  • Place city_monitor.transpiled.js in Cities2_Data\StreamingAssets\~UI~\HookUI\Extensions directory, within your game directory

cs2-city-monitor's People

Contributors

captain-of-coit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

emdashdrupal

cs2-city-monitor's Issues

Panel title is not centered

Currently, the title is slightly too much to the right, for some reason. It should be perfectly in the middle, for obvious reasons.

suggest other language

i tested city monitor 0.2 on today.

0.1 work to city_monitor.transpiled.js file
so i can change to korea language.

like
["Electricity", "electricityInfo.electricityAvailability", "maxGood"],
to
["전기 가용성", "electricityInfo.electricityAvailability", maxGood],

but 0.2 not use city_monitor.transpiled.js
make panel.example.city_monitor.js file.

so i try change to language and save file. but example file regene.

can you support other language or use in game language?

thank you keep update mod =D

Implement all values from City Vitals

Mentioned in the README, but not all of them are implemented yet.

  • Electricity availability
  • Water availability
  • Sewage treatment
  • Landfill usage
  • Incineration status
  • Healthcare availability
  • Average health
  • Cemetery usage
  • Crematorium availability
  • Fire hazard
  • Crime rate
  • Jail availability
  • Elementary school availability
  • High school availability
  • University availability
  • Employment rate

Most likely all the data already exists if you subscribe to the right events. List of events can be found here: https://github.com/Captain-Of-Coit/hookui/blob/master/misc/allEvents.json

Confused - no directory as described

This directory did no exist. I added it, but seems not to be working. A bit of help, please?

  • Directory - Cities2_Data\StreamingAssets~UI~\HookUI\Extensions

Settings Tab

Would be nice if a Settings tab could be implemented in the panel, so people can switch on/off things they care about.

Resolution scaling issues

Hello, I play at 3840x2160, 100% text scaling. Here's how this mod looks:

CS2ModIssue

Unchecking the "Interface Scaling (Dev)" option fixes it for me, but it also makes the UI pretty small on my 32" display.

Thanks for your efforts!

Confused by the BepInEx requirement

In here and on the description it says to get v6-be, but on Thunderstorm "required mods" is linked to BepInEx v5 and I see videos of people using it and other mods that only have v5 support.

Which one is it? Does it work with v5?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.