Skip to content

alehee/CSL-SimpleMetrics

Repository files navigation

CSL-SimpleMetrics

Cities: Skylines C# .NET Framework

CSL-SimpleMetrics logo

Lightweight metrics bar mod for Cities: Skylines. It adds a compact, draggable overlay that shows service capacity vs. usage with color-coded indicators on the in-game UI.

CSL-SimpleMetrics banner

Additionally, it might be a great CSL modding entry point as I tried to build it with clean code standards.

This is my first game modding project from scratch. I hope you find it useful.

Steam Workshop

Workshop item is available here.

Enjoy!

Metric types

Mod supports all basic service metrics available in the base Cities: Skylines game.

  • Electricity
  • Water
  • Heating
  • Sewage
  • Garbage
  • Incineration
  • Healthcare
  • Childcare
  • Senior Care
  • Crematorium
  • Cemetery
  • Education
    • Elementary
    • High School
    • University
  • Library
  • Fire Department
  • Police Department

At the moment, there are no plans on handling metrics available in DLCs.

Development Notes

  • Load hook: Extensions/LoadingExtension.cs
  • Manager component: Behaviours/Manager.cs
  • UI: UI/Window.cs
  • Metrics calculation: Services/MetricsService.cs

Build

Modding CSL requires .NET Framework 3.5 and references the Cities: Skylines managed assemblies directly from a local install.

The project has an automated post-build event that copies the latest build to the Cities: Skylines mods directory.

%LOCALAPPDATA%\Colossal Order\Cities_Skylines\Addons\Mods\$(SolutionName)

More information about building the mod is available here.

Check credits for documentation references and other cool modders which codebases gave me a lot of information.

Credits and kudos

Other modders whose codebases were helpful while building this mod:

Thanks for your great work and for indirectly helping this project!

Documentation references and other sources:

About

Modification for Cities:Skylines adding simple metrics bar to UI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages