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: Anubis-class Cruiser (12/20/24)

Pages: 1 2 3 [4] 5 6 ... 9

Author Topic: [0.97a] Customizable Star Systems (v2.1.3)  (Read 96426 times)

SpiceyT

  • Ensign
  • *
  • Posts: 13
    • View Profile
Re: [0.96a-RC10] Customizable Star Systems (v1.0.4)
« Reply #45 on: January 12, 2024, 09:42:49 AM »

Hello, I'm enjoying this mod but have run into an error which I've included below from the starsector.log file. Do I need to manually include an orbit radius for all planets in the custom system?

Spoiler
134409 [Thread-3] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [DIRECTORY: D:\Starsector\starsector-core\..\mods\CustomizableStarSystems-v1.0.4 (data/config/customStarSystems.json)]
134422 [Thread-7] INFO  sound.oo0OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOO  - Cleaning up music with id [miscallenous_main_menu.ogg]
134507 [Thread-3] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.RuntimeException: org.json.JSONException: JSONObject["orbitRadius"] not found.
java.lang.RuntimeException: org.json.JSONException: JSONObject["orbitRadius"] not found.
   at org.tranquility.customizablestarsystems.CSSModPlugin.onNewGameAfterProcGen(CSSModPlugin.java:50)
   at com.fs.starfarer.campaign.save.CampaignGameManager.super(Unknown Source)
   at com.fs.starfarer.title.TitleScreenState.dialogDismissed(Unknown Source)
   at com.fs.starfarer.ui.public.dismiss(Unknown Source)
   at com.fs.starfarer.ui.impl.L.dismiss(Unknown Source)
   at com.fs.starfarer.campaign.save.J.actionPerformed(Unknown Source)
   at com.fs.starfarer.ui.n.buttonPressed(Unknown Source)
   at com.fs.starfarer.ui.I.Ò00000(Unknown Source)
   at com.fs.starfarer.ui.I.processInput(Unknown Source)
   at com.fs.starfarer.ui.W.super(Unknown Source)
   at com.fs.starfarer.BaseGameState.traverse(Unknown Source)
   at com.fs.state.AppDriver.begin(Unknown Source)
   at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher.o00000(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Caused by: org.json.JSONException: JSONObject["orbitRadius"] not found.
   at org.json.JSONObject.get(JSONObject.java:406)
   at org.json.JSONObject.getInt(JSONObject.java:467)
   at org.tranquility.customizablestarsystems.CSSUtil$CustomStarSystem.setCircularOrbit(CSSUtil.java:365)
   at org.tranquility.customizablestarsystems.CSSUtil$CustomStarSystem.setEntityLocation(CSSUtil.java:356)
   at org.tranquility.customizablestarsystems.CSSUtil$CustomStarSystem.generateEntities(CSSUtil.java:307)
   at org.tranquility.customizablestarsystems.CSSUtil$CustomStarSystem.<init>(CSSUtil.java:221)
   at org.tranquility.customizablestarsystems.CSSUtil$CustomStarSystem.<init>(CSSUtil.java:208)
   at org.tranquility.customizablestarsystems.CSSUtil.generateCustomStarSystem(CSSUtil.java:183)
   at org.tranquility.customizablestarsystems.CSSModPlugin.onNewGameAfterProcGen(CSSModPlugin.java:42)
   ... 15 more
134515 [Thread-9] INFO  sound.oo0OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOO  - Creating streaming player for music with id [miscallenous_main_menu.ogg]
134515 [Thread-9] INFO  sound.H  - Playing music with id [miscallenous_main_menu.ogg]
[close]
Logged

Tranquility

  • Commander
  • ***
  • Posts: 228
    • View Profile
Re: [0.96a-RC10] Customizable Star Systems (v1.0.4)
« Reply #46 on: January 12, 2024, 11:56:12 AM »

Hello, I'm enjoying this mod but have run into an error which I've included below from the starsector.log file. Do I need to manually include an orbit radius for all planets in the custom system?

...

Hi, to answer your question: yes, in general, you do need to include the "orbitRadius" for all planets in your custom system. In fact, it's one of required options for most other entities too (the only exception being if it uses the alternative "focus" parameter). If you want more details on this, look through the referenceStarSystem.json file, included alongside your customStarSystems.json, for how the "orbitRadius" option works.

GalliaRaxus

  • Ensign
  • *
  • Posts: 4
    • View Profile
Re: [0.96a-RC10] Customizable Star Systems (v1.0.4)
« Reply #47 on: January 12, 2024, 02:35:40 PM »

Are we able to make moons with this mod?
Logged

Chaines

  • Ensign
  • *
  • Posts: 3
    • View Profile
Re: [0.96a-RC10] Customizable Star Systems (v1.0.4)
« Reply #48 on: January 13, 2024, 11:33:04 AM »

Easy to learn and works great, thanks a lot for this mod !
Didn't find anything about making moons either, am I blind ?
« Last Edit: January 13, 2024, 11:56:48 AM by Chaines »
Logged

Tranquility

  • Commander
  • ***
  • Posts: 228
    • View Profile
Re: [0.96a-RC10] Customizable Star Systems (v1.0.4)
« Reply #49 on: January 13, 2024, 12:55:19 PM »

Easy to learn and works great, thanks a lot for this mod !
Didn't find anything about making moons either, am I blind ?

Hi! Making a moon, or a planet that orbits another planet, should be as simple as setting the "focus" option of the moon to the entity index of the source entity (e.g. if you want a planet to orbit the 2nd planet in a star system with only one star, just set its "focus" to 2, and it should orbit that 2nd planet). There's also some examples of star systems with moons - most notably, the Penelope's Star copy - in presetStarSystems.json if you want to see them in action. I would also recommend looking into referenceStarSystem.json if you want to learn more about how the "focus" option and other options work.

Tank Hunter Silas

  • Ensign
  • *
  • Posts: 8
    • View Profile
Re: [0.96a-RC10] Customizable Star Systems (v1.0.4)
« Reply #50 on: January 18, 2024, 07:22:20 PM »

Hi, is there a line or character that I need to add to split star systems up, the game can only find the first one.
Logged

Tranquility

  • Commander
  • ***
  • Posts: 228
    • View Profile
Re: [0.96a-RC10] Customizable Star Systems (v1.0.4)
« Reply #51 on: January 19, 2024, 02:12:16 PM »

Hi, is there a line or character that I need to add to split star systems up, the game can only find the first one.

I'm not quite certain what you mean by splitting star systems up; if you can provide me your customStarSystems.json and a bit more detail on what you are hoping to accomplish, then I would be able to help you out more.

Barring that, I will be guessing that you mean having two separate custom star systems instead of just one. In that case, you just make a new entry with a unique ID in customStarSystems.json, so something like this, for example:

{
    "css_default":{ # The star system ID; should be a unique ID
        # First star system
        # Bunch of "options" here
   },

    "your_own_id":{
        # Second star system
        # Same set of "options" as the first
   },

    "your_own_id_2":{
        # Third star system
        # Same old "options"
   },
}

As always, look into both referenceStarSystem.json and presetStarSystems.json for more guidance on how to format and use customStarSystems.json.

Tank Hunter Silas

  • Ensign
  • *
  • Posts: 8
    • View Profile
Re: [0.96a-RC10] Customizable Star Systems (v1.0.4)
« Reply #52 on: January 19, 2024, 04:22:57 PM »

Hi, is there a line or character that I need to add to split star systems up, the game can only find the first one.

I'm not quite certain what you mean by splitting star systems up; if you can provide me your customStarSystems.json and a bit more detail on what you are hoping to accomplish, then I would be able to help you out more.

Barring that, I will be guessing that you mean having two separate custom star systems instead of just one. In that case, you just make a new entry with a unique ID in customStarSystems.json, so something like this, for example:

{
    "css_default":{ # The star system ID; should be a unique ID
        # First star system
        # Bunch of "options" here
   },

    "your_own_id":{
        # Second star system
        # Same set of "options" as the first
   },

    "your_own_id_2":{
        # Third star system
        # Same old "options"
   },
}

As always, look into both referenceStarSystem.json and presetStarSystems.json for more guidance on how to format and use customStarSystems.json.

Thank you, I messed up the brackets
Logged

SKsniper128

  • Ensign
  • *
  • Posts: 8
    • View Profile
Re: [0.96a-RC10] Customizable Star Systems (v1.0.4)
« Reply #53 on: January 21, 2024, 09:16:08 PM »

I've been toying around with the mod for a bit and I've run into a wall.

I've managed to get the system to spawn in and as far as I can tell the game stopped screaming at me with specific lines that have errors. However it still hard crashes the game every time I try to jump into the system.

Here's what I currently have in the customStarSystems JSON. Not sure what I messed up, only that it doesn't work.

Spoiler
      "css_argent_home":{
         "isEnabled":true,
         "isCoreWorldSystem":true,
         "setLocation":[-25500,-35000],
         "entities":[
            {
               "entity":"star",            
               "type":"star_blue_giant",
               "radius":1000,
               "coronaRadius":250,
               "name":"Bastion",
            },
            {
               "entity":"planet",
               "name":"Adumbria",
               "type":"gas_giant",
               "orbitRadius":5825,
               "radius":250,
               "conditions":["habitable","no_atmosphere","low_gravity","volatiles_plentiful"],

            },
            {
               "entity":"planet",
               "type":"terran",
               "focus":1
               "orbitRadius":400,
               "name":"Avalon",
               "radius":100,
               "conditions":["habitable","mild_climate","ore_ultrarich","organics_plentiful","farmland_bountiful","ruins_vast"],

            },            
            {
               "entity":"planet",
               "type":"lava_minor",
               "orbitRadius":1100,
               "name":"Crucible",
               "radius":100,
               "conditions":["habitable","very_hot","low_gravity","ore_ultrarich","rare_ore_ultrarich","ruins_vast"],

            },
            {
               "entity":"planet",
               "type":"frozen",
               "orbitRadius":7420,
               "name":"Archive",
               "radius":100,
               "conditions":["very_cold","low_gravity","ore_sparse","rare_ore_sparse","ruins_vast"],
      
            },
            {"entity":"jump_point","orbitRadius":3200,"name":"Inner System Jump-point"},
            {"entity":"inactive_gate","orbitRadius":5250,"customDescriptionId":"inactive_gate"},
            {"entity":"jump_point","orbitRadius":7840,"name":"Fringe Jump-point"},
            {"entity":"station_research","orbitRadius":1425,"focus":1},
            {"entity":"stable_location","focus":[1,4]},
            {"entity":"stable_location","focus":[1,5]},
            {"entity":"comm_relay","focus":[2,4]},
      ],
   },
}
[close]
Logged

