From 76919ef3c39562a81bebefacdc8c225c4530a753 Mon Sep 17 00:00:00 2001 From: drewcassidy Date: Mon, 22 Jun 2020 01:41:51 -0700 Subject: [PATCH 1/2] Add Munar decals --- Assets/Textures/Munar-Atlas.png | 3 + Assets/Textures/Munar.afdesign | 3 + .../ConformalDecals/Localization/en-us.cfg | 44 +- .../Parts/Munar/Munar-Atlas.dds | 3 + .../Parts/Munar/decal-munar.cfg | 531 ++++++++++++++++++ 5 files changed, 583 insertions(+), 1 deletion(-) create mode 100644 Assets/Textures/Munar-Atlas.png create mode 100644 Assets/Textures/Munar.afdesign create mode 100644 GameData/ConformalDecals/Parts/Munar/Munar-Atlas.dds create mode 100644 GameData/ConformalDecals/Parts/Munar/decal-munar.cfg diff --git a/Assets/Textures/Munar-Atlas.png b/Assets/Textures/Munar-Atlas.png new file mode 100644 index 0000000..6c1f311 --- /dev/null +++ b/Assets/Textures/Munar-Atlas.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7bca96518e7225339b83dcf13b84802de5cf05ab10673373871a9b072b30aff6 +size 481667 diff --git a/Assets/Textures/Munar.afdesign b/Assets/Textures/Munar.afdesign new file mode 100644 index 0000000..45ab384 --- /dev/null +++ b/Assets/Textures/Munar.afdesign @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:51bc192f087b1b00fe11ce0597acd6c0232103984bc4e08fac8a1e4cfcf837cf +size 45576642 diff --git a/GameData/ConformalDecals/Localization/en-us.cfg b/GameData/ConformalDecals/Localization/en-us.cfg index 599411c..aa55ce9 100644 --- a/GameData/ConformalDecals/Localization/en-us.cfg +++ b/GameData/ConformalDecals/Localization/en-us.cfg @@ -64,7 +64,7 @@ Localization // Semiotic Decals #LOC_ConformalDecals_semiotic-title = CDL-2 Semiotic Standard Decal - #LOC_ConformalDecals_semiotic-description = After several unfortunate mishaps with confusing signage on spacecraft, The Peel-N-Stik™ Corporation teamed up with Kerland-Mutani to unveil the Semiotic Standard for Kerbal Vessels, a set of standardized icons for use on ships and stations. + #LOC_ConformalDecals_semiotic-description = After several unfortunate mishaps with confusing signage on spacecraft, The Peel-N-Stik™ Corporation teamed up with Kerland-Mutani to unveil the Semiotic Standard for Kerbal Vessels, a set of standardized icons for use on ships and stations. (Based on the work of Ron Cobb) #LOC_ConformalDecals_semiotic-tags = conformal decal sticker semiotic standard for kerbal vessels Ron Cobb Alien #LOC_ConformalDecals_semiotic-variant-00 = Hazard #LOC_ConformalDecals_semiotic-variant-01 = Blank @@ -98,5 +98,47 @@ Localization #LOC_ConformalDecals_semiotic-variant-29 = Radiation Hazard #LOC_ConformalDecals_semiotic-variant-30 = Radiation Bunker #LOC_ConformalDecals_semiotic-variant-31 = Exhaust + + // Munar Decals + #LOC_ConformalDecals_munar-title = CDL-3 Surface Base Decal + #LOC_ConformalDecals_munar-description = Munar Industries Ltd. saw the wild success of the CDL-2 decal, and wanted to develop a decal set for their own line of Heluim mining bases. These decals are more explicit than the Semiotic Standard and aimed at the hazards that come with more advanced techonologies. (Based on the work of Gavin Rothery) + #LOC_ConformalDecals_munar-tag = conformal decal sticker Moon munar lunar industries Gavin Rothery Sarang + #LOC_ConformalDecals_munar-variant-severe-danger = Severe Danger + #LOC_ConformalDecals_munar-variant-danger = Danger + #LOC_ConformalDecals_munar-variant-hazard = Hazard + #LOC_ConformalDecals_munar-variant-warning = Warning + #LOC_ConformalDecals_munar-variant-bulkhead = Bulkhead + #LOC_ConformalDecals_munar-variant-hatch = Hatch + #LOC_ConformalDecals_munar-variant-pressure-hatch = Hatch (Pressurized) + #LOC_ConformalDecals_munar-variant-door = Doorway + #LOC_ConformalDecals_munar-variant-door-danger = Do Not Obstruct + #LOC_ConformalDecals_munar-variant-airlock-interior = Airlock (Interior) + #LOC_ConformalDecals_munar-variant-airlock-exterior = Airlock (Exterior) + #LOC_ConformalDecals_munar-variant-check-seals = Check All Seals + #LOC_ConformalDecals_munar-variant-pressure-seal = Pressure Seal + #LOC_ConformalDecals_munar-variant-vacuum = Danger Vacuum + #LOC_ConformalDecals_munar-variant-gas-mask = Breathing Apparatus Required + #LOC_ConformalDecals_munar-variant-oxygen-rich = Oxygen Rich Environment + #LOC_ConformalDecals_munar-variant-robotic-work = Heavy Robotic Work Ahead + #LOC_ConformalDecals_munar-variant-explosion = Explosion Hazard + #LOC_ConformalDecals_munar-variant-radiation = Radiation Hazard + #LOC_ConformalDecals_munar-variant-antimatter = Annihilation Hazard + #LOC_ConformalDecals_munar-variant-high-voltage = High Voltage + #LOC_ConformalDecals_munar-variant-extreme-voltage = Extreme Voltage + #LOC_ConformalDecals_munar-variant-explosive-bolts = Explosive Bolts + #LOC_ConformalDecals_munar-variant-autonomous-device = Autonomous Device + #LOC_ConformalDecals_munar-variant-gravity-adjust = Gravity Adjust + #LOC_ConformalDecals_munar-variant-electromagnetic = Strong EM Field + #LOC_ConformalDecals_munar-variant-mind-step = Mind Step + #LOC_ConformalDecals_munar-variant-class-1 = Class 1 Hazard: Flammable Liquid + #LOC_ConformalDecals_munar-variant-class-2 = Class 2 Hazard: Flammable Solid + #LOC_ConformalDecals_munar-variant-class-3 = Class 3 Hazard: Magnetic Field + #LOC_ConformalDecals_munar-variant-class-4 = Class 4 Hazard: Electric Field + #LOC_ConformalDecals_munar-variant-class-5 = Class 5 Hazard: Pressurized Fuel + #LOC_ConformalDecals_munar-variant-class-6 = Class 6 Hazard: Pressurized Coolant + #LOC_ConformalDecals_munar-variant-class-7 = Class 7 Hazard: Cryogenic Liquid + #LOC_ConformalDecals_munar-variant-class-8 = Class 8 Hazard: Radioactive + #LOC_ConformalDecals_munar-variant-class-9 = Class 9 Hazard: Ionized Gas + #LOC_ConformalDecals_munar-variant-class-10 = Class 10 Hazard: Antimatter } } \ No newline at end of file diff --git a/GameData/ConformalDecals/Parts/Munar/Munar-Atlas.dds b/GameData/ConformalDecals/Parts/Munar/Munar-Atlas.dds new file mode 100644 index 0000000..40dc002 --- /dev/null +++ b/GameData/ConformalDecals/Parts/Munar/Munar-Atlas.dds @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e2b826b0a19281c9dffb38961cc2f4313e37dc4338f8ad5cc33b16ab57c16879 +size 699216 diff --git a/GameData/ConformalDecals/Parts/Munar/decal-munar.cfg b/GameData/ConformalDecals/Parts/Munar/decal-munar.cfg new file mode 100644 index 0000000..0a121c8 --- /dev/null +++ b/GameData/ConformalDecals/Parts/Munar/decal-munar.cfg @@ -0,0 +1,531 @@ +PART +{ + name = conformaldecals-munar + module = Part + author = Andrew Cassidy + MODEL + { + model = ConformalDecals/Assets/decal-blank + scale = 1.0, 1.0, 1.0 + } + rescaleFactor = 1 + + // Attachment + attachRules = 1,1,0,0,1 + node_attach = 0.0, 0.0, 0.05, 0.0, 0.0, -1.0 + + // Tech + TechRequired = start + + // Info + cost = 75 + category = Structural + + // CDL-1 Semiotic Standard Decal + title = #LOC_ConformalDecals_munar-title + + // Peel-N-Stik Adhesive Decals + manufacturer = #LOC_ConformalDecals_agent-peel-n-stick_title + + // After several unfortunate mishaps with confusing signage on spacecraft, The Peel-N-Stik™ Corporation teamed up with Kerland-Mutani to unveil the Semiotic Standard for Kerbal Vessels, a set of standardized icons for use on ships and stations. + description = #LOC_ConformalDecals_munar-description + + // conformal decal sticker semiotic standard for kerbal vessels Ron Cobb Alien + tags = #LOC_ConformalDecals_munar-tags + + bulkheadProfiles = srf + + // Parameters + mass = 0.0005 + dragModel = NONE + angularDrag = 0.0 + crashTolerance = 10 + maxTemp = 2000 + breakingForce = 350 + breakingTorque = 150 + physicalSignificance = NONE + + MODULE + { + name = ModuleConformalDecal + + useBaseNormal = true + + tile = -1, -1, 0, 0 + tileSize = 96, 96 + tileIndex = 0 + + defaultScale = 0.1 + defaultDepth = 0.1 + defaultOpacity = 0.8 + defaultCutoff = 0 + + scaleRange = 0.05, 0.5 + scaleMode = MINIMUM + cutoffAdjustable = false + + shader = ConformalDecals/Paint/Specular + + TEXTURE { + name = _Decal + textureUrl = ConformalDecals/Parts/Munar/Munar-Atlas + isMain = true + autoTile = true + } + + TEXTURE { + name = _SpecMap + textureUrl = ConformalDecals/Assets/Decal-Spec + autoScale = true + } + } + + MODULE { + name = ModuleB9PartSwitch + + SUBTYPE { + name = severe-danger + title = #LOC_ConformalDecals_munar-variant-severe-danger + primaryColor = #2B250D + secondaryColor = #F78000 + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { tileIndex = 0 } + } + } + + SUBTYPE { + name = danger + title = #LOC_ConformalDecals_munar-variant-danger + primaryColor = #93927E + secondaryColor = #2B250D + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { tileIndex = 2 } + } + } + + SUBTYPE { + name = hazard + title = #LOC_ConformalDecals_munar-variant-hazard + primaryColor = #2B250D + secondaryColor = #CC1F01 + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { tileIndex = 6 } + } + } + + SUBTYPE { + name = warning + title = #LOC_ConformalDecals_munar-variant-warning + primaryColor = #2B250D + secondaryColor = #93927E + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { tileIndex = 5 } + } + } + + SUBTYPE { + name = bulkhead + title = #LOC_ConformalDecals_munar-variant-bulkhead + primaryColor = #93927E + secondaryColor = White + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { tileIndex = 7 } + } + } + + + SUBTYPE { + name = hatch + title = #LOC_ConformalDecals_munar-variant-hatch + primaryColor = #93927E + secondaryColor = White + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { tileIndex = 3 } + } + } + + SUBTYPE { + name = pressure-hatch + title = #LOC_ConformalDecals_munar-variant-pressure-hatch + primaryColor = #93927E + secondaryColor = White + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { tileIndex = 4 } + } + } + + SUBTYPE { + name = door + title = #LOC_ConformalDecals_munar-variant-door + primaryColor = #93927E + secondaryColor = White + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { tileIndex = 5 } + } + } + + SUBTYPE { + name = door-danger + title = #LOC_ConformalDecals_munar-variant-door-danger + primaryColor = #2B250D + secondaryColor = #CC1F01 + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { tile = 960, 0, 64, 96 } + } + } + + SUBTYPE { + name = airlock-interior + title = #LOC_ConformalDecals_munar-variant-airlock-interior + primaryColor = #93927E + secondaryColor = White + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { tile = 866, 96, 142, 96 } + } + } + + SUBTYPE { + name = airlock-exterior + title = #LOC_ConformalDecals_munar-variant-airlock-exterior + primaryColor = #CC1F01 + secondaryColor = #2B250D + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { tile = 768, 96, 142, 96 } + } + } + + SUBTYPE { + name = check-seals + title = #LOC_ConformalDecals_munar-variant-check-seals + primaryColor = White + secondaryColor = #93927E + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { tileIndex = 8 } + } + } + + SUBTYPE { + name = pressure-seal + title = #LOC_ConformalDecals_munar-variant-pressure-seal + primaryColor = White + secondaryColor = #93927E + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { tileIndex = 9 } + } + } + + SUBTYPE { + name = vacuum + title = #LOC_ConformalDecals_munar-variant-vacuum + primaryColor = #93927E + secondaryColor = #2B250D + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { tileIndex = 17 } + } + } + + SUBTYPE { + name = gas-mask + title = #LOC_ConformalDecals_munar-variant-gas-mask + primaryColor = #93927E + secondaryColor = White + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { tile = 96, 320, 96, 116 } + } + } + + SUBTYPE { + name = oxygen-rich + title = #LOC_ConformalDecals_munar-variant-oxygen-rich + primaryColor = #CC1F01 + secondaryColor = #2B250D + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { tile = 288, 416, 96, 96 } + } + } + + SUBTYPE { + name = robotic-work + title = #LOC_ConformalDecals_munar-variant-robotic-work + primaryColor = #F78000 + secondaryColor = #2B250D + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { tileIndex = 10 } + } + } + + SUBTYPE { + name = explosion + title = #LOC_ConformalDecals_munar-variant-explosion + primaryColor = #F78000 + secondaryColor = #2B250D + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { tile = 0, 320, 96, 116 } + } + } + + SUBTYPE { + name = radiation + title = #LOC_ConformalDecals_munar-variant-radiation + primaryColor = #F78000 + secondaryColor = #2B250D + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { tileIndex = 1 } + } + } + + SUBTYPE { + name = antimatter + title = #LOC_ConformalDecals_munar-variant-antimatter + primaryColor = #F78000 + secondaryColor = #2B250D + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { tileIndex = 11 } + } + } + + SUBTYPE { + name = high-voltage + title = #LOC_ConformalDecals_munar-variant-high-voltage + primaryColor = #93927E + secondaryColor = White + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { tileIndex = 13 } + } + } + + SUBTYPE { + name = extreme-voltage + title = #LOC_ConformalDecals_munar-variant-extreme-voltage + primaryColor = #2B250D + secondaryColor = White + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { tileIndex = 14 } + } + } + + SUBTYPE { + name = explosive-bolts + title = #LOC_ConformalDecals_munar-variant-explosive-bolts + primaryColor = #93927E + secondaryColor = #CC1F01 + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { tileIndex = 15 } + } + } + + SUBTYPE { + name = autonomous-device + title = #LOC_ConformalDecals_munar-variant-autonomous-device + primaryColor = #2B250D + secondaryColor = White + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { tileIndex = 16 } + } + } + + SUBTYPE { + name = gravity-adjust + title = #LOC_ConformalDecals_munar-variant-gravity-adjust + primaryColor = White + secondaryColor = #CC1F01 + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { tile = 288, 320, 96, 96 } + } + } + + SUBTYPE { + name = electromagnetic + title = #LOC_ConformalDecals_munar-variant-electromagnetic + primaryColor = #93927E + secondaryColor = White + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { tile = 967, 195, 50, 90 } + } + } + + SUBTYPE { + name = mind-step + title = #LOC_ConformalDecals_munar-variant-mind-step + primaryColor = #93927E + secondaryColor = White + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { tile = 1, 447, 230, 64 } + } + } + + SUBTYPE { + name = class-1 + title = #LOC_ConformalDecals_munar-variant-class-1 + primaryColor = #CC1F01 + secondaryColor = #93927E + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { tile = 0, 192, 96, 128 } + } + } + + SUBTYPE { + name = class-2 + title = #LOC_ConformalDecals_munar-variant-class-2 + primaryColor = #93927E + secondaryColor = #CC1F01 + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { tile = 96, 192, 96, 128 } + } + } + + SUBTYPE { + name = class-3 + title = #LOC_ConformalDecals_munar-variant-class-3 + primaryColor = #93927E + secondaryColor = #93927E + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { tile = 192, 192, 96, 128 } + } + } + + SUBTYPE { + name = class-4 + title = #LOC_ConformalDecals_munar-variant-class-4 + primaryColor = #93927E + secondaryColor = #93927E + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { tile = 288, 192, 96, 128 } + } + } + + SUBTYPE { + name = class-5 + title = #LOC_ConformalDecals_munar-variant-class-5 + primaryColor = #93927E + secondaryColor = White + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { tile = 384, 192, 96, 128 } + } + } + + SUBTYPE { + name = class-6 + title = #LOC_ConformalDecals_munar-variant-class-6 + primaryColor = #93927E + secondaryColor = White + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { tile = 480, 192, 96, 128 } + } + } + + SUBTYPE { + name = class-7 + title = #LOC_ConformalDecals_munar-variant-class-7 + primaryColor = #F78000 + secondaryColor = #93927E + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { tile = 576, 192, 96, 128 } + } + } + + SUBTYPE { + name = class-8 + title = #LOC_ConformalDecals_munar-variant-class-8 + primaryColor = #93927E + secondaryColor = #F78000 + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { tile = 672, 192, 96, 128 } + } + } + + SUBTYPE { + name = class-9 + title = #LOC_ConformalDecals_munar-variant-class-9 + primaryColor = #93927E + secondaryColor = #F78000 + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { tile = 768, 192, 96, 128 } + } + } + + SUBTYPE { + name = class-10 + title = #LOC_ConformalDecals_munar-variant-class-10 + primaryColor = #F78000 + secondaryColor = White + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { tile = 864, 192, 96, 128 } + } + } + } +} From 3bbc8f25c4544a118948c6b88a0ad6d4251b1069 Mon Sep 17 00:00:00 2001 From: drewcassidy Date: Mon, 22 Jun 2020 14:37:58 -0700 Subject: [PATCH 2/2] scale mode for some variants --- GameData/ConformalDecals/Parts/Munar/decal-munar.cfg | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/GameData/ConformalDecals/Parts/Munar/decal-munar.cfg b/GameData/ConformalDecals/Parts/Munar/decal-munar.cfg index 0a121c8..06804b6 100644 --- a/GameData/ConformalDecals/Parts/Munar/decal-munar.cfg +++ b/GameData/ConformalDecals/Parts/Munar/decal-munar.cfg @@ -188,7 +188,10 @@ PART MODULE { IDENTIFIER { name = ModuleConformalDecal } - DATA { tile = 960, 0, 64, 96 } + DATA { + tile = 960, 0, 64, 96 + scaleMode = HEIGHT + } } } @@ -392,7 +395,10 @@ PART MODULE { IDENTIFIER { name = ModuleConformalDecal } - DATA { tile = 967, 195, 50, 90 } + DATA { + tile = 967, 195, 50, 90 + scaleMode = HEIGHT + } } }