Carrier Command 2
0 of 0

File information

Last updated

Original upload

Created by

Darloth

Uploaded by

darloth

Virus scan

Safe to use

Tags for this mod

About this mod

This is a python version rewrite of the Blueprint Rebalance idea originally created by Zorkinian. If you prefer using python to powershell, this script ought to set you right.

There are some functional differences - this script will attempt to avoid duplicate blueprints and award others instead, and keeps to type.

Requirements
Permissions and credits
Changelogs
This is a python version rewrite of the Blueprint Rebalance idea originally created by Zorkinian.  If you prefer using python to powershell, this script ought to set you right.

There are some functional differences - this script will attempt to avoid duplicate blueprints and award others instead.   It also keeps to the island type when selecting blueprints.  It will pick from a totally random non-starting blueprint if there are no blueprints of the appropriate type left to hand out, which typically happens only with chassis islands or very small maps.

To use the script, place it in the same directory as a save.xml and run it - the readme.txt contains a suggestion of where and how to find this file if you're not sure.
It does not overwrite the original save.xml, and will produce a moddedsave.xml that you will need to rename to save.xml when you're happy with it.

Feature list (again, mostly just inspired by/directly copied from Zorkinian, all credit to them for doing the first script in powershell!):

  • Prevents empty islands with no assigned blueprints - they will get an appropriate blueprint of their type chosen at random from non-starting blueprints.
  • Islands of 3 or 4 shields (or... maybe some other values, depending on a float between 0.0 and 1.0 for difficulty recognition) will be given +1 or +2 blueprint picks respectively, and these will attempt to be in line with the type of the island and avoid duplicates.  For chassis islands this will often fail, and it will then pick a random non-starting blueprint to award.
  • Finally, if any ammo blueprints exist with a corresponding turret, or any turret blueprints exist with a corresponding ammo type, that paired type will be awarded on the same island.  It may not be able to build them, but at least when you capture the right type of island you won't be stuck unable to load your rockets into pods or cannons with shells or vice versa.

Unlike the powershell script, there's no functionality for specifying what you want.  It will do all of the above every time.  That said, if you know basic python I've attempted to comment it so you should be able to just remove or comment out sections.