Victoria 3
137 evaluări
Supply Chain Semi-Auto Builder
2
   
Premiază
Adaugă la preferate
Preferat
Elimină din preferate
Dimensiunea fișierului
Postat
Actualizat
468.625 KB
31 oct. 2024 la 10:41
21 ian. la 3:09
3 jurnale de actualizare ( vizionare )

Abonează-te pentru a descărca
Supply Chain Semi-Auto Builder

În 2 colecții create de zzzwww
zw's Vic3 Mods
17 obiecte
zw's Automated Vic3
7 obiecte
Descriere
This mod can be installed mid-game.
All features can be enabled/disabled anytime and only affect player.
This is a semi-auto builder for government funded constructions. It's aiming to assist player to build efficiently. For better private constructions, I recommend using Controllable Private Construction.

Updates
18.01.2025
Details in "Change Note".
  • Optimized some scripts.
  • Changed Button layouts to reduce scrolling.
  • Separate "food supply chain" from "consumer goods".
  • Improved the computation of SCN. Now it's more efficient and more compatible with other mods.
  • New feature: adjust the SCN value manually.
  • Changed how expanding railway/power plant works. The max expanded levels each time is adjustable now.

Feature Summary
  • Expand selected supply chains systematically and in the most profitable way while also taking both economy of scale and balanced development into account.

  • Auto-build new railways and power plants in suitable states gradually.

  • One-click plan a new local supply chain (build new buildings) in a suitable state.

  • Calculate the suitable construction number to avoid too short/long construction queue, so that it can react to market change faster and allows player to better manage the construction queue.

Expand Existing Buildings Of Selected Supply Chains
  • Semi-Auto Builder (SAB) can expand the existing buildings of selected supply chains efficiently. This can be enabled for different supply chains separately.

  • It will calculate a country's Suitable Construction Number (SCN) based on construction output, government funded allocation and max weekly progress. SAB will adjust how many constructions will be added to the construction queue each time according to SCN and the current construction number, so that too short/long constructions queue can be avoided and SAB can react to market change faster.

  • It will find out all suitable buildings that meets certain conditions, then order them by Weighted Profitability (WP). WP is determined by:
    WP = Profit/Building Level - 1000 * Construction Status

  • Each suitable building gets a Weighted Profitability Rank (WPR) after the ordering.
    WPR = 1 means this building is the most suitable building.
    WPR = 2 means this building is the second most suitable building, and so on.

  • SAB will then select suitable buildings to expand based on WPR and SCN. This process will try to take both EoS and balanced development into account.

  • Multiple levels of the same building can be added to construction queue at once. The added levels of a building are based on WP, WPR, SCN and state's infrastructure.

  • Production buildings are divided into different supply chains by SAB, e.g., chemicals supply chain includes buildings that produce iron, sulfur, wood, dye, paper, fertilizer and explosives.

  • The building types of a supply chain might change as technology develops, e.g., after unlocking "Compression Ignition", oil rig will be included in machine supply chain. A building type can belong to multiple supply chains.

Auto-Plan New Railways And Power Plants
  • SAB will plan and build new railways and power plants automatically and gradually in states that meet certain conditions but don't have them yet.

  • It will find out all suitable states and order them by certain criteria, then start the constructions in the most suitable states (up to 3 states respectively each time).

  • New railways and power plants can be built again every 6 months.

Expand Railways And Power Plants
  • SAB can expand railways and power plants that meet certain conditions efficiently.

  • The expanding will try to keep the local price of transportation/electricity close to but slightly higher than their base prices, or try to eliminate all infrastructure deficit and provide some surplus.

  • If no maximum expanded levels was set, the required added levels for a railway or a power plant each time will always be added to the construction queue at once.

  • The added levels will be calculated based on local production, consumption, infrastructure and current levels, which means it doesn't rely on PMs and the result will still be accurate even if the output number of railway and power plants are modified by mods.

One-Click Plan New Local Supply Chains
  • One-click plan a new local supply chain in a suitable state. SAB will try to build the most essential buildings of the supply chain that the state hasn't have yet.

  • The state needs to have the required resources, e.g., building steel mills and tooling workshops in states have coal and iron.

  • The building types of a supply chain vary as more technologies are invented. The more populated a state is, the more priority will be given to this state.

  • Optional: exclude states that have more than three factories.

  • Optional: a new supply chain won't be planned if more than 30% of states already have all currently available factories of this supply chain.

  • Support four types of important and fundamental supply chains: machines, chemicals, glassworks, electrics

Incorporated States Only
  • If this option is selected, SAB will only build and expand buildings in incorporated states.

How to use
  1. Subscribe the mod.
  2. Use the decision "Supply Chains Management" to activate the journal entry.

Compatibility
  • No vanilla files were overwritten, so it should be compatible with most mods.
  • Only works on vanilla building types.

Localization
  • English, Chinese.
    Other languages use English text.

All My Vic3 Mods
48 comentarii
Perishing 20 mai la 3:37 
Playing as mexico and the auto builder wants to build in states with the state modifier that impairs construction efficiency but has buildings with full reserve isnt that more unoptimal compared to building in states without modifier
hf1z 25 apr. la 14:38 
you are doing god's work man....i hope you will never have a problem again in your life
zzzwww  [autor] 12 apr. la 11:52 
@gonshi I mean, you can just ignore the JE? It doesn't have any on pulse actions to affect performance or anything.
zzzwww  [autor] 12 apr. la 11:46 
@ライジュ | Raiju I'm not sure, I barely use other mods so I can only say it's not recommended to use mods that have similar features at the same time, even their code or scripts are compatible with each other.
zzzwww  [autor] 12 apr. la 11:44 
@rick_bernardoni

1. This mod is compatible with most mods, which means it usually won't cause crash when it's running with other mods. However, it only works on vanilla buildings. I did make a version that can expand new buildings added by mods, but in some edge cases, these buildings could be expanded despite not being unlocked by technologies, there is no way to prevent it except creating compatch according to different mods.

2. Paradox didn't provide any methods for modders to directly add constructions in foreign countries, so it can't be done.

3. If Paradox provide more modding triggers and effects in the future, then the above features might become possible.
gonshi 8 apr. la 8:07 
Amazing mod. I would love some way of separating 'Supply Chains Management' and 'Industrial Planning' in different mods, as I would rather only have the first one
gran colombia 24 mart. la 14:45 
okay now this is epic
ライジュ | Raiju 25 febr. la 7:39 
Hey, does this work with The OGAS - You build advisor or will just clash with it?
rick_bernardoni 16 febr. la 5:40 
You mods are lifesavers! I only wished they worked automatically with other mods (Production Expanded ;-;) or that auto-building expanded to other countries you can build at, but I do imagine it would be a herculean to do so (if it can be done at all the way mods are today).
No offense, but here's hoping this mod becoms obsolete one day as this feature gets implemented in the base game! Thank you so much for this mod!
zzzwww  [autor] 14 febr. la 3:50 
@Spider Lily

From mod description:

"The expanding will try to keep the local price of transportation/electricity close to but slightly higher than their base prices, or try to eliminate all infrastructure deficit and provide some surplus.

If no maximum expanded levels was set, the required added levels for a railway or a power plant each time will always be added to the construction queue at once.

The added levels will be calculated based on local production, consumption, infrastructure and current levels, which means it doesn't rely on PMs and the result will still be accurate even if the output number of railway and power plants are modified by mods."

Details for limiting max. expanded levels can be found in image 3.