mirror of
https://github.com/PorktoberRevolution/ReStocked
synced 2024-09-01 17:34:42 +00:00
Add RCS fixes
This commit is contained in:
@ -114,6 +114,19 @@ Localization
|
||||
#LOC_RestockPlus_restock-reactionwheel-1875-1_tags = restock cmg command control fly gyro moment react stab steer torque magic_spinny_thing
|
||||
|
||||
// RCS
|
||||
|
||||
#LOC_RestockPlus_restock-rcs-block-multi-2_title = RV-105-A RCS Thruster Block
|
||||
#LOC_RestockPlus_restock-rcs-block-multi-2_description = An angled variant of the RV-105 RCS block, available in multiple configurations.
|
||||
#LOC_RestockPlus_restock-rcs-block-multi-2_tags = restock cluster control dock maneuver manoeuvre react rendezvous rotate stab steer translate five quint four quad triple three dual two rcs
|
||||
#LOC_RestockPlus_restock-rcs-block-multi-mini-2_title = RV-1X-A RCS Thruster Block
|
||||
#LOC_RestockPlus_restock-rcs-block-multi-mini-2_description = An angled variant of the RV-1X RCS block, available in multiple configurations.
|
||||
#LOC_RestockPlus_restock-rcs-block-multi-mini-2_tags = restock cluster control dock maneuver manoeuvre react rendezvous rotate stab steer translate five quint four quad triple three dual two rcs
|
||||
|
||||
#LOC_RestockPlus_rcs_variant_5x = 5-horn
|
||||
#LOC_RestockPlus_rcs_variant_4x = 4-horn
|
||||
#LOC_RestockPlus_rcs_variant_3x = 3-horn
|
||||
#LOC_RestockPlus_rcs_variant_2x = 2-horn
|
||||
|
||||
#LOC_RestockPlus_restock-rcs-block-dual-1_title = RV-102 RCS Thruster Block
|
||||
#LOC_RestockPlus_restock-rcs-block-dual-1_description = A spin on a classic, this model removes two of the 105's engines for fewer confusing directions of thrust.
|
||||
#LOC_RestockPlus_restock-rcs-block-dual-1_tags = restock cluster control dock maneuver manoeuvre react rendezvous rotate stab steer translate two pair dual rcs
|
||||
|
@ -20,9 +20,10 @@ PART
|
||||
node_attach = 0.045212, -0.0, -0.00, 1.0, 0.0, 0.0
|
||||
// --- editor parameters ---
|
||||
TechRequired = advFlightControl
|
||||
entryCost = 600
|
||||
cost = 30
|
||||
category = Control
|
||||
entryCost = 0
|
||||
category = none
|
||||
TechHidden = True
|
||||
title = #LOC_RestockPlus_restock-rcs-block-dual-1_title
|
||||
manufacturer = #autoLOC_501631
|
||||
description = #LOC_RestockPlus_restock-rcs-block-dual-1_description
|
||||
|
@ -20,9 +20,11 @@ PART
|
||||
node_attach = 0.008, -0.0, -0.00, 1.0, 0.0, 0.0
|
||||
// --- editor parameters ---
|
||||
TechRequired = advFlightControl
|
||||
entryCost = 200
|
||||
entryCost = 0
|
||||
category = none
|
||||
TechHidden = True
|
||||
cost = 8
|
||||
category = Control
|
||||
|
||||
title = #LOC_RestockPlus_restock-rcs-block-dual-mini-1_title
|
||||
manufacturer = #autoLOC_501631
|
||||
description = #LOC_RestockPlus_restock-rcs-block-dual-mini-1_description
|
||||
|
@ -0,0 +1,196 @@
|
||||
// ReStock+ 0.1.0
|
||||
// RCS block with 5 way nozzles
|
||||
PART
|
||||
{
|
||||
// --- general parameters ---
|
||||
name = restock-rcs-block-multi-2
|
||||
module = Part
|
||||
author = Chris Adderley (Nertea)
|
||||
// --- asset parameters ---
|
||||
MODEL
|
||||
{
|
||||
model = ReStock/Assets/Control/restock-rcs-block-multi-2
|
||||
position = 0.0, 0.0, 0.0
|
||||
scale = 1,1,1
|
||||
rotation = 0, 0, 0
|
||||
}
|
||||
scale = 1
|
||||
// --- node definitions ---
|
||||
// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z
|
||||
node_attach = 0.045212, -0.0, -0.00, 1.0, 0.0, 0.0
|
||||
// --- editor parameters ---
|
||||
TechRequired = advFlightControl
|
||||
entryCost = 1500
|
||||
cost = 52
|
||||
category = Control
|
||||
title = #LOC_RestockPlus_restock-rcs-block-multi-2_title
|
||||
manufacturer = #autoLOC_501631
|
||||
description = #LOC_RestockPlus_restock-rcs-block-multi-2_description
|
||||
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
|
||||
attachRules = 0,1,0,0,0
|
||||
// --- standard part parameters ---
|
||||
mass = 0.04
|
||||
dragModelType = default
|
||||
maximum_drag = 0.001
|
||||
minimum_drag = 0.001
|
||||
angularDrag = 2
|
||||
crashTolerance = 15
|
||||
maxTemp = 1500
|
||||
// --- rcs module parameters ---
|
||||
bulkheadProfiles = srf
|
||||
tags = #LOC_RestockPlus_restock-rcs-block-multi-2_tags
|
||||
EFFECTS
|
||||
{
|
||||
running
|
||||
{
|
||||
AUDIO_MULTI_POOL
|
||||
{
|
||||
channel = Ship
|
||||
transformName = RCSjet
|
||||
clip = sound_rocket_mini
|
||||
volume = 0.0 0.0
|
||||
volume = 0.1 0.0
|
||||
volume = 0.5 0.025
|
||||
volume = 1.0 0.1
|
||||
pitch = 1.0
|
||||
loop = true
|
||||
}
|
||||
MODEL_MULTI_PARTICLE
|
||||
{
|
||||
name = FX1
|
||||
modelName = ReStock/FX/restock-fx-rcs-1
|
||||
transformName = RCSjet
|
||||
emission = 0.0 0.0
|
||||
emission = 0.1 0.0
|
||||
emission = 1.0 1.0
|
||||
speed = 0.0 0.8
|
||||
speed = 1.0 1.0
|
||||
}
|
||||
MODEL_MULTI_PARTICLE
|
||||
{
|
||||
name = fx2
|
||||
modelName = ReStock/FX/restock-fx-rcs-1
|
||||
transformName = RCSjet
|
||||
emission = 0.0 0.0
|
||||
emission = 0.2 0.0
|
||||
emission = 1.0 1.0
|
||||
speed = 0.0 1.0
|
||||
speed = 1.0 1.0
|
||||
localRotation = 0, 0, 0
|
||||
localOffset = 0, 0.1, 0
|
||||
}
|
||||
}
|
||||
}
|
||||
MODULE
|
||||
{
|
||||
name = ModuleRCSFX
|
||||
thrusterTransformName = RCSthruster
|
||||
thrusterPower = 1
|
||||
stagingEnabled = False
|
||||
resourceFlowMode = STAGE_PRIORITY_FLOW
|
||||
resourceName = MonoPropellant
|
||||
runningEffectName = running
|
||||
atmosphereCurve
|
||||
{
|
||||
key = 0 240
|
||||
key = 1 100
|
||||
}
|
||||
}
|
||||
MODULE
|
||||
{
|
||||
name = ModuleRestockDepthMask
|
||||
maskTransform = RCSMask
|
||||
}
|
||||
MODULE
|
||||
{
|
||||
name = ModulePartVariants
|
||||
baseVariant = 4Horn
|
||||
VARIANT
|
||||
{
|
||||
name = 5Horn
|
||||
displayName = #LOC_RestockPlus_rcs_variant_5x
|
||||
themeName = White
|
||||
primaryColor = #ffffff
|
||||
mass = 0.01
|
||||
cost = 7
|
||||
GAMEOBJECTS
|
||||
{
|
||||
B_RCS2x = false
|
||||
B_RCS3x = false
|
||||
B_RCS4x = false
|
||||
B_RCS5x = true
|
||||
}
|
||||
}
|
||||
VARIANT
|
||||
{
|
||||
name = 4Horn
|
||||
displayName = #LOC_RestockPlus_rcs_variant_4x
|
||||
themeName = White
|
||||
primaryColor = #ffffff
|
||||
mass = 0
|
||||
cost = 0
|
||||
GAMEOBJECTS
|
||||
{
|
||||
B_RCS2x = false
|
||||
B_RCS3x = false
|
||||
B_RCS4x = true
|
||||
B_RCS5x = false
|
||||
}
|
||||
}
|
||||
VARIANT
|
||||
{
|
||||
name = 3Horn
|
||||
displayName = #LOC_RestockPlus_rcs_variant_3x
|
||||
themeName = White
|
||||
primaryColor = #ffffff
|
||||
mass = -0.01
|
||||
cost = -8
|
||||
GAMEOBJECTS
|
||||
{
|
||||
B_RCS2x = false
|
||||
B_RCS3x = true
|
||||
B_RCS4x = false
|
||||
B_RCS5x = false
|
||||
}
|
||||
}
|
||||
VARIANT
|
||||
{
|
||||
name = 2Horn
|
||||
displayName = #LOC_RestockPlus_rcs_variant_2x
|
||||
themeName = White
|
||||
primaryColor = #ffffff
|
||||
mass = -0.02
|
||||
cost = -15
|
||||
GAMEOBJECTS
|
||||
{
|
||||
B_RCS2x = true
|
||||
B_RCS3x = false
|
||||
B_RCS4x = false
|
||||
B_RCS5x = false
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
MODULE
|
||||
{
|
||||
name = ModuleRestockRCSGlow
|
||||
shaderColorParameter = _TintColor
|
||||
alphaCurve
|
||||
{
|
||||
key = 0 0
|
||||
key = 1 1
|
||||
}
|
||||
redCurve
|
||||
{
|
||||
key = 0 1
|
||||
}
|
||||
greenCurve
|
||||
{
|
||||
key = 0 1
|
||||
}
|
||||
blueCurve
|
||||
{
|
||||
key = 0 1
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,177 @@
|
||||
// ReStock+ 0.1.0
|
||||
// Mini RCS block with 5 way nozzles
|
||||
PART
|
||||
{
|
||||
// --- general parameters ---
|
||||
name = restock-rcs-block-multi-mini-2
|
||||
module = Part
|
||||
author = Chris Adderley (Nertea)
|
||||
// --- asset parameters ---
|
||||
MODEL
|
||||
{
|
||||
model = ReStock/Assets/Control/restock-rcs-block-multi-mini-2
|
||||
position = 0.0, 0.0, 0.0
|
||||
scale = 1,1,1
|
||||
rotation = 0, 0, 0
|
||||
}
|
||||
scale = 1
|
||||
// --- node definitions ---
|
||||
// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z
|
||||
node_attach = 0.045212, -0.0, -0.00, 1.0, 0.0, 0.0
|
||||
// --- editor parameters ---
|
||||
TechRequired = advFlightControl
|
||||
entryCost = 200
|
||||
cost = 30
|
||||
category = Control
|
||||
title = #LOC_RestockPlus_restock-rcs-block-multi-mini-2_title
|
||||
manufacturer = #autoLOC_501631
|
||||
description = #LOC_RestockPlus_restock-rcs-block-multi-mini-2_description
|
||||
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
|
||||
attachRules = 0,1,0,0,0
|
||||
// --- standard part parameters ---
|
||||
mass = 0.005
|
||||
dragModelType = default
|
||||
maximum_drag = 0.001
|
||||
minimum_drag = 0.001
|
||||
angularDrag = 2
|
||||
crashTolerance = 15
|
||||
maxTemp = 1500
|
||||
// --- rcs module parameters ---
|
||||
bulkheadProfiles = srf
|
||||
tags = #LOC_RestockPlus_restock-rcs-block-multi-mini-2_tags
|
||||
EFFECTS
|
||||
{
|
||||
running
|
||||
{
|
||||
AUDIO_MULTI_POOL
|
||||
{
|
||||
channel = Ship
|
||||
transformName = RCSjet
|
||||
clip = sound_rocket_mini
|
||||
volume = 0.0 0.0
|
||||
volume = 0.1 0.0
|
||||
volume = 0.5 0.025
|
||||
volume = 1.0 0.1
|
||||
pitch = 1.0
|
||||
loop = true
|
||||
}
|
||||
MODEL_MULTI_PARTICLE
|
||||
{
|
||||
name = FX1
|
||||
modelName = ReStock/FX/restock-fx-rcs-mini-1
|
||||
transformName = RCSjet
|
||||
emission = 0.0 0.0
|
||||
emission = 0.1 0.0
|
||||
emission = 1.0 1.0
|
||||
speed = 0.0 0.8
|
||||
speed = 1.0 1.0
|
||||
}
|
||||
MODEL_MULTI_PARTICLE
|
||||
{
|
||||
name = fx2
|
||||
modelName = ReStock/FX/restock-fx-rcs-mini-1
|
||||
transformName = RCSjet
|
||||
emission = 0.0 0.0
|
||||
emission = 0.2 0.0
|
||||
emission = 1.0 1.0
|
||||
speed = 0.0 1.0
|
||||
speed = 1.0 1.0
|
||||
localRotation = 0, 0, 0
|
||||
localOffset = 0, 0.01, 0
|
||||
}
|
||||
}
|
||||
}
|
||||
MODULE
|
||||
{
|
||||
name = ModuleRCSFX
|
||||
thrusterTransformName = RCSthruster
|
||||
thrusterPower = 1
|
||||
stagingEnabled = False
|
||||
resourceFlowMode = STAGE_PRIORITY_FLOW
|
||||
resourceName = MonoPropellant
|
||||
runningEffectName = running
|
||||
atmosphereCurve
|
||||
{
|
||||
key = 0 240
|
||||
key = 1 100
|
||||
}
|
||||
}
|
||||
MODULE
|
||||
{
|
||||
name = ModuleRestockDepthMask
|
||||
maskTransform = RCSMask
|
||||
}
|
||||
MODULE
|
||||
{
|
||||
name = ModulePartVariants
|
||||
baseVariant = 4Horn
|
||||
VARIANT
|
||||
{
|
||||
name = 4Horn
|
||||
displayName = #LOC_RestockPlus_rcs_variant_4x
|
||||
themeName = White
|
||||
primaryColor = #ffffff
|
||||
mass = 0
|
||||
cost = 0
|
||||
GAMEOBJECTS
|
||||
{
|
||||
B_RCS2x = false
|
||||
B_RCS3x = false
|
||||
B_RCS4x = true
|
||||
}
|
||||
}
|
||||
VARIANT
|
||||
{
|
||||
name = 3Horn
|
||||
displayName = #LOC_RestockPlus_rcs_variant_3x
|
||||
themeName = White
|
||||
primaryColor = #ffffff
|
||||
mass = -0.00125
|
||||
cost = -5
|
||||
GAMEOBJECTS
|
||||
{
|
||||
B_RCS2x = false
|
||||
B_RCS3x = true
|
||||
B_RCS4x = false
|
||||
}
|
||||
}
|
||||
VARIANT
|
||||
{
|
||||
name = 2Horn
|
||||
displayName = #LOC_RestockPlus_rcs_variant_2x
|
||||
themeName = White
|
||||
primaryColor = #ffffff
|
||||
mass = -0.0025
|
||||
cost = -10
|
||||
GAMEOBJECTS
|
||||
{
|
||||
B_RCS2x = true
|
||||
B_RCS3x = false
|
||||
B_RCS4x = false
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
MODULE
|
||||
{
|
||||
name = ModuleRestockRCSGlow
|
||||
shaderColorParameter = _TintColor
|
||||
alphaCurve
|
||||
{
|
||||
key = 0 0
|
||||
key = 1 1
|
||||
}
|
||||
redCurve
|
||||
{
|
||||
key = 0 1
|
||||
}
|
||||
greenCurve
|
||||
{
|
||||
key = 0 1
|
||||
}
|
||||
blueCurve
|
||||
{
|
||||
key = 0 1
|
||||
}
|
||||
}
|
||||
}
|
@ -20,9 +20,11 @@ PART
|
||||
node_attach = 0.045212, -0.0, -0.00, 1.0, 0.0, 0.0
|
||||
// --- editor parameters ---
|
||||
TechRequired = advFlightControl
|
||||
entryCost = 1300
|
||||
|
||||
cost = 45
|
||||
category = Control
|
||||
entryCost = 0
|
||||
category = none
|
||||
TechHidden = True
|
||||
title = #LOC_RestockPlus_restock-rcs-block-quad-angled-1_title
|
||||
manufacturer = #autoLOC_501631
|
||||
description = #LOC_RestockPlus_restock-rcs-block-quad-angled-1_description
|
||||
|
@ -20,9 +20,11 @@ PART
|
||||
node_attach = 0.008, -0.0, -0.00, 1.0, 0.0, 0.0
|
||||
// --- editor parameters ---
|
||||
TechRequired = advFlightControl
|
||||
entryCost = 400
|
||||
|
||||
cost = 16
|
||||
category = Control
|
||||
entryCost = 0
|
||||
category = none
|
||||
TechHidden = True
|
||||
title = #LOC_RestockPlus_restock-rcs-block-quad-angled-mini-1_title
|
||||
manufacturer = #autoLOC_501631
|
||||
description = #LOC_RestockPlus_restock-rcs-block-quad-angled-mini-1_description
|
||||
|
@ -20,9 +20,11 @@ PART
|
||||
node_attach = 0.008, -0.0, -0.00, 1.0, 0.0, 0.0
|
||||
// --- editor parameters ---
|
||||
TechRequired = advFlightControl
|
||||
entryCost = 400
|
||||
|
||||
cost = 16
|
||||
category = Control
|
||||
entryCost = 0
|
||||
category = none
|
||||
TechHidden = True
|
||||
title = #LOC_RestockPlus_restock-rcs-block-quad-mini-1_title
|
||||
manufacturer = #autoLOC_501631
|
||||
description = #LOC_RestockPlus_restock-rcs-block-quad-mini-1_description
|
||||
|
@ -20,9 +20,11 @@ PART
|
||||
node_attach = 0.045212, -0.0, -0.00, 1.0, 0.0, 0.0
|
||||
// --- editor parameters ---
|
||||
TechRequired = advFlightControl
|
||||
entryCost = 1500
|
||||
|
||||
cost = 60
|
||||
category = Control
|
||||
entryCost = 0
|
||||
category = none
|
||||
TechHidden = True
|
||||
title = #LOC_RestockPlus_restock-rcs-block-quint-1_title
|
||||
manufacturer = #autoLOC_501631
|
||||
description = #LOC_RestockPlus_restock-rcs-block-quint-1_description
|
||||
|
@ -20,9 +20,11 @@ PART
|
||||
node_attach = 0.008, -0.0, -0.00, 1.0, 0.0, 0.0
|
||||
// --- editor parameters ---
|
||||
TechRequired = advFlightControl
|
||||
entryCost = 450
|
||||
|
||||
cost = 20
|
||||
category = Control
|
||||
entryCost = 0
|
||||
category = none
|
||||
TechHidden = True
|
||||
title = #LOC_RestockPlus_restock-rcs-block-quint-mini-1_title
|
||||
manufacturer = #autoLOC_501631
|
||||
description = #LOC_RestockPlus_restock-rcs-block-quint-mini-1_description
|
||||
|
@ -20,9 +20,11 @@ PART
|
||||
node_attach = 0.045212, -0.0, -0.00, 1.0, 0.0, 0.0
|
||||
// --- editor parameters ---
|
||||
TechRequired = advFlightControl
|
||||
entryCost = 900
|
||||
|
||||
cost = 35
|
||||
category = Control
|
||||
entryCost = 0
|
||||
category = none
|
||||
TechHidden = True
|
||||
title = #LOC_RestockPlus_restock-rcs-block-triple-angled-1_title
|
||||
manufacturer = #autoLOC_501631
|
||||
description = #LOC_RestockPlus_restock-rcs-block-triple-angled-1_description
|
||||
|
@ -20,9 +20,11 @@ PART
|
||||
node_attach = 0.008, -0.0, -0.00, 1.0, 0.0, 0.0
|
||||
// --- editor parameters ---
|
||||
TechRequired = advFlightControl
|
||||
entryCost = 350
|
||||
entryCost = 0
|
||||
category = none
|
||||
TechHidden = True
|
||||
cost = 12
|
||||
category = Control
|
||||
|
||||
title = #LOC_RestockPlus_restock-rcs-block-triple-angled-mini-1_title
|
||||
manufacturer = #autoLOC_501631
|
||||
description = #LOC_RestockPlus_restock-rcs-block-triple-angled-mini-1_description
|
||||
|
Reference in New Issue
Block a user