Re: Moar trunk stuffffff (or drunk?)
Posted: Thu Dec 27, 2012 12:37 pm
Ah, ok. Then let's dive in .-)
BGS checks the customsounds.plist keys '[galactic-hyperspace-countdown-begun]' and '[hyperspace-countdown-begun]'. If they are set to any other value than 'bgs-m_silence.ogg'
In BGS 1.5.x:
The countdown + jump sequence are not started. They are coupled because the effect is spawned as standard entity a few seconds before the actual jump happens. The handling happens in the countdown timer function. To decouple the countdown from the effect you'll need to:
- change the check for- enclose the In BGS 1.6:
Only the countdown is not started. The settings are decoupled, because Oolite v1.77 has a new VisualEffect class and the spawning of the effect happens on
I'll add the mentioned changes in the next update (1.5.2).
BGS checks the customsounds.plist keys '[galactic-hyperspace-countdown-begun]' and '[hyperspace-countdown-begun]'. If they are set to any other value than 'bgs-m_silence.ogg'
.bgsDisableJump
becomes true. The available patches for Captain Berf Pilot, Customsounds, Halsis and Hawksound are simply changing the customsounds.plist keys to the expected value and are passing the countdown as single files to BGS. In case the patches are not installed or another sound-OXP sets the keys:In BGS 1.5.x:
The countdown + jump sequence are not started. They are coupled because the effect is spawned as standard entity a few seconds before the actual jump happens. The handling happens in the countdown timer function. To decouple the countdown from the effect you'll need to:
- change the check for
.bgsDisableJump
in .playerStartedJumpCountdown
Code: Select all
if(duration<1 || (this.bgsDisableJump && !this.bgsHyperFX)) return;
if(!this.bgsCountOnly... else...
in .doBGSWPTimer
in a check for .bgsDisableJump
Code: Select all
if(!this.bgsDisableJump){
if(!this.bgsCountOnly && this.bgsCounter.wp>13){...
} else {...
}
}
Only the countdown is not started. The settings are decoupled, because Oolite v1.77 has a new VisualEffect class and the spawning of the effect happens on
.shipWillExitWitchspace
.I'll add the mentioned changes in the next update (1.5.2).