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_tags =
#LOC_RestockPlus_restock-adapter-hollow-25-375-1_title =
#LOC_RestockPlus_restock-adapter-hollow-25-375-1_description =
#LOC_RestockPlus_restock-adapter-hollow-25-375-1_tags =
#LOC_RestockPlus_restock-adapter-skeletal-25-375-1_title =
#LOC_RestockPlus_restock-adapter-skeletal-25-375-1_description =
#LOC_RestockPlus_restock-adapter-skeletal-25-375-1_tags =
}
}

View File

@ -7,7 +7,7 @@ PART
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
}
rescaleFactor = 1.0
@ -15,8 +15,8 @@ PART
// Attachment
attachRules = 1,0,1,1,0
node_stack_top = 0.0, 0.231, 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_top = 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
entryCost = 36800

View File

@ -7,7 +7,7 @@ PART
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
@ -15,8 +15,8 @@ PART
// Attachment
attachRules = 1,0,1,1,0
node_stack_top = 0.0, 0.052, 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_top = 0.0, 0.253, 0, 0.0, 1.0, 0.0, 3
node_stack_bottom = 0.0, -0.127, 0, 0.0, -1.0, 0.0, 3
// Tech
TechRequired = metaMaterials
@ -48,7 +48,7 @@ PART
{
name = ModuleDockingNode
referenceAttachNode = top
nodeType = size4
nodeType = size3
stagingEnabled = False
}
MODULE

View File

@ -10,15 +10,15 @@ PART
// --- asset parameters ---
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
rescaleFactor = 1
// --- node definitions ---
node_stack_top = 0.0, 2.499, 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.203, 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 ---
TechRequired = veryHeavyRocketry

View File

