Functional 3.75m parts

This commit is contained in:
Chris Adderley
2018-09-13 13:21:00 -07:00
parent 92a009c393
commit 1bd3440bc8
35 changed files with 317 additions and 101 deletions

View File

@ -45,9 +45,9 @@ Localization
#LOC_RestockPlus_restock-adapter-tank-25-375-1_description = #LOC_RestockPlus_restock-adapter-tank-25-375-1_description =
#LOC_RestockPlus_restock-adapter-tank-25-375-1_tags = #LOC_RestockPlus_restock-adapter-tank-25-375-1_tags =
#LOC_RestockPlus_restock-adapter-hollow-25-375-1_title = #LOC_RestockPlus_restock-adapter-skeletal-25-375-1_title =
#LOC_RestockPlus_restock-adapter-hollow-25-375-1_description = #LOC_RestockPlus_restock-adapter-skeletal-25-375-1_description =
#LOC_RestockPlus_restock-adapter-hollow-25-375-1_tags = #LOC_RestockPlus_restock-adapter-skeletal-25-375-1_tags =
} }
} }

View File

@ -7,7 +7,7 @@ PART
MODEL MODEL
{ {
model = RestockPlus/Assets/Command/restock-drone-core-375-1 model = ReStockPlus/Assets/Command/restock-drone-core-375-1
scale = 1.0, 1.0, 1.0 scale = 1.0, 1.0, 1.0
} }
rescaleFactor = 1.0 rescaleFactor = 1.0
@ -15,8 +15,8 @@ PART
// Attachment // Attachment
attachRules = 1,0,1,1,0 attachRules = 1,0,1,1,0
node_stack_top = 0.0, 0.231, 0.0, 0.0, 1.0, 0.0, 3 node_stack_top = 0.0, 0.237, 0.0, 0.0, 1.0, 0.0, 3
node_stack_bottom = 0.0, -0.237, 0.0, 0.0, -1.0, 0.0, 3 node_stack_bottom = 0.0, -0.196, 0.0, 0.0, -1.0, 0.0, 3
TechRequired = largeUnmanned TechRequired = largeUnmanned
entryCost = 36800 entryCost = 36800

View File

@ -7,7 +7,7 @@ PART
MODEL MODEL
{ {
model = RestockPlus/Assets/Coupling/restock-docking-375-1 model = ReStockPlus/Assets/Coupling/restock-docking-375-1
scale = 1.0, 1.0, 1.0 scale = 1.0, 1.0, 1.0
} }
scale = 1 scale = 1
@ -15,8 +15,8 @@ PART
// Attachment // Attachment
attachRules = 1,0,1,1,0 attachRules = 1,0,1,1,0
node_stack_top = 0.0, 0.052, 0, 0.0, 1.0, 0.0, 3 node_stack_top = 0.0, 0.253, 0, 0.0, 1.0, 0.0, 3
node_stack_bottom = 0.0, -0.32, 0, 0.0, -1.0, 0.0, 3 node_stack_bottom = 0.0, -0.127, 0, 0.0, -1.0, 0.0, 3
// Tech // Tech
TechRequired = metaMaterials TechRequired = metaMaterials
@ -48,7 +48,7 @@ PART
{ {
name = ModuleDockingNode name = ModuleDockingNode
referenceAttachNode = top referenceAttachNode = top
nodeType = size4 nodeType = size3
stagingEnabled = False stagingEnabled = False
} }
MODULE MODULE

View File

