mirror of
https://github.com/PorktoberRevolution/ReStocked
synced 2024-09-01 17:34:42 +00:00
Add rigid landing leg parts as an extra
This commit is contained in:
parent
c3006b28a6
commit
86567929e3
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,42 @@
|
||||
// Proposed format:
|
||||
// #LOC_RestockPlus_partconfigname_fieldname
|
||||
// eg.
|
||||
// #LOC_RestockPlus_restock-engine-375-3_title = ...
|
||||
// #LOC_RestockPlus_restock-engine-375-3_description = ...
|
||||
|
||||
Localization
|
||||
{
|
||||
en-us
|
||||
{
|
||||
// ACTIONS AND BUTTONS
|
||||
// ===================
|
||||
|
||||
#LOC_RestockRigidLegs_extend = Extend
|
||||
#LOC_RestockRigidLegs_retract = Retract
|
||||
#LOC_RestockRigidLegs_toggle = Toggle Leg
|
||||
|
||||
|
||||
// PHYSICS MATERIALS
|
||||
// ===================
|
||||
|
||||
#LOC_RestockRigidLegs_restock-low-grip = Low Grip
|
||||
#LOC_RestockRigidLegs_restock-medium-grip = Medium Grip
|
||||
#LOC_RestockRigidLegs_restock-high-grip = High Grip
|
||||
#LOC_RestockRigidLegs_restock-extreme-grip = Extreme Grip
|
||||
|
||||
|
||||
// LANDING LEGS
|
||||
// ===================
|
||||
|
||||
#LOC_RestockRigidLegs_restock-leg-1-rigid_title = LTR-05 Micro Landing Strut
|
||||
#LOC_RestockRigidLegs_restock-leg-1-rigid_description = After frustration with the recycled pogo sticks, erm, space-grade suspensions on the standard LT-05 landing struts, we developed this alternate version with the leg firmly superglued into place
|
||||
|
||||
#LOC_RestockRigidLegs_restock-leg-2-rigid_title = LTR-1 Landing Strut
|
||||
#LOC_RestockRigidLegs_restock-leg-2-rigid_description = A larger rigid landing leg for medium sized craft, this landing leg is perfect for bounce-free landers or even small surface bases.
|
||||
|
||||
#LOC_RestockRigidLegs_restock-leg-3-rigid_title = LTR-2 Landing Strut
|
||||
#LOC_RestockRigidLegs_restock-leg-3-rigid_description = While it appears similar to the LT-2 landing strut, this is actually a re-purposed outrigger from a mobile crane our engineers found next door. It was probably not needed.
|
||||
|
||||
#autoLOC_6011081 = Traction
|
||||
}
|
||||
}
|
@ -0,0 +1,145 @@
|
||||
// ReStock+ 0.2.0
|
||||
// Small Rigid Legs
|
||||
PART
|
||||
{
|
||||
name = restock-leg-1-rigid
|
||||
module = Part
|
||||
author = Andrew Cassidy
|
||||
|
||||
MODEL
|
||||
{
|
||||
model = ReStock/Assets/Ground/restock-leg-1-rigid
|
||||
}
|
||||
rescaleFactor = 1.0
|
||||
|
||||
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
|
||||
attachRules = 1,1,0,0,0
|
||||
node_attach = 0.0256775, 0.05144107, 0.0, 1.0, 0.0, 0.0
|
||||
node_stack_bottom = 0.0945, 0.114, 0.0, 1.0, 0.0, 0.0, 0
|
||||
|
||||
TechRequired = survivability
|
||||
entryCost = 820
|
||||
cost = 200
|
||||
mass = 0.015
|
||||
category = Ground
|
||||
subcategory = 0
|
||||
|
||||
title = #LOC_RestockRigidLegs_restock-leg-1-rigid_title // LTR-05 Micro Landing Strut
|
||||
manufacturer = #autoLOC_501651 //#autoLOC_501651 = Moving Parts Experts Group
|
||||
description = #LOC_RestockRigidLegs_restock-leg-1-rigid_description
|
||||
// After frustration with the recycled pogo sticks, erm, space-grade suspensions on the standard LT-05 landing struts, we developed this alternate version with the leg firmly superglued into place
|
||||
|
||||
dragModelType = default
|
||||
maximum_drag = 0.2
|
||||
minimum_drag = 0.2
|
||||
angularDrag = 2
|
||||
crashTolerance = 20
|
||||
maxTemp = 2000
|
||||
bulkheadProfiles = srf
|
||||
tags = #autoLOC_500875 //#autoLOC_500875 = ground land leg support
|
||||
|
||||
MODULE
|
||||
{
|
||||
name = ModuleAnimateGeneric
|
||||
animationName = restock-leg-1-deploy-rigid
|
||||
actionGUIName = #LOC_RestockRigidLegs_toggle // Toggle Leg
|
||||
startEventGUIName = #LOC_RestockRigidLegs_extend // Extend
|
||||
endEventGUIName = #LOC_RestockRigidLegs_retract // Retract
|
||||
allowAnimationWhileShielded = False
|
||||
allowDeployLimit = true
|
||||
defaultActionGroup = Gear
|
||||
}
|
||||
|
||||
MODULE
|
||||
{
|
||||
name = ModulePhysicMaterial
|
||||
activePhysicMaterialName = restock-medium-grip
|
||||
PhysicMaterialName = restock-low-grip
|
||||
PhysicMaterialName = restock-medium-grip
|
||||
PHYSICMATERIALCOLORS
|
||||
{
|
||||
MATERIALCOLOR
|
||||
{
|
||||
name = restock-low-grip
|
||||
color = 1,1,1
|
||||
}
|
||||
MATERIALCOLOR
|
||||
{
|
||||
name = restock-medium-grip
|
||||
color = 1,1,1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
MODULE
|
||||
{
|
||||
name = ModulePartVariants
|
||||
useMultipleDragCubes = false
|
||||
baseVariant = Bare
|
||||
VARIANT
|
||||
{
|
||||
name = Bare
|
||||
displayName = #LOC_Restock_variant-probe-bare
|
||||
primaryColor = #999999
|
||||
secondaryColor = #999999
|
||||
|
||||
GAMEOBJECTS
|
||||
{
|
||||
leg1_body_gold = false
|
||||
leg1_foot_gold = false
|
||||
leg1_hydraulic_upper_1_gold = false
|
||||
leg1_cylinder_gold = false
|
||||
leg1_upper_arm_gold = false
|
||||
leg1_body_silver = false
|
||||
leg1_foot_silver = false
|
||||
leg1_hydraulic_upper_1_silver = false
|
||||
leg1_cylinder_silver = false
|
||||
leg1_upper_arm_silver = false
|
||||
}
|
||||
}
|
||||
VARIANT
|
||||
{
|
||||
name = Gold
|
||||
displayName = #LOC_Restock_variant-probe-gold
|
||||
themeName = Gold
|
||||
primaryColor = #fccb0a
|
||||
secondaryColor = #999999
|
||||
|
||||
GAMEOBJECTS
|
||||
{
|
||||
leg1_body_gold = true
|
||||
leg1_foot_gold = true
|
||||
leg1_hydraulic_upper_1_gold = true
|
||||
leg1_cylinder_gold = true
|
||||
leg1_upper_arm_gold = true
|
||||
leg1_body_silver = false
|
||||
leg1_foot_silver = false
|
||||
leg1_hydraulic_upper_1_silver = false
|
||||
leg1_cylinder_silver = false
|
||||
leg1_upper_arm_silver = false
|
||||
}
|
||||
}
|
||||
VARIANT
|
||||
{
|
||||
name = Silver
|
||||
displayName = #LOC_Restock_variant-probe-silver
|
||||
themeName = Silver
|
||||
primaryColor = #cecece
|
||||
secondaryColor = #999999
|
||||
|
||||
GAMEOBJECTS
|
||||
{
|
||||
leg1_body_gold = false
|
||||
leg1_foot_gold = false
|
||||
leg1_hydraulic_upper_1_gold = false
|
||||
leg1_cylinder_gold = false
|
||||
leg1_upper_arm_gold = false
|
||||
leg1_body_silver = true
|
||||
leg1_foot_silver = true
|
||||
leg1_hydraulic_upper_1_silver = true
|
||||
leg1_cylinder_silver = true
|
||||
leg1_upper_arm_silver = true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,79 @@
|
||||
// ReStock+ 0.2.0
|
||||
// Medium Rigid Legs
|
||||
PART
|
||||
{
|
||||
name = restock-leg-2-rigid
|
||||
module = Part
|
||||
author = Andrew Cassidy
|
||||
|
||||
MODEL
|
||||
{
|
||||
model = ReStock/Assets/Ground/restock-leg-2-rigid
|
||||
}
|
||||
rescaleFactor = 1.0
|
||||
|
||||
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
|
||||
attachRules = 1,1,0,0,0
|
||||
node_attach = 0.0, 0.0, 0.0, 0.0, 0.0, 1.0
|
||||
node_stack_bottom = 0.0, 0.0, -0.036, 0.0, 0.0, -1.0, 1
|
||||
|
||||
TechRequired = landing
|
||||
entryCost = 2900
|
||||
cost = 440
|
||||
mass = 0.05
|
||||
category = Ground
|
||||
subcategory = 0
|
||||
|
||||
title = #LOC_RestockRigidLegs_restock-leg-2-rigid_title // LTR-1 Landing Strut
|
||||
manufacturer = #autoLOC_501651 //#autoLOC_501651 = Moving Parts Experts Group
|
||||
description = #LOC_RestockRigidLegs_restock-leg-2-rigid_description
|
||||
// A larger rigid landing leg for medium sized craft, this landing leg is perfect for bounce-free landers or even small surface bases.
|
||||
|
||||
dragModelType = default
|
||||
maximum_drag = 0.2
|
||||
minimum_drag = 0.2
|
||||
angularDrag = 2
|
||||
crashTolerance = 25
|
||||
maxTemp = 2000
|
||||
bulkheadProfiles = srf
|
||||
tags = #autoLOC_500875 //#autoLOC_500875 = ground land leg support
|
||||
|
||||
MODULE
|
||||
{
|
||||
name = ModuleAnimateGeneric
|
||||
animationName = restock-leg-2-deploy-rigid
|
||||
actionGUIName = #LOC_RestockRigidLegs_toggle // Toggle Leg
|
||||
startEventGUIName = #LOC_RestockRigidLegs_extend // Extend
|
||||
endEventGUIName = #LOC_RestockRigidLegs_retract // Retract
|
||||
allowAnimationWhileShielded = False
|
||||
allowDeployLimit = true
|
||||
defaultActionGroup = Gear
|
||||
}
|
||||
|
||||
MODULE
|
||||
{
|
||||
name = ModulePhysicMaterial
|
||||
activePhysicMaterialName = restock-high-grip
|
||||
PhysicMaterialName = restock-low-grip
|
||||
PhysicMaterialName = restock-medium-grip
|
||||
PhysicMaterialName = restock-high-grip
|
||||
PHYSICMATERIALCOLORS
|
||||
{
|
||||
MATERIALCOLOR
|
||||
{
|
||||
name = restock-low-grip
|
||||
color = 1,1,1
|
||||
}
|
||||
MATERIALCOLOR
|
||||
{
|
||||
name = restock-medium-grip
|
||||
color = 1,1,1
|
||||
}
|
||||
MATERIALCOLOR
|
||||
{
|
||||
name = restock-high-grip
|
||||
color = 1,1,1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,86 @@
|
||||
// ReStock+ 0.2.0
|
||||
// Large Rigid Legs
|
||||
PART
|
||||
{
|
||||
name = restock-leg-3-rigid
|
||||
module = Part
|
||||
author = Andrew Cassidy
|
||||
|
||||
MODEL
|
||||
{
|
||||
model = ReStock/Assets/Ground/restock-leg-3-rigid
|
||||
}
|
||||
rescaleFactor = 1.0
|
||||
|
||||
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
|
||||
attachRules = 1,1,0,0,0
|
||||
node_attach = 0.0, 0.38619, -0.193188, 0.0, 0.0, 1.0
|
||||
node_stack_bottom = 0.0, 0.38619, -0.2486, 0.0, 0.0, -1.0, 1
|
||||
|
||||
TechRequired = advLanding
|
||||
entryCost = 4100
|
||||
cost = 340
|
||||
mass = 0.1
|
||||
category = Ground
|
||||
subcategory = 0
|
||||
|
||||
title = #LOC_RestockRigidLegs_restock-leg-3-rigid_title // LTR-2 Landing Strut
|
||||
manufacturer = #autoLOC_501651 //#autoLOC_501651 = Moving Parts Experts Group
|
||||
description = #LOC_RestockRigidLegs_restock-leg-3-rigid_description
|
||||
// While it appears similar to the LT-2 landing strut, this is actually a re-purposed outrigger from a mobile crane our engineers found next door. It was probably not needed.
|
||||
|
||||
|
||||
dragModelType = default
|
||||
maximum_drag = 0.2
|
||||
minimum_drag = 0.2
|
||||
angularDrag = 2
|
||||
crashTolerance = 30
|
||||
maxTemp = 2000
|
||||
bulkheadProfiles = srf
|
||||
tags = #autoLOC_500875 //#autoLOC_500875 = ground land leg support
|
||||
|
||||
MODULE
|
||||
{
|
||||
name = ModuleAnimateGeneric
|
||||
animationName = restock-leg-3-deploy-rigid
|
||||
actionGUIName = #LOC_RestockRigidLegs_toggle // Toggle Leg
|
||||
startEventGUIName = #LOC_RestockRigidLegs_extend // Extend
|
||||
endEventGUIName = #LOC_RestockRigidLegs_retract // Retract
|
||||
allowAnimationWhileShielded = False
|
||||
allowDeployLimit = true
|
||||
defaultActionGroup = Gear
|
||||
}
|
||||
|
||||
MODULE
|
||||
{
|
||||
name = ModulePhysicMaterial
|
||||
activePhysicMaterialName = restock-extreme-grip
|
||||
PhysicMaterialName = restock-low-grip
|
||||
PhysicMaterialName = restock-medium-grip
|
||||
PhysicMaterialName = restock-high-grip
|
||||
PhysicMaterialName = restock-extreme-grip
|
||||
PHYSICMATERIALCOLORS
|
||||
{
|
||||
MATERIALCOLOR
|
||||
{
|
||||
name = restock-low-grip
|
||||
color = 1,1,1
|
||||
}
|
||||
MATERIALCOLOR
|
||||
{
|
||||
name = restock-medium-grip
|
||||
color = 1,1,1
|
||||
}
|
||||
MATERIALCOLOR
|
||||
{
|
||||
name = restock-high-grip
|
||||
color = 1,1,1
|
||||
}
|
||||
MATERIALCOLOR
|
||||
{
|
||||
name = restock-extreme-grip
|
||||
color = 1,1,1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
PHYSICMATERIAL_DEFINITION
|
||||
{
|
||||
name = restock-low-grip
|
||||
displayName = #LOC_RestockRigidLegs_restock-low-grip // Low Grip
|
||||
dynamicFriction = 0.4
|
||||
staticFriction = 0.5
|
||||
bounciness = 0
|
||||
frictionCombine = Maximum
|
||||
bounceCombine = Average
|
||||
}
|
||||
|
||||
PHYSICMATERIAL_DEFINITION
|
||||
{
|
||||
name = restock-medium-grip
|
||||
displayName = #LOC_RestockRigidLegs_restock-medium-grip // Medium Grip
|
||||
dynamicFriction = 0.5
|
||||
staticFriction = 0.6
|
||||
bounciness = 0
|
||||
frictionCombine = Maximum
|
||||
bounceCombine = Average
|
||||
}
|
||||
|
||||
PHYSICMATERIAL_DEFINITION
|
||||
{
|
||||
name = restock-high-grip
|
||||
displayName = #LOC_RestockRigidLegs_restock-high-grip // High Grip
|
||||
dynamicFriction = 0.7
|
||||
staticFriction = 0.8
|
||||
bounciness = 0
|
||||
frictionCombine = Maximum
|
||||
bounceCombine = Average
|
||||
}
|
||||
|
||||
PHYSICMATERIAL_DEFINITION
|
||||
{
|
||||
name = restock-extreme-grip
|
||||
displayName = #LOC_RestockRigidLegs_restock-extreme-grip // Extreme Grip
|
||||
dynamicFriction = 0.9
|
||||
staticFriction = 1.1
|
||||
bounciness = 0
|
||||
frictionCombine = Maximum
|
||||
bounceCombine = Average
|
||||
}
|
Loading…
Reference in New Issue
Block a user