diff --git a/Distribution/GameData/ConformalDecals/Localization/en-us.cfg b/Distribution/GameData/ConformalDecals/Localization/en-us.cfg index 8994257..ed70d52 100644 --- a/Distribution/GameData/ConformalDecals/Localization/en-us.cfg +++ b/Distribution/GameData/ConformalDecals/Localization/en-us.cfg @@ -25,8 +25,44 @@ Localization #LOC_ConformalDecals_flag-description = A simple switchable flag. Can either use the mission flag or select a specific flag to use. #LOC_ConformalDecals_flag-tags = conformal decal sticker flag + // Generic Decals + #LOC_ConformalDecals_generic-title = CDL-1 Generic Decal + #LOC_ConformalDecals_generic-description = A set of generic warning decals and signs to add to your vehicles. + #LOC_ConformalDecals_generic-tags = conformal decal sticker generic hazard warning danger + #LOC_ConformalDecals_generic-variant-hazard = Hazard Warning + #LOC_ConformalDecals_generic-variant-high-voltage = High Voltage Warning + #LOC_ConformalDecals_generic-variant-radioactive = Radiation Warning + #LOC_ConformalDecals_generic-variant-strong-rf = RF Warning + #LOC_ConformalDecals_generic-variant-ejection-seat = Ejection Seat + #LOC_ConformalDecals_generic-variant-danger-triangle = Ejection Seat Triangle + #LOC_ConformalDecals_generic-variant-danger-explosive = Danger Explosive + #LOC_ConformalDecals_generic-variant-nfpa-hydrazine = NFPA-704 (Hydrazine) + #LOC_ConformalDecals_generic-variant-rescue-arrow-right = Rescue Arrow + #LOC_ConformalDecals_generic-variant-kerbnet = KerbNet + #LOC_ConformalDecals_generic-variant-explosive-bolts = Explosive Bolts + #LOC_ConformalDecals_generic-variant-intake-left = Jet Intake (Left) + #LOC_ConformalDecals_generic-variant-intake-right = Jet Intake (Right) + #LOC_ConformalDecals_generic-variant-remove-before-flight = Remove Before Flight + #LOC_ConformalDecals_generic-variant-avgas-only = Avgas Only + #LOC_ConformalDecals_generic-variant-jetfuel-only = Jet Fuel Only + #LOC_ConformalDecals_generic-variant-no-steppy = No Step + #LOC_ConformalDecals_generic-variant-diagonal-stripes = Diagonal Stripes + #LOC_ConformalDecals_generic-variant-stripe = Plain Stripe + #LOC_ConformalDecals_generic-variant-ground = Ground + #LOC_ConformalDecals_generic-variant-numeral-1 = Numeral 1 + #LOC_ConformalDecals_generic-variant-numeral-2 = Numeral 2 + #LOC_ConformalDecals_generic-variant-numeral-3 = Numeral 3 + #LOC_ConformalDecals_generic-variant-numeral-4 = Numeral 4 + #LOC_ConformalDecals_generic-variant-numeral-5 = Numeral 5 + #LOC_ConformalDecals_generic-variant-numeral-6 = Numeral 6 + #LOC_ConformalDecals_generic-variant-numeral-7 = Numeral 7 + #LOC_ConformalDecals_generic-variant-numeral-8 = Numeral 8 + #LOC_ConformalDecals_generic-variant-numeral-9 = Numeral 9 + #LOC_ConformalDecals_generic-variant-numeral-0 = Numeral 0 + #LOC_ConformalDecals_generic-variant-pence = Do Not Touch + // Semiotic Decals - #LOC_ConformalDecals_semiotic-title = CDL-1 Semiotic Standard Decal + #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-tags = conformal decal sticker semiotic standard for kerbal vessels Ron Cobb Alien #LOC_ConformalDecals_semiotic-variant-00 = Hazard diff --git a/Distribution/GameData/ConformalDecals/Parts/Generic/Generic-Atlas.dds b/Distribution/GameData/ConformalDecals/Parts/Generic/Generic-Atlas.dds new file mode 100644 index 0000000..91f869a Binary files /dev/null and b/Distribution/GameData/ConformalDecals/Parts/Generic/Generic-Atlas.dds differ diff --git a/Distribution/GameData/ConformalDecals/Parts/Generic/decal-generic.cfg b/Distribution/GameData/ConformalDecals/Parts/Generic/decal-generic.cfg new file mode 100644 index 0000000..fde8a0c --- /dev/null +++ b/Distribution/GameData/ConformalDecals/Parts/Generic/decal-generic.cfg @@ -0,0 +1,588 @@ +PART +{ + name = conformaldecals-generic + 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_semiotic-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_semiotic-description + + // conformal decal sticker semiotic standard for kerbal vessels Ron Cobb Alien + tags = #LOC_ConformalDecals_semiotic-tags + + bulkheadProfiles = srf + + // Parameters + mass = 0.0005 + dragModelType = default + maximum_drag = 0.1 + minimum_drag = 0.05 + angularDrag = 1.0 + crashTolerance = 10 + maxTemp = 2000 + breakingForce = 350 + breakingTorque = 150 + physicalSignificance = NONE + + MODULE + { + name = ModuleConformalDecal + + decalFront = Decal-Front + decalBack = Decal-Back + decalModel = Decal-Model + + useBaseNormal = true + + tile = 0, 2, 128, 112 + + defaultScale = 0.5 + defaultDepth = 0.1 + defaultOpacity = 0.8 + defaultCutoff = 0.5 + + scaleRange = 0.05, 1 + + shader = ConformalDecals/Paint/Specular + + TEXTURE { + name = _Decal + textureUrl = ConformalDecals/Parts/Generic/Generic-Atlas + isMain = true + autoTile = true + } + + TEXTURE { + name = _SpecMap + textureUrl = ConformalDecals/Assets/Decal-Spec + autoScale = true + } + } + + MODULE { + name = ModuleB9PartSwitch + + SUBTYPE { + name = hazard + title = #LOC_ConformalDecals_semiotic-variant0 + primaryColor = Red + secondaryColor = White + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { + shader = ConformalDecals/Paint/DiffuseSDF + tile = 0, 2, 128, 112 + cutoff = 0.5 + cutoffAdjustable = false + } + } + } + + SUBTYPE { + name = high-voltage + title = #LOC_ConformalDecals_semiotic-variant-2 + primaryColor = White + secondaryColor = White + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { + shader = ConformalDecals/Paint/SpecularSDF + tile = 128, 2, 128, 112 + cutoff = 0.5 + cutoffAdjustable = false + } + } + } + + SUBTYPE { + name = radioactive + title = #LOC_ConformalDecals_semiotic-variant-4 + primaryColor = Red + secondaryColor = White + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { + shader = ConformalDecals/Paint/SpecularSDF + tile = 256, 2, 128, 112 + cutoff = 0.5 + cutoffAdjustable = false + } + } + } + + SUBTYPE { + name = strong-rf + title = #LOC_ConformalDecals_semiotic-variant-6 + primaryColor = Red + secondaryColor = White + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { + shader = ConformalDecals/Paint/SpecularSDF + tile = 384, 2, 128, 112 + cutoff = 0.5 + cutoffAdjustable = false + } + } + } + + SUBTYPE { + name = ejection-seat + title = #LOC_ConformalDecals_semiotic-variant-8 + primaryColor = Blue + secondaryColor = White + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { + shader = ConformalDecals/Paint/SpecularSDF + tile = 690, 4, 330, 118 + cutoff = 0.5 + cutoffAdjustable = false + } + } + } + + SUBTYPE { + name = danger-triangle + title = #LOC_ConformalDecals_semiotic-variant-10 + primaryColor = White + secondaryColor = Black + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { + shader = ConformalDecals/Paint/SpecularSDF + tile = 898, 4, 122, 118 + cutoff = 0.5 + cutoffAdjustable = false + } + } + } + + SUBTYPE { + name = danger-explosive + title = #LOC_ConformalDecals_semiotic-variant-12 + primaryColor = White + secondaryColor = Black + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { + shader = ConformalDecals/Paint/SpecularSDF + tile = 6, 126, 196, 132 + cutoff = 0.5 + cutoffAdjustable = false + } + } + } + + SUBTYPE { + name = nfpa-hydrazine + title = #LOC_ConformalDecals_semiotic-variant-14 + primaryColor = Black + secondaryColor = Black + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { + shader = ConformalDecals/Paint/SpecularSDF + tile = 210, 122, 94, 94 + cutoff = 0.5 + cutoffAdjustable = false + } + } + } + + SUBTYPE { + name = rescue-arrow-right + title = #LOC_ConformalDecals_semiotic-variant-16 + primaryColor = White + secondaryColor = Black + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { + shader = ConformalDecals/Paint/SpecularSDF + tile = 8, 262, 192, 70 + cutoff = 0.5 + cutoffAdjustable = false + } + } + } + + SUBTYPE { + name = kerbnet + title = #LOC_ConformalDecals_semiotic-variant-18 + primaryColor = White + secondaryColor = Black + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { tile = 4, 334, 132, 132 } + } + } + + SUBTYPE { + name = explosive-bolts + title = #LOC_ConformalDecals_semiotic-variant-20 + primaryColor = Grey + secondaryColor = White + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { + shader = ConformalDecals/Paint/SpecularSDF + tile = 508, 332, 262, 112 + cutoff = 0.5 + cutoffAdjustable = false + } + } + } + + SUBTYPE { + name = intake-left + title = #LOC_ConformalDecals_semiotic-variant-22 + primaryColor = Grey + secondaryColor = White + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { + shader = ConformalDecals/Paint/SpecularSDF + tile = 202, 218, 164, 114 + cutoff = 0.5 + cutoffAdjustable = false + } + } + } + + SUBTYPE { + name = intake-right + title = #LOC_ConformalDecals_semiotic-variant-24 + primaryColor = Grey + secondaryColor = White + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { + shader = ConformalDecals/Paint/SpecularSDF + tile = 366, 218, 164, 114 + cutoff = 0.5 + cutoffAdjustable = false + } + } + } + + SUBTYPE { + name = remove-before-flight + title = #LOC_ConformalDecals_semiotic-variant-26 + primaryColor = Grey + secondaryColor = White + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { tile = 146, 338, 348, 26 } + } + } + + SUBTYPE { + name = avgas-only + title = #LOC_ConformalDecals_semiotic-variant-28 + primaryColor = Grey + secondaryColor = White + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { tile = 146, 368, 172, 54 } + } + } + + SUBTYPE { + name = jetfuel-only + title = #LOC_ConformalDecals_semiotic-variant-30 + primaryColor = Grey + secondaryColor = White + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { tile = 322, 368, 172, 54 } + } + } + + SUBTYPE { + name = no-steppy + title = #LOC_ConformalDecals_semiotic-variant-32 + primaryColor = Grey + secondaryColor = White + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { tile = 146, 426, 172, 48 } + } + } + + SUBTYPE { + name = diagonal-stripes + title = #LOC_ConformalDecals_semiotic-variant-34 + primaryColor = Grey + secondaryColor = White + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { tile = 2, 478, 312, 32 } + } + } + + SUBTYPE { + name = stripe + title = #LOC_ConformalDecals_semiotic-variant-36 + primaryColor = Grey + secondaryColor = White + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { + shader = ConformalDecals/Paint/SpecularSDF + tile = 326, 426, 164, 20 + } + } + } + + + SUBTYPE { + name = ground + title = #LOC_ConformalDecals_semiotic-variant-36 + primaryColor = Grey + secondaryColor = White + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { + shader = ConformalDecals/Paint/SpecularSDF + tile = 776, 388, 48, 48 + cutoff = 0.5 + cutoffAdjustable = false + } + } + } + + SUBTYPE { + name = numeral-1 + title = #LOC_ConformalDecals_semiotic-variant-38 + primaryColor = Grey + secondaryColor = White + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { + shader = ConformalDecals/Paint/SpecularSDF + tile = 328, 456, 48, 48 + cutoff = 0.5 + cutoffAdjustable = false + } + } + } + + SUBTYPE { + name = numeral-2 + title = #LOC_ConformalDecals_semiotic-variant-40 + primaryColor = Grey + secondaryColor = Grey + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { + shader = ConformalDecals/Paint/SpecularSDF + tile = 376, 456, 48, 48 + cutoff = 0.5 + cutoffAdjustable = false + } + } + } + + SUBTYPE { + name = numeral-3 + title = #LOC_ConformalDecals_semiotic-variant-40 + primaryColor = Grey + secondaryColor = Grey + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { + shader = ConformalDecals/Paint/SpecularSDF + tile = 424, 456, 48, 48 + cutoff = 0.5 + cutoffAdjustable = false + } + } + } + + SUBTYPE { + name = numeral-4 + title = #LOC_ConformalDecals_semiotic-variant-40 + primaryColor = Grey + secondaryColor = Grey + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { + shader = ConformalDecals/Paint/SpecularSDF + tile = 472, 456, 48, 48 + cutoff = 0.5 + cutoffAdjustable = false + } + } + } + + SUBTYPE { + name = numeral-5 + title = #LOC_ConformalDecals_semiotic-variant-40 + primaryColor = Grey + secondaryColor = Grey + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { + shader = ConformalDecals/Paint/SpecularSDF + tile = 520, 456, 48, 48 + cutoff = 0.5 + cutoffAdjustable = false + } + } + } + + SUBTYPE { + name = numeral-6 + title = #LOC_ConformalDecals_semiotic-variant-40 + primaryColor = Grey + secondaryColor = Grey + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { + shader = ConformalDecals/Paint/SpecularSDF + tile = 568, 456, 48, 48 + cutoff = 0.5 + cutoffAdjustable = false + } + } + } + + SUBTYPE { + name = numeral-7 + title = #LOC_ConformalDecals_semiotic-variant-40 + primaryColor = Grey + secondaryColor = Grey + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { + shader = ConformalDecals/Paint/SpecularSDF + tile = 614, 456, 48, 48 + cutoff = 0.5 + cutoffAdjustable = false + } + } + } + + SUBTYPE { + name = numeral-8 + title = #LOC_ConformalDecals_semiotic-variant-40 + primaryColor = Grey + secondaryColor = Grey + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { + shader = ConformalDecals/Paint/SpecularSDF + tile = 662, 456, 48, 48 + cutoff = 0.5 + cutoffAdjustable = false + } + } + } + + SUBTYPE { + name = numeral-9 + title = #LOC_ConformalDecals_semiotic-variant-40 + primaryColor = Grey + secondaryColor = Grey + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { + shader = ConformalDecals/Paint/SpecularSDF + tile = 670, 456, 48, 48 + cutoff = 0.5 + cutoffAdjustable = false + } + } + } + + SUBTYPE { + name = numeral-0 + title = #LOC_ConformalDecals_semiotic-variant-56 + primaryColor = Orange + secondaryColor = Black + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { + shader = ConformalDecals/Paint/SpecularSDF + tile = 758, 456, 48, 48 + cutoff = 0.5 + cutoffAdjustable = false + } + } + } + + SUBTYPE { + name = pence + title = #LOC_ConformalDecals_semiotic-variant-62 + primaryColor = Orange + secondaryColor = White + + MODULE { + IDENTIFIER { name = ModuleConformalDecal } + DATA { + shader = ConformalDecals/Paint/Diffuse + + tile = 826, 360, 196, 150 + opacity = 1 + cutoff = 0 + opacityAdjustable = false + cutoffAdjustable = false + useBaseNormal = false + } + } + } + } +}