@ -10,15 +10,15 @@ PART
// --- asset parameters --- // --- asset parameters ---
MODEL MODEL
{ {
model = RestockPlus/Assets/Engine/restock-battery-375-1 model = ReStockPlus/Assets/Electrical/restock-battery-375-1
scale = 1.0, 1.0, 1.0 scale = 1.0, 1.0, 1.0
} }
scale = 1.0 scale = 1.0
rescaleFactor = 1 rescaleFactor = 1
// --- node definitions --- // --- node definitions ---
node_stack_top = 0.0, 2.499, 0.0, 0.0, 1.0, 0.0, 3 node_stack_top = 0.0, 0.203, 0.0, 0.0, 1.0, 0.0, 3
node_stack_bottom = 0.0, -3.849, 0.0, 0.0, -1.0, 0.0, 3 node_stack_bottom = 0.0, -0.227, 0.0, 0.0, -1.0, 0.0, 3
// --- editor parameters --- // --- editor parameters ---
TechRequired = veryHeavyRocketry TechRequired = veryHeavyRocketry

View File

@ -11,47 +11,87 @@ PART
// --- asset parameters --- // --- asset parameters ---
MODEL MODEL
{ {
model = RestockPlus/Assets/Engine/restock-engine-corgi model = ReStockPlus/Assets/Engine/restock-engine-corgi-1
scale = 1.0, 1.0, 1.0 scale = 1.0, 1.0, 1.0
} }
scale = 1.0 scale = 1.0
rescaleFactor = 1 rescaleFactor = 1
// --- node definitions --- // --- node definitions ---
node_stack_top = 0.0, 2.499, 0.0, 0.0, 1.0, 0.0, 3 node_attach = 0.0, 0.753, 0.0, 0.0, 1.0, 0.0, 3
node_stack_bottom = 0.0, -3.849, 0.0, 0.0, -1.0, 0.0, 3 node_stack_top = 0.0, 0.753, 0.0, 0.0, 1.0, 0.0, 3
node_stack_bottom = 0.0, -2.315, 0.0, 0.0, -1.0, 0.0, 3
// --- FX definitions --- // --- FX definitions ---
EFFECTS EFFECTS
{ {
engage engage
{ {
AUDIO
{
channel = Ship
clip = sound_vent_soft
volume = 1.0
pitch = 2.0
loop = false
}
}
flameout
{
PREFAB_PARTICLE
{
prefabName = fx_exhaustSparks_flameout_2
transformName = thrustTransform
oneShot = true
}
AUDIO
{
channel = Ship
clip = sound_explosion_low
volume = 1.0
pitch = 2.0
loop = false
}
}
fx-corgi-running
{
AUDIO AUDIO
{ {
channel = Ship channel = Ship
clip = sound_vent_soft clip = sound_rocket_mini
volume = 1.0 volume = 0.0 0.0
pitch = 2.0 volume = 1.0 1.0
loop = false pitch = 0.0 0.75
pitch = 1.0 0.95
loop = true
} }
}
flameout MODEL_MULTI_PARTICLE
{ {
PREFAB_PARTICLE name = core
{ modelName = ReStockPlus/FX/restock-fx-corgi-core-1
prefabName = fx_exhaustSparks_flameout_2 transformName = fxTransformCore
transformName = thrustTransform emission = 0.0 0.0
oneShot = true emission = 0.01 0.1
} emission = 0.075 0.25
AUDIO emission = 1.0 1.0
{ speed = 0.0 0.35
channel = Ship speed = 1.0 1.0
clip = sound_explosion_low }
volume = 1.0 MODEL_MULTI_PARTICLE
pitch = 2.0 {
loop = false name = plume
} modelName = ReStockPlus/FX/restock-fx-corgi-plume-1
} transformName = fxTransformPlume
emission = 0.0 0.0
emission = 0.01 0.1
emission = 0.075 0.25
emission = 1.0 1.0
speed = 0.0 0.35
speed = 1.0 1.0
}
}
} }
// --- editor parameters --- // --- editor parameters ---
@ -65,7 +105,7 @@ PART
description = #LOC_RestockPlus_restock-engine-corgi_description description = #LOC_RestockPlus_restock-engine-corgi_description
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision // attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
attachRules = 1,0,1,0,0 attachRules = 1,1,1,0,0
bulkheadProfiles = size3, size2 bulkheadProfiles = size3, size2
// --- standard part parameters --- // --- standard part parameters ---
@ -88,8 +128,7 @@ PART
engineID = MainExhaust engineID = MainExhaust
thrustVectorTransformName = thrustTransform thrustVectorTransformName = thrustTransform
exhaustDamage = True exhaustDamage = True
runningEffectName = fx-gc-core runningEffectName = fx-corgi-running
powerEffectName = fx-gc-plume
ignitionThreshold = 0.1 ignitionThreshold = 0.1
minThrust = 0 minThrust = 0
maxThrust = 1540 maxThrust = 1540
@ -128,8 +167,8 @@ PART
MODULE MODULE
{ {
name = ModuleGimbal name = ModuleGimbal
gimbalTransformName = GimbalBone gimbalTransformName = B_Gimbal
gimbalRange = 3 gimbalRange = 4
gimbalResponseSpeed = 6 gimbalResponseSpeed = 6
useGimbalResponseSpeed = true useGimbalResponseSpeed = true
} }
@ -314,49 +353,134 @@ PART
name = FXModuleLookAtConstraint name = FXModuleLookAtConstraint
CONSTRAINLOOKFX CONSTRAINLOOKFX
{ {
targetName = CylUpper001 targetName = CylTop004
rotatorsName = CylLower001 rotatorsName = CylLower004
} }
CONSTRAINLOOKFX CONSTRAINLOOKFX
{ {
targetName = CylUpper002 targetName = CylTop005
rotatorsName =CylLower002 rotatorsName =CylLower005
} }
CONSTRAINLOOKFX CONSTRAINLOOKFX
{ {
targetName = CylUpper003 targetName = CylTop006
rotatorsName = CylLower003 rotatorsName = CylLower006
} }
CONSTRAINLOOKFX CONSTRAINLOOKFX
{ {
targetName = CylLower001 targetName = CylLower004
rotatorsName = CylUpper001 rotatorsName = CylTop004
} }
CONSTRAINLOOKFX CONSTRAINLOOKFX
{ {
targetName = CylLower002 targetName = CylLower005
rotatorsName = CylUpper002 rotatorsName = CylTop005
} }
CONSTRAINLOOKFX CONSTRAINLOOKFX
{ {
targetName = CylLower003 targetName = CylLower006
rotatorsName = CylUpper003 rotatorsName = CylTop006
}
CONSTRAINLOOKFX
{
targetName = CylTop007
rotatorsName = CylLower007
}
CONSTRAINLOOKFX
{
targetName = CylTop008
rotatorsName =CylLower008
}
CONSTRAINLOOKFX
{
targetName = CylTop009
rotatorsName = CylLower009
}
CONSTRAINLOOKFX
{
targetName = CylLower008
rotatorsName = CylTop008
}
CONSTRAINLOOKFX
{
targetName = CylLower009
rotatorsName = CylTop009
}
CONSTRAINLOOKFX
{
targetName = CylLower007
rotatorsName = CylTop007
}
CONSTRAINLOOKFX
{
targetName = CylTop010
rotatorsName = CylLower010
}
CONSTRAINLOOKFX
{
targetName = CylTop011
rotatorsName =CylLower011
}
CONSTRAINLOOKFX
{
targetName = CylTop012
rotatorsName = CylLower012
}
CONSTRAINLOOKFX
{
targetName = CylLower010
rotatorsName = CylTop010
}
CONSTRAINLOOKFX
{
targetName = CylLower011
rotatorsName = CylTop011
}
CONSTRAINLOOKFX
{
targetName = CylLower012
rotatorsName = CylTop012
}
CONSTRAINLOOKFX
{
targetName = CylTop013
rotatorsName = CylLower013
}
CONSTRAINLOOKFX
{
targetName = CylTop014
rotatorsName =CylLower014
}
CONSTRAINLOOKFX
{
targetName = CylTop015
rotatorsName = CylLower015
}
CONSTRAINLOOKFX
{
targetName = CylLower013
rotatorsName = CylTop013
}
CONSTRAINLOOKFX
{
targetName = CylLower014
rotatorsName = CylTop014
}
CONSTRAINLOOKFX
{
targetName = CylLower015
rotatorsName = CylTop015
} }
} }
MODULE MODULE
{ {
name = ModuleJettison name = ModuleJettison
jettisonName = SHROUD01 jettisonName = Fairing375
bottomNodeName = bottom bottomNodeName = bottom
isFairing = True isFairing = True
jettisonedObjectMass = 0.1 jettisonedObjectMass = 0.1
jettisonForce = 5 jettisonForce = 5
jettisonDirection = 0 0 1 jettisonDirection = 0 0 1
MODULE
{
name = FlagDecal
textureQuadName = Flag
} }
MODULE MODULE
@ -397,18 +521,18 @@ PART
toggleInFlight = false toggleInFlight = false
redCurve redCurve
{ {
key = 0 1 key = 0 0
key = 1 1 key = 1 1
} }
greenCurve greenCurve
{ {
key = 0 key = 0 0
key = 1 1 key = 1 1
} }
blueCurve blueCurve
{ {
key = 0 0 key = 0 0
key = 1 0 key = 1 1
} }
alphaCurve alphaCurve
{ {
@ -427,7 +551,7 @@ PART
toggleInFlight = false toggleInFlight = false
redCurve redCurve
{ {
key = 0 1 key = 0 0
key = 1 1 key = 1 1
} }
greenCurve greenCurve
@ -438,7 +562,7 @@ PART
blueCurve blueCurve
{ {
key = 0 0 key = 0 0
key = 1 0 key = 1 1
} }
alphaCurve alphaCurve
{ {
@ -446,5 +570,47 @@ PART
key = 1 1 key = 1 1
} }
} }
MODULE
{
name = ModulePartVariants
baseVariant = Size3
VARIANT
{
name = Size3
displayName = #LOC_Restock_variant-engine_size3
primaryColor = #999999
secondaryColor = #da8544
GAMEOBJECTS
{
Var_25m = false
Var_375m = true
Fairing375 = true
}
NODES
{
node_attach = 0.0, 0.753, 0.0, 0.0, 1.0, 0.0, 3
node_stack_top = 0.0, 0.753, 0.0, 0.0, 1.0, 0.0, 3
}
}
VARIANT
{
name = Compact
displayName = #LOC_Restock_variant-engine_size2
primaryColor = #999999
secondaryColor = #555555
GAMEOBJECTS
{
Var_25m = true
Var_375m = false
Fairing375 = false
}
NODES
{
node_stack_top = 0.0,0.558,0.0 , 0.0, 1.0, 0.0, 2
node_attach = 0.0,0.558,0.0 , 0.0, 1.0, 0.0, 2
}
}
}
} }

