Jump to content

How to make custom fairing textures?


Recommended Posts

So. 

 

Go to GameData/Squad/Aero/fairings and find both the texture file and config file for a fairing. You can copy the texture file to use as a template. Make sure you export the file as .dds. Here's a plugin that allows GIMP to do that (Windows only, unfortunately).

Open the config file and find this line:

MODULE
	{
		name = ModulePartVariants
		useMultipleDragCubes = false		
		baseVariant = White
		VARIANT
		{
			name = White
			displayName = #autoLOC_8007119
			themeName = White
			primaryColor = #ffffff
			secondaryColor = #ffffff
			TEXTURE
			{
				materialName=FairingIconShell
				mainTextureURL = Squad/Parts/Aero/fairings/fairings_diff
			}
			EXTRA_INFO
			{
				FairingsTextureURL=Squad/Parts/Aero/fairings/fairings_diff
				FairingsNormalURL=Squad/Parts/Aero/fairings/fairings_normals
			}
		}
(It keeps going with more vairants; abbreviated for compactness)

Copy the "Variant" segment and, using a ModuleManager patch, add it to each of the fairings' config files. Replace the texture path with your own (it can even be in a different folder), change the colors and name of the variant, and ta-da! Done.

 

That's all, and it should work for any other part; no mods needed.

 

Enjoy!

Link to comment
Share on other sites

25 minutes ago, GearsNSuch said:

So. 

 

Go to GameData/Squad/Aero/fairings and find both the texture file and config file for a fairing. You can copy the texture file to use as a template. Make sure you export the file as .dds. Here's a plugin that allows GIMP to do that (Windows only, unfortunately).

Open the config file and find this line:


MODULE
	{
		name = ModulePartVariants
		useMultipleDragCubes = false		
		baseVariant = White
		VARIANT
		{
			name = White
			displayName = #autoLOC_8007119
			themeName = White
			primaryColor = #ffffff
			secondaryColor = #ffffff
			TEXTURE
			{
				materialName=FairingIconShell
				mainTextureURL = Squad/Parts/Aero/fairings/fairings_diff
			}
			EXTRA_INFO
			{
				FairingsTextureURL=Squad/Parts/Aero/fairings/fairings_diff
				FairingsNormalURL=Squad/Parts/Aero/fairings/fairings_normals
			}
		}
(It keeps going with more vairants; abbreviated for compactness)

Copy the "Variant" segment and, using a ModuleManager patch, add it to each of the fairings' config files. Replace the texture path with your own (it can even be in a different folder), change the colors and name of the variant, and ta-da! Done.

 

That's all, and it should work for any other part; no mods needed.

 

Enjoy!

Thank you very much!

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