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: Simulator Enhancements (03/13/24)

Pages: 1 ... 90 91 [92]

Author Topic: [0.96a] Console Commands v2023.05.05  (Read 1527123 times)

balordezul

  • Lieutenant
  • **
  • Posts: 54
    • View Profile
Re: [0.96a] Console Commands v2023.05.05
« Reply #1365 on: March 07, 2024, 09:44:29 AM »

Is there a command to refund or stop construction? Ran into a bug with another mod and the UI is not working to let me cancel the station action.
Logged

Wyvern

  • Admiral
  • *****
  • Posts: 3781
    • View Profile
Re: [0.96a] Console Commands v2023.05.05
« Reply #1366 on: March 07, 2024, 09:57:08 AM »

Is there a command to refund or stop construction? Ran into a bug with another mod and the UI is not working to let me cancel the station action.
Try removeindustry and addcredits. (Note that removeindustry with no arguments will list the existing industries at the market you're at, which can be particularly useful if you don't offhand know the industry ID.)
Logged
Wyvern is 100% correct about the math.

Cerevox

  • Lieutenant
  • **
  • Posts: 63
    • View Profile
Re: [0.96a] Console Commands v2023.05.05
« Reply #1367 on: March 08, 2024, 10:24:29 PM »

Is there a command to add or remove a skill from an officer? I have found ways to add officers at levels, but not to add skills. My specific issue is that I keep starting games with the companion officer and manage to not give them their unique skill and want a console command to do it after the game starts, since my brain just refuses to remember to click a skill inthe menu, or I double click and unselect the skill.
Logged

Princess_of_Evil

  • Captain
  • ****
  • Posts: 451
    • View Profile
Re: [0.96a] Console Commands v2023.05.05
« Reply #1368 on: March 09, 2024, 01:30:01 AM »

RunCode com.fs.starfarer.api.impl.campaign.intel.events.HostileActivityEventIntel.get().addFactor(new com.fs.starfarer.api.impl.campaign.intel.events.HAPirateBaseDestroyedFactor(-69));

To change points for Colony Crises, if anyone wants it.
Logged
Proof that you don't need to know any languages to translate, you just need to care.

Albreo

  • Commander
  • ***
  • Posts: 176
  • A! Oh nyo!
    • View Profile
Re: [0.96a] Console Commands v2023.05.05
« Reply #1369 on: March 10, 2024, 06:17:27 AM »

The SpawnFleet command doesn't work anymore?
Logged

ranoss

  • Ensign
  • *
  • Posts: 1
    • View Profile
Re: [0.96a] Console Commands v2023.05.05
« Reply #1370 on: March 10, 2024, 09:08:21 AM »

is it safe to use with .97a?

Just made an account to report that so far it looks like it is working after editing the mod_info.json file.

Getting back into starsector after the recent updates and I've really appreciated all the interactions on the forum. Super helpful!
Logged

ashP.2

  • Ensign
  • *
  • Posts: 3
    • View Profile
Re: [0.96a] Console Commands v2023.05.05
« Reply #1371 on: March 13, 2024, 08:02:31 AM »

How do we update the mod ?

I tried to change to change the  "gameVersion": "0.96a-RC6" into  "gameVersion": "0.97a-RC11"  in the mod_info.json but it didn't work.

Can someone explain the process step by step ?
Logged

Wyvern

  • Admiral
  • *****
  • Posts: 3781
    • View Profile
Re: [0.96a] Console Commands v2023.05.05
« Reply #1372 on: March 13, 2024, 09:29:38 AM »

How do we update the mod ?

I tried to change to change the  "gameVersion": "0.96a-RC6" into  "gameVersion": "0.97a-RC11"  in the mod_info.json but it didn't work.

Can someone explain the process step by step ?
That is literally exactly the needed step, so something else must have gone wrong. Did you edit mod_info.json with the windows default text-editor and accidentally end up with the file renamed to mod_info.json.txt or something? When you say "it didn't work" - how does it not work? Can you see the mod at all when you try launching Starsector? What does it show as the required version there? (If you can't see the mod at all, then that means that it can't read the mod_info.json file at all, which could be evidence of an accidental file name change, or could be evidence of some sort of permissions issue, or, etc.)
Logged
Wyvern is 100% correct about the math.

ashP.2

  • Ensign
  • *
  • Posts: 3
    • View Profile
Re: [0.96a] Console Commands v2023.05.05
« Reply #1373 on: March 13, 2024, 12:32:34 PM »

i used the "visual studio code" application to "gameVersion": "0.96a-RC6" into  "gameVersion": "0.97a-RC11"  in the mod_info.json but it didn't work.
Logged

Wyvern

  • Admiral
  • *****
  • Posts: 3781
    • View Profile
Re: [0.96a] Console Commands v2023.05.05
« Reply #1374 on: March 13, 2024, 12:48:17 PM »

but it didn't work.
When you say "it didn't work" - how does it not work? Can you see the mod at all when you try launching Starsector? What does it show as the required version there? (If you can't see the mod at all, then that means that it can't read the mod_info.json file at all, which could be evidence of an accidental file name change, or could be evidence of some sort of permissions issue, or, etc.)

Also, did you actually check the file name?
Keeping in mind that windows in particular loves to hide parts of filenames, i.e., if you just look in the folder and see "oh, that file is named mod_info.json", it could still actually be named mod_info.json.txt because windows will lie about that unless you've explicitly told it not to.
Logged
Wyvern is 100% correct about the math.

ddrake

  • Ensign
  • *
  • Posts: 8
    • View Profile
Re: [0.96a] Console Commands v2023.05.05
« Reply #1375 on: March 13, 2024, 04:44:55 PM »

Is there a way to increase a contacts relation points via a command? Both of the relation commands seem to apply only to factions.

EDIT: Go into Devmode and within the chat with the contact there's options to increase it.
« Last Edit: March 13, 2024, 06:04:23 PM by ddrake »
Logged

n3xuiz

  • Commander
  • ***
  • Posts: 218
    • View Profile
Re: [0.96a] Console Commands v2023.05.05
« Reply #1376 on: March 16, 2024, 02:54:20 AM »

seconded the request for hyperspace topography points. i just don't feel like exploring the whole sector and grinding this every run.
Logged

Ryder

  • Ensign
  • *
  • Posts: 5
    • View Profile
Re: [0.95a] Console Commands v2021.04.06
« Reply #1377 on: March 16, 2024, 09:03:20 AM »

A new version is up, grab it here.

This fixes a few of the more pressing issues the console had post-0.95a:
  • Combat cheats work in missions again.
  • Updated the example commands mini-mod's mod_info.json so it works in 0.95a.
  • AddOfficer no longer starts officers out with an elite skill.
  • Respec works properly with officers.
  • The console overlay follows Starsector's UI scaling setting. If you changed the font scaling using the Settings command in the previous version, you'll have to use the command again (or edit saves/common/config/lw_console_settings.json.data) to return it to normal.

I'll try to fix the remaining issues and add some more 0.95a-specific features soon.

I am still getting null point error when using respec {OfficerName or Number}
Logged
Pages: 1 ... 90 91 [92]