Finish initial 3.75m redo (#12)

* New models and animations for 3.75m parts
This commit is contained in:
Chris Adderley
2018-06-13 12:58:11 -07:00
committed by GitHub
parent 6f66a4ee74
commit 165c07453b
36 changed files with 1219 additions and 2 deletions

View File

@ -1 +1,122 @@
// 3.75m drone code
// 3.75m drone core
PART
{
name = restock-drone-core-375-1
module = Part
author = Chris Adderley
MODEL
{
model = RestockPlus/Assets/Command/restock-drone-core-375-1
scale = 1.0, 1.0, 1.0
}
rescaleFactor = 1.0
CrewCapacity = 0
// 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
TechRequired = largeUnmanned
entryCost = 36800
cost = 7700
category = Pods
subcategory = 0
title = #LOC_RestockPlus_drone-3755-1_title
manufacturer = #LOC_NFLaunchVehicles_manufacturer_post-kerbin_title
description = #LOC_RestockPlus_drone-375-1_description
attachRules = 1,0,1,1,0
mass = 0.95
dragModelType = default
maximum_drag = 0.2
minimum_drag = 0.2
angularDrag = 2
crashTolerance = 9
maxTemp = 2000 // = 3400
explosionPotential = 0
vesselType = Probe
bulkheadProfiles = size3
breakingForce = 350
breakingTorque = 350
tags = #LOC_RestockPlus_drone-375-1_tags
MODULE
{
name = ModuleProbeControlPoint
minimumCrew = 1
multiHop = True
}
MODULE
{
name = ModuleCommand
minimumCrew = 0
RESOURCE
{
name = ElectricCharge
rate = 0.1
}
hasHibernation = True
hibernationMultiplier = 0.00125
}
RESOURCE
{
name = ElectricCharge
amount = 80
maxAmount = 80
}
MODULE
{
name = ModuleReactionWheel
PitchTorque = 60
YawTorque = 60
RollTorque = 60
RESOURCE
{
name = ElectricCharge
rate = 1.2
}
}
MODULE
{
name = ModuleSAS
SASServiceLevel = 3
}
MODULE
{
name = ModuleKerbNetAccess
MinimumFoV = 5
MaximumFoV = 90
AnomalyDetection = 0.3
DISPLAY_MODES
{
Mode = Biome
Mode = Terrain
}
}
MODULE
{
name = ModuleDataTransmitter
antennaType = INTERNAL
packetInterval = 1.0
packetSize = 2
packetResourceCost = 12.0
requiredResource = ElectricCharge
antennaPower = 5000
optimumRange = 2500
packetFloor = .1
packetCeiling = 5
}
MODULE
{
name = ModuleScienceContainer
reviewActionName = #autoLOC_502201 //#autoLOC_502201 = Review Stored Data
storeActionName = #autoLOC_502202 //#autoLOC_502202 = Store Experiments
evaOnlyStorage = True // i.e. can nearby regular vessels also do this, or EVA only
storageRange = 2.7
canBeTransferredToInVessel = True
canTransferInVessel = True
}
}

View File

@ -0,0 +1,90 @@
// 3.75m docking port
PART
{
name = restock-docking-375-1
module = Part
author = Chris Adderley
MODEL
{
model = RestockPlus/Assets/Coupling/restock-docking-375-1
scale = 1.0, 1.0, 1.0
}
scale = 1
rescaleFactor = 1
// 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
// Tech
TechRequired = metaMaterials
entryCost = 125000
// Info
cost = 5600
category = Coupling
subcategory = 0
title = #LOC_RestockPlus_restock-docking-375-1_title
manufacturer = #LOC_RestockPlus_manufacturer_post-kerbin_title
description = #LOC_RestockPlus_restock-docking-375-1_description
tags = #LOC_RestockPlus_restock-docking-375-1_tags
bulkheadProfiles = size3
// Parameters
mass = 1.6
dragModelType = default
maximum_drag = 0.2
minimum_drag = 0.3
angularDrag = 2
crashTolerance = 6
maxTemp = 2000
breakingForce = 350
breakingTorque = 350
buoyancy = 0.5
MODULE
{
name = ModuleDockingNode
referenceAttachNode = top
nodeType = size4
stagingEnabled = False
}
MODULE
{
name = ModuleColorChanger
shaderProperty = _EmissiveColor
animRate = 0.8
animState = false
useRate = true
toggleInEditor = true
toggleInFlight = true
toggleInFlight = true
unfocusedRange = 5
toggleName = #autoLOC_502011 //#autoLOC_502011 = Toggle Lights
eventOnName = #autoLOC_502012 //#autoLOC_502012 = Lights On
eventOffName = #autoLOC_502013 //#autoLOC_502013 = Lights Off
toggleAction = True
defaultActionGroup = Light
redCurve
{
key = 0 0 0 3
key = 1 1 0 0
}
greenCurve
{
key = 0 0 0 1
key = 1 1 1 0
}
blueCurve
{
key = 0 0 0 0
key = 1 0.7 1.5 0
}
alphaCurve
{
key = 0 1
}
}
}

View File

@ -0,0 +1,57 @@
// 3.75m stack battery
PART
{
// --- general parameters ---
name = restock-battery-375-1
module = Part
author = Chris Adderley
// --- asset parameters ---
MODEL
{
model = RestockPlus/Assets/Engine/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
// --- editor parameters ---
TechRequired = veryHeavyRocketry
entryCost = 26800
cost = 15200
category = Electrical
subcategory = 0
title = #LOC_RestockPlus_restock-battery-375-1_title
manufacturer = #LOC_KerbalAtomics_manufacturer_postkerbin_title
description = #LOC_RestockPlus_restock-battery-375-1_description
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
attachRules = 1,0,1,0,0
bulkheadProfiles = size3
// --- standard part parameters ---
mass = 3
dragModelType = default
maximum_drag = 0.2
minimum_drag = 0.2
angularDrag = 2
crashTolerance = 20
maxTemp = 2000
breakingForce = 5000
breakingTorque = 5000
tags = #LOC_RestockPlus_restock-battery-375-1_tags
RESOURCE
{
name = ElectricCharge
amount = 2880
maxAmount = 2880
}
}

View File

@ -1 +1,383 @@
// 3.75m orbital engine
PART
{
// --- general parameters ---
name = restock-engine-375-3
module = Part
author = Chris Adderley
// --- asset parameters ---
MODEL
{
model = RestockPlus/Assets/Engine/restock-engine-375-3
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
// --- FX definitions ---
EFFECTS
{
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
}
}
}
// --- editor parameters ---
TechRequired = veryHeavyRocketry
entryCost = 26800
cost = 15200
category = Engine
subcategory = 0
title = #LOC_RestockPlus_restock-engine-375-3_title
manufacturer = #autoLOC_501638
description = #LOC_RestockPlus_restock-engine-375-3_description
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
attachRules = 1,0,1,0,0
bulkheadProfiles = size3, size2
// --- standard part parameters ---
mass = 3
dragModelType = default
maximum_drag = 0.2
minimum_drag = 0.2
angularDrag = 2
crashTolerance = 20
maxTemp = 2000
breakingForce = 5000
breakingTorque = 5000
tags = #LOC_RestockPlus_restock-engine-375-3_tags
MODULE
{
name = ModuleEnginesFX
engineID = MainExhaust
thrustVectorTransformName = thrustTransform
exhaustDamage = True
runningEffectName = fx-gc-core
powerEffectName = fx-gc-plume
ignitionThreshold = 0.1
minThrust = 0
maxThrust = 1540
heatProduction = 5
fxOffset = 0, 0, 0
EngineType = LiquidFuel
exhaustDamageDistanceOffset = 1.5
PROPELLANT
{
name = LiquidFuel
ratio = 0.9
DrawGauge = True
}
PROPELLANT
{
name = Oxidizer
ratio = 1.1
}
atmosphereCurve
{
key = 0 328
key = 1 309
key = 12 0.001
}
}
MODULE
{
name = ModuleAlternator
RESOURCE
{
name = ElectricCharge
rate = 3.0
}
}
MODULE
{
name = FXModuleAnimateThrottle
animationName = GasCore25-2_Throttle
dependOnEngineState = True
responseSpeed = 1.0
layer = 2
}
MODULE
{
name = ModuleGimbal
gimbalTransformName = GimbalBone
gimbalRange = 3
gimbalResponseSpeed = 6
useGimbalResponseSpeed = true
}
MODULE
{
name = ModuleTestSubject
useStaging = True
useEvent = True
situationMask = 121
CONSTRAINT
{
type = REPEATABILITY
value = ALWAYS
prestige = Trivial
}
CONSTRAINT
{
type = REPEATABILITY
value = BODYANDSITUATION
prestige = Significant
}
CONSTRAINT
{
type = REPEATABILITY
value = ONCEPERPART
prestige = Exceptional
}
CONSTRAINT
{
type = ALTITUDEENV
test = GT
value = 4000
prestige = Trivial
}
CONSTRAINT
{
type = ALTITUDEENV
test = LT
value = 8000
prestige = Trivial
}
CONSTRAINT
{
type = ALTITUDEENV
test = GT
value = 2000
prestige = Significant
}
CONSTRAINT
{
type = ALTITUDEENV
test = LT
value = 4000
prestige = Significant
}
CONSTRAINT
{
type = ALTITUDEENV
test = GT
value = 1000
prestige = Exceptional
}
CONSTRAINT
{
type = ALTITUDEENV
test = LT
value = 2000
prestige = Exceptional
}
CONSTRAINT
{
type = ALTITUDE
test = LT
value = 300000
situationMask = 16
body = _NotSun
}
CONSTRAINT
{
type = ALTITUDE
test = LT
value = 600000
situationMask = 32
body = _NotSun
}
CONSTRAINT
{
type = SPEED
test = GT
value = 0
situationMask = 8
prestige = Trivial
}
CONSTRAINT
{
type = SPEED
test = LT
value = 600
situationMask = 8
prestige = Trivial
}
CONSTRAINT
{
type = SPEED
test = GT
value = 300
situationMask = 8
prestige = Significant
}
CONSTRAINT
{
type = SPEED
test = LT
value = 1200
situationMask = 8
prestige = Significant
}
CONSTRAINT
{
type = SPEED
test = GT
value = 600
situationMask = 8
prestige = Exceptional
}
CONSTRAINT
{
type = SPEED
test = LT
value = 2500
situationMask = 8
prestige = Exceptional
}
CONSTRAINT
{
type = SPEEDENV
test = LT
value = 200
prestige = Trivial
}
CONSTRAINT
{
type = SPEEDENV
test = GT
value = 100
prestige = Trivial
}
CONSTRAINT
{
type = SPEEDENV
test = LT
value = 100
prestige = Significant
}
CONSTRAINT
{
type = SPEEDENV
test = GT
value = 50
prestige = Significant
}
CONSTRAINT
{
type = SPEEDENV
test = LT
value = 50
prestige = Exceptional
}
CONSTRAINT
{
type = SPEEDENV
test = GT
value = 20
prestige = Exceptional
}
}
MODULE
{
name = FXModuleLookAtConstraint
CONSTRAINLOOKFX
{
targetName = CylUpper001
rotatorsName = CylLower001
}
CONSTRAINLOOKFX
{
targetName = CylUpper002
rotatorsName =CylLower002
}
CONSTRAINLOOKFX
{
targetName = CylUpper003
rotatorsName = CylLower003
}
CONSTRAINLOOKFX
{
targetName = CylLower001
rotatorsName = CylUpper001
}
CONSTRAINLOOKFX
{
targetName = CylLower002
rotatorsName = CylUpper002
}
CONSTRAINLOOKFX
{
targetName = CylLower003
rotatorsName = CylUpper003
}
}
MODULE
{
name = ModuleJettison
jettisonName = SHROUD01
bottomNodeName = bottom
isFairing = True
jettisonedObjectMass = 0.1
jettisonForce = 5
jettisonDirection = 0 0 1
MODULE
{
name = FlagDecal
textureQuadName = Flag
}
MODULE
{
name = ModuleSurfaceFX
thrustProviderModuleIndex = 0
fxMax = 1.0
maxDistance = 70
falloff = 2
thrustTransformName = thrustTransform
}
}

View File

@ -1 +1,73 @@
// 3.75m compact fuel tank
PART
{
name = restock-fuel-tank-375-4
module = Part
author = Chris Adderley
MODEL
{
model = Restock/Assets/FuelTank/restock-fuel-tank-375-4
scale = 1.0, 1.0, 1.0
}
MODEL
{
model = Restock/Assets/Common/restock-endcap-fuel-375-1
scale = 1.0, 1.0, 1.0
position = 0.0, 0.9375, 0.0
}
MODEL
{
model = Restock/Assets/Common/restock-endcap-fuel-375-1
scale = 1.0, -1.0, 1.0
position = 0.0, -0.9375, 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
// Tech
TechRequired = highPerformanceFuelSystems
entryCost = 12900
// Info
cost = 5750
category = FuelTank
subcategory = 0
title = #LOC_RestockPlus_restock-fuel-tank-375-4_title
manufacturer = #autoLOC_501638
description = #LOC_RestockPlus_restock-fuel-tank-375-4_description
tags = #LOC_RestockPlus_restock-fuel-tank-375-4_tags
bulkheadProfiles = size3, srf
// Parameters
mass = 4
dragModelType = default
maximum_drag = 0.2
minimum_drag = 0.3
angularDrag = 2
crashTolerance = 6
maxTemp = 2000
breakingForce = 350
breakingTorque = 350
// Resources
RESOURCE
{
name = LiquidFuel
amount = 2880
maxAmount = 2880
}
RESOURCE
{
name = Oxidizer
amount = 3520
maxAmount = 3520
}
}

View File

@ -0,0 +1,45 @@
// 3.75m skeletal adapter
PART
{
name = restock-adapter-375-2
module = Part
author = Chris Adderley
MODEL
{
model = Restock/Assets/Structural/restock-adapter-375-4
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
// Tech
TechRequired = highPerformanceFuelSystems
entryCost = 12900
// Info
cost = 5750
category = FuelTank
subcategory = 0
title = #LOC_RestockPlus_restock-adapter-375-2_title
manufacturer = #autoLOC_501638
description = #LOC_RestockPlus_restock-adapter-375-2_description
tags = #LOC_RestockPlus_restock-adapter-375-2_tags
bulkheadProfiles = size3, size2
// Parameters
mass = 4
dragModelType = default
maximum_drag = 0.2
minimum_drag = 0.3
angularDrag = 2
crashTolerance = 6
maxTemp = 2000
breakingForce = 350
breakingTorque = 350
}