Compare commits

...

3 Commits

Author SHA1 Message Date
Chris
97b3101ed2 "New" twin boar 2021-01-14 07:18:19 -08:00
Chris
79ed44752f Merge branch 'master' of https://github.com/PorktoberRevolution/ReStocked 2021-01-14 07:04:37 -08:00
Chris
8eaebb1fb6 Fix light issues 2021-01-14 06:53:08 -08:00
9 changed files with 253 additions and 4 deletions

View File

@ -32,7 +32,6 @@
pitchAxisName = X
pitchMin = 0
pitchMax = 180
pitchAngle = 180
}
MODULE
{
@ -91,6 +90,7 @@
canPitch = true
pitchAxisName = X
pitchMin = 0
pitchMin = 0
pitchMax = 180
}
MODULE

View File

@ -1866,3 +1866,249 @@
useMultipleDragCubes = false
}
}
// LFB KR-1x2 "Twin-Boar" Liquid Fuel Engine
@PART[Size2LFB_v2]:HAS[~RestockIgnore[*]]:FOR[000_ReStock]
{
@author = Chris Adderley (Nertea)
!mesh = DELETE
!MODEL {}
MODEL
{
model = ReStock/Assets/Engine/restock-engine-twinboar-2
}
MODEL
{
model = ReStock/Assets/FuelTank/restock-endcap-fueltank-25-orange
position = 0.0, 4.356, 0.0
scale = 1,1,1
rotation = 0, 0, 0
}
!EFFECTS {}
EFFECTS
{
engage
{
AUDIO
{
channel = Ship
clip = sound_vent_soft
volume = 1.0
pitch = 2.0
loop = false
}
}
flameout
{
PREFAB_PARTICLE
{
prefabName = fx_exhaustSparks_flameout_2
transformName = smokePoint
oneShot = true
}
AUDIO
{
channel = Ship
clip = sound_explosion_low
volume = 1.0
pitch = 2.0
loop = false
}
}
fx-twinboar-running
{
AUDIO
{
channel = Ship
clip = sound_rocket_spurts
volume = 0.0 0.0
volume = 0.01 0.4
volume = 1.0 1.0
pitch = 0.0 0.2
pitch = 0.01 0.6
pitch = 1.0 1.8
loop = true
}
MODEL_MULTI_PARTICLE
{
name = core
modelName = ReStock/FX/restock-fx-boar-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.35
speed = 1.0 1.0
}
MODEL_MULTI_PARTICLE
{
name = plume
modelName = ReStock/FX/restock-fx-boar-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.35
speed = 1.0 1.0
}
MODEL_MULTI_PARTICLE
{
name = turbo
modelName = ReStock/FX/restock-fx-boar-turbo-1
transformName = fxTransformTurbo
emission = 0.0 0.0
emission = 0.01 0.1
emission = 0.075 0.25
emission = 1.0 1.0
speed = 0.0 0.35
speed = 1.0 1.0
}
PREFAB_PARTICLE
{
prefabName = fx_smokeTrail_veryLarge
transformName = smokePoint
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
localOffset = 0, 0, 1
}
}
}
@MODULE[ModuleGimbal]
{
@gimbalTransformName = B_Gimbal
gimbalResponseSpeed = 8
useGimbalResponseSpeed = true
}
@MODULE[ModuleEnginesFX]
{
@runningEffectName = fx-twinboar-running
}
MODULE
{
name = FXModuleLookAtConstraint
// Basic
CONSTRAINLOOKFX
{
targetName = CylTop005
rotatorsName = CylBot005
}
CONSTRAINLOOKFX
{
targetName = CylTop006
rotatorsName = CylBot006
}
CONSTRAINLOOKFX
{
targetName = CylTop007
rotatorsName = CylBot007
}
CONSTRAINLOOKFX
{
targetName = CylTop008
rotatorsName = CylBot008
}
CONSTRAINLOOKFX
{
targetName = CylBot005
rotatorsName =CylTop005
}
CONSTRAINLOOKFX
{
targetName = CylBot006
rotatorsName = CylTop006
}
CONSTRAINLOOKFX
{
targetName = CylBot007
rotatorsName = CylTop007
}
CONSTRAINLOOKFX
{
targetName = CylBot008
rotatorsName = CylTop008
}
}
!MODULE[FXModuleAnimateThrottle] {}
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
excludedRenderer = 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
includedRenderer = 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
}
}
}

View File

@ -61,6 +61,7 @@ Squad/Parts/Engine/OMSEngine/
Squad/Parts/Engine/rapierEngine/
Squad/Parts/Engine/Size1_SRBs/
Squad/Parts/Engine/Size2LFB/
Squad/Parts/Engine/Size2LFB_v2/
Squad/Parts/Engine/Size3AdvancedEngine/
Squad/Parts/Engine/Size3EngineCluster/
Squad/Parts/Engine/solidBoosterBACC/

View File

@ -20,6 +20,7 @@ v1.3.0
- Added RCS nozzle glows to improve RCS effects
- Updated Russian localization (Fedor-St)
- Updated Japanese localization (Chemical-Factory)
- Updated twin boar replacement to target "new" Squad model
v1.2.1
------

View File

@ -17,7 +17,7 @@ PART
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
node_attach = 0.00, -0.0, -0.00, 1.0, 0.0, 0.0
// --- editor parameters ---
TechRequired = advFlightControl
entryCost = 200

View File

@ -20,9 +20,10 @@ PART
node_attach = 0.008, -0.0, -0.00, 1.0, 0.0, 0.0
// --- editor parameters ---
TechRequired = advFlightControl
entryCost = 125
entryCost = 0
category = none
TechHidden = True
cost = 4
category = Control
title = #LOC_RestockPlus_restock-rcs-single-mini-1_title
manufacturer = #autoLOC_501631
description = #LOC_RestockPlus_restock-rcs-single-mini-1_description