Jump to content

[Mod Request] Parts textures saving in the VAB-list after reloading the game


Recommended Posts

For example, I set orange-grey textures for 1.8 tanks in in the VAB-list, and I want them to stay that way after reloading the game

L9jJl9r.png

Edited by flart
Link to post
Share on other sites

The best you can do is to set the Variant Theme using the advanced mode in the VAB/SPH.  It will change all of the parts with that Variant Theme available to use it, but it will only last for that gameplay session.  There appears to be no way to set it permanently.

Link to post
Share on other sites

@Shadowmage

There is no 'texturedefault' field, only

MODULE
	{
		name = ModulePartVariants
		primaryColor = #ffffff
		secondaryColor = #000000
		baseDisplayName = #autoLOC_8007122
		baseThemeName = BlackAndWhite
		VARIANT
		{
			name = Orange
			displayName = #autoLOC_8007123
			themeName = Orange
			primaryColor = #f49841
			secondaryColor = #4c4f47
			TEXTURE
			{
				mainTextureURL = Squad/Parts/FuelTank/RockomaxTanks/rockomax_16 [AlbedoM] O
				_BumpMap = Squad/Parts/FuelTank/RockomaxTanks/rockomax_16 [Normal]O
			}
		}
	}

 

So default color/texture is root of ModulePartVariants, all other  color/texture is VARIANT in ModulePartVariants. Target variant can be switched with root of ModulePartVariants, but it very unconvient.

Somewhere in there should be internal ksp values which it used after reopen VAB. saving and loading the values in a mod can solve this... 

Edited by flart
Link to post
Share on other sites
  • 5 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...