Jump to content

[1.4.1] Color Coded Canisters 2.0.1 (2018-03-14)


NecroBones

Recommended Posts

Hi, 

Just to say that I was a big fan of Necrobones' mods, FTP and CCC. The game don't feel the same for me without his textures. Even Procedural Tanks isn't good enough. 

Anyway, with my 1.7.1 I have the same bug of attachment nodes. But it seems that it occurs only on the stock parts models, not on the new FTP ones...

I don't have any modding skills, but maybe it can be a workaround to create new parts for CCC (with stock characteristics) instead of replacing stock ones, which seems the source of the conflict to me.

Suggestions for how to do it ? 

Link to comment
Share on other sites

  • 7 months later...
On 5/27/2019 at 10:56 AM, Stone Blue said:

Seems like it would be a simple matter of using NodeHelper to adjust the nodes to the proper positions, and edit the individual part.cfgs, or make a single MM patch to redefine them all... vOv

NodeHelper

yeah 

here is a new ColorCodedCanisters-MM-tanks.cfg just copy everything from this and replace whats in the ColorCodedCanisters-MM-tanks.cfg in the ColorCodedCans folder. I highlighted the changes I made in bold italics.

i am running both ftp and ccc  but i think its just ccc causing the problem. 

Spoiler

@PART[miniFuelTank]:FOR[ZColorCodedCans]    // The "Z" is inserted to make this run late in the list.
{
    !mesh
    !MODEL {}
    %MODEL {
        %model = ColorCodedCans/CC0m-OscarB
        %scale = 1.0, 1.0, 1.0
    }
    %scale = 1.0
    %rescaleFactor = 1.0

    !MODULE[ModulePartVariants] {}
    MODULE
    {
        name = ModulePartVariants
        baseVariant = Gray
        VARIANT
        {
            name = Gray
            displayName = Grey
            themeName = Gray
            primaryColor = #999999
            secondaryColor = #999999
            GAMEOBJECTS
            {
                CCtank0m-Grey = true
                CCtank0m-White = false
                CCtank0m-Checkered = false
                CCtank0m-Black = false
                CCtank0m-Red = false
                CCtankShroudTop = false
                CCtankShroudBottom = false
            }
        }
    }
}
@PART[RCSFuelTank]:FOR[ZColorCodedCans]
{
    !mesh
    !MODEL {}
    %MODEL {
        %model = ColorCodedCans/CC1m-R25
        %scale = 1.0, 1.0, 1.0
    }
    %scale = 1.0
    %rescaleFactor = 1.0

    !MODULE[ModulePartVariants] {}
    MODULE
    {
        name = ModulePartVariants
        baseVariant = YellowAndWhite
        VARIANT
        {
            name = YellowAndWhite
            displayName = Yellow and White
            themeName = YellowAndWhite
            primaryColor = #ffffff
            secondaryColor = #bbbb99
            GAMEOBJECTS
            {
                CCtank1m1 = true
                CCtank1m2 = false
            }
        }
        VARIANT
        {
            name = Gray
            displayName = Gray
            themeName = Gray
            primaryColor = #999999
            secondaryColor = #999999
            GAMEOBJECTS
            {
                CCtank1m1 = false
                CCtank1m2 = true
            }
        }
    }
}
@PART[fuelTank3-2|Rockomax64_BW]:BEFORE[ZColorCodedCans]
{
    !MODULE[ModulePartVariants] {}
    MODULE
    {
        name = ModulePartVariants
        baseVariant = Orange
        VARIANT
        {
            name = Orange
            displayName = Orange
            themeName = Orange
            primaryColor = #f49841
            secondaryColor = #f49841
            GAMEOBJECTS
            {
                CCtank2m-Orange = true
                CCtank2m-Orange2 = true
                xPaintSchemes = false
                CCtankShroudTop = false
                CCtankShroudBottom = false
                flagDecal = false
            }
        }
    }
}
@PART[fuelTank2-2|Rockomax16_BW]:BEFORE[ZColorCodedCans]
{
    !MODULE[ModulePartVariants] {}
    MODULE
    {
        name = ModulePartVariants
        baseVariant = White
        VARIANT
        {
            name = White
            displayName = White
            themeName = White
            primaryColor = #ffffff
            secondaryColor = #ffffff
            GAMEOBJECTS
            {
                CCtank2m-White = true
                xPaintSchemes = false
                CCtankShroudTop = false
                CCtankShroudBottom = false
                flagDecal = false
            }
        }
    }
}
@PART[fuelTank1-2|fuelTank4-2|Rockomax8BW|Rockomax32_BW]:BEFORE[ZColorCodedCans]
{
    !MODULE[ModulePartVariants] {}
    MODULE
    {
        name = ModulePartVariants
        baseVariant = CCCStock
        VARIANT
        {
            name = CCCStock
            displayName = Stock
            themeName = CCCStock
            primaryColor = #dddddd
            secondaryColor = #999999
            GAMEOBJECTS
            {
                CCtank2m-Stock = true
                xPaintSchemes = false
                CCtankShroudTop = false
                CCtankShroudBottom = false
                flagDecal = false
            }
        }
    }
}
@PART[fuelTank4-2|Rockomax8BW]:FOR[ZColorCodedCans]
{
    !mesh
    !MODEL {}
    %MODEL {
        %model = ColorCodedCans/CC2m-x200-08
        %scale = 1.0, 1.0, 1.0
    }
    %scale = 1.0
    %rescaleFactor = 1.0
}
@PART[fuelTank3-2|Rockomax64_BW]:FOR[ZColorCodedCans]
{
    !mesh
    !MODEL {}
    %MODEL {
        %model = ColorCodedCans/CC2m-Jumbo64
        texture = orange-jumbo-0, Squad/Parts/FuelTank/fuelTankJumbo-64/model000
        texture = orange-jumbo-1, Squad/Parts/FuelTank/fuelTankJumbo-64/model001
        %scale = 1.0, 1.0, 1.0
    }
    %scale = 1.0
    %rescaleFactor = 1.0
}
@PART[fuelTank2-2|Rockomax16_BW]:FOR[ZColorCodedCans]
{
    !mesh
    !MODEL {}
    %MODEL {
        %model = ColorCodedCans/CC2m-x200-16
        %scale = 1.0, 1.0, 1.0
    }
    %scale = 1.0
    %rescaleFactor = 1.0
}
@PART[fuelTank1-2|Rockomax32_BW]:FOR[ZColorCodedCans]
{
    !mesh
    !MODEL {}
    %MODEL {
        %model = ColorCodedCans/CC2m-x200-32
        %scale = 1.0, 1.0, 1.0
    }
    %scale = 1.0
    %rescaleFactor = 1.0
}
@PART[fuelTank_long|fuelTank|fuelTankSmall|fuelTankSmallFlat]:FOR[ZColorCodedCans]
{
    !MODULE[ModulePartVariants] {}
    MODULE
    {
        name = ModulePartVariants
        baseVariant = Stock
        VARIANT
        {
            name = CCCStock
            displayName = Stock
            themeName = CCCStock
            primaryColor = #dddddd
            secondaryColor = #999999
            GAMEOBJECTS
            {
                CCtank1m-Stock = true
                xPaintSchemes = false
                CCtankShroudTop = false
                CCtankShroudBottom = false
                flagDecal = false
            }
        }
    }
}
@PART[fuelTankSmallFlat]:FOR[ZColorCodedCans]
{
    !mesh
    !scale
    !MODEL {}
    %MODEL {
        %model = ColorCodedCans/CC1m-T100
        %scale = 1.0, 1.0, 1.0
    }
    %rescaleFactor = 1.0
}
@PART[fuelTankSmall]:FOR[ZColorCodedCans]
{
    !mesh
    !scale
    !MODEL {}
    %MODEL {
        %model = ColorCodedCans/CC1m-T200
        %scale = 0.1, 0.1, 0.1
    }
    %rescaleFactor = 1.25
    %node_stack_top = 0.0, 0.4408, 0.0, 0.0, 1.0, 0.0
    %node_stack_bottom = 0.0, -0.43258, 0.0, 0.0, -1.0, 0.0

}
@PART[fuelTank]:FOR[ZColorCodedCans]
{
    !mesh
    !scale
    !MODEL {}
    %MODEL {
        %model = ColorCodedCans/CC1m-T400
        %scale = 0.1, 0.1, 0.1
    }
    %rescaleFactor = 1.25
    %node_stack_top = 0.0, 0.76516, 0.0, 0.0, 1.0, 0.0
    %node_stack_bottom = 0.0, -0.72063, 0.0, 0.0, -1.0, 0.0

}
@PART[fuelTank_long]:FOR[ZColorCodedCans]
{
    !mesh
    !scale
    !MODEL {}
    %MODEL {
        %model = ColorCodedCans/CC1m-T800
        %scale = 0.1, 0.1, 0.1
    }
    %rescaleFactor = 1.25
    %node_stack_top = 0.0, 1.49469, 0.0, 0.0, 1.0, 0.0
    %node_stack_bottom = 0.0, -1.51423, 0.0, 0.0, -1.0, 0.0

}
@PART[Size3LargeTank|Size3MediumTank|Size3SmallTank]:FOR[ZColorCodedCans]
{
    !MODULE[ModulePartVariants] {}
    MODULE
    {
        name = ModulePartVariants
        baseVariant = Stock
        VARIANT
        {
            name = CCCStock
            displayName = Stock
            themeName = CCCStock
            primaryColor = #dddddd
            secondaryColor = #999999
            GAMEOBJECTS
            {
                CCtank3m-Stock = true
                CCtank3m-White = false
                CCtank3m-Black = false
                CCtank3m-Silver = false
                CCtank3m-SilverShine = false
                CCtank3m-Orange = false
                CCtank3m-Orange2 = false
                CCtank3m-Tan = false
                CCtankShroudTop = false
                CCtankShroudBottom = false
                flagDecal = false
            }
        }
    }
}
@PART[Size3LargeTank]:FOR[ZColorCodedCans]
{
    !mesh
    !scale
    !MODEL {}
    %MODEL {
        %model = ColorCodedCans/CC3m-KD-14400
        %scale = 1.0, 1.0, 1.0
    }
    %rescaleFactor = 1.0
}
@PART[Size3MediumTank]:FOR[ZColorCodedCans]
{
    !mesh
    !scale
    !MODEL {}
    %MODEL {
        %model = ColorCodedCans/CC3m-KD-07200
        %scale = 1.0, 1.0, 1.0
    }
    %rescaleFactor = 1.0
}
@PART[Size3SmallTank]:FOR[ZColorCodedCans]
{
    !mesh
    !scale
    !MODEL {}
    %MODEL {
        %model = ColorCodedCans/CC3m-KD-03600
        %scale = 1.0, 1.0, 1.0
    }
    %rescaleFactor = 1.0
}
 

 

Edited by COL.R.Neville
Link to comment
Share on other sites

  • 2 months later...
  • 4 weeks later...
  • 4 months later...
  • 2 months later...
On 10/4/2020 at 5:56 AM, Tahib said:

- all 3 colors for these parts are gone

Can confirm for 1.10, not to mention it doesn't work with TU for any shader configs... was wondering why a Squad tank wasn't working properly... this mod is apparently the cause, changing the models of something that already has a config... :/

Edited by Nitrous Oxide
Link to comment
Share on other sites

  • 9 months later...

 

Hello everyone! Sorry for my extremely long absence. I've moved on to a variety of other things, and as I'm sure you've noticed, I'm not maintaining these mods anymore. Zer0Kerbal has requested taking over maintenance of my mods, and so I've added him to the list of authors on Spacedock and Curseforge, so that these can continue to be updated to work on current versions of KSP. Thank you everyone for all of the love and support over the years. All of this has changed my life in ways I can't begin to describe, and has been some of the best online experience I've had to date. So I'm quite glad that others are willing to pick up the mantle and allow these mods to continue to be used.

Thanks everyone!

@DasSkelett

@HebaruSan

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