mirror of
https://github.com/drewcassidy/KSP-Conformal-Decals.git
synced 2024-09-01 18:23:54 +00:00
Merge branch 'feature-text' into develop
This commit is contained in:
@ -18,6 +18,14 @@ Localization
|
||||
#LOC_ConformalDecals_gui-aspectratio = Aspect Ratio
|
||||
#LOC_ConformalDecals_gui-select-flag = Select Flag
|
||||
#LOC_ConformalDecals_gui-reset-flag = Reset Flag
|
||||
#LOC_ConformalDecals_gui-set-text = Set Text
|
||||
#LOC_ConformalDecals_gui-group-fill = Fill
|
||||
#LOC_ConformalDecals_gui-group-outline = Outline
|
||||
#LOC_ConformalDecals_gui-fill = Fill
|
||||
#LOC_ConformalDecals_gui-set-fill-color = Set Fill Color
|
||||
#LOC_ConformalDecals_gui-outline = Outline
|
||||
#LOC_ConformalDecals_gui-outline-width = Outline Width
|
||||
#LOC_ConformalDecals_gui-set-outline-color = Set Outline Color
|
||||
|
||||
// PARTS
|
||||
|
||||
@ -26,6 +34,11 @@ 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
|
||||
|
||||
// Text
|
||||
#LOC_ConformalDecals_text-title = CDL-T Text Decal
|
||||
#LOC_ConformalDecals_text-description = A decal that can display custom text in a variety of fonts
|
||||
#LOC_ConformalDecals_text-tags = conformal decal sticker text font
|
||||
|
||||
// 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.
|
||||
|
63
GameData/ConformalDecals/Parts/decal-text.cfg
Normal file
63
GameData/ConformalDecals/Parts/decal-text.cfg
Normal file
@ -0,0 +1,63 @@
|
||||
PART
|
||||
{
|
||||
name = conformaldecals-text
|
||||
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.1, 0.0, 0.0, -1.0
|
||||
|
||||
// Tech
|
||||
TechRequired = start
|
||||
|
||||
// Info
|
||||
cost = 75
|
||||
category = Structural
|
||||
|
||||
// CDL-T Text Decal
|
||||
title = #LOC_ConformalDecals_text-title
|
||||
|
||||
|
||||
// Peel-N-Stik Adhesive Decals
|
||||
manufacturer = #LOC_ConformalDecals_agent-peel-n-stick_title
|
||||
|
||||
// A decal that can display custom text in a variety of fonts
|
||||
description = #LOC_ConformalDecals_text-description
|
||||
|
||||
|
||||
// conformal decal sticker text font
|
||||
tags = #LOC_ConformalDecals_text-tags
|
||||
|
||||
bulkheadProfiles = srf
|
||||
|
||||
// Parameters
|
||||
mass = 0.0005
|
||||
dragModel = NONE
|
||||
angularDrag = 0.0
|
||||
crashTolerance = 10
|
||||
maxTemp = 2000
|
||||
breakingForce = 350
|
||||
breakingTorque = 150
|
||||
physicalSignificance = NONE
|
||||
|
||||
MODULE
|
||||
{
|
||||
name = ModuleConformalText
|
||||
|
||||
text = Text
|
||||
|
||||
shader = ConformalDecals/Decal/Text
|
||||
useBaseNormal = true
|
||||
scaleMode = MINIMUM
|
||||
|
||||
defaultDepth = 0.2
|
||||
defaultCutoff = 0.5
|
||||
}
|
||||
}
|
Binary file not shown.
@ -1,6 +1,7 @@
|
||||
// Custom category, requires WildBlueTools to work
|
||||
MODCAT
|
||||
{
|
||||
name = conformaldecals
|
||||
title = #LOC_ConformalDecals_category-decals_title // Decals
|
||||
|
||||
folderName = ConformalDecals
|
||||
|
@ -20,4 +20,41 @@ CONFORMALDECALS {
|
||||
shader = KSP/Specular (Transparent)
|
||||
shader = Solid Color (Alpha)
|
||||
}
|
||||
|
||||
FONT {
|
||||
name = LiberationSans SDF
|
||||
title = Liberation Sans
|
||||
}
|
||||
|
||||
FONT {
|
||||
name = Calibri SDF
|
||||
title = Calibri
|
||||
}
|
||||
|
||||
FONT {
|
||||
name = NotoSans-Regular SDF
|
||||
title = Noto Sans
|
||||
}
|
||||
|
||||
FONT {
|
||||
name = Waukegan LDO Extended SDF
|
||||
title = Waukegan Extended
|
||||
}
|
||||
|
||||
FONT {
|
||||
name = Nasalization SDF
|
||||
title = Nasalization
|
||||
}
|
||||
|
||||
FONT {
|
||||
name = Helvetica SDF
|
||||
title = Helvetica
|
||||
}
|
||||
|
||||
FONT {
|
||||
name = amarurgt SDF
|
||||
title = Amarillo USAF
|
||||
style = 32
|
||||
styleMask = 4
|
||||
}
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8580f3c17793051fdc08447401fb7920665ad681ff352588508044b662a3240b
|
||||
size 364900
|
Binary file not shown.
BIN
GameData/ConformalDecals/Resources/ui.conformaldecals
Normal file
BIN
GameData/ConformalDecals/Resources/ui.conformaldecals
Normal file
Binary file not shown.
Reference in New Issue
Block a user