Jump to content

Where is Flag text data stored?


Art3mis777

Recommended Posts

Hello,

Where would I be able to find the data for the flag text stored?

I'm assuming it must be somewhere that is readable or editable, maybe like how science and milestone are in a config file? I don't know.

Link to comment
Share on other sites

I think it is in the save file (<ksp-dir>/saves/<save-name>/persistent.sfs), within the flag itelf. So you have to find the flag first. Look for 'name = flagSite' (without the quotes). The plaque text is PlaqueText. If you want to get the flag name, look for 'name = flag' instead, but you'll have to search a bit more for the information.

Edited by Nazalassa
Link to comment
Share on other sites

  • 2 weeks later...
16 minutes ago, Mahnarch said:

If you have the downloaded version it's under; C:KerbalSpaceProgram/GameData/Squad/Flags

Those are the image files. The text is in the save file (persistent.sfs) like this.

MODULE
{
	name = FlagSite
	isEnabled = True
	placedBy = Gerdo Kerman
	PlaqueText = Why did that pay so much funds?!
	stagingEnabled = True
	state = Placed
	EVENTS
	{
	}
	ACTIONS
	{
	}
	UPGRADESAPPLIED
	{
	}
}
Link to comment
Share on other sites

1 minute ago, HebaruSan said:

Those are the image files. The text is in the save file (persistent.sfs) like this.

MODULE
{
	name = FlagSite
	isEnabled = True
	placedBy = Gerdo Kerman
	PlaqueText = Why did that pay so much funds?!
	stagingEnabled = True
	state = Placed
	EVENTS
	{
	}
	ACTIONS
	{
	}
	UPGRADESAPPLIED
	{
	}
}

I missed the "text" part.

Good looking out!

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