How to create a scenario with randomly generated solar systems/planets?

Discussion in 'Scenarios' started by TGRF_Trainer, Jan 27, 2020.

  1. TGRF_Trainer

    TGRF_Trainer Commander

    Joined:
    Jun 12, 2019
    Messages:
    81
    Likes Received:
    86
    First off, I'm sorry if this question has been asked before. I did some searches, both here and in Google, but couldn't find the information I was after.

    I want to be able to create a scenario which is essentially a copy of the default random survival SP game. From there, I can tweak things which I want to improve about the game. So far, I've only been able to find advice dealing with set solar systems.

    The reason for this is that I've made some changes to the playfield files of various planets, adding patrols and such, in an attempt to make things more difficult. This works, but when a major update comes out, the files get replaced, and my work is lost. I would like the ability to create a scenario which is a copy of the random survival SP game, but which keeps my changes intact. But I don't know how to get a scenario to generate random solar systems like the default SP does.

    Side question: I'm a bit worried about updates. What do I do if Eleon releases a major playfield update which I want to incorporate into my scenario without wiping out my changes? I can't just replace the yaml files...
     
    #1
  2. Monroe

    Monroe Commander

    Joined:
    Nov 20, 2017
    Messages:
    201
    Likes Received:
    184
    Are you saying you've edited the default playfields in the Empyrion\Content\Playfields folder? If that's the case, then yeah, an update is going to wipe out your changes. Make a copy of whatever scenario you want to edit, "Default Multiplayer" for instance, and name it something else. That is now where you work from. If you make a copy of the "lava" planet for instance, and place that in the "playfields" folder of your new scenario, then you can edit it without it being overwritten by updates. And your scenario will look in its local "playfields" folder before reaching out the the game's default playfields folder, so you should be good to go. Hope that helps.
     
    #2
  3. TGRF_Trainer

    TGRF_Trainer Commander

    Joined:
    Jun 12, 2019
    Messages:
    81
    Likes Received:
    86
    That I've got down. What I can't figure out is how to get the randomly generated solar system(s) in a scenario. If I could find the files/lines which govern/control that, that would be great.
     
    #3
  4. Monroe

    Monroe Commander

    Joined:
    Nov 20, 2017
    Messages:
    201
    Likes Received:
    184
    The solarsystemconfig.yaml inside of a 'Random Presets' folder governs that. Mirror the "Default Multiplayer". (It can be played single player.)

    Edit: By the way, there is no way to set how many different solar systems are generated, if that is what you are asking. The game does that randomly. If you want to adjust that after the save game has been generated, you can do that using the eWSSC .
     
    #4
  5. TGRF_Trainer

    TGRF_Trainer Commander

    Joined:
    Jun 12, 2019
    Messages:
    81
    Likes Received:
    86
    So just copy and rename the default multiplayer and it should work? Okay, I'll try that out, thanks. One last thing: I noticed that the default multiplayer only has a playfield for temperate starter. If I start loading the scenario playfields folder up with other planets (like if I copy over the desert folder for instance), will that get picked up? Or will it still look at the original playfield folders under Empyrion>Content>Playfields?
     
    #5
  6. Monroe

    Monroe Commander

    Joined:
    Nov 20, 2017
    Messages:
    201
    Likes Received:
    184
    The way I understand it, and I'm no expert, is that it will look first in the 'playfields' folder in your scenario. And if it doesn't find what it's looking for there, it will then look in the Empyrion>Content>Playfields folder. If what it needs isn't there, then it will generate an error. So it should pick up your Desert before the default Desert.
     
    #6
  7. TGRF_Trainer

    TGRF_Trainer Commander

    Joined:
    Jun 12, 2019
    Messages:
    81
    Likes Received:
    86
    Sounds good, thanks for the help.
     
    #7

Share This Page