Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.97a is out! (02/02/24); New blog post: Planet Search Overhaul (07/13/24)

Author Topic: [0.97a] Additional Console Commands  (Read 5738 times)

Android9k

  • Ensign
  • *
  • Posts: 25
    • View Profile
[0.97a] Additional Console Commands
« on: November 04, 2024, 06:33:26 PM »

A few extra console commands. Presently includes the following:
  • DestroyFaction Simply speaking, the DestroyColony command applied to all of a given faction's markets. Supports optional arguments Deciv and Wipe: former should be obvious, latter removes the ruin conditions left behind after destroying a colony. Similar to DestroyColony there are no checks for story essential planets. Use judiciously.
  • FindBPs A command that produces a list of blueprint packages sorted by which ones you have and haven't learned.
  • FindRareBPs Displays a list of rare blueprints the player hasn't learned (blueprints that drop individually) sorted by category.
  • FindUniqueBPs Displays a list of items that can drop as individual blueprints and are not known by any faction.
  • FindHullmods Produces a list of unlearned hullmods.
  • AnnexFaction Takes the all of the colonies from the first faction and gives them to the second faction.
  • AddSkill, RemoveSkill, ViewSkills which let you add or remove individual skills to/from yourself or one of your officers; and view all skills that your character currently has.
  • AnnexSystem Give a target system, an annexing faction, and an optional victim faction to transfer ownership of all colonies to the annexing faction. Specifying a victim faction restricts the targeted colonies to theirs.
  • CleanseSystem Applies the Destroy, Deciv, or Wipe effects from DestroyFaction to all colonies in a specified system. Indiscriminate targeting for now.
  • accFactions: Displays a sorted list of factions. Factions with markets, factions that are visible on the intel screen without markets, and hidden marketless factions that know at least 1 ship blueprint - a requirement intended to filter out irrelevant factions. Having nexerelin enabled will further truncate the 3rd category.
  • FindFactionBPs: Displays a list of ships/wings/weapons that the specified faction knows.
  • FindUniqueItems: Displays a list of ships/wings/weapons that are not known by any faction, regardless of the items' potential inclusion within a blueprint. (e.g. Zigg, XIV Legion, etc.)
  • AllFactionItems: Adds all of the known weapons and wings of the specified faction to 'storage'.
  • AllFactionShips: Adds all of the known ships of the specified faction to 'storage'.
  • ClearStorage: Removes all items and ships from 'storage'.
  • FactionDoctrine: Displays the doctrine of the specified faction.
  • GetShipID: Gets the id of the specified ship.
  • SolidifyAlliance: Sets the relationships of all factions with the specified alliance to a minimum of at least 50.
  • AllColonyItems: Adds all colony items to 'storage'.
  • EasyTopographicData: Toggles the Topography Data progress from scanning Gas Giants between 5 and 700.
  • FindColonyItems: Finds all installed colony items throughout the sector.
  • AddPermaMod: Adds a perma mod to either a specified ship or all of the ships in your fleet.
  • RemovePermaMod: Removes a perma mod from either a specified ship or all of the ships in your fleet.




Use the commands that destroy or annex colonies at your own risk. Backup your save before trying, and report any anomalies to me.

Use "help acc" to see all of the commands my mod adds.

Some caveats:
  • There are no checks to prevent hidden markets from being affected by my commands, make of that what you will.
    • If anyone reading this knows of situations where destroying/taking a hidden market is a horrible idea for game stability, please let me know so I can make a priority of implementing an exclusion for them.
  • It is impossible to use DestroyFaction to completely wipe out Pirate and Pather type factions, as they will always spawn their hidden raid bases (which count as markets/colonies).


Requires Console Commands, of course.

Download Additional Console Commands
« Last Edit: December 08, 2024, 03:05:29 PM by Android9k »
Logged

Android9k

  • Ensign
  • *
  • Posts: 25
    • View Profile
Re: Additional Console Commands
« Reply #1 on: November 04, 2024, 06:33:50 PM »

Changelog
1.1.1a
- New Command: FindColonyItems
      - Finds all installed colony items throughout the sector.
- New Command: AddPermaMod
      - Adds a perma mod to either a specified ship or all of the ships in your fleet.
