Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not retaining values (Active, Inactive, Dead) for vesselSituation (aka 'state') between game sessions. #25

Open
RedStapler55 opened this issue Mar 5, 2019 · 1 comment

Comments

@RedStapler55
Copy link

RedStapler55 commented Mar 5, 2019

Sorry to 'bug' you on this. Let me know if any Qs or if further testing needed, happy to help. Tnx...

Repro Steps:

  1. Open up the Playlist Editor in STE
  2. Change 'state' to 'Active, Inactive' for the Space playlist (from the default of 'Any')
  3. Save your changes (close the playlist and re-open just to confirm the Space state values still show 'Active, Inactive')
  4. Close KSP and re-launch the game...go back into the Space playlist in the editor and notice that state is set to 'Any' again

The other interesting part is if you open up the playlist.cfg file in the playlists folder, it still shows the correct values you entered ('Active, Inactive' as per the example above) so it seems the Playlist Editor in STE is saving those values to the config file but is not picking them up or is defaulting back to 'Any' when back in the game.

Above can be reproduced on any existing or new playlist that uses the 'state' field. Noticed this issue when I was trying to set up music to play when a vessel state = dead (it would work for that game session, but not the next one).

@RedStapler55
Copy link
Author

Upon further testing, 'vesselSituation' should be 'vesselState' for Inactive/Active/Dead states in the playlist. Once I made this change in the playlist, the states did not change back to 'Any' in the in game editor as long as I did not make any changes in the editor and save them for that game session (if you save, it reverts back to 'vesselSituation' in the playlist which causes STE to default back to 'Any' in game the next time you load KSP up).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant