Merge pull request #42 from drewcassidy/master

Add material bay and goo canister
This commit is contained in:
Chris Adderley 2018-09-27 07:58:02 -07:00 committed by GitHub
commit 34c032d2ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
28 changed files with 176 additions and 0 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 512 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 512 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 512 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

View File

@ -16,6 +16,9 @@ Localization
#LOC_Restock_variant-engine_radial = Radial
#LOC_Restock_variant-engine_boattail = Boattail
#LOC_Restock_variant-mounting_truss = Truss
#LOC_Restock_variant-mounting_compact = Compact
#LOC_Restock_variant-surface_metal = Metal
}

View File

@ -4,6 +4,8 @@
// - Barometer (sensorBarometer)
// - Accelerometer (sensorAccelerometer)
// - Negative Gravioli Detector (sensorGravimeter)
// - Mystery Goo™ Containment Unit (GooExperiment)
// - SC-9001 Science Jr. (science_module)
// Thermometer
@PART[sensorThermometer] {
@ -47,4 +49,68 @@
MODEL {
model = ReStock/Assets/Science/restock-gravimeter
}
}
// Mystery Goo™ Containment Unit
@PART[GooExperiment] {
@author = Andrew Cassidy
!mesh = DELETE
!MODEL = {}
MODEL {
model = ReStock/Assets/Science/restock-goocanister-radial-1
}
rescaleFactor = 1
MODULE {
name = ModulePartVariants
baseVariant = Truss
VARIANT {
name = Truss
displayName = #LOC_Restock_variant-mounting_truss
themeName = White
primaryColor = #ffffff
secondaryColor = #000000
GAMEOBJECTS {
Mount_Compact = false
Mount_Truss = true
}
}
VARIANT {
name = Compact
displayName = #LOC_Restock_variant-mounting_compact
themeName = White
primaryColor = #ffffff
secondaryColor = #707070
GAMEOBJECTS {
Mount_Compact = true
Mount_Truss = false
}
}
}
}
// SC-9001 Science Jr.
@PART[science_module] {
@author = Andrew Cassidy
!mesh = DELETE
!MODEL = {}
MODEL {
model = ReStock/Assets/Science/restock-materialbay-125-1
}
// original model was scaled by 0.1x and had a rescalefactor of 1.25, so we have to reset that
rescaleFactor = 1
@scale = 1
@node_stack_top = 0.0, 0.6125, 0.0, 0.0, 1.0, 0.0
@node_stack_bottom = 0.0, -0.5125, 0.0, 0.0, -1.0, 0.0
@node_attach = 0.0, 0.0, 0.62625, 0.0, 0.0, -1.0, 1
}

View File

@ -41,6 +41,12 @@ Localization
#LOC_RestockPlus_restock-fuel-tank-375-4_description =
#LOC_RestockPlus_restock-fuel-tank-375-4_tags =
#LOC_RestockPlus_restock-materialbay-radial-1_title = SC-9001R Radial Science Jr.
#LOC_RestockPlus_restock-materialbay-radial-1_description = The SC-9001R has the same set of experiments as the regular Science Jr. Material Bay, but in a conveniant, radial-mountable package. Recommended for ages 4-8. Small parts inside make it not suitable for small children.
#LOC_RestockPlus_restock-materialbay-radial-1_tags = bay experiment lab material research radial sandwich kracken
#LOC_RestockPlus_restock-goocanister-625-1_title = Mystery Goo™ Inline Containment Unit
#LOC_RestockPlus_restock-goocanister-625-1_description = After an unfortunate accident where a technician attempted to stock delicate machinery on the classic Mystery Goo™ canister, FLOOYD Dynamics Labs saw a market opportunity for a version with a flat top and bottom.
#LOC_RestockPlus_restock-goocanister-625-1_tags = experiment research science 0.625
}
}

View File

@ -0,0 +1,101 @@
// Radial material science bay
PART
{
name = restock-materialbay-radial-1
module = Part
author = Andrew Cassidy
MODEL {
model = ReStock/Assets/Science/restock-materialbay-radial-1
scale = 1.0, 1.0, 1.0
}
rescaleFactor = 1.0
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
attachRules = 1,1,0,1,1
node_attach = 0.0, 0.0, 0.345, 0.0, 0.0, -1.0, 1
node_stack_bottom = 0.0, 0.0, 0.33, 0.0, 0.0, 1.0, 1
TechRequired = basicScience
entryCost = 5500
cost = 1800
category = Science
subcatagory = 0
title = #LOC_RestockPlus_restock-materialbay-radial-1_title //SC-9001R Radial Science Jr.
manufacturer = #LOC_RestockPlus_restock-materialbay-radial-1_description
// The SC-9001R has the same set of experiments as the regular Science Jr. Material Bay, but in a conveniant, radial-mountable package. Recommended for ages 4-8. Small parts inside make it not suitable for small children.
mass = 0.2
dragModelType = default
maximum_drag = 0.2
minimum_drag = 0.3
angularDrag = 2
crashTolerance = 6
maxTemp = 1200 // = 2900
breakingForce = 50
breakingTorque = 50
childStageOffset = 1
bulkheadProfiles = srf
tags = #LOC_RestockPlus_restock-materialbay-radial-1_tags //bay experiment lab material research radial sandwich
MODULE
{
name = ModuleAnimateGeneric
animationName = radial-Deploy
startEventGUIName = Open Doors
endEventGUIName = Close Doors
actionGUIName = Toggle Doors
evaDistance = 1.85
}
MODULE
{
name = ModuleScienceExperiment
experimentID = mobileMaterialsLab
experimentActionName = Observe Materials Bay
resetActionName = Reset Materials Bay
useStaging = False
useActionGroups = True
hideUIwhenUnavailable = True
hideFxModuleUI = False
xmitDataScalar = 0.35
FxModules = 0
dataIsCollectable = True
collectActionName = Collect Data
interactionRange = 1.85
usageReqMaskInternal = 1
usageReqMaskExternal = 8
}
MODULE {
name = ModulePartVariants
baseVariant = Truss
VARIANT {
name = Truss
displayName = #LOC_Restock_variant-mounting_truss
themeName = White
primaryColor = #ffffff
secondaryColor = #000000
GAMEOBJECTS {
Mount_Compact = false
Mount_Truss = true
}
}
VARIANT {
name = Compact
displayName = #LOC_Restock_variant-mounting_compact
themeName = White
primaryColor = #ffffff
secondaryColor = #707070
GAMEOBJECTS {
Mount_Compact = true
Mount_Truss = false
}
}
}
}