View File

@ -7,29 +7,28 @@ PART
MODEL MODEL
{ {
model = Restock/Assets/FuelTank/restock-fuel-tank-375-4 model = ReStock/Assets/FuelTank/restock-adapter-375-fueled-1
scale = 1.0, 1.0, 1.0 scale = 1.0, 1.0, 1.0
} }
MODEL MODEL
{ {
model = Restock/Assets/Common/restock-endcap-fuel-375-1 model = ReStock/Assets/FuelTank/restock-endcap-fueltank-25-orange
scale = 1.0, 1.0, 1.0 scale = 1.0, 1.0, 1.0
position = 0.0, 0.9375, 0.0 position = 0.0, 1.148, 0.0
} }
MODEL MODEL
{ {
model = Restock/Assets/Common/restock-endcap-fuel-375-1 model = ReStock/Assets/FuelTank/restock-endcap-fueltank-375-orange
scale = 1.0, -1.0, 1.0 scale = 1.0, -1.0, 1.0
position = 0.0, -0.9375, 0.0 position = 0.0, -1.098, 0.0
} }
scale = 1 scale = 1
rescaleFactor = 1 rescaleFactor = 1
// Attachment // Attachment
attachRules = 1,1,1,1,0 attachRules = 1,0,1,1,0
node_stack_top = 0.0, 0.9375, 0, 0.0, 1.0, 0.0, 3 node_stack_top = 0.0, 1.148, 0, 0.0, 1.0, 0.0, 3
node_stack_bottom = 0.0, -0.9375, 0, 0.0, -1.0, 0.0, 3 node_stack_bottom = 0.0, -1.098, 0, 0.0, -1.0, 0.0, 3
node_attach = 0.0, 0.0, -1.875, 0.0, 0.0, 1.0, 3
// Tech // Tech
TechRequired = highPerformanceFuelSystems TechRequired = highPerformanceFuelSystems