@ -11,47 +11,87 @@ PART
// --- asset parameters ---
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
rescaleFactor = 1
// --- node definitions ---
node_stack_top = 0.0, 2.499, 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_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
node_stack_bottom = 0.0, -2.315, 0.0, 0.0, -1.0, 0.0, 3
// --- FX definitions ---
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
{
channel = Ship
clip = sound_vent_soft
volume = 1.0
pitch = 2.0
loop = false
clip = sound_rocket_mini
volume = 0.0 0.0
volume = 1.0 1.0
pitch = 0.0 0.75
pitch = 1.0 0.95
loop = true
}
}
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
}
}
MODEL_MULTI_PARTICLE
{
name = core
modelName = ReStockPlus/FX/restock-fx-corgi-core-1
transformName = fxTransformCore
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
}
MODEL_MULTI_PARTICLE
{
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 ---
@ -65,7 +105,7 @@ PART
description = #LOC_RestockPlus_restock-engine-corgi_description
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
attachRules = 1,0,1,0,0
attachRules = 1,1,1,0,0
bulkheadProfiles = size3, size2
// --- standard part parameters ---
@ -88,8 +128,7 @@ PART
engineID = MainExhaust
thrustVectorTransformName = thrustTransform
exhaustDamage = True
runningEffectName = fx-gc-core
powerEffectName = fx-gc-plume
runningEffectName = fx-corgi-running
ignitionThreshold = 0.1
minThrust = 0
maxThrust = 1540
@ -128,8 +167,8 @@ PART
MODULE
{
name = ModuleGimbal
gimbalTransformName = GimbalBone
gimbalRange = 3
gimbalTransformName = B_Gimbal
gimbalRange = 4
gimbalResponseSpeed = 6
useGimbalResponseSpeed = true
}
@ -314,49 +353,134 @@ PART
name = FXModuleLookAtConstraint
CONSTRAINLOOKFX
{
targetName = CylUpper001
rotatorsName = CylLower001
targetName = CylTop004
rotatorsName = CylLower004
}
CONSTRAINLOOKFX
{
targetName = CylUpper002
rotatorsName =CylLower002
targetName = CylTop005
rotatorsName =CylLower005
}
CONSTRAINLOOKFX
{
targetName = CylUpper003
rotatorsName = CylLower003
targetName = CylTop006
rotatorsName = CylLower006
}
CONSTRAINLOOKFX
{
targetName = CylLower001
rotatorsName = CylUpper001
targetName = CylLower004
rotatorsName = CylTop004
}
CONSTRAINLOOKFX
{
targetName = CylLower002
rotatorsName = CylUpper002
targetName = CylLower005
rotatorsName = CylTop005
}
CONSTRAINLOOKFX
{
targetName = CylLower003
rotatorsName = CylUpper003
targetName = CylLower006
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
{
name = ModuleJettison
jettisonName = SHROUD01
jettisonName = Fairing375
bottomNodeName = bottom
isFairing = True
jettisonedObjectMass = 0.1
jettisonForce = 5
jettisonDirection = 0 0 1
MODULE
{
name = FlagDecal
textureQuadName = Flag
}
MODULE
@ -397,18 +521,18 @@ PART
toggleInFlight = false
redCurve
{
key = 0 1
key = 0 0
key = 1 1
}
greenCurve
{
key = 0
key = 0 0
key = 1 1
}
blueCurve
{
key = 0 0
key = 1 0
key = 1 1
}
alphaCurve
{
@ -427,7 +551,7 @@ PART
toggleInFlight = false
redCurve
{
key = 0 1
key = 0 0
key = 1 1
}
greenCurve
@ -438,7 +562,7 @@ PART
blueCurve
{
key = 0 0
key = 1 0
key = 1 1
}
alphaCurve
{
@ -446,5 +570,47 @@ PART
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 = Restock/Assets/FuelTank/restock-fuel-tank-375-4
model = ReStock/Assets/FuelTank/restock-adapter-375-fueled-1
scale = 1.0, 1.0, 1.0
}
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
position = 0.0, 0.9375, 0.0
position = 0.0, 1.148, 0.0
}
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
position = 0.0, -0.9375, 0.0
position = 0.0, -1.098, 0.0
}
scale = 1
rescaleFactor = 1
// Attachment
attachRules = 1,1,1,1,0
node_stack_top = 0.0, 0.9375, 0, 0.0, 1.0, 0.0, 3
node_stack_bottom = 0.0, -0.9375, 0, 0.0, -1.0, 0.0, 3
node_attach = 0.0, 0.0, -1.875, 0.0, 0.0, 1.0, 3
attachRules = 1,0,1,1,0
node_stack_top = 0.0, 1.148, 0, 0.0, 1.0, 0.0, 3
node_stack_bottom = 0.0, -1.098, 0, 0.0, -1.0, 0.0, 3
// Tech
TechRequired = highPerformanceFuelSystems

View File

@ -7,28 +7,28 @@ PART
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
}
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
position = 0.0, 0.9375, 0.0
position = 0.0, 0.48, 0.0
}
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
position = 0.0, -0.9375, 0.0
position = 0.0, -0.48, 0.0
}
scale = 1
rescaleFactor = 1
// Attachment
attachRules = 1,1,1,1,0
node_stack_top = 0.0, 0.9375, 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_top = 0.0, 0.48, 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
// Tech
@ -36,7 +36,7 @@ PART
entryCost = 12900
// Info
cost = 5750
cost = 1625
category = FuelTank
subcategory = 0
title = #LOC_RestockPlus_restock-fuel-tank-375-4_title
@ -46,7 +46,7 @@ PART
bulkheadProfiles = size3, srf
// Parameters
mass = 4
mass = 1.125
dragModelType = default
maximum_drag = 0.2
minimum_drag = 0.3
@ -61,13 +61,13 @@ PART
RESOURCE
{
name = LiquidFuel
amount = 2880
maxAmount = 2880
amount = 810
maxAmount = 810
}
RESOURCE
{
name = Oxidizer
amount = 3520
maxAmount = 3520
amount = 990
maxAmount = 990
}
}

View File

@ -1,22 +1,22 @@
// 3.75m skeletal adapter
PART
{
name = restock-adapter-hollow-25-375-1
name = restock-adapter-skeletal-25-375-1
module = Part
author = Chris Adderley (Nertea)
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
rescaleFactor = 1
// Attachment
attachRules = 1,1,1,1,0
node_stack_top = 0.0, 0.9375, 0, 0.0, 1.0, 0.0, 3
node_stack_bottom = 0.0, -0.9375, 0, 0.0, -1.0, 0.0, 2
attachRules = 1,0,1,1,0
node_stack_top = 0.0, 0.676, 0, 0.0, 1.0, 0.0, 2
node_stack_bottom = 0.0, -0.36, 0, 0.0, -1.0, 0.0, 3
// Tech
TechRequired = highPerformanceFuelSystems
@ -24,16 +24,16 @@ PART
// Info
cost = 5750
category = FuelTank
category = Structural
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
description = #LOC_RestockPlus_restock-adapter-hollow-25-375-1_description
tags = #LOC_RestockPlus_restock-adapter-hollow-25-375-1_tags
description = #LOC_RestockPlus_restock-adapter-skeletal-25-375-1_description
tags = #LOC_RestockPlus_restock-adapter-skeletal-25-375-1_tags
bulkheadProfiles = size3, size2
// Parameters
mass = 4
mass = 1
dragModelType = default
maximum_drag = 0.2
minimum_drag = 0.3

View File

@ -1,3 +1,54 @@
// Patches for 3.75m structural Parts
// 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
}
}
}
}