Jump to content

Change your Flag mid-game


Recommended Posts

So I was curious as to how, and I've seen quite a few people ask how to change the flags in your game. I did a little research and came up with this.

First, back up your save file

Go to your save file location (KSP_win\saves\) select the folder with the name of your save game. Copy it and save it somewhere else (preferably outside of the KSP folder) creating a backup.

Second, open your save file

Go back to: KSP_win\saves\your game save open the folder; open the persistent.sfs file. It will more than likely open with notepad.

Copy / Paste the information, so you can search it.

With persistent.sfs open in notepad, select all, then copy. Open M$ Word or equivalent and paste the data you copied from the persistent.sfs file.

Find / Replace

All the flag information will be written like this: flag = Squad/Flags/hexagon (my default was hexagon)

Open the find tool.

Find Squad/Flags/hexagon and replace with the name of the flag you would like to replace it with.

Mine new flag was labeled - Fett.

So, I searched for: Squad/Flags/hexagon and replaced it with Squad/Flags/Fett

You can either replace one at a time, or replace all. Depending on the amount of flights, EVAs, Probes, etc etc that you have, it will find more.

Flags can be found here:

KSP_win\GameData\Squad\Flags

If you want to create you own custom flag this is where you will need to save it.

A flag needs to be 256 x 160.

It needs to be in .png format. (Make sure it is not .PNG - yes, for some reason this matters)

Link to comment
Share on other sites

Follow the directions above to find and replace the lines in the persistent.sfs that pertain to the flags of your save game.

If you want to change ONLY your Main Flag:

If you only want to change your main flag: only change the very first instance that appears in the persistent.sfs file; the line should look like this:

flag = Squad/Flags/default (Your flag name will probably be different.)

Save and close.

If you want to change the flag of a craft:

In the persistent.sfs file, use find and search for the name of the craft you would like to change the flag. Once you have found it's name, change all the lines underneath it that mention "flag" to your desired flag.

You can do this for any flag in the game you just need to be aware of the parent item the flag is under. The code is pretty easy to read, I have no doubt you will be able to figure it out.

Good Luck!

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...