View File

@ -7,28 +7,28 @@ PART
MODEL MODEL
{ {
model = Restock/Assets/FuelTank/restock-fuel-tank-375-4 model = ReStock/Assets/FuelTank/restock-fueltank-375-4
scale = 1.0, 1.0, 1.0 scale = 1.0, 1.0, 1.0
} }
MODEL MODEL
{ {
model = Restock/Assets/Common/restock-endcap-fuel-375-1 model = ReStock/Assets/FuelTank/restock-endcap-fueltank-375-orange
scale = 1.0, 1.0, 1.0 scale = 1.0, 1.0, 1.0
position = 0.0, 0.9375, 0.0 position = 0.0, 0.48, 0.0
} }
MODEL MODEL
{ {
model = Restock/Assets/Common/restock-endcap-fuel-375-1 model = ReStock/Assets/FuelTank/restock-endcap-fueltank-375-orange
scale = 1.0, -1.0, 1.0 scale = 1.0, -1.0, 1.0
position = 0.0, -0.9375, 0.0 position = 0.0, -0.48, 0.0
} }
scale = 1 scale = 1
rescaleFactor = 1 rescaleFactor = 1
// Attachment // Attachment
attachRules = 1,1,1,1,0 attachRules = 1,1,1,1,0
node_stack_top = 0.0, 0.9375, 0, 0.0, 1.0, 0.0, 3 node_stack_top = 0.0, 0.48, 0, 0.0, 1.0, 0.0, 3
node_stack_bottom = 0.0, -0.9375, 0, 0.0, -1.0, 0.0, 3 node_stack_bottom = 0.0, -0.48, 0, 0.0, -1.0, 0.0, 3
node_attach = 0.0, 0.0, -1.875, 0.0, 0.0, 1.0, 3 node_attach = 0.0, 0.0, -1.875, 0.0, 0.0, 1.0, 3
// Tech // Tech
@ -36,7 +36,7 @@ PART
entryCost = 12900 entryCost = 12900
// Info // Info
cost = 5750 cost = 1625
category = FuelTank category = FuelTank
subcategory = 0 subcategory = 0
title = #LOC_RestockPlus_restock-fuel-tank-375-4_title title = #LOC_RestockPlus_restock-fuel-tank-375-4_title
@ -46,7 +46,7 @@ PART
bulkheadProfiles = size3, srf bulkheadProfiles = size3, srf
// Parameters // Parameters
mass = 4 mass = 1.125
dragModelType = default dragModelType = default
maximum_drag = 0.2 maximum_drag = 0.2
minimum_drag = 0.3 minimum_drag = 0.3
@ -61,13 +61,13 @@ PART
RESOURCE RESOURCE
{ {
name = LiquidFuel name = LiquidFuel
amount = 2880 amount = 810
maxAmount = 2880 maxAmount = 810
} }
RESOURCE RESOURCE
{ {
name = Oxidizer name = Oxidizer
amount = 3520 amount = 990
maxAmount = 3520 maxAmount = 990
} }
} }

