Skip to content

Commit

Permalink
Merge pull request #21 from post-kerbin-mining-corporation/dev
Browse files Browse the repository at this point in the history
KSP 1.12
  • Loading branch information
ChrisAdderley authored Aug 26, 2021
2 parents c6da054 + 5fc9d03 commit 9218890
Show file tree
Hide file tree
Showing 7 changed files with 259 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .mod_data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies: # Configure dependencies
version: 4.1.4
location: s3
Waterfall:
tag: 0.6.5
tag: 0.6.7
location: github
repository: post-kerbin-mining-corporation/Waterfall
deploy:
Expand Down
122 changes: 122 additions & 0 deletions GameData/WaterfallRestock/Patches/Squad/liquidEngineReliant_v2.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@


@PART[liquidEngine_v2]:NEEDS[ReStock]:FOR[WaterfallRestock]
{
!MODULE[ModuleWaterfallFX] {}
!EFFECTS {}
!MODULE[EngineLightEffect] {}

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
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-reliant-running
{
AUDIO
{
channel = Ship
clip = Waterfall/Sounds/KW/sound_altloop2
volume = 0.0 0.0
volume = 0.1 0.3
volume = 1.0 0.8
pitch = 0.0 0.7
pitch = 1.0 1.0
loop = true
}
PREFAB_PARTICLE
{
prefabName = fx_smokeTrail_light
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, 0
}
}
}
MODULE
{
name = ModuleWaterfallFX
// This is a custom name
moduleID = reliantEngine
// This links the effects to a given ModuleEngines
engineID = basicEngine

// List out all controllers we want available
// This controller scales with atmosphere depth
CONTROLLER
{
name = atmosphereDepth
linkedTo = atmosphere_density
}
// This controller scales with effective throttle
CONTROLLER
{
name = throttle
linkedTo = throttle
}
// this controller generates a random value in the range specified
CONTROLLER
{
name = random
linkedTo = random
range = -1,1
}
// -----------------------------------------------------
// Past here should be generated with the ingame editor!
// -----------------------------------------------------
TEMPLATE
{
// This is the name of the template to use
templateName = waterfall-kerolox-lower-5
// This field allows you to override the parentTransform name in the EFFECTS contained in the template
overrideParentTransform = thrustTransform
position = 0,0,0.056
rotation = 0, 0, 0
scale = 1.2, 1.2, 1
}


}

}
122 changes: 122 additions & 0 deletions GameData/WaterfallRestock/Patches/Squad/liquidEngineSwivel_v2.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@


@PART[liquidEngine2_v2]:NEEDS[ReStock]:FOR[WaterfallRestock]
{
!MODULE[ModuleWaterfallFX] {}
!EFFECTS {}
!MODULE[EngineLightEffect] {}

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
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-swivel-running
{
AUDIO
{
channel = Ship
clip = Waterfall/Sounds/EnsouSounds/Loop_Liquid_Heavy_High_2
volume = 0.0 0.0
volume = 0.05 0.6
volume = 1.0 1.5
pitch = 0.0 0.7
pitch = 1.0 1.0
loop = true
}
PREFAB_PARTICLE
{
prefabName = fx_smokeTrail_light
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, 0
}
}
}
MODULE
{
name = ModuleWaterfallFX
// This is a custom name
moduleID = swivelFX
// This links the effects to a given ModuleEngines
engineID = basicEngine

// List out all controllers we want available
// This controller scales with atmosphere depth
CONTROLLER
{
name = atmosphereDepth
linkedTo = atmosphere_density
}
// This controller scales with effective throttle
CONTROLLER
{
name = throttle
linkedTo = throttle
}
// this controller generates a random value in the range specified
CONTROLLER
{
name = random
linkedTo = random
range = -1,1
}
// -----------------------------------------------------
// Past here should be generated with the ingame editor!
// -----------------------------------------------------
TEMPLATE
{
// This is the name of the template to use
templateName = waterfall-kerolox-sustainer-2-film-cooled
// This field allows you to override the parentTransform name in the EFFECTS contained in the template
overrideParentTransform = thrustTransform
position = 0,0,0.56
rotation = 0, 0, 0
scale = 1, 1, 1
}


}

}
6 changes: 3 additions & 3 deletions GameData/WaterfallRestock/Versioning/WaterfallRestock.version
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
{
"MAJOR":0,
"MINOR":2,
"PATCH":2,
"PATCH":3,
"BUILD":0
},
"KSP_VERSION":
{
"MAJOR":1,
"MINOR":11,
"MINOR":12,
"PATCH":2
},
"KSP_VERSION_MIN":{
Expand All @@ -22,7 +22,7 @@
},
"KSP_VERSION_MAX":{
"MAJOR":1,
"MINOR":11,
"MINOR":12,
"PATCH":99
}
}
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ TBW

### Required
These components are required for the mod to function and are bundled as part of any download:
* [ModuleManager (4.1.4)](https://github.com/sarbian/ModuleManager)
* [Waterfall (0.3.0)](https://github.com/ChrisAdderley/Waterfall)
* [Restock (1.2.1)](https://github.com/PorktoberRevolution/ReStocked)
* [ModuleManager (4.2.1)](https://github.com/sarbian/ModuleManager)
* [Waterfall (0.6.5)](https://github.com/ChrisAdderley/Waterfall)
* [Restock (1.4.2)](https://github.com/PorktoberRevolution/ReStocked)


## Installation
Expand Down
5 changes: 5 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
v0.2.3
------
- KSP 1.12
- Fix plumes for new squad revamps

v0.2.2
------
- Fixed duplicated plume on Puff
Expand Down
6 changes: 3 additions & 3 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
=================================
Waterfall - Restock Configs 0.2.2
Waterfall - Restock Configs 0.2.3
=================================

This is a configuration pack for the Waterfall mod, which applies Waterfall type effects to Restock and Restock+ models. It does nothing on its own and requires the base Waterfall mod to function.
Expand All @@ -9,8 +9,8 @@ DEPENDENCIES
============

Required:
- Waterfall (0.6.5)
- Restock (1.3.1+)
- Waterfall (0.6.7)
- Restock (1.4.2+)
- ModuleManager (v4.1.4)

============
Expand Down

0 comments on commit 9218890

Please sign in to comment.