- New Command: RemovePermaMod
      - Removes a perma mod from either a specified ship or all of the ships in your fleet.

1.1.0
- New Command: EasyTopographicData
      - Toggles the Topography Data progress from scanning Gas Giants between 5 and 700.
- Added an error message when trying to add a skill that Second-in-Command disables.
- AddSkill, RemoveSkill, and ViewSkills now show uncategorized commands.
- Some formatting improvements to FindBPs.

1.0.11
- New Command: AllColonyItems
      - Adds all colony items to 'storage'

1.0.10
- New Command: SolidifyAlliance
      - Sets the relationships of all factions with the specified alliance to a minimum of at least 50.

1.0.9
- New command: GetShipID
      - Gets the id of the specified ship.
- AllFactionItems and AllFactionShips now display a list of valid factions when the commands are used without an argument.

1.0.8
- Fixed an issue with FindBPs that caused it to produce false-positives.

1.0.7
- New command: FactionDoctrine
      - Displays the doctrine of the specified faction

1.0.6
- New command: AllFactionItems
      - Adds all of the known weapons and wings of the specified faction to 'storage'.
- New command: AllFactionShips
      - Adds all of the known ships of the specified faction to 'storage'.
- New command: ClearStorage
      - Removes all items and ships from 'storage'.

1.0.5
- Refactored FindBPs to now ensure that the player knows every single blueprint in a package before suggesting that they know the package.
      - If you were using mods like IndEvo or Starpocalypse that let you acquire blueprints of items that couldn't normally drop individually this should fix any false-positives you may have received.
- You can now use 'help acc' to get a list of all commands my mod adds.

1.0.4
- Reworked command: FindUniqueBPs
      - Now displays a list of items that can drop as individual blueprints that are not known by any faction.
- New command: FindUniqueItems
      - Displays a list of ships/wings/weapons that are not known by any faction, regardless of the items' potential inclusion within a blueprint.
- Most commands that can produce a list of ships are now further categorized according to ship class.

1.0.3
-New command: FindFactionBPs.
      -Displays a list of ships/wings/weapons that the specified faction knows.


1.0.2
-Changed accFactions 3rd category to "Hidden Factions without markets."
      -Optional Nexerelin functionality: If enabled, this will truncate the list of hidden factions further, removing "dud" factions.
            -A faction must either have a hostileToAll value of >=1 or be a playable faction.
[close]
« Last Edit: December 07, 2024, 01:30:28 PM by Android9k »
Logged

The_White_Falcon

  • Ensign
  • *
  • Posts: 38
    • View Profile
Re: [0.97a] Additional Console Commands
« Reply #2 on: November 16, 2024, 10:29:36 AM »

Great addition!  If you're looking for any suggestions, I would like to put forward the ability/command to add faction/mod-specific items en-mass.  For example, the Tahlan Shipwarks mod has all items beginning with "tahlan_".  So a command like, "AddAllSpecificWeapons "Tahlan_" 10;".  This would add 10 of each weapon that contains the string "tahlan_".  Same could be applied for ships "AddAllSpecificShips "Tahlan_" 1;"
« Last Edit: November 16, 2024, 10:31:54 AM by The_White_Falcon »
Logged

Android9k

  • Ensign
  • *
  • Posts: 25
    • View Profile
Re: [0.97a] Additional Console Commands
« Reply #3 on: November 18, 2024, 11:41:41 AM »

Great addition!  If you're looking for any suggestions, I would like to put forward the ability/command to add faction/mod-specific items en-mass.  For example, the Tahlan Shipwarks mod has all items beginning with "tahlan_".  So a command like, "AddAllSpecificWeapons "Tahlan_" 10;".  This would add 10 of each weapon that contains the string "tahlan_".  Same could be applied for ships "AddAllSpecificShips "Tahlan_" 1;"

I was already interested in making a command for faction related items. Interesting proposal to have a similar command for mod-specific items - I'll see about implementing something like that.
Logged

Android9k

  • Ensign
  • *
  • Posts: 25
    • View Profile
Re: [0.97a] Additional Console Commands
« Reply #4 on: December 07, 2024, 01:31:30 PM »

Update to 1.1.1a brings the ability to find all installed colony items in the game, as well as a couple of commands that allow you to add or remove perma mods from ships.
Logged