View File

@ -1,22 +1,22 @@
// 3.75m skeletal adapter // 3.75m skeletal adapter
PART PART
{ {
name = restock-adapter-hollow-25-375-1 name = restock-adapter-skeletal-25-375-1
module = Part module = Part
author = Chris Adderley (Nertea) author = Chris Adderley (Nertea)
MODEL MODEL
{ {
model = Restock/Assets/Structural/restock-adapter-375-4 model = ReStock/Assets/FuelTank/restock-adapter-375-skeletal-1
scale = 1.0, 1.0, 1.0 scale = 1.0, 1.0, 1.0
} }
scale = 1 scale = 1
rescaleFactor = 1 rescaleFactor = 1
// Attachment // Attachment
attachRules = 1,1,1,1,0 attachRules = 1,0,1,1,0
node_stack_top = 0.0, 0.9375, 0, 0.0, 1.0, 0.0, 3 node_stack_top = 0.0, 0.676, 0, 0.0, 1.0, 0.0, 2
node_stack_bottom = 0.0, -0.9375, 0, 0.0, -1.0, 0.0, 2 node_stack_bottom = 0.0, -0.36, 0, 0.0, -1.0, 0.0, 3
// Tech // Tech
TechRequired = highPerformanceFuelSystems TechRequired = highPerformanceFuelSystems
@ -24,16 +24,16 @@ PART
// Info // Info
cost = 5750 cost = 5750
category = FuelTank category = Structural
subcategory = 0 subcategory = 0
title = #LOC_RestockPlus_restock-adapter-hollow-25-375-1_title title = #LOC_RestockPlus_restock-adapter-skeletal-25-375-1_title
manufacturer = #autoLOC_501638 manufacturer = #autoLOC_501638
description = #LOC_RestockPlus_restock-adapter-hollow-25-375-1_description description = #LOC_RestockPlus_restock-adapter-skeletal-25-375-1_description
tags = #LOC_RestockPlus_restock-adapter-hollow-25-375-1_tags tags = #LOC_RestockPlus_restock-adapter-skeletal-25-375-1_tags
bulkheadProfiles = size3, size2 bulkheadProfiles = size3, size2
// Parameters // Parameters
mass = 4 mass = 1
dragModelType = default dragModelType = default
maximum_drag = 0.2 maximum_drag = 0.2
minimum_drag = 0.3 minimum_drag = 0.3

View File

@ -1,3 +1,54 @@
// Patches for 3.75m structural Parts // Patches for 3.75m structural Parts
// Contents: // Contents:
// - Kerbodyne ADTP-2-3 (Size3to2Adapter): Adds hollow and fuelled variants // - Kerbodyne ADTP-2-3 (Size3to2Adapter): Adds hollow variant
@PART[Size3to2Adapter]:AFTER[ReStock]
{
@author = Chris Adderley (Nertea)
!mesh = DELETE
!MODEL {}
MODEL {
model = ReStock/Assets/FuelTank/restock-adapter-375-multi-1
}
%rescaleFactor = 1
MODULE
{
name = ModulePartVariants
baseVariant = Solid
VARIANT
{
name = Solid
displayName = #LOC_Restock_variant-engine_size3
primaryColor = #999999
secondaryColor = #da8544
GAMEOBJECTS
{
375mAdapterNotHollow = true
COLLIDER_SOLID =true
375mAdapterHollow001 = false
COLLIDERS = false
}
}
VARIANT
{
name = Hollow
displayName = #LOC_Restock_variant-engine_szie2
primaryColor = #999999
secondaryColor = #555555
GAMEOBJECTS
{
375mAdapterNotHollow = false
COLLIDER_SOLID =false
375mAdapterHollow001 = true
COLLIDERS = true
}
}
}
}