Jump to content

[1.4.x] Decal Stickers R2.0 (Custom Flags & Agencies, Instructions to add your own!) March 21, 2018


blackheart612

Recommended Posts

Hey @blackheart612, your last release includes an invalid Firespitter.version file.

To be precises, it's an offline copy of this webpage, https://github.com/snjo/Firespitter/blob/master/For release/Firespitter/Firespitter.version, so actually html content.
If I have to take a guess, somebody didn't click on 'Raw' before he hit ctrl + s :D

For that reason, the last release fails to be indexed on CKAN.

Link to comment
Share on other sites

  • 2 weeks later...
  • 4 weeks later...
7 hours ago, BlinAndVodka238 said:

The change shape thing doesn't appear for me, only the change texture.
I use 1.7.3 and the latest version of this mod. 
Please ask for any details you'd like.
Is this a known bug?

Well, I'd assume it's the firespitter, make sure it's the latest version. The versions move too fast and I can't be bothered to update because really, it's just a plug-in related updated. You update firspitter, everything works just fine. Usually it's not even needed.

Link to comment
Share on other sites

  • 2 weeks later...

For those wanting a slightly easier way to add their own flags/decals, I made up a little MM config that will update all 4 models at once.

Spoiler

@PART[sticker*]:HAS[#author[blackheart612]]
{
	// Change this to your flag, copy as many times as needed
	VARIANT
		{
			name = Custom 1
			displayName = Custom 1
			themeName = Custom 1
			primaryColor = #ADAFAD
			secondaryColor = #ADAFAD
			TEXTURE
			{
				mainTextureURL = blackheart/Flags/Custom1
			}
		}
}

And to note, I actually used this MM config to entirely replace the variants on the original parts, so I could change the list order, and add unique colors for each variant entry.

Spoiler


@PART[sticker*]:HAS[#author[blackheart612]]
{
	// Remove existing ModulePartVariants and replace with our expanded one
	!MODULE[ModulePartVariants] {}
	MODULE
	{
		name = ModulePartVariants
		baseVariant = Default
		
		// KSP Agencies
		VARIANT
		{
			name = Default
			displayName = Default
			themeName = Default
			primaryColor = #ADAFAD
			secondaryColor = #ADAFAD
			TEXTURE
			{
				mainTextureURL = Squad/Flags/Default
			}
		}
		VARIANT
		{
			name = C7 Aerospace Division
			displayName = C7 Aerospace Division
			themeName = C7 Aerospace Division
			primaryColor = #BD1D29
			secondaryColor = #424142
			TEXTURE
			{
				mainTextureURL = Squad/Agencies/C7AerospaceDivision
			}
		}
		VARIANT
		{
			name = Dinkelstein Kermans Construction Emporium
			displayName = Dinkelstein Kermans Construction Emporium
			themeName = Dinkelstein Kermans Construction Emporium
			primaryColor = #6B4929
			secondaryColor = #6B4929
			TEXTURE
			{
				mainTextureURL = Squad/Agencies/DinkelsteinKermansConstructionEmporium
			}
		}
		VARIANT
		{
			name = Experimental Engineering
			displayName = Experimental Engineering
			themeName = Experimental Engineering
			primaryColor = #81BC00
			secondaryColor = #ADAFAD
			TEXTURE
			{
				mainTextureURL = Squad/Agencies/ExperimentalEngineering
			}
		}
		VARIANT
		{
			name = Flooyd Research Lab
			displayName = Flooyd Research Lab
			themeName = Flooyd Research Lab
			primaryColor = #FFD700
			secondaryColor = #231918
			TEXTURE
			{
				mainTextureURL = Squad/Agencies/FlooydResearchLab
			}
		}
		VARIANT
		{
			name = Goliath National Products
			displayName = Goliath National Products
			themeName = Goliath National Products
			primaryColor = #231E21
			secondaryColor = #EF2626
			TEXTURE
			{
				mainTextureURL = Squad/Agencies/GoliathNationalProducts
			}
		}
		VARIANT
		{
			name = Integrated Integrals
			displayName = Integrated Integrals
			themeName = Integrated Integrals
			primaryColor = #000000
			secondaryColor = #ADAFAD
			TEXTURE
			{
				mainTextureURL = Squad/Agencies/IntegratedIntegrals
			}
		}
		VARIANT
		{
			name = Ionic Symphonic Protonic Electronics
			displayName = Ionic Symphonic Protonic Electronics
			themeName = Ionic Symphonic Protonic Electronics
			primaryColor = #000000
			secondaryColor = #105A89
			TEXTURE
			{
				mainTextureURL = Squad/Agencies/IonicSymphonicProtonicElectronics
			}
		}
		VARIANT
		{
			name = Jeb's Junkyard
            displayName = Jeb's Junkyard
            themeName = Jeb's Junkyard
            primaryColor = #D63A29
            secondaryColor = #3F845A
            TEXTURE
            {
                mainTextureURL = Squad/Agencies/JebsJunkyard
            }
		}
		VARIANT
		{
			name = Kerbal Motion
			displayName = Kerbal Motion
			themeName = Kerbal Motion
			primaryColor = #B5D457
			secondaryColor = #737373
			TEXTURE
			{
				mainTextureURL = Squad/Agencies/KerbalMotion
			}
		}
		VARIANT
		{
			name = Kerbin World First Record Keeping Society
			displayName = Kerbin World First Record Keeping Society
			themeName = Kerbin World First Record Keeping Society
			primaryColor = #000000
			secondaryColor = #404040
			TEXTURE
			{
				mainTextureURL = Squad/Agencies/KerbinWorldFirstRecordKeepingSociety
			}
		}
		VARIANT
		{
			name = Kerbodyne
			displayName = Kerbodyne
			themeName = Kerbodyne
			primaryColor = #000000
			secondaryColor = #FF8239
			TEXTURE
			{
				mainTextureURL = Squad/Agencies/Kerbodyne
			}
		}
		VARIANT
		{
			name = Kerlington
			displayName = Kerlington
			themeName = Kerlington
			primaryColor = #29A8DE
			secondaryColor = #42BFEF
			TEXTURE
			{
				mainTextureURL = Squad/Agencies/Kerlington
			}
		}
		VARIANT
		{
			name = Maxo Construction Toys
			displayName = Maxo Construction Toys
			themeName = Maxo Construction Toys
			primaryColor = #FFC708
			secondaryColor = #007D00
			TEXTURE
			{
				mainTextureURL = Squad/Agencies/MaxoConstructionToys
			}
		}
		VARIANT
		{
			name = Moving Parts Experts Group
			displayName = Moving Parts Experts Group
			themeName = Moving Parts Experts Group
			primaryColor = #295F94
			secondaryColor = #789AE1
			TEXTURE
			{
				mainTextureURL = Squad/Agencies/MovingPartsExpertsGroup
			}
		}
		VARIANT
		{
			name = OMB Demolition
			displayName = OMB Demolition
			themeName = OMB Demolition
			primaryColor = #FFF018
			secondaryColor = #787678
			TEXTURE
			{
				mainTextureURL = Squad/Agencies/OMBDemolition
			}
		}
		VARIANT
		{
			name = Periapsis Co
			displayName = Periapsis Co
			themeName = Periapsis Co
			primaryColor = #00A6D6
			secondaryColor = #AFE5F4
			TEXTURE
			{
				mainTextureURL = Squad/Agencies/PeriapsisCo
			}
		}
		VARIANT
		{
			name = Probodobodyne
			displayName = Probodobodyne
			themeName = Probodobodyne
			primaryColor = #FFDBB5
			secondaryColor = #BD1D2B
			TEXTURE
			{
				mainTextureURL = Squad/Agencies/Probodobodyne
			}
		}
		VARIANT
		{
			name = R&D
			displayName = R&D
			themeName = R&D
			primaryColor = #99CB39
			secondaryColor = #000000
			TEXTURE
			{
				mainTextureURL = Squad/Agencies/R&D
			}
		}
		VARIANT
		{
			name = Reaction Systems Ltd
			displayName = Reaction Systems Ltd
			themeName = Reaction Systems Ltd
			primaryColor = #6BBC44
			secondaryColor = #6D6F70
			TEXTURE
			{
				mainTextureURL = Squad/Agencies/ReactionSystemsLtd
			}
		}
		VARIANT
		{
			name = Rockomax
			displayName = Rockomax
			themeName = Rockomax
			primaryColor = #FF5D00
			secondaryColor = #525152
			TEXTURE
			{
				mainTextureURL = Squad/Agencies/Rockomax
			}
		}
		VARIANT
		{
			name = Rokea
			displayName = Rokea
			themeName = Rokea
			primaryColor = #96BED8
			secondaryColor = #2E75AA
			TEXTURE
			{
				mainTextureURL = Squad/Agencies/Rokea
			}
		}
		VARIANT
		{
			name = Seans Cannery
			displayName = Seans Cannery
			themeName = Seans Cannery
			primaryColor = #ADD1DE
			secondaryColor = #4A9A44
			TEXTURE
			{
				mainTextureURL = Squad/Agencies/SeansCannery
			}
		}
		VARIANT
		{
			name = Steadler Engineering Corps
			displayName = Steadler Engineering Corps
			themeName = Steadler Engineering Corps
			primaryColor = #212021
			secondaryColor = #212021
			TEXTURE
			{
				mainTextureURL = Squad/Agencies/SteadlerEngineeringCorps
			}
		}
		VARIANT
		{
			name = Strut Co
			displayName = Strut Co
			themeName = Strut Co
			primaryColor = #000000
			secondaryColor = #ADAFAD
			TEXTURE
			{
				mainTextureURL = Squad/Agencies/StrutCo
			}
		}
		VARIANT
		{
			name = Vac-Co
			displayName = Vac-Co
			themeName = Vac-Co
			primaryColor = #000000
			secondaryColor = #0083FF
			TEXTURE
			{
				mainTextureURL = Squad/Agencies/Vac-Co
			}
		}
		VARIANT
		{
			name = Winter Owl
			displayName = Winter Owl
			themeName = Winter Owl
			primaryColor = #BABCC0
			secondaryColor = #424142
			TEXTURE
			{
				mainTextureURL = Squad/Agencies/WinterOwl
			}
		}
		VARIANT
		{
			name = Zaltonic Electronics
			displayName = Zaltonic Electronics
			themeName = Zaltonic Electronics
			primaryColor = #000000
			secondaryColor = #ADAFAD
			TEXTURE
			{
				mainTextureURL = Squad/Agencies/ZaltonicElectronics
			}
		}
		
		// Fake Stock-like Agencies
		VARIANT
		{
			name = Kerbal Industries
			displayName = Kerbal Industries
			themeName = Kerbal Industries
			primaryColor = #000000
			secondaryColor = #FF6A00
			TEXTURE
			{
				mainTextureURL = Tweaks/Agencies/KerbalIndustries
			}
		}
		VARIANT
		{
			name = Kerbal Standard
			displayName = Kerbal Standard
			themeName = Kerbal Standard
			primaryColor = #3F3F42
			secondaryColor = #1E74BD
			TEXTURE
			{
				mainTextureURL = blackheart/Flags/KerbalStandard
			}
		}
		
		// Real Fake Agencies
		VARIANT
		{
			name = KerbeX
			displayName = KerbeX
			themeName = KerbeX
			primaryColor = #005288
			secondaryColor = #A7A9AC
			TEXTURE
			{
				mainTextureURL = Tweaks/Agencies/KerbeX
			}
		}
		VARIANT
		{
			name = Kerbin Galacatic
			displayName = Kerbin Galacatic
			themeName = Kerbin Galacatic
			primaryColor = #71ACC8
			secondaryColor = #024454
			TEXTURE
			{
				mainTextureURL = Tweaks/Agencies/KerbinGalactic
			}
		}
		VARIANT
		{
			name = Kheed Martin
			displayName = Kheed Martin
			themeName = Kheed Martin
			primaryColor = #005DAB
			secondaryColor = #ADAFAD
			TEXTURE
			{
				mainTextureURL = Tweaks/Agencies/Kheed
			}
		}
		VARIANT
		{
			name = Koeing
			displayName = Koeing
			themeName = Koeing
			primaryColor = #00007F
			secondaryColor = #ADAFAD
			TEXTURE
			{
				mainTextureURL = Tweaks/Agencies/Koeing
			}
		}
		VARIANT
		{
			name = Korbital
			displayName = Korbital
			themeName = Korbital
			primaryColor = #ED0101
			secondaryColor = #ADAFAD
			TEXTURE
			{
				mainTextureURL = Tweaks/Agencies/Korbital
			}
		}
		VARIANT
		{
			name = SEKI
			displayName = SEKI
			themeName = SEKI
			primaryColor = #01B635
			secondaryColor = #00664B
			TEXTURE
			{
				mainTextureURL = Tweaks/Agencies/SEKI
			}
		}
		
		// Always Last!
		VARIANT
		{
			name = Custom 1
			displayName = Custom 1
			themeName = Custom 1
			primaryColor = #ADAFAD
			secondaryColor = #ADAFAD
			TEXTURE
			{
				mainTextureURL = blackheart/Flags/Custom1
			}
		}
	}
}

 

I also added my own tweak to the positioning to get the decals a bit closer to the parts (it's a bit too close in a few very specific angles but fiddling the cursor a bit before placing fixes it) as well as to make double sized of the A and B types to get larger logos on rockets. The double sized ones only step the size point down one (1=2, 2=3) and really only work for size 1 and 2, barely, but it satisfied my needs.

Spoiler

// STICKERH
// Tweak attach point to be closer
@PART[sticker]:HAS[#author[blackheart612]]
{
	@node_attach = -0.065, 0.0, 0.0, 1.0, 0.0, 0.0
}
// Clone part and double size
+PART[sticker]:HAS[#author[blackheart612]]
{
	@name = stickerl
	@rescaleFactor = 2
	@node_attach = -0.06, 0.0, 0.0, 1.0, 0.0, 0.0
	@title = Place Anywhere Sticker Type AL
}

// STICKERV
// Tweak attach point to be closer
@PART[stickerv]:HAS[#author[blackheart612]]
{
	@node_attach = 0.04, 0.0, 0.0, 1.0, 0.0, 0.0
}
// Clone part and double size
+PART[stickerv]:HAS[#author[blackheart612]]
{
	@name = stickervl
	@rescaleFactor = 2
	@node_attach = 0.03, 0.0, 0.0, 1.0, 0.0, 0.0
	@title = Place Anywhere Sticker Type BL
}

 

 

Edited by Gribbleshnibit8
Link to comment
Share on other sites

  • 2 months later...
On 8/26/2019 at 5:18 PM, Gribbleshnibit8 said:

For those wanting a slightly easier way to add their own flags/decals, I made up a little MM config that will update all 4 models at once.

<<<SNIP>>>

 

Module Manager is the way to go.  That way future updates won't stomp on any customizing you do.  I wanted to make hull numbers so I whipped up some textures and made a cfg file to get them in the list of texture options.

Slight correction tho:

    @MODULE[ModulePartVariants]{ ... } needs to be added around the VARIANT entries, else it won't work.

Resulting in:

@PART[sticker*]:HAS[#author[blackheart612]]
{
	@MODULE[ModulePartVariants]{
		VARIANT
		{
			name = Kerman
			displayName = Kerman
			themeName = Kerman
			primaryColor = #ADAFAD
			secondaryColor = #ADAFAD
			TEXTURE
			{
				mainTextureURL = MyFlags/Flags/kerman
			}
		}
		//More "VARIANT"s here if desired
	}
}

 

Took a second for me to figure out why my textures weren't appearing on the options.

 

While I'm in here posting,

//MODULE
{
    name = FStextureSwitch2

in the cfg file results in nothing right? Because the MODULE is commented out, the following curly braces and their contents are in effect also commented out, if I understand correctly.  If so, shouldn't that whole block be removed?  It makes it a bit confusing - to say nothing of bad formatting/messy code.

Link to comment
Share on other sites

  • 6 months later...
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...