Add fuelline and strut

This commit is contained in:
2019-06-09 09:32:25 -07:00
parent 1ba8caa1ac
commit 17f73a1c05
10 changed files with 191 additions and 4 deletions

View File

@ -16,6 +16,7 @@ Localization
#LOC_Restock_variant-engine_radial = Radial
#LOC_Restock_variant-engine_boattail = Boattail
#LOC_Restock_variant-mounting_classic = Classic
#LOC_Restock_variant-mounting_truss = Truss
#LOC_Restock_variant-mounting_compact = Compact
@ -32,6 +33,8 @@ Localization
#LOC_Restock_variant-antenna_axial_reverse = Axial (Reversed)
#LOC_Restock_variant-surface_metal = Metal
#LOC_Restock_variant-surface_yellow = Yellow
#LOC_Restock_variant-surface_black = Black
#LOC_Restock_variant-service-bay-opaque = Solid Caps
#LOC_Restock_variant-service-bay-transparent = Truss Caps

View File

@ -0,0 +1,101 @@
// Patches applying art changes to the fuel line
// Contents:
// - FTX-2 External Fuel Duct (fuelLine)
// FTX-2 External Fuel Duct
@PART[fuelLine]
{
@author = Andrew Cassidy
!mesh = DELETE
MODEL
{
model = ReStock/Assets/CompoundParts/restock-fuelline-1
}
rescaleFactor = 1.0
!scale = DELETE
!MODULE[CModuleLinkedMesh] {}
MODULE
{
name = ModuleRestockLinkedMesh
lineObjName = line
mainAnchorName = pipe_main_anchor
targetAnchorName = pipe_target_anchor
anchorCapName = pipe_main_cap
targetCapName = pipe_target_cap
targetColliderName = pipe_target_SPHERECOLLIDER
stretchAxis = x
stretchTextures = _MainTex _BumpMap
}
MODULE
{
name = ModulePartVariants
useMultipleDragCubes = false
baseVariant = Yellow
VARIANT
{
name = Yellow
displayName = #LOC_Restock_variant-surface_yellow
themeName = YellowAndWhite
primaryColor = #B08D43
secondaryColor = #999999
GAMEOBJECTS
{
line_yellow = true
line_black = false
line_metal = false
line_sofi = false
}
}
VARIANT
{
name = Black
displayName = #LOC_Restock_variant-surface_black
themeName = Dark
primaryColor = #4c4f47
secondaryColor = #999999
GAMEOBJECTS
{
line_yellow = false
line_black = true
line_metal = false
line_sofi = false
}
}
VARIANT
{
name = Metal // 🤘
displayName = #LOC_Restock_variant-surface_metal
themeName = Metal
primaryColor = #6f6e6d
secondaryColor = #999999
GAMEOBJECTS
{
line_yellow = false
line_black = false
line_metal = true
line_sofi = false
}
}
VARIANT
{
name = Orange
displayName = #autoLOC_8007123
themeName = Orange
primaryColor = #B08D43
secondaryColor = #999999
GAMEOBJECTS
{
line_yellow = false
line_black = false
line_metal = false
line_sofi = true
}
}
}
}

View File

@ -0,0 +1,69 @@
// Patches applying art changes to the strut
// Contents:
// - EAS-4 Strut Connector (strutConnector)
// EAS-4 Strut Connector
@PART[strutConnector]
{
@author = Andrew Cassidy
!mesh = DELETE
MODEL
{
model = ReStock/Assets/CompoundParts/restock-strut-1
}
rescaleFactor = 1.0
!scale = DELETE
!MODULE[CModuleLinkedMesh] {}
MODULE
{
name = ModuleRestockLinkedMesh
lineObjName = strut
mainAnchorName = strut_main_anchor
targetAnchorName = strut_target_anchor
anchorCapName = strut_main_cap
targetCapName = strut_target_cap
targetColliderName = strut_target_SPHERECOLLIDER
stretchAxis = x
stretchTextures = _MainTex _BumpMap
}
MODULE
{
name = ModulePartVariants
useMultipleDragCubes = false
baseVariant = Classic
VARIANT
{
name = Classic
displayName = #LOC_Restock_variant-mounting_classic
themeName = White
primaryColor = #6f6e6d
secondaryColor = #999999
GAMEOBJECTS
{
strut_main_body_classic = true
strut_target_body_classic = true
strut_main_body_compact = false
strut_target_body_compact = false
}
}
VARIANT
{
name = Compact
displayName = #LOC_Restock_variant-mounting_compact
themeName = White
primaryColor = #6f6e6d
secondaryColor = #999999
GAMEOBJECTS
{
strut_main_body_classic = false
strut_target_body_classic = false
strut_main_body_compact = true
strut_target_body_compact = true
}
}
}
}