mirror of
https://github.com/PorktoberRevolution/ReStocked
synced 2024-09-01 17:34:42 +00:00
Compare commits
2 Commits
7ba706ea2e
...
30b57731f8
Author | SHA1 | Date | |
---|---|---|---|
|
30b57731f8 | ||
|
b8f6333d4a |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -42,6 +42,8 @@ Localization
|
||||
#LOC_Restock_variant-engine_boattail_size1p5_white = Boattail (1.875m, White)
|
||||
#LOC_Restock_variant-engine_boattail_size1_grey-orange = Boattail (1.25m, Orange/Grey)
|
||||
#LOC_Restock_variant-engine_boattail_size1p5_grey-orange = Boattail (1.875m, Orange/Grey)
|
||||
#LOC_Restock_variant-engine_tankbutt = Tankbutt
|
||||
#LOC_Restock_variant-engine_tankbutt_white = Tankbutt (White)
|
||||
#LOC_Restock_variant-engine_tankbutt_size2_white = Tankbutt (2.5m, White)
|
||||
#LOC_Restock_variant-engine_tankbutt_size2_grey-orange = Tankbutt (2.5m, Orange/Grey)
|
||||
#LOC_Restock_variant-engine_singlebell_compact = Single Compact
|
||||
|
@ -3,6 +3,7 @@
|
||||
// - RK-7 "Kodiak" Liquid Fueled Engine (LiquidEngineRK-7)
|
||||
// - RE-J10 "Wolfhound" Liquid Fuel Engine AJ10 (LiquidEngineRE-J10)
|
||||
// - LV-T91 "Cheetah" Liquid Fuel Engine (LiquidEngineLV-T91)
|
||||
// - LV-TX87 "Bobcat" Liquid Fuel Engine (LiquidEngineLV-TX87)
|
||||
|
||||
// RK-7 "Kodiak" Liquid Fueled Engine
|
||||
@PART[LiquidEngineRK-7]:HAS[~RestockIgnore[*]]:FOR[000_ReStock]
|
||||
@ -1711,3 +1712,539 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// LV-TX87 "Bobcat" Liquid Fuel Engine
|
||||
@PART[LiquidEngineLV-TX87]:HAS[~RestockIgnore[*]]:FOR[000_ReStock]
|
||||
{
|
||||
@author = Kavaeric
|
||||
!mesh = DELETE
|
||||
!MODEL,* {}
|
||||
MODEL
|
||||
{
|
||||
model = ReStock/Assets/Engine/restock-engine-bobcat-1
|
||||
}
|
||||
!fx_exhaustFlame_blue_medium = DELETE
|
||||
!fx_exhaustLight_blue = DELETE
|
||||
!fx_smokeTrail_light = DELETE
|
||||
!fx_exhaustSparks_flameout = DELETE
|
||||
!sound_vent_medium = DELETE
|
||||
!sound_rocket_hard = DELETE
|
||||
!sound_vent_soft = DELETE
|
||||
!sound_explosion_low = DELETE
|
||||
!MODULE[ModulePartVariants] {}
|
||||
EFFECTS
|
||||
{
|
||||
engage
|
||||
{
|
||||
AUDIO
|
||||
{
|
||||
channel = Ship
|
||||
clip = sound_vent_medium
|
||||
volume = 1.0
|
||||
pitch = 2.0
|
||||
loop = false
|
||||
}
|
||||
}
|
||||
flameout
|
||||
{
|
||||
AUDIO
|
||||
{
|
||||
channel = Ship
|
||||
clip = sound_explosion_low
|
||||
volume = 1.0
|
||||
pitch = 2.0
|
||||
loop = false
|
||||
}
|
||||
}
|
||||
fx-bobcat-running
|
||||
{
|
||||
AUDIO
|
||||
{
|
||||
channel = Ship
|
||||
clip = sound_rocket_hard
|
||||
volume = 0.0 0.0
|
||||
volume = 0.01 0.2
|
||||
volume = 1.0 0.8
|
||||
pitch = 0.0 0.1
|
||||
pitch = 0.01 0.2
|
||||
pitch = 1.0 0.5
|
||||
loop = true
|
||||
}
|
||||
MODEL_MULTI_PARTICLE
|
||||
{
|
||||
name = core
|
||||
modelName = ReStock/FX/restock-fx-kodiak-core-1
|
||||
transformName = fxTransformCore
|
||||
emission = 0.0 0.0
|
||||
emission = 0.01 0.1
|
||||
emission = 0.075 0.25
|
||||
emission = 1.0 1.0
|
||||
speed = 0.0 0.8
|
||||
speed = 1.0 1.0
|
||||
}
|
||||
MODEL_MULTI_PARTICLE
|
||||
{
|
||||
name = plume
|
||||
modelName = ReStock/FX/restock-fx-kodiak-plume-1
|
||||
transformName = fxTransformPlume
|
||||
emission = 0.0 0.0
|
||||
emission = 0.01 0.1
|
||||
emission = 0.075 0.25
|
||||
emission = 1.0 1.0
|
||||
speed = 0.0 0.8
|
||||
speed = 1.0 1.0
|
||||
}
|
||||
MODEL_MULTI_PARTICLE
|
||||
{
|
||||
name = exhaust
|
||||
modelName = ReStock/FX/restock-fx-mainsail-turbo-1
|
||||
transformName = exhaust_fxTransform
|
||||
emission = 0.0 0.0
|
||||
emission = 0.01 0.1
|
||||
emission = 0.075 0.25
|
||||
emission = 1.0 1.0
|
||||
speed = 0.0 0.8
|
||||
speed = 1.0 1.0
|
||||
}
|
||||
PREFAB_PARTICLE
|
||||
{
|
||||
prefabName = fx_smokeTrail_light
|
||||
transformName = fxTransformPlume
|
||||
emission = 0.0 0.0
|
||||
emission = 0.05 0.0
|
||||
emission = 0.075 0.25
|
||||
emission = 1.0 1.25
|
||||
speed = 0.0 0.25
|
||||
speed = 1.0 1.0
|
||||
}
|
||||
}
|
||||
}
|
||||
@bulkheadProfiles = size1p5, srf
|
||||
@MODULE[ModuleEngines]
|
||||
{
|
||||
@name = ModuleEnginesFX
|
||||
%runningEffectName = fx-bobcat-running
|
||||
}
|
||||
@MODULE[ModuleJettison]
|
||||
{
|
||||
@jettisonName = LFL_Bobcat_Shrouds
|
||||
}
|
||||
MODULE
|
||||
{
|
||||
name = ModulePartVariants
|
||||
baseVariant = TankButt
|
||||
VARIANT
|
||||
{
|
||||
name = TankButt
|
||||
displayName = #LOC_Restock_variant-engine_tankbutt
|
||||
primaryColor = #ffffff
|
||||
secondaryColor = #000000
|
||||
sizeGroup = GroupA
|
||||
GAMEOBJECTS
|
||||
{
|
||||
// Size 18 tank butt
|
||||
LFL_Bobcat_18_Cap = true
|
||||
LFL_Bobcat_18_Cap_Shroud = true
|
||||
LFL_Bobcat_18_CapAlt = false
|
||||
LFL_Bobcat_18_Cap_ShroudAlt = false
|
||||
// Size 18 truss/ring mount
|
||||
LFL_Bobcat_18_Mount = false
|
||||
LFL_Bobcat_18_Shroud = false
|
||||
LFL_Bobcat_18_ShroudAlt = false
|
||||
// Size 18 boattail no autoshroud
|
||||
LFL_Bobcat_18_Boattail = false
|
||||
LFL_Bobcat_18_BoattailAlt = false
|
||||
LFL_Bobcat_Compact = false
|
||||
LFL_Bobcat_CentreTruss = false // Enable for standard/truss mount, boattail, compact. Disable for tank butt/cap
|
||||
}
|
||||
NODES
|
||||
{
|
||||
node_stack_bottom = 0.0, -1.307, 0.0, 0.0, -1.0, 0.0, 2
|
||||
}
|
||||
}
|
||||
VARIANT
|
||||
{
|
||||
name = TankButtAlt
|
||||
displayName = #LOC_Restock_variant-engine_tankbutt_white
|
||||
primaryColor = #ffffff
|
||||
secondaryColor = #000000
|
||||
sizeGroup = GroupA
|
||||
GAMEOBJECTS
|
||||
{
|
||||
// Size 18 tank butt
|
||||
LFL_Bobcat_18_Cap = false
|
||||
LFL_Bobcat_18_Cap_Shroud = false
|
||||
LFL_Bobcat_18_CapAlt = true
|
||||
LFL_Bobcat_18_Cap_ShroudAlt = true
|
||||
// Size 18 truss/ring mount
|
||||
LFL_Bobcat_18_Mount = false
|
||||
LFL_Bobcat_18_Shroud = false
|
||||
LFL_Bobcat_18_ShroudAlt = false
|
||||
// Size 18 boattail no autoshroud
|
||||
LFL_Bobcat_18_Boattail = false
|
||||
LFL_Bobcat_18_BoattailAlt = false
|
||||
LFL_Bobcat_Compact = false
|
||||
LFL_Bobcat_CentreTruss = false // Enable for standard/truss mount, boattail, compact. Disable for tank butt/cap
|
||||
}
|
||||
NODES
|
||||
{
|
||||
node_stack_bottom = 0.0, -1.307, 0.0, 0.0, -1.0, 0.0, 2
|
||||
}
|
||||
}
|
||||
VARIANT
|
||||
{
|
||||
name = 18Boattail
|
||||
displayName = #LOC_Restock_variant-engine_boattail
|
||||
primaryColor = #ffffff
|
||||
secondaryColor = #000000
|
||||
sizeGroup = GroupA
|
||||
GAMEOBJECTS
|
||||
{
|
||||
// Size 18 tank butt
|
||||
LFL_Bobcat_18_Cap = false
|
||||
LFL_Bobcat_18_Cap_Shroud = false
|
||||
LFL_Bobcat_18_CapAlt = false
|
||||
LFL_Bobcat_18_Cap_ShroudAlt = false
|
||||
// Size 18 truss/ring mount
|
||||
LFL_Bobcat_18_Mount = false
|
||||
LFL_Bobcat_18_Shroud = false
|
||||
LFL_Bobcat_18_ShroudAlt = false
|
||||
// Size 18 boattail no autoshroud
|
||||
LFL_Bobcat_18_Boattail = true
|
||||
LFL_Bobcat_18_BoattailAlt = false
|
||||
LFL_Bobcat_Compact = false
|
||||
LFL_Bobcat_CentreTruss = true // Enable for standard/truss mount, boattail, compact. Disable for tank butt/cap
|
||||
}
|
||||
NODES
|
||||
{
|
||||
node_stack_bottom = 0.0, -1.307, 0.0, 0.0, -1.0, 0.0, 2
|
||||
}
|
||||
}
|
||||
VARIANT
|
||||
{
|
||||
name = 18BoattailAlt
|
||||
displayName = #LOC_Restock_variant-engine_boattail_white
|
||||
primaryColor = #ffffff
|
||||
secondaryColor = #000000
|
||||
sizeGroup = GroupA
|
||||
GAMEOBJECTS
|
||||
{
|
||||
// Size 18 tank butt
|
||||
LFL_Bobcat_18_Cap = false
|
||||
LFL_Bobcat_18_Cap_Shroud = false
|
||||
LFL_Bobcat_18_CapAlt = false
|
||||
LFL_Bobcat_18_Cap_ShroudAlt = false
|
||||
// Size 18 truss/ring mount
|
||||
LFL_Bobcat_18_Mount = false
|
||||
LFL_Bobcat_18_Shroud = false
|
||||
LFL_Bobcat_18_ShroudAlt = false
|
||||
// Size 18 boattail no autoshroud
|
||||
LFL_Bobcat_18_Boattail = false
|
||||
LFL_Bobcat_18_BoattailAlt = true
|
||||
LFL_Bobcat_Compact = false
|
||||
LFL_Bobcat_CentreTruss = true // Enable for standard/truss mount, boattail, compact. Disable for tank butt/cap
|
||||
}
|
||||
NODES
|
||||
{
|
||||
node_stack_bottom = 0.0, -1.307, 0.0, 0.0, -1.0, 0.0, 2
|
||||
}
|
||||
}
|
||||
VARIANT
|
||||
{
|
||||
name = TrussMount // Size 18 ring mount
|
||||
displayName = #LOC_Restock_variant-engine_size1p5
|
||||
primaryColor = #999999
|
||||
secondaryColor = #000000
|
||||
sizeGroup = GroupB
|
||||
GAMEOBJECTS
|
||||
{
|
||||
// Size 18 tank butt
|
||||
LFL_Bobcat_18_Cap = false
|
||||
LFL_Bobcat_18_Cap_Shroud = false
|
||||
LFL_Bobcat_18_CapAlt = false
|
||||
LFL_Bobcat_18_Cap_ShroudAlt = false
|
||||
// Size 18 truss/ring mount
|
||||
LFL_Bobcat_18_Mount = true
|
||||
LFL_Bobcat_18_Shroud = true
|
||||
LFL_Bobcat_18_ShroudAlt = false
|
||||
// Size 18 boattail no autoshroud
|
||||
LFL_Bobcat_18_Boattail = false
|
||||
LFL_Bobcat_18_BoattailAlt = false
|
||||
LFL_Bobcat_Compact = false
|
||||
LFL_Bobcat_CentreTruss = false // Enable for standard/truss mount, boattail, compact. Disable for tank butt/cap
|
||||
}
|
||||
NODES
|
||||
{
|
||||
node_stack_bottom = 0.0, -1.732, 0.0, 0.0, -1.0, 0.0, 2
|
||||
}
|
||||
}
|
||||
VARIANT
|
||||
{
|
||||
name = TrussMountAlt // Size 18 ring mount
|
||||
displayName = #LOC_Restock_variant-engine_size1p5_white
|
||||
primaryColor = #999999
|
||||
secondaryColor = #000000
|
||||
sizeGroup = GroupB
|
||||
GAMEOBJECTS
|
||||
{
|
||||
// Size 18 tank butt
|
||||
LFL_Bobcat_18_Cap = false
|
||||
LFL_Bobcat_18_Cap_Shroud = false
|
||||
LFL_Bobcat_18_CapAlt = false
|
||||
LFL_Bobcat_18_Cap_ShroudAlt = false
|
||||
// Size 18 truss/ring mount
|
||||
LFL_Bobcat_18_Mount = true
|
||||
LFL_Bobcat_18_Shroud = false
|
||||
LFL_Bobcat_18_ShroudAlt = true
|
||||
// Size 18 boattail no autoshroud
|
||||
LFL_Bobcat_18_Boattail = false
|
||||
LFL_Bobcat_18_BoattailAlt = false
|
||||
LFL_Bobcat_Compact = false
|
||||
LFL_Bobcat_CentreTruss = false // Enable for standard/truss mount, boattail, compact. Disable for tank butt/cap
|
||||
}
|
||||
NODES
|
||||
{
|
||||
node_stack_bottom = 0.0, -1.732, 0.0, 0.0, -1.0, 0.0, 2
|
||||
}
|
||||
}
|
||||
VARIANT
|
||||
{
|
||||
name = Compact
|
||||
displayName = #LOC_Restock_variant-engine_compact
|
||||
primaryColor = #999999
|
||||
secondaryColor = #000000
|
||||
GAMEOBJECTS
|
||||
{
|
||||
// Size 18 tank butt
|
||||
LFL_Bobcat_18_Cap = false
|
||||
LFL_Bobcat_18_Cap_Shroud = false
|
||||
LFL_Bobcat_18_CapAlt = false
|
||||
LFL_Bobcat_18_Cap_ShroudAlt = false
|
||||
// Size 18 truss/ring mount
|
||||
LFL_Bobcat_18_Mount = false
|
||||
LFL_Bobcat_18_Shroud = true
|
||||
LFL_Bobcat_18_ShroudAlt = false
|
||||
// Size 18 boattail no autoshroud
|
||||
LFL_Bobcat_18_Boattail = false
|
||||
LFL_Bobcat_18_BoattailAlt = false
|
||||
LFL_Bobcat_Compact = true
|
||||
LFL_Bobcat_CentreTruss = true // Enable for standard/truss mount, boattail, compact. Disable for tank butt/cap
|
||||
}
|
||||
NODES
|
||||
{
|
||||
node_stack_bottom = 0.0, -1.732, 0.0, 0.0, -1.0, 0.0, 2
|
||||
}
|
||||
}
|
||||
VARIANT
|
||||
{
|
||||
name = CompactAlt
|
||||
displayName = #LOC_Restock_variant-engine_compact_white
|
||||
primaryColor = #999999
|
||||
secondaryColor = #000000
|
||||
GAMEOBJECTS
|
||||
{
|
||||
// Size 18 tank butt
|
||||
LFL_Bobcat_18_Cap = false
|
||||
LFL_Bobcat_18_Cap_Shroud = false
|
||||
LFL_Bobcat_18_CapAlt = false
|
||||
LFL_Bobcat_18_Cap_ShroudAlt = false
|
||||
// Size 18 truss/ring mount
|
||||
LFL_Bobcat_18_Mount = false
|
||||
LFL_Bobcat_18_Shroud = false
|
||||
LFL_Bobcat_18_ShroudAlt = true
|
||||
// Size 18 boattail no autoshroud
|
||||
LFL_Bobcat_18_Boattail = false
|
||||
LFL_Bobcat_18_BoattailAlt = false
|
||||
LFL_Bobcat_Compact = true
|
||||
LFL_Bobcat_CentreTruss = true // Enable for standard/truss mount, boattail, compact. Disable for tank butt/cap
|
||||
}
|
||||
NODES
|
||||
{
|
||||
node_stack_bottom = 0.0, -1.732, 0.0, 0.0, -1.0, 0.0, 2
|
||||
}
|
||||
}
|
||||
}
|
||||
MODULE
|
||||
{
|
||||
name = FXModuleThrottleEffects
|
||||
fxModuleNames = heatColor
|
||||
responseSpeed = 1.0
|
||||
dependOnEngineState = True
|
||||
dependOnThrottle = True
|
||||
}
|
||||
MODULE
|
||||
{
|
||||
name = FXModuleThrottleEffects
|
||||
fxModuleNames = throttleColor
|
||||
responseSpeed = 1.0
|
||||
dependOnEngineState = True
|
||||
dependOnThrottle = True
|
||||
}
|
||||
MODULE
|
||||
{
|
||||
name = ModuleColorChanger
|
||||
moduleID = heatColor
|
||||
animRate = 0.025
|
||||
shaderProperty = _EmissiveColor
|
||||
excludedRenderers = EngineCore
|
||||
toggleInEditor = false
|
||||
toggleInFlight = false
|
||||
redCurve
|
||||
{
|
||||
key = 0 0 1 1
|
||||
key = 1 1 1 1
|
||||
}
|
||||
greenCurve
|
||||
{
|
||||
key = 0 0 1 1
|
||||
key = 1 1 1 1
|
||||
}
|
||||
blueCurve
|
||||
{
|
||||
key = 0 0 1 1
|
||||
key = 1 1 1 1
|
||||
}
|
||||
alphaCurve
|
||||
{
|
||||
key = 0 0 1 1
|
||||
key = 1 1 1 1
|
||||
}
|
||||
}
|
||||
MODULE
|
||||
{
|
||||
name = ModuleColorChanger
|
||||
moduleID = throttleColor
|
||||
animRate = 1
|
||||
shaderProperty = _TintColor
|
||||
includedRenderers = EngineCore
|
||||
toggleInEditor = false
|
||||
toggleInFlight = false
|
||||
redCurve
|
||||
{
|
||||
key = 0 0
|
||||
key = 1 1
|
||||
}
|
||||
greenCurve
|
||||
{
|
||||
key = 0 0
|
||||
key = 1 1
|
||||
}
|
||||
blueCurve
|
||||
{
|
||||
key = 0 0
|
||||
key = 1 1
|
||||
}
|
||||
alphaCurve
|
||||
{
|
||||
key = 0 0
|
||||
key = 1 1
|
||||
}
|
||||
}
|
||||
MODULE
|
||||
{
|
||||
name = FXModuleLookAtConstraint
|
||||
CONSTRAINLOOKFX
|
||||
{
|
||||
targetName = gimbalArm_upper1
|
||||
rotatorsName = gimbalArm_lower1
|
||||
}
|
||||
CONSTRAINLOOKFX
|
||||
{
|
||||
targetName = gimbalArm_lower1
|
||||
rotatorsName = gimbalArm_upper1
|
||||
}
|
||||
|
||||
CONSTRAINLOOKFX
|
||||
{
|
||||
targetName = gimbalArm_upper2
|
||||
rotatorsName = gimbalArm_lower2
|
||||
}
|
||||
CONSTRAINLOOKFX
|
||||
{
|
||||
targetName = gimbalArm_lower2
|
||||
rotatorsName = gimbalArm_upper2
|
||||
}
|
||||
|
||||
CONSTRAINLOOKFX
|
||||
{
|
||||
targetName = gimbalArm_upper3
|
||||
rotatorsName = gimbalArm_lower3
|
||||
}
|
||||
CONSTRAINLOOKFX
|
||||
{
|
||||
targetName = gimbalArm_lower3
|
||||
rotatorsName = gimbalArm_upper3
|
||||
}
|
||||
|
||||
CONSTRAINLOOKFX
|
||||
{
|
||||
targetName = gimbalArm_upper4
|
||||
rotatorsName = gimbalArm_lower4
|
||||
}
|
||||
CONSTRAINLOOKFX
|
||||
{
|
||||
targetName = gimbalArm_lower4
|
||||
rotatorsName = gimbalArm_upper4
|
||||
}
|
||||
|
||||
CONSTRAINLOOKFX
|
||||
{
|
||||
targetName = gimbalArm_upper5
|
||||
rotatorsName = gimbalArm_lower5
|
||||
}
|
||||
CONSTRAINLOOKFX
|
||||
{
|
||||
targetName = gimbalArm_lower5
|
||||
rotatorsName = gimbalArm_upper5
|
||||
}
|
||||
|
||||
CONSTRAINLOOKFX
|
||||
{
|
||||
targetName = gimbalArm_upper6
|
||||
rotatorsName = gimbalArm_lower6
|
||||
}
|
||||
CONSTRAINLOOKFX
|
||||
{
|
||||
targetName = gimbalArm_lower6
|
||||
rotatorsName = gimbalArm_upper6
|
||||
}
|
||||
|
||||
CONSTRAINLOOKFX
|
||||
{
|
||||
targetName = gimbalArm_upper7
|
||||
rotatorsName = gimbalArm_lower7
|
||||
}
|
||||
CONSTRAINLOOKFX
|
||||
{
|
||||
targetName = gimbalArm_lower7
|
||||
rotatorsName = gimbalArm_upper7
|
||||
}
|
||||
|
||||
CONSTRAINLOOKFX
|
||||
{
|
||||
targetName = gimbalArm_upper8
|
||||
rotatorsName = gimbalArm_lower8
|
||||
}
|
||||
CONSTRAINLOOKFX
|
||||
{
|
||||
targetName = gimbalArm_lower8
|
||||
rotatorsName = gimbalArm_upper8
|
||||
}
|
||||
}
|
||||
|
||||
// This is for the weird fork things that hold the gimballing nozzles
|
||||
MODULE
|
||||
{
|
||||
name = ModuleRestockConstraints
|
||||
LOOKATCONSTRAINT
|
||||
{
|
||||
rotatorsName = LFL_Bobcat_GimbalFork_L
|
||||
targetName = pitchTarget
|
||||
}
|
||||
LOOKATCONSTRAINT
|
||||
{
|
||||
rotatorsName = LFL_Bobcat_GimbalFork_R
|
||||
targetName = pitchTarget
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user