Renovator4830

  • Ensign
  • *
  • Posts: 7
    • View Profile
Re: [0.96a-RC10] Customizable Star Systems (v1.0.4)
« Reply #54 on: January 21, 2024, 09:56:37 PM »

I've been toying around with the mod for a bit and I've run into a wall.

I've managed to get the system to spawn in and as far as I can tell the game stopped screaming at me with specific lines that have errors. However it still hard crashes the game every time I try to jump into the system.

Here's what I currently have in the customStarSystems JSON. Not sure what I messed up, only that it doesn't work.

Spoiler
      "css_argent_home":{
         "isEnabled":true,
         "isCoreWorldSystem":true,
         "setLocation":[-25500,-35000],
         "entities":[
            {
               "entity":"star",            
               "type":"star_blue_giant",
               "radius":1000,
               "coronaRadius":250,
               "name":"Bastion",
            },
            {
               "entity":"planet",
               "name":"Adumbria",
               "type":"gas_giant",
               "orbitRadius":5825,
               "radius":250,
               "conditions":["habitable","no_atmosphere","low_gravity","volatiles_plentiful"],

            },
            {
               "entity":"planet",
               "type":"terran",
               "focus":1
               "orbitRadius":400,
               "name":"Avalon",
               "radius":100,
               "conditions":["habitable","mild_climate","ore_ultrarich","organics_plentiful","farmland_bountiful","ruins_vast"],

            },            
            {
               "entity":"planet",
               "type":"lava_minor",
               "orbitRadius":1100,
               "name":"Crucible",
               "radius":100,
               "conditions":["habitable","very_hot","low_gravity","ore_ultrarich","rare_ore_ultrarich","ruins_vast"],

            },
            {
               "entity":"planet",
               "type":"frozen",
               "orbitRadius":7420,
               "name":"Archive",
               "radius":100,
               "conditions":["very_cold","low_gravity","ore_sparse","rare_ore_sparse","ruins_vast"],
      
            },
            {"entity":"jump_point","orbitRadius":3200,"name":"Inner System Jump-point"},
            {"entity":"inactive_gate","orbitRadius":5250,"customDescriptionId":"inactive_gate"},
            {"entity":"jump_point","orbitRadius":7840,"name":"Fringe Jump-point"},
            {"entity":"station_research","orbitRadius":1425,"focus":1},
            {"entity":"stable_location","focus":[1,4]},
            {"entity":"stable_location","focus":[1,5]},
            {"entity":"comm_relay","focus":[2,4]},
      ],
   },
}
[close]

