mirror of
https://github.com/PorktoberRevolution/ReStocked
synced 2024-09-01 17:34:42 +00:00
Integrate Restock+ science instruments, rename mesh files, and add localization
This commit is contained in:
parent
c464f8b318
commit
b5bed64bb9
0
Distribution/Restock/GameData/ReStock/Assets/Command/restock-cupola-lab-1.tga
Normal file → Executable file
0
Distribution/Restock/GameData/ReStock/Assets/Command/restock-cupola-lab-1.tga
Normal file → Executable file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -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
|
||||
|
||||
}
|
||||
|
@ -58,39 +58,40 @@
|
||||
!mesh = DELETE
|
||||
!MODEL = {}
|
||||
MODEL {
|
||||
model = ReStock/Assets/Science/restock-gooExperiment-1
|
||||
model = ReStock/Assets/Science/restock-goocanister-radial-1
|
||||
}
|
||||
|
||||
rescaleFactor = 1
|
||||
|
||||
MODULE {
|
||||
name = ModulePartVariants
|
||||
baseVariant = Classic
|
||||
// TODO: add localization strings for display names
|
||||
baseVariant = Truss
|
||||
|
||||
VARIANT {
|
||||
name = Classic
|
||||
displayName = Classic
|
||||
name = Truss
|
||||
displayName = #LOC_Restock_variant-mounting_truss
|
||||
themeName = White
|
||||
|
||||
primaryColor = #ffffff
|
||||
secondaryColor = #000000
|
||||
|
||||
GAMEOBJECTS {
|
||||
Classic_Mount = true
|
||||
Compact_Mount = false
|
||||
Mount_Compact = false
|
||||
Mount_Truss = true
|
||||
}
|
||||
}
|
||||
|
||||
VARIANT {
|
||||
name = Compact
|
||||
displayName = Compact
|
||||
displayName = #LOC_Restock_variant-mounting_compact
|
||||
themeName = White
|
||||
|
||||
primaryColor = #ffffff
|
||||
secondaryColor = #707070
|
||||
|
||||
GAMEOBJECTS {
|
||||
Classic_Mount = false
|
||||
Compact_Mount = true
|
||||
Mount_Compact = true
|
||||
Mount_Truss = false
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -103,7 +104,7 @@
|
||||
!mesh = DELETE
|
||||
!MODEL = {}
|
||||
MODEL {
|
||||
model = ReStock/Assets/Science/restock-materialBay-1
|
||||
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
|
||||
|
@ -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
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user