Jump to content

Sandbox Science configuration question


Recommended Posts

I am running a new career after being away for a year. I am running the latest version of KSP, Breaking Ground, and Making History.

I would like to use Sandbox mode to test new designs but I would like to be limited to the science level I am at in the career so I will only have the equipment currently available to me in the career. Is there a configuration entry in the Sandbox game configuration file where I can edit the Science level to restrict the available equipment. I am envisioning advancing the Science level in sandbox as I advance in Career, 

 

Thanks in advance

jbdenney

Link to comment
Share on other sites

I know you may question why not just play the Sandbox. The issue is that I like having the structure of the CONTRACTS to give me a roadmap. It also give me a chance to learn how to use the lower tech equipment before adding the more complex stuff.

That being said....

I had not thought about using the science game - but I cannot find anything under Alt-F12 to change the science.

HOWEVER I did find something in the persistent.sfs file in the saves\<career name> folder.

There is a section of code from my current CAREER game(see below). If I take that copy that section of code and copy it and then paste it into the persistent.sfs of the SCIENCE game over the same section (include every thing from the SCENARIO entry just above" name = ResearchAndDevelopment" to the next occurrence of SCENARIO This will set the game to the same science level setting. You will have to do this every time the career game gets a new tech section. Since Science works you could just add science but the idea is to keep synced with the career game. Just an FYI this entire section does not even exist in the SANDBOX game. I also found the funding section with the entry "funds = 125685.09012794495". You can modify this with an number (max 9999999999) to give more money. I do not now if there is a way to add contracts to the SCIENCE game.

(HINT from a long time IT person - always make a backup copy of the persistent.sfs file just in case you screw it up.)

SCENARIO
    {
        name = ResearchAndDevelopment
        scene = 7, 8, 5, 6
        sci = 6
        Tech
        {
            id = start
            state = Available
            cost = 0
            part = basicFin
            part = evaJetpack
            part = evaChute
            part = mk1pod
            part = mk1pod.v2
            part = solidBooster.sm.v2
            part = solidBooster.sm
            part = GooExperiment
            part = trussPiece1x
            part = parachuteSingle
            part = kv1Pod
        }
        Tech
        {
            id = basicRocketry
            state = Available
            cost = 5
            part = fuelTankSmallFlat
            part = solidBooster
            part = solidBooster.v2
            part = liquidEngine2
        }
        Tech
        {
            id = engineering101
            state = Available
            cost = 5
            part = SurfAntenna
            part = longAntenna
            part = sensorThermometer
            part = Decoupler.1
        }
        Science
        {
            id = recovery@KerbinFlew
            title = Recovery of a vessel returned from a flight over Kerbin
            dsc = 1
            scv = 0.166666672
            sbv = 5
            sci = 5
            asc = True
            cap = 6
        }
    }

SCENARIO

Link to comment
Share on other sites

10 minutes ago, jbdenney said:

I know you may question why not just play the Sandbox. The issue is that I like having the structure of the CONTRACTS to give me a roadmap. It also give me a chance to learn how to use the lower tech equipment before adding the more complex stuff.

That being said....

I had not thought about using the science game - but I cannot find anything under Alt-F12 to change the science.

HOWEVER I did find something in the persistent.sfs file in the saves\<career name> folder.

There is a section of code from my current CAREER game(see below). If I take that copy that section of code and copy it and then paste it into the persistent.sfs of the SCIENCE game over the same section (include every thing from the SCENARIO entry just above" name = ResearchAndDevelopment" to the next occurrence of SCENARIO This will set the game to the same science level setting. You will have to do this every time the career game gets a new tech section. Since Science works you could just add science but the idea is to keep synced with the career game. Just an FYI this entire section does not even exist in the SANDBOX game. I also found the funding section with the entry "funds = 125685.09012794495". You can modify this with an number (max 9999999999) to give more money. I do not now if there is a way to add contracts to the SCIENCE game.

(HINT from a long time IT person - always make a backup copy of the persistent.sfs file just in case you screw it up.)

SCENARIO
    {
        name = ResearchAndDevelopment
        scene = 7, 8, 5, 6
        sci = 6
        Tech
        {
            id = start
            state = Available
            cost = 0
            part = basicFin
            part = evaJetpack
            part = evaChute
            part = mk1pod
            part = mk1pod.v2
            part = solidBooster.sm.v2
            part = solidBooster.sm
            part = GooExperiment
            part = trussPiece1x
            part = parachuteSingle
            part = kv1Pod
        }
        Tech
        {
            id = basicRocketry
            state = Available
            cost = 5
            part = fuelTankSmallFlat
            part = solidBooster
            part = solidBooster.v2
            part = liquidEngine2
        }
        Tech
        {
            id = engineering101
            state = Available
            cost = 5
            part = SurfAntenna
            part = longAntenna
            part = sensorThermometer
            part = Decoupler.1
        }
        Science
        {
            id = recovery@KerbinFlew
            title = Recovery of a vessel returned from a flight over Kerbin
            dsc = 1
            scv = 0.166666672
            sbv = 5
            sci = 5
            asc = True
            cap = 6
        }
    }

SCENARIO

it's under cheats

Link to comment
Share on other sites

1 hour ago, jbdenney said:

I do not now if there is a way to add contracts to the SCIENCE game.

Open a career game, save it, quit KSP. Find the persistent.sfs and you can probably find some config nodes representing building levels... And change everything to level 3. 

But this is a workaround: Since in science mode you can't acess mission control, you can't get contracts, I think.

Edited by AllenLi
Link to comment
Share on other sites

6 hours ago, jbdenney said:

I would like to use Sandbox mode to test new designs but I would like to be limited to the science level I am at in the career so I will only have the equipment currently available to me in the career. Is there a configuration entry in the Sandbox game configuration file where I can edit the Science level to restrict the available equipment. I am envisioning advancing the Science level in sandbox as I advance in Career,

  • Start a regular career game.
  • As soon as you load into the Space Center scene, Esc and save game. This save allows you to reload a pristine starting point, from which to create any specific 'sandbox' you wish to test in.
  • Using the Esc and mod-F12 options, edit your game to the settings you're currently wishing to test, including cheating your required tech/facility/experience levels, science, and funds. Save again. This save allows you to return to these specific settings at any time.
  • Test in your newly created sandbox to your hearts content. You'll hae *everything* available to test with, including all facilities, contracts, the whole shebang. An actual sandbox.
  • When you wish to return to a clean sandbox, load one of the saves you made. When you wish to change your sandbox settings, reload the pristine save, and make new settings to save again. Repeat for as many different, instantly recallable fully functional sandbox environments as you need, all within one 'save'.

 

Link to comment
Share on other sites

On 2/21/2021 at 12:24 AM, jbdenney said:

I had not thought about using the science game - but I cannot find anything under Alt-F12 to change the science.

HOWEVER I did find something in the persistent.sfs file in the saves\<career name> folder.

Funny thing, I considered posting that method in a "for the sake of completeness" answer. But on a second thought,  I decided that it is overcomplicated and would just confuse you. Seems I was wrong.

In any case, there under "cheats" this "+100" button:

P7qWJMk.png 

 

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...