WildBlueTools
WildBlueTools copied to clipboard
Request: multiple texture switching
I'd like to be able to switch multiple transforms/objects with multiple different textures at once. For eg the following part has three different objects, each using a different texture:
https://i.imgur.com/wh3jUtf.png
And I'd like to switch each object between 2 textures, on all objects at once, using one control.
Currently I use IFS to do it, with kind of an index system: @PART[M2X_SCRamjet]:NEEDS[Mk2Expansion] { @tags ^= :$: Stealth MODULE { name = InterstellarTextureSwitch2 moduleID = 88 objectNames = Scramjet;Inlet;Nozzle // The three objects textureNames = Squad/Parts/FuelTank/mk2FuselageShort/mk2FuselageShort,Squad/Parts/Structural/mk1Parts/Mk1Structural,Squad/Parts/Engine/jetEngines/Jet Engines; BackInBlack/FuelTank/mk2FuselageShort/mk2FuselageShort,BackInBlack/Structural/mk1Parts/Mk1Structural,BackInBlack/Engine/jetEngines/Jet Engines // The three textures, separated by commas, and the alternate textures are after the semicolon, also separated by commas. textureDisplayNames = Inactive; Activated switchableInFlight = false repaintableEVA = false switcherDescription = Stealth mode selectedTexture = 0 hasSwitchChooseOption = true } }
The first object listed uses the first texture listed, the 2nd object uses the 2nd texture etc
And if there are more objects listed than textures, they default to using the first texture listed. This is also because I very often need to change the texture on many transforms at once, even if the part only uses one texture.
So some way to have multiple transforms/meshes in a single module, and then ether a way to define more than one texture set, or some kinda master/slave system to let one texture switching module control other texture switching modules, and hiding the extra module's controls.
Add my vote to Rodg88's... I would also like to take advantage of that functionality in some things I'm working on. I also added a similar request on the Switchers repo.