adsii1970

[1.3.X] In Flight Flag Switcher v 1.5 (06-07-2017)

Recommended Posts

In Flight Flag Switcher - continued!

Change the flags on any vessel or planted flags after launch with just a quick right-click of a button!

 

For KSP-1.3.1-green.png License-GNU%20--3-green.png CKAN-Pending-ff69b4.png KSP%20AVC-Supported-green.png
  GitHub-Available-green.png    

 

NOTE:iPeer gave me permission to continue to maintain this and other mods he has written. The mod's original OP is available here. From this point forward, I will be maintaining this mod.

By itself, this mod will allow you to change your mission flag after you've left the SPH or VAB. While on a mission, you can have one flag for the craft and a completely different flag to plant on the surface!

This mod has a great number of uses both by itself and when paired with other flag mods, such as Flag Decals. It's now possible to create custom decals and launch vehicles that have multiple images on them. There are a few examples of what you can accomplish with this mod within the spoiler:

Spoiler

mission flag on hangar rear door has been changed on the aircraft

mFDueCH.jpg

ship's mast flag is different than the flag placed on the bow (the bow "flag" was made to look like hull numbers)

TLxPWqO.jpg

 

From the original OP by iPeer:(click spoiler to view)

Spoiler

Ever launched a rocket to discovered you forgot to change your mission flag? Previously, you'd have to revert to the editor (or recover), switch the flag and launch again... NOT ANY MORE!

With this carefully crafted file of specifically chosen letters you can change your flag at any time while in the flight scene. Mun, Minmus, Eve, below Jool's surface... you name it, you can change your flag there.

Just click the handy-dandy button that shows your current flag on the toolbar (which will show the flag of your vessel's root part), pick your new flag and you're done! Exactly how do all the flags on your ship get reprinted in an instant? Well, actually, we don't know, but we're told it has something to do with portals and toasters or something. We're sure it's all very complicated.

Please note this will only effect your active vessel. Our toasters aren't powerful enough to do it on a global scale, or at least that's what the scientists told us.

Planted a flag on a planet only to realise it's not the right one? You can change those, too!

Download locations:

GitHub

Installation:

Extract the folder called "InFlightFlagChanger" to KSP's GameData folder.

CKAN:

CKAN is pending... if I can ever figure out how to do it. For now, you are stuck doing a manual install. :rolleyes:

How to use this mod:

  • While in the VAB or SPH: Right click on the part containing a flag placeholder and scroll down to "CHANGE FLAG" option. A dialogue box will open containing all available flags you have installed. Select the flag and click "Accept".
  • While on a mission: Right click on the part containing a flag placeholder and scroll down to "CHANGE FLAG" option. A dialogue box will open containing all available flags you have installed. Select the flag and click "Accept". You also have the option to apply the new flag to the entire vessel.

NOTE: This mod will not work outside of the VAB or SPH if you selected the "flag" toggle to turn off flags while in editor mode. 

KNOWN ISSUES (I hope to address these as soon as I can figure it out):

  • Vessel will lose it's root flag (this is the flag you've selected in the editor) on save, exit, and return.
    • Reset the vessel's flag but do not select the option to set your selection as the vessel flag. This normally works.
  • Flag is discolored, or may have a light grey halo if it is transparency based.
    • Nothing I can do about this. This is an issue with the way the post 1.0.5 KSP handles imported images. It is most evident on images with a transparent background.
    • Another cause of this are mods, such as EVE, that add shadows, clouds, and other environmental effects. If you are using these mods, wait until the obscured light on Kerbin and the discoloration should disappear.
  • I am using the Decal Flag mod and the part that contains the deployable flag displays my flag backwards.
    • I did not write that mod and cannot control it, however, simply use an image editing software package and take your original image, flip it horizontally, and save as "your flag name 2.png" and select that image using this mod.

Support: I will be more than happy to provide support for this mod. I do ask that you follow a few simple rules when you ask for my help (click spoiler to view):

Spoiler

This is the first mod I have updated. Don't be rude, but help me by raising bugs and feature requests through this GitHub link or as a reply to the op.

For support please ensure you are following the instructions I have stated here:

