Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility to RO's ModuleEngineConfigs #3

Closed
wants to merge 26 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
011829d
Compatibility to RO's ModuleEngineConfigs
Gordon-Dry May 27, 2019
9499348
No errors, but also no sound
Gordon-Dry May 28, 2019
50dfa6b
Brain fart!
Gordon-Dry May 28, 2019
e5d1873
For our sanity
Gordon-Dry May 28, 2019
58e0561
Fake replacements for testing
Gordon-Dry May 28, 2019
6747597
Sanity fix running.cfg
Gordon-Dry May 29, 2019
34c035f
Making _RealismOverhaul_compatibility.cfg compatible to AirplanePlus
Gordon-Dry Jun 12, 2019
dee58d3
Update running.cfg
Gordon-Dry Jun 12, 2019
926a6b7
new EFFECTS as clones from already existing ones
Gordon-Dry Aug 12, 2019
0e54195
space intends -> tab intends
Gordon-Dry Aug 12, 2019
4d8de51
additions
Gordon-Dry Aug 12, 2019
1116572
fixes (no MM error kind of)
Gordon-Dry Aug 12, 2019
3c4669d
additions
Gordon-Dry Aug 12, 2019
4252a88
additions
Gordon-Dry Aug 13, 2019
f640873
additional patches for custom sounds of part packs
Gordon-Dry Aug 13, 2019
6c3a4f8
add flameout patch alone to SRB where it's missing
Gordon-Dry Aug 13, 2019
2b58676
rename file to match the EFFECT name (it was a typo)
Gordon-Dry Aug 13, 2019
fad0a52
adding all engage, disengage and flameout on SRB where they're missing
Gordon-Dry Aug 13, 2019
ce5781f
failsafe for renamed file
Gordon-Dry Aug 13, 2019
76c4a29
fixes the part packs compatibility
Gordon-Dry Aug 14, 2019
df7f803
fixes and additions
Gordon-Dry Aug 14, 2019
bb4830e
additions
Gordon-Dry Aug 14, 2019
8ea3c0f
bracket
Gordon-Dry Aug 14, 2019
5f332eb
now after the bracket, try again
Gordon-Dry Aug 14, 2019
1032025
damnit, make it a placeholder for now
Gordon-Dry Aug 14, 2019
9de1509
and the other instances where the wrong bracket led me wrong
Gordon-Dry Aug 14, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
118 changes: 118 additions & 0 deletions GameData/RocketSoundEnhancement/Patches/Alcolox-Lower-A6.cfg
@@ -0,0 +1,118 @@
// this contains additional patches for custom sounds of part packs, also see below

@PART[*]:HAS[@EFFECTS:HAS[@Alcolox-Lower-A6],!MODULE[ModuleRCSFX]]:FOR[zzRocketSoundEnhancement]:NEEDS[RealPlume]
{
@EFFECTS
{
@Alcolox-Lower-A6
{
RSE_AUDIO
{
name = running
channel = Ship
clip = RocketSoundEnhancement/Sounds/sound_lqd_light
rolloffMode = Linear
maxDistance = 5000

lowpass = 0 1 -130.8109 -130.8109
lowpass = 0.016 0.256 -5.289068 -5.289068
lowpass = 0.064 0.128 -1.238469 -1.238469
lowpass = 0.256 0.064 -0.15625 0
lowpass = 1 0.064

volume = 0.0 0.0
volume = #$/MODULE[ModuleEngines*]/maxThrust$

@volume,1 /= 1000
@volume,1 += 1
@volume,1 /= 2
@volume,1 *= 0.5
@volume,1 ^= :^:0.1 :

pitch = 0.0 0.5
pitch = 1.0 1.0

loop = true
}
}

@engage
{
!AUDIO{}
AUDIO
{
channel = Ship
clip = sound_vent_medium
volume = #$/MODULE[ModuleEngines*]/maxThrust$
@volume /= 1000
@volume += 1
@volume /= 2
@volume *= 0.5

pitch = 2.0
loop = false
}
}

@disengage
{
!AUDIO{}
AUDIO
{
channel = Ship
clip = sound_vent_soft
volume = #$/MODULE[ModuleEngines*]/maxThrust$
@volume /= 1000
@volume += 1
@volume /= 2
@volume *= 0.5

pitch = 1.0
loop = false
}
}

@flameout
{
!AUDIO{}
AUDIO
{
channel = Ship
clip = sound_explosion_low
volume = #$/MODULE[ModuleEngines*]/maxThrust$
@volume /= 1000
@volume += 1
@volume /= 2
@volume *= 0.5

pitch = 2.0
loop = false
}
}
}
}

@PART[*]:HAS[@EFFECTS:HAS[@Alcolox-Lower-A6]]:FOR[zzRocketSoundEnhancement]:NEEDS[RealPlume]
{
@EFFECTS
{
@Alcolox-Lower-A6:HAS[@AUDIO[*]:HAS[#placeholder]]
{
@RSE_AUDIO[running]
{
@clip = #$../AUDIO[*]/clip$
}
}
}
}

@PART[*]:HAS[@EFFECTS:HAS[@Alcolox-Lower-A6],@MODULE[ModuleEngines*]]:AFTER[zzRocketSoundEnhancement]:NEEDS[RealPlume]
{
@EFFECTS
{
@Alcolox-Lower-A6
{
!AUDIO{}
}
}
}
131 changes: 80 additions & 51 deletions GameData/RocketSoundEnhancement/Patches/Ammonialox.cfg
@@ -1,15 +1,16 @@
// this contains additional patches for custom sounds of part packs, also see below

@PART[*]:HAS[@EFFECTS:HAS[@Ammonialox]]:FOR[zzRocketSoundEnhancement]:NEEDS[RealPlume]
{
@EFFECTS
{
@Ammonialox
{
!AUDIO{}
RSE_AUDIO
{
@EFFECTS
{
@Ammonialox
{
RSE_AUDIO
{
name = running
channel = Ship
clip = RocketSoundEnhancement/Sounds/sound_lqd_light
channel = Ship
clip = RocketSoundEnhancement/Sounds/sound_lqd_light
rolloffMode = Linear
maxDistance = 10000

Expand All @@ -20,7 +21,7 @@
lowpass = 1 0.064

volume = 0.0 0.0
volume = #$../../../MODULE[ModuleEngines*]/maxThrust$
volume = #$/MODULE[ModuleEngines*]/maxThrust$

@volume,1 /= 1000
@volume,1 += 1
Expand All @@ -30,59 +31,87 @@
pitch = 0.0 0.2
pitch = 1.0 0.5

loop = true
}
}
@engage
{
!AUDIO{}
AUDIO
{
channel = Ship
clip = sound_vent_medium
volume = #$../../../MODULE[ModuleEngines*]/maxThrust$
loop = true
}
}

@engage
{
!AUDIO{}
AUDIO
{
channel = Ship
clip = sound_vent_medium
volume = #$/MODULE[ModuleEngines*]/maxThrust$

@volume /= 1000
@volume += 1
@volume /= 2

pitch = 2.0
loop = false
}
}
@disengage
{
!AUDIO{}
AUDIO
{
channel = Ship
clip = sound_vent_soft
volume = #$../../../MODULE[ModuleEngines*]/maxThrust$
pitch = 2.0
loop = false
}
}

@disengage
{
!AUDIO{}
AUDIO
{
channel = Ship
clip = sound_vent_soft
volume = #$/MODULE[ModuleEngines*]/maxThrust$

@volume /= 1000
@volume += 1
@volume /= 2

pitch = 2.0
loop = false
}
}
@flameout
{
!AUDIO{}
AUDIO
{
channel = Ship
clip = sound_explosion_low
pitch = 2.0
loop = false
}
}

@flameout
{
!AUDIO{}
AUDIO
{
channel = Ship
clip = sound_explosion_low

volume = #$../../../MODULE[ModuleEngines*]/maxThrust$
volume = #$/MODULE[ModuleEngines*]/maxThrust$
@volume /= 1000
@volume += 1
@volume /= 2

pitch = 2.0
loop = false
}
}
}
}
pitch = 2.0
loop = false
}
}
}
}

@PART[*]:HAS[@EFFECTS:HAS[@Ammonialox]]:FOR[zzRocketSoundEnhancement]:NEEDS[RealPlume]
{
@EFFECTS
{
@Ammonialox:HAS[@AUDIO[*]:HAS[#placeholder]]
{
@RSE_AUDIO[running]
{
@clip = #$../AUDIO[*]/clip$
}
}
}
}

@PART[*]:HAS[@EFFECTS:HAS[@Ammonialox]]:AFTER[zzRocketSoundEnhancement]:NEEDS[RealPlume]
{
@EFFECTS
{
@Ammonialox
{
!AUDIO{}
}
}
}