HaArLiNsH / TextureReplacerReplaced

The continuation of TextureReplacer, a plugin for replacing original textures in Kerbal Space Program.
8 stars 4 forks source link

MM compatibility #2

Closed Sigma88 closed 7 years ago

Sigma88 commented 7 years ago

with #1 I've added MM compatibility,

for now it's just as simple as telling TR to wait untill MM has edited the nodes and THEN load the nodes.

before TR was loading the nodes before MM had time to edit them.

Even if this is good enough for now, I always wanted a way to edit single textures.

what I proposed way back a lot of time ago, and nobody cared, was to add an extra layer to target specific textures.

something that would look like this:

TextureReplacer
{
    ReplaceByName
    {
        Texture
        {
            name = logoFullRed_alt
            texture = MyMod/Textures/newTexture
        }
    }
}

this will allow people to target specific textures and could be used as a way to add compatibility between multiple texture packs that may overlap for some (but not all) the textures


if you like the idea I think I can look into if it's possible to do that

HaArLiNsH commented 7 years ago

Well I'm tempted to say that I like the idea. I'm new in the dev side of MM, so if you can find an effective way to do it that others can also use for their mod, lets try to do it.

HaArLiNsH commented 7 years ago

I've merged your PR with the Master branch, lets see how it goes :)