I will NOT respond to requests for support if you have not at least attempted to follow these simple steps.


NO LOG = NO SUPPORT.
When I ask for a LOG I mean this LOG:

These are text files that the game spits out for debugging purposes as it runs; if something broke horribly in-game, there will be something in here about it. You should upload the entire log as a file (i.e. not to pastebin); you can use dropbox or an equivalent host to upload the file. Make sure the entire file gets uploaded; you may have to zip it first, as logs can be very long. Here is where you can find the log:

  • Windows: KSP_win\KSP_Data\output_log.txt (32bit) or KSP_win64\KSP_x64_Data\output_log.txt (64bit)
  • Mac OS X: Open Console, on the left side of the window there is a menu that says 'files'. Scroll down the list and find the Unity drop down, under Unity there will be Player.log ( Files>~/Library/Logs>Unity>Player.log )
  • Linux: ~/.config/unity3d/Squad/Kerbal\ Space\ Program/Player.log


Personally, I do use CKAN for updating my game and do plan to include this mod on CKAN once I figure it out. It is a great mod for those that choose an easy method to manage their mods. 

PLEASE NOTE:

You must manually uninstall previous editions of this mod. The previous version can be located in the GameData/iPeer folder.

SPECIAL THANKS:
We really have a great bunch of forum members that have encouraged me and others to take on greater challenges as members of the KSP community. I could not have updated this mod without the help of @CliftonM, @katateochi, and @Dman979. In a round-about way, I would also like to thank @Just Jim for getting me hooked on writing fan-fic based on KSP, thus creating the need for me to update this mod.

PROJECT TESTERS: @Rhedd

Edited by adsii1970

Share this post


Link to post
Share on other sites

This is unrelated to this mod, but because you linked it, how do you get the Flag Decals mod to work? I know it's WAY beyond the last time it was updated, but I'm just wondering if you somehow have it working in 1.2.1.

Share this post


Link to post
Share on other sites
On 11/5/2016 at 3:55 AM, Ohm Machre said:

This is unrelated to this mod, but because you linked it, how do you get the Flag Decals mod to work? I know it's WAY beyond the last time it was updated, but I'm just wondering if you somehow have it working in 1.2.1.

I have been using the Flag Decals mod, the same one that's on Curse currently, since 1.0 without any problems - with the exception of slight discoloration of the images. Can you describe what problems you are having? I know a little about the mechanics about that mod, but cannot find the mod's author to ask permission to update it.

Share this post


Link to post
Share on other sites

I think the first problem I had with it caused me to remove it, in that was ModuleManager froze the game trying to load it. I have since reset my cache, so I can try again.

Share this post


Link to post
Share on other sites

@Ohm Machre:

Check what version your MM is using. Once you update MM, then the Flags as Decals mod should work without any problem. Let me know if you get it working.

Share this post


Link to post
Share on other sites

td5lzNR.jpg

 

I posted this a little while ago in the OPT Showroom thread, but sure I can post it here because GLORIOUS WING FLAGS.

 

A shame they have low heat tolerance, lol.

Share this post


Link to post
Share on other sites

Oddly this mod crashes my game on load.. I run a mod-heavy game with a lot of dev version mods, but this has been the first one to crash like this so far.

here's a crash log https://drive.google.com/open?id=0B8YIbO4-oHFhQ3pieHJFbDZEck0

A true pity! How will I manage my multiple launches to outer space? :-(

Edited by PaganoCristo

Share this post


Link to post
Share on other sites

Just a quick note: Your 1.5 version of the mod on GitHub is not a zip file, it's each mod file individually. Your install directions are no longer accurate to this way of packaging the mod and will likely confuse people when they cannot find the "InFlightFlagChanger" folder.

Share this post


Link to post
Share on other sites
On 19/08/2017 at 7:18 PM, Baythan said:

Just a quick note: Your 1.5 version of the mod on GitHub is not a zip file, it's each mod file individually. Your install directions are no longer accurate to this way of packaging the mod and will likely confuse people when they cannot find the "InFlightFlagChanger" folder.

It's been 4 months and this still hasn't been addressed :/

Share this post


Link to post
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.