You're missing a comma. Try using a linter.
Spoiler
{
           "entity":"planet",
           "type":"terran",
           "focus":1,
           "orbitRadius":400,
           "name":"Avalon",
           "radius":100,
           "conditions":["habitable","mild_climate","ore_ultrarich","organics_plentiful","farmland_bountiful","ruins_vast"],

         },           
[close]
Logged

SKsniper128

  • Ensign
  • *
  • Posts: 8
    • View Profile
Re: [0.96a-RC10] Customizable Star Systems (v1.0.4)
« Reply #55 on: January 21, 2024, 10:12:19 PM »

Fed it through a JSON Linter

Spoiler
{
    "css_argent_home": {
        "isEnabled": true,
        "isCoreWorldSystem": true,
        "setLocation": [
            -25500,
            -35000
        ],
        "entities": [
            {
                "entity": "star",
                "type": "star_blue_giant",
                "radius": 1000,
                "coronaRadius": 250,
                "name": "Bastion"
            },
            {
                "entity": "planet",
                "name": "Adumbria",
                "type": "gas_giant",
                "orbitRadius": 5825,
                "radius": 250,
                "conditions": [
                    "habitable",
                    "no_atmosphere",
                    "low_gravity",
                    "volatiles_plentiful"
                ]
            },
            {
                "entity": "planet",
                "type": "terran",
                "focus": 1,
                "orbitRadius": 400,
                "name": "Avalon",
                "radius": 100,
                "conditions": [
                    "habitable",
                    "mild_climate",
                    "ore_ultrarich",
                    "organics_plentiful",
                    "farmland_bountiful",
                    "ruins_vast"
                ]
            },
            {
                "entity": "planet",
                "type": "lava_minor",
                "orbitRadius": 1100,
                "name": "Crucible",
                "radius": 100,
                "conditions": [
                    "habitable",
                    "very_hot",
                    "low_gravity",
                    "ore_ultrarich",
                    "rare_ore_ultrarich",
                    "ruins_vast"
                ]
            },
            {
                "entity": "planet",
                "type": "frozen",
                "orbitRadius": 7420,
                "name": "Archive",
                "radius": 100,
                "conditions": [
                    "very_cold",
                    "low_gravity",
                    "ore_sparse",
                    "rare_ore_sparse",
                    "ruins_vast"
                ]
            },
            {
                "entity": "jump_point",
                "orbitRadius": 3200,
                "name": "Inner System Jump-point"
            },
            {
                "entity": "inactive_gate",
                "orbitRadius": 5250,
                "customDescriptionId": "inactive_gate"
            },
            {
                "entity": "jump_point",
                "orbitRadius": 7840,
                "name": "Fringe Jump-point"
            },
            {
                "entity": "station_research",
                "orbitRadius": 1425,
                "focus": 1
            },
            {
                "entity": "stable_location",
                "focus": [
                    1,
                    4
                ]
            },
            {
                "entity": "stable_location",
                "focus": [
                    1,
                    5
                ]
            },
            {
                "entity": "comm_relay",
                "focus": [
                    2,
                    4
                ]
            }
        ]
    }
}
[close]

Still hard crashing when attempting to enter the system.
Logged

Renovator4830

  • Ensign
  • *
  • Posts: 7
    • View Profile
Re: [0.96a-RC10] Customizable Star Systems (v1.0.4)
« Reply #56 on: January 21, 2024, 10:39:55 PM »

Fed it through a JSON Linter

Spoiler
{
    "css_argent_home": {
        "isEnabled": true,
        "isCoreWorldSystem": true,
        "setLocation": [
            -25500,
            -35000
        ],
        "entities": [
            {
                "entity": "star",
                "type": "star_blue_giant",
                "radius": 1000,
                "coronaRadius": 250,
                "name": "Bastion"
            },
            {
                "entity": "planet",
                "name": "Adumbria",
                "type": "gas_giant",
                "orbitRadius": 5825,
                "radius": 250,
                "conditions": [
                    "habitable",
                    "no_atmosphere",
                    "low_gravity",
                    "volatiles_plentiful"
                ]
            },
            {
                "entity": "planet",
                "type": "terran",
                "focus": 1,
                "orbitRadius": 400,
                "name": "Avalon",
                "radius": 100,
                "conditions": [
                    "habitable",
                    "mild_climate",
                    "ore_ultrarich",
                    "organics_plentiful",
                    "farmland_bountiful",
                    "ruins_vast"
                ]
            },
            {
                "entity": "planet",
                "type": "lava_minor",
                "orbitRadius": 1100,
                "name": "Crucible",
                "radius": 100,
                "conditions": [
                    "habitable",
                    "very_hot",
                    "low_gravity",
                    "ore_ultrarich",
                    "rare_ore_ultrarich",
                    "ruins_vast"
                ]
            },
            {
                "entity": "planet",
                "type": "frozen",
                "orbitRadius": 7420,
                "name": "Archive",
                "radius": 100,
                "conditions": [
                    "very_cold",
                    "low_gravity",
                    "ore_sparse",
                    "rare_ore_sparse",
                    "ruins_vast"
                ]
            },
            {
                "entity": "jump_point",
                "orbitRadius": 3200,
                "name": "Inner System Jump-point"
            },
            {
                "entity": "inactive_gate",
                "orbitRadius": 5250,
                "customDescriptionId": "inactive_gate"
            },
            {
                "entity": "jump_point",
                "orbitRadius": 7840,
                "name": "Fringe Jump-point"
            },
            {
                "entity": "station_research",
                "orbitRadius": 1425,
                "focus": 1
            },
            {
                "entity": "stable_location",
                "focus": [
                    1,
                    4
                ]
            },
            {
                "entity": "stable_location",
                "focus": [
                    1,
                    5
                ]
            },
            {
                "entity": "comm_relay",
                "focus": [
                    2,
                    4
                ]
            }
        ]
    }
}
[close]

