Demand Controller
Demand Controller – Allows you to set RCW demand individually. Takes effect instantly (NEW! 21/02).
INSTRUCTIONS:
– Hold CTRL+ALT (Command + Option on Mac) and tap D (or Click the UI Button)
– The big checkbox in the top left is the global toggle
– The small checkboxes next to the titles control individual sliders
– Drag the window around with the little arrow icon
– Drag the button around wherever you like
– Enable/Disable the button/shortcut in the settings menu
KNOWN ISSUES:
Macintosh: The button doesn’t seem to work, the shortcut (command + option + D) does.
(If anyone has a Mac they can test on, and enough know-how to raise a pull request, please do)
SUSPECTED ISSUES:
Some users are reporting crashes – I can only assume this is related to other mods that interact with the demand calculations. If you do have a crash as soon as you load a game with this mod loaded, please post a GitHub issue and include a crash dump, if one was generated (the will be in the game directory)
Note:
The first time you start up after installing this mod, the button will be on the top left of the screen.
Having one unlocked while others are locked WILL affect the calculation, but nevertheless they calculate using the game’s base rules (they are affected because the other RCW values are an input)
Code here: https://github.com/thanasip/DemandController
Problem? Report here: https://github.com/thanasip/DemandController/issues (give as much detail/context as you can pls)
*** Update 24/02/23 ***
– Fix bug where Demand Controller didn’t start on load unless you interacted with it
– Fix options menu bug toggling "Enable button" when not loaded
– Don’t load on non-sandbox modes
– Add a "Reset UI" button to settings menu
– Right-clicking the UI button also triggers UI reset
*** Update 21/02/23 ***
– The update from 19/02 is now fixed
*** Update 19/02/23 – REVERTED ***
– Draggable open/close button
– Panel and button position saved
– Demand change now instant
– Settings menu is back, but only for toggling shortcut/button
*** Update 17/02/23 ***
– Got rid of the old settings menu completely, there’s now a new in-game menu accessible with Ctrl+Alt+D
*** Update 21/01/23 ***
– Individual enable toggles for the three demand types (any left disabled will behave as per game rules, but any that are locked in place WILL affect the calculation)
– Snazzy new options menu
– Code slightly less bad (not that anyone cares)
Revisions:
Old revisions of this mod are available below. Click the link to download.