Beginning of some parts

pull/53/head
Chris Adderley 6 years ago
parent 8f8b5299eb
commit 0e9dd4d093

@ -3,7 +3,23 @@
// - Z-200 Rechargeable Battery Bank (batteryBankMini)
// - Z-1K Rechargeable Battery Bank (batteryBank)
// - Z-4K Rechargeable Battery Bank (batteryBankLarge)
// - Z-100 Rechargeable Battery Pack (batteryPack)
// - Z-400 Rechargeable Battery (ksp_r_largeBatteryPack)
// 0.625m battery bank
@PART[batteryBankMini]
{
@author = Chris Adderley (Nertea)
!mesh = DELETE
!MODEL,* {}
MODEL
{
model = ReStock/Assets/Electrical/restock-battery-0625-1
position = 0.0, 0.0, 0.0
scale = 1,1,1
rotation = 0, 0, 0
}
}
// 1.25m battery bank
@PART[batteryBank]
{
@ -18,3 +34,45 @@
rotation = 0, 0, 0
}
}
// 2.5m battery bank
@PART[batteryBankLarge]
{
@author = Chris Adderley (Nertea)
!mesh = DELETE
!MODEL,* {}
MODEL
{
model = ReStock/Assets/Electrical/restock-battery-25-1
position = 0.0, 0.0, 0.0
scale = 1,1,1
rotation = 0, 0, 0
}
}
// Small radial battery
@PART[batteryPack]
{
@author = Chris Adderley (Nertea)
!mesh = DELETE
!MODEL,* {}
MODEL
{
model = ReStock/Assets/Electrical/restock-battery-radial-small-1
position = 0.0, 0.0, 0.0
scale = 1,1,1
rotation = 0, 0, 0
}
}
// Large radial battery
@PART[ksp_r_largeBatteryPack]
{
@author = Chris Adderley (Nertea)
!mesh = DELETE
!MODEL,* {}
MODEL
{
model = ReStock/Assets/Electrical/restock-battery-radial-med-1
position = 0.0, 0.0, 0.0
scale = 1,1,1
rotation = 0, 0, 0
}
}

@ -0,0 +1,975 @@
// Patches applying art changes to ion engines
// Contents:
// - IX-6315 "Dawn" Electric Propulsion System (ionEngine)
// Dawn
@PART[ionEngine]
{
@author = Chris Adderley (Nertea)
!mesh = DELETE
!MODEL {}
MODEL {
model = ReStock/Assets/Engine/restock-engine-dawn-1
}
@MODULE[ModuleEnginesFX]
{
@runningEffectName = fx-ant-running
@fxOffset = 0, 0, 0
}
!MODULE[FXModuleAnimateThrottle] {}
MODULE
{
name = FXModuleThrottleEffects
fxModuleNames = throttleColor
responseSpeed = 1.0
dependOnEngineState = True
dependOnThrottle = True
}
MODULE
{
name = ModuleColorChanger
moduleID = throttleColor
animRate = 1
shaderProperty = _EmissiveColor
includedRenderer = IonEngine
toggleInEditor = false
toggleInFlight = false
redCurve
{
key = 0 1
key = 1 1
}
greenCurve
{
key = 0 1
key = 1 1
}
blueCurve
{
key = 0 1
key = 1 1
}
alphaCurve
{
key = 0 0
key = 1 1
}
}
MODULE
{
name = ModuleJettison
jettisonName = ShroudAnt
bottomNodeName = bottom
isFairing = True
jettisonedObjectMass = 0.1
jettisonForce = 5
jettisonDirection = 0 0 1
}
}
// Spider
@PART[radialEngineMini]
{
@author = Chris Adderley (Nertea)
!mesh = DELETE
!MODEL {}
MODEL {
model = ReStock/Assets/Engine/restock-engine-spider-1
}
!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 = thrustTransform
oneShot = true
}
AUDIO
{
channel = Ship
clip = sound_explosion_low
volume = 1.0
pitch = 2.0
loop = false
}
}
fx-spider-running
{
AUDIO
{
channel = Ship
clip = sound_rocket_mini
volume = 0.0 0.0
volume = 1.0 0.3
pitch = 0.0 0.75
pitch = 1.0 1.5
loop = true
}
MODEL_MULTI_PARTICLE
{
name = core
modelName = ReStock/FX/restock-fx-ant-1
transformName = 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.35
speed = 1.0 1.0
}
}
}
@MODULE[ModuleEnginesFX]
{
@runningEffectName = fx-spider-running
}
@MODULE[ModuleGimbal]
{
@gimbalTransformName = B_Gimbal
}
MODULE
{
name = FXModuleLookAtConstraint
CONSTRAINLOOKFX
{
targetName = CylTop001
rotatorsName = Cyl001
}
CONSTRAINLOOKFX
{
targetName = CylTop002
rotatorsName = Cyl002
}
CONSTRAINLOOKFX
{
targetName = Cyl001
rotatorsName = CylTop001
}
CONSTRAINLOOKFX
{
targetName = Cyl002
rotatorsName = CylTop002
}
}
!MODULE[FXModuleAnimateThrottle] {}
MODULE
{
name = FXModuleThrottleEffects
fxModuleNames = heatColor
responseSpeed = 0.005
dependOnEngineState = True
dependOnThrottle = True
}
MODULE
{
name = FXModuleThrottleEffects
fxModuleNames = throttleColor
responseSpeed = 1.0
dependOnEngineState = True
dependOnThrottle = True
}
MODULE
{
name = ModuleColorChanger
moduleID = heatColor
animRate = 0.05
shaderProperty = _EmissiveColor
excludedRenderer = EngineCore
toggleInEditor = false
toggleInFlight = false
redCurve
{
key = 0 1
key = 1 1
}
greenCurve
{
key = 0 1
key = 1 1
}
blueCurve
{
key = 0 1
key = 1 1
}
alphaCurve
{
key = 0 0
key = 1 1
}
}
MODULE
{
name = ModuleColorChanger
moduleID = throttleColor
animRate = 1
shaderProperty = _EmissiveColor
includedRenderer = EngineCore
toggleInEditor = false
toggleInFlight = false
redCurve
{
key = 0 1
key = 1 1
}
greenCurve
{
key = 0 1
key = 1 1
}
blueCurve
{
key = 0 1
key = 1 1
}
alphaCurve
{
key = 0 0
key = 1 1
}
}
}
// Spark
@PART[liquidEngineMini]
{
@author = Chris Adderley (Nertea)
!mesh = DELETE
!MODEL {}
MODEL {
model = ReStock/Assets/Engine/restock-engine-spark-1
}
%node_attach = 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 3
@attachRules = 1,1,1,0,0
!EFFECTS {}
EFFECTS
{
engage
{
AUDIO
{
channel = Ship
clip = sound_vent_medium
volume = 1.0
pitch = 2.0
loop = false
}
}
disengage
{
AUDIO
{
channel = Ship
clip = sound_vent_soft
loop = false
}
}
flameout
{
PREFAB_PARTICLE
{
prefabName = fx_exhaustSparks_flameout_2
transformName = thrustTransform
oneShot = true
}
AUDIO
{
channel = Ship
clip = sound_explosion_low
volume = 1.0
pitch = 2.0
loop = false
}
}
fx-spark-running
{
AUDIO
{
channel = Ship
clip = sound_rocket_mini
volume = 0.0 0.0
volume = 1.0 1.0
pitch = 0.0 0.75
pitch = 1.0 0.95
loop = true
}
MODEL_MULTI_PARTICLE
{
name = core
modelName = ReStock/FX/restock-fx-spark-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-spark-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-spark-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
}
}
}
MODULE
{
name = FXModuleLookAtConstraint
// Basic
CONSTRAINLOOKFX
{
targetName = CylBot001
rotatorsName = CylTop001
}
CONSTRAINLOOKFX
{
targetName = CylBot002
rotatorsName = CylTop002
}
CONSTRAINLOOKFX
{
targetName = CylTop001
rotatorsName = CylBot001
}
CONSTRAINLOOKFX
{
targetName = CylTop002
rotatorsName = CylBot002
}
CONSTRAINLOOKFX
{
targetName = CylBot003
rotatorsName = CylTop003
}
CONSTRAINLOOKFX
{
targetName = CylBot004
rotatorsName = CylTop004
}
CONSTRAINLOOKFX
{
targetName = CylTop003
rotatorsName = CylBot003
}
CONSTRAINLOOKFX
{
targetName = CylTop004
rotatorsName = CylBot004
}
CONSTRAINLOOKFX
{
targetName = CylBot005
rotatorsName = CylTop005
}
CONSTRAINLOOKFX
{
targetName = CylBot006
rotatorsName = CylTop006
}
CONSTRAINLOOKFX
{
targetName = CylTop005
rotatorsName = CylBot005
}
CONSTRAINLOOKFX
{
targetName = CylTop006
rotatorsName = CylBot006
}
}
@MODULE[ModuleGimbal]
{
@gimbalTransformName = B_Gimbal
}
MODULE
{
name = ModulePartVariants
baseVariant = Size0
VARIANT
{
name = Size0
displayName = #LOC_Restock_variant-engine_size0
primaryColor = #999999
secondaryColor = #da8544
GAMEOBJECTS
{
SparkBasic = true
CylBot001 = false
CylBot002 = false
CylBot003 = true
CylBot004 = true
CylBot005 = false
CylBot006 = false
SparkCompact = false
SparkBoattail = false
AdditionalColliders = false
}
}
VARIANT
{
name = Boattail
displayName = #LOC_Restock_variant-engine_boattail
primaryColor = #da8544
secondaryColor = #999999
GAMEOBJECTS
{
SparkBasic = false
CylBot001 = false
CylBot002 = false
CylBot003 = false
CylBot004 = false
CylBot005 = true
CylBot006 = true
SparkCompact = false
SparkBoattail = true
AdditionalColliders = true
}
}
VARIANT
{
name = Compact
displayName = #LOC_Restock_variant-engine_compact
primaryColor = #999999
secondaryColor = #555555
GAMEOBJECTS
{
SparkBasic = false
CylBot001 = true
CylBot002 = true
CylBot003 = false
CylBot004 = false
CylBot005 = false
CylBot006 = false
SparkCompact = true
SparkBoattail = false
AdditionalColliders = true
}
}
}
@MODULE[ModuleEnginesFX]
{
%runningEffectName = fx-spark-running
}
!MODULE[FXModuleAnimateThrottle] {}
MODULE
{
name = FXModuleThrottleEffects
fxModuleNames = heatColor
responseSpeed = 0.005
dependOnEngineState = True
dependOnThrottle = True
}
MODULE
{
name = FXModuleThrottleEffects
fxModuleNames = throttleColor
responseSpeed = 1.0
dependOnEngineState = True
dependOnThrottle = True
}
MODULE
{
name = ModuleColorChanger
moduleID = heatColor
animRate = 0.0005
shaderProperty = _EmissiveColor
excludedRenderer = EngineCore
toggleInEditor = false
toggleInFlight = false
redCurve
{
key = 0 1
key = 1 1
}
greenCurve
{
key = 0 1
key = 1 1
}
blueCurve
{
key = 0 1
key = 1 1
}
alphaCurve
{
key = 0 0
key = 1 1
}
}
MODULE
{
name = ModuleColorChanger
moduleID = throttleColor
animRate = 1
shaderProperty = _EmissiveColor
includedRenderer = EngineCore
toggleInEditor = false
toggleInFlight = false
redCurve
{
key = 0 1
key = 1 1
}
greenCurve
{
key = 0 1
key = 1 1
}
blueCurve
{
key = 0 1
key = 1 1
}
alphaCurve
{
key = 0 0
key = 1 1
}
}
@MODULE[ModuleJettison]
{
@jettisonName = ShroudSparkBasic
}
}
// Twitch
@PART[smallRadialEngine]
{
@author = Chris Adderley (Nertea)
!mesh = DELETE
!MODEL {}
MODEL {
model = ReStock/Assets/Engine/restock-engine-twitch-1
}
!EFFECTS {}
EFFECTS
{
engage
{
AUDIO
{
channel = Ship
clip = sound_vent_medium
volume = 1.0
pitch = 2.0
loop = false
}
}
disengage
{
AUDIO
{
channel = Ship
clip = sound_vent_soft
loop = false
}
}
flameout
{
PREFAB_PARTICLE
{
prefabName = fx_exhaustSparks_flameout_2
transformName = thrustTransform
oneShot = true
}
AUDIO
{
channel = Ship
clip = sound_explosion_low
volume = 1.0
pitch = 2.0
loop = false
}
}
fx-twitch-running
{
AUDIO
{
channel = Ship
clip = sound_rocket_mini
volume = 0.0 0.0
volume = 1.0 1.0
pitch = 0.0 0.8
pitch = 1.0 1.0
loop = true
}
MODEL_MULTI_PARTICLE
{
name = turbo
modelName = ReStock/FX/restock-fx-spark-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
}
MODEL_MULTI_PARTICLE
{
name = core
modelName = ReStock/FX/restock-fx-spark-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-spark-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
}
}
}
MODULE
{
name = FXModuleLookAtConstraint
// Ringed
CONSTRAINLOOKFX
{
targetName = CyBotRad001
rotatorsName = CylTopRad001
}
CONSTRAINLOOKFX
{
targetName = CyBotRad002
rotatorsName = CylTopRad002
}
CONSTRAINLOOKFX
{
targetName = CylTopRad001
rotatorsName = CyBotRad001
}
CONSTRAINLOOKFX
{
targetName = CylTopRad002
rotatorsName = CyBotRad002
}
}
@MODULE[ModuleEnginesFX]
{
runningEffectName = fx-twitch-running
}
@MODULE[ModuleGimbal]
{
@gimbalTransformName = B_Gimbal
}
!MODULE[FXModuleAnimateThrottle] {}
MODULE
{
name = FXModuleThrottleEffects
fxModuleNames = heatColor
responseSpeed = 0.005
dependOnEngineState = True
dependOnThrottle = True
}
MODULE
{
name = FXModuleThrottleEffects
fxModuleNames = throttleColor
responseSpeed = 1.0
dependOnEngineState = True
dependOnThrottle = True
}
MODULE
{
name = ModuleColorChanger
moduleID = heatColor
animRate = 0.05
shaderProperty = _EmissiveColor
excludedRenderer = EngineCore
toggleInEditor = false
toggleInFlight = false
redCurve
{
key = 0 1
key = 1 1
}
greenCurve
{
key = 0 1
key = 1 1
}
blueCurve
{
key = 0 1
key = 1 1
}
alphaCurve
{
key = 0 0
key = 1 1
}
}
MODULE
{
name = ModuleColorChanger
moduleID = throttleColor
animRate = 1
shaderProperty = _EmissiveColor
includedRenderer = EngineCore
toggleInEditor = false
toggleInFlight = false
redCurve
{
key = 0 1
key = 1 1
}
greenCurve
{
key = 0 1
key = 1 1
}
blueCurve
{
key = 0 1
key = 1 1
}
alphaCurve
{
key = 0 0
key = 1 1
}
}
}
// Puff
@PART[omsEngine]
{
@author = Chris Adderley (Nertea)
!mesh = DELETE
!MODEL {}
MODEL {
model = ReStock/Assets/Engine/restock-engine-puff-1
}
!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 = thrustTransform
oneShot = true
}
AUDIO
{
channel = Ship
clip = sound_explosion_low
volume = 1.0
pitch = 2.0
loop = false
}
}
fx-puff-running
{
AUDIO
{
channel = Ship
clip = sound_rocket_mini
volume = 0.0 0.0
volume = 1.0 0.5
pitch = 0.0 0.5
pitch = 1.0 1.0
loop = true
}
MODEL_MULTI_PARTICLE
{
name = plume
modelName = ReStock/FX/restock-fx-puff-1
transformName = 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.35
speed = 1.0 1.0
}
}
}
MODULE
{
name = FXModuleLookAtConstraint
// Ringed
CONSTRAINLOOKFX
{
targetName = Cyl005
rotatorsName = CylTop005
}
CONSTRAINLOOKFX
{
targetName = Cyl006
rotatorsName = CylTop006
}
CONSTRAINLOOKFX
{
targetName = CylTop005
rotatorsName = Cyl005
}
CONSTRAINLOOKFX
{
targetName = CylTop006
rotatorsName = Cyl006
}
}
@MODULE[ModuleEnginesFX]
{
@runningEffectName = fx-puff-running
}
!MODULE[FXModuleAnimateThrottle] {}
MODULE
{
name = FXModuleThrottleEffects
fxModuleNames = heatColor
responseSpeed = 0.005
dependOnEngineState = True
dependOnThrottle = True
}
MODULE
{
name = FXModuleThrottleEffects
fxModuleNames = throttleColor
responseSpeed = 1.0
dependOnEngineState = True
dependOnThrottle = True
}
MODULE
{
name = ModuleColorChanger
moduleID = heatColor
animRate = 0.05
shaderProperty = _EmissiveColor
excludedRenderer = EngineCore
toggleInEditor = false
toggleInFlight = false
redCurve
{
key = 0 1
key = 1 1
}
greenCurve
{
key = 0 1
key = 1 1
}
blueCurve
{
key = 0 1
key = 1 1
}
alphaCurve
{
key = 0 0
key = 1 1
}
}
MODULE
{
name = ModuleColorChanger
moduleID = throttleColor
animRate = 1
shaderProperty = _EmissiveColor
includedRenderer = EngineCore
toggleInEditor = false
toggleInFlight = false
redCurve
{
key = 0 1
key = 1 1
}
greenCurve
{
key = 0 1
key = 1 1
}
blueCurve
{
key = 0 1
key = 1 1
}
alphaCurve
{
key = 0 0
key = 1 1
}
}
}

@ -0,0 +1,42 @@
// Patches applying art changes to Xenon fuel tanks
// Contents:
// - PB-X150 Xenon Container (xenonTank)
// - PB-X750 Xenon Container (xenonTankLarge)
// - PB-X50R Xenon Container (xenonTankRadial)
// Tiny Xenon tank
@PART[xenonTank]
{
@author = Chris Adderley (Nertea)
!mesh = DELETE
!MODEL {}
MODEL {
model = ReStock/Assets/FuelTank/restock-fueltank-xenon-0625-1
}
}
// Small Xenon tank
@PART[xenonTankLarge]
{
@author = Chris Adderley (Nertea)
!mesh = DELETE
!MODEL {}
MODEL {
model = ReStock/Assets/FuelTank/restock-fueltank-xenon-125-1
}
}
// Radial Xenon tank
@PART[xenonTankRadial]
{
@author = Chris Adderley (Nertea)
//!mesh = DELETE
//!MODEL {}
MODEL {
model = ReStock/Assets/FuelTank/restock-fueltank-xenon-radial-1
}
}

@ -39,6 +39,9 @@
- Kerbodyne S3-3600 Tank (Nertea)
- Kerbodyne S3-7200 Tank (Nertea)
- Kerbodyne S3-14400 Tank (Nertea)
- PB-X150 Xenon Container (Nertea)
- PB-X750 Xenon Container (Nertea)
- PB-X50R Xenon Container (Nertea)
- Engines
- Separatron I (Nertea)
- Flea (Nertea)
@ -58,7 +61,12 @@
- LFB KR-1x2 "Twin-Boar" Liquid Fuel Engine (Nertea)
- Kerbodyne KR-2L+ "Rhino" Liquid Fuel Engine (Nertea)
- S3 KS-25x4 "Mammoth" Liquid Fuel Engine (Nertea)
- IX-6315 "Dawn" Electric Propulsion System (Nertea)
- Electrical
- Z-200 Rechargeable Battery Bank (Nertea)
- Z-1K Rechargeable Battery Bank (Nertea)
- Z-4K Rechargeable Battery Bank (Nertea)
- Z-400 Rechargeable Battery (Nertea)
- Z-100 Rechargeable Battery Pack (Nertea)
- PB-NUK Radioisotope Thermoelectric Generator (Beale)
- Engines are all surface attachable

Loading…
Cancel
Save