Still hard crashing when attempting to enter the system.

Seems like you have a problem somewhere else. Managed to jump into the system just fine.
Spoiler

[close]
Logged

Neurostrike

  • Ensign
  • *
  • Posts: 1
    • View Profile
Re: [0.96a-RC10] Customizable Star Systems (v1.0.4)
« Reply #57 on: January 22, 2024, 04:02:31 PM »

so i have never coded anything so please forgive dumb mistakes.
so i just copied the perfect system that was in the mod fies and just removed a ore deposit nothing more.
i tought i did everything right when in game the custom list saw my starsystem and when spawning it in it said that is was adding the system but when trying to jump to it it stated it did not exist, the same problem wit lunaib.
am i missing a step ?

Hi, welcome to the forums! I am assuming the "perfect system" you copied and are talking about is the one with an ID of "css_perfect_planets_system"? In that case (or in general, really), and assuming there were no errors or crashes, what likely happened is that it spawned in with a randomly-generated name in a random constellation by default, which is why you probably couldn't find it. The solution to that is to put in a "name" entry for the first "star" entity for that custom star system, which should basically rename the star system to a specified name. Then, you should be able to find it easily by using that name to the custom star system. If you are curious about how to do this, you should look at the other examples of custom star systems, or go through the referenceStarSystem.json for explainations about what various options/entries do.

So, it seems like I met the same problem as this. I just changed the system name to 'Test' in customstarsystem.json file and nothing else. When I am using the console command, I can successfully ListCustomStarSystems and Spwan this system, but I cannot use the command 'goto' to that system, and the command told me, "Couldn't find a token by the name 'Test'. The attached file is a console command PNG file, Please take a look at this, thanks.
Spoiler
{
   # An uninhabited star system with desirable planets
   "Test":{
      "isEnabled":true,
      "setLocation":0,
      "hasSystemwideNebula":true,
      "addCoronalHypershunt":true,
      "addDomainCryosleeper":true,
      "entities":[
         {
            "entity":"star",
            "type":"random_star_giant",
         },
         {
            "entity":"planet",
            "type":"gas_giant",
            "orbitRadius":3825,
            "radius":325,
            "conditions":["hot","high_gravity","volatiles_abundant"],
         },
         {
            "entity":"planet",
            "type":"terran",
            "orbitRadius":4625,
            "radius":175,
            "conditions":["habitable","ore_moderate","organics_common","farmland_adequate","ruins_extensive"],
         },
         {
            "entity":"planet",
            "type":"toxic",
            "orbitRadius":5850,
            "radius":150,
            "conditions":["toxic_atmosphere","ore_rich","rare_ore_moderate","organics_common","volatiles_diffuse"],
         },
         {
            "entity":"planet",
            "type":"barren",
            "orbitRadius":6420,
            "radius":120,
            "conditions":["no_atmosphere","ore_sparse","rare_ore_sparse"],
         },
         {"entity":"jump_point","orbitRadius":3200,"name":"Inner System Jump-point"},
         {"entity":"inactive_gate","orbitRadius":5250},
         {"entity":"jump_point","orbitRadius":6840,"name":"Fringe Jump-point"},
         {"entity":"magnetic_field","orbitRadius":325,"focus":1,"size":200},
         {"entity":"station_research","orbitRadius":425,"focus":1},
         {"entity":"stable_location","focus":[1,4]},
         {"entity":"stable_location","focus":[1,5]},
         {"entity":"comm_relay","focus":[2,4]},
      ],
   },

   #--------------------------------------#
   # Can add more star systems below here #
   #--------------------------------------#
}
[close]
Logged

Tranquility

  • Commander
  • ***
  • Posts: 228
    • View Profile
Re: [0.96a-RC10] Customizable Star Systems (v1.0.4)
« Reply #58 on: January 22, 2024, 08:05:42 PM »

...

Still hard crashing when attempting to enter the system.

Do you mind also providing your starsector.log containing the crash details? I would be able to help you out if I can see how this crash is occuring in your game.

...
So, it seems like I met the same problem as this. I just changed the system name to 'Test' in customstarsystem.json file and nothing else. When I am using the console command, I can successfully ListCustomStarSystems and Spwan this system, but I cannot use the command 'goto' to that system, and the command told me, "Couldn't find a token by the name 'Test'. The attached file is a console command PNG file, Please take a look at this, thanks.
...

Hi, to change the custom star system's name, you actually need a "name" entry for the first "star" entity in your "entities" list. What you changed is the system's spawning ID, which should never appear in-game (the ID is just used to uniquely identify the star system to spawn if you are spawning one in via Console Commands or LunaLib, for example). This is where you would put the "name" entry in your custom star system:
         ...
         {
            "entity":"star",
            "type":"random_star_giant",
            "name":"ANY_NAME_YOU_WANT", # Add this line
         },
        ...
« Last Edit: January 22, 2024, 08:08:08 PM by Tranquility »
Logged

SKsniper128

  • Ensign
  • *
  • Posts: 8
    • View Profile
Re: [0.96a-RC10] Customizable Star Systems (v1.0.4)
« Reply #59 on: January 24, 2024, 09:48:53 AM »

...

Still hard crashing when attempting to enter the system.

Do you mind also providing your starsector.log containing the crash details? I would be able to help you out if I can see how this crash is occuring in your game.


No need. I started a new game with the edited json and it worked fine.

Now I'm trying to figure out how to add the automated shipyard from Industrial Evolution to a star.
Logged
Pages: 1 2 3 [4] 5 6 ... 9