mirror of
https://github.com/PorktoberRevolution/ReStocked
synced 2024-09-01 17:34:42 +00:00
Add RCS fixes
This commit is contained in:
@ -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
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user