Re: Hyperspave travel
Posted: Tue Dec 04, 2012 9:17 am
When the wormhole appears, you're still in normal space. The stretch effect ought to disappear once fully within witchspace... Or distort the witchspace background.
For information and discussion about Oolite.
https://bb.oolite.space/
Not currently, I'm afraid, because the witchspace sequence is hardcoded. While you can replace the rings with another animation, you cannot change how long the animation lasts. And the duration is the same, regardless how far you travel.jacksy wrote:Anyway, is it possible to create an OXP that could calculate after I inputted my destination. I am travelling from A to B, which is say a distance of 5LY. Then depending on the time paramaters set in the script e.g. 1Ly=5secs, correctly calculate that I should be in hyspespace for 25secs and then execute that?
Is it also possible to link a video/FX of my preferred hyperspace to that 25secs?
Also note that an effect lasting 25 seconds may look cool the first couple of times you watch it, but after a while you'll be wishing there was a "skip it" button somewhere. Looking at the screen for almost half a minute doing nothing at all can get old much quicker than you think.Commander McLane wrote:Not currently, I'm afraid, because the witchspace sequence is hardcoded. While you can replace the rings with another animation, you cannot change how long the animation lasts. And the duration is the same, regardless how far you travel.jacksy wrote:Anyway, is it possible to create an OXP that could calculate after I inputted my destination. I am travelling from A to B, which is say a distance of 5LY. Then depending on the time paramaters set in the script e.g. 1Ly=5secs, correctly calculate that I should be in hyspespace for 25secs and then execute that?
Is it also possible to link a video/FX of my preferred hyperspace to that 25secs?
shipWillEnterWitchspace
)shipWillExitWitchspace
)shipExitedWitchspace
)I appreciate that another_commander, I know this would not be everybody's cup of tea, but this is my cup of teaanother_commander wrote:Also note that an effect lasting 25 seconds may look cool the first couple of times you watch it, but after a while you'll be wishing there was a "skip it" button somewhere. Looking at the screen for almost half a minute doing nothing at all can get old much quicker than you think.Commander McLane wrote:Not currently, I'm afraid, because the witchspace sequence is hardcoded. While you can replace the rings with another animation, you cannot change how long the animation lasts. And the duration is the same, regardless how far you travel.jacksy wrote:Anyway, is it possible to create an OXP that could calculate after I inputted my destination. I am travelling from A to B, which is say a distance of 5LY. Then depending on the time paramaters set in the script e.g. 1Ly=5secs, correctly calculate that I should be in hyspespace for 25secs and then execute that?
Is it also possible to link a video/FX of my preferred hyperspace to that 25secs?
Well that sounds more promising and so my little wish is not out of the question. You mention redrawing of the witchspace tunnel, does the tunnel have to be drawn? can a video fx be used by the player to replace the drawing in the next version?cim wrote:Not easily with how things currently work (at least, not for that long a sequence). Currently the sequence is as follows:The problem with the current set up is that during step 3, the player's ship can be attacked if there's anything near the entry point. This is normally fine - 2.5 seconds isn't long enough for the AI ships to do more than wake up, turn around to aim, and maybe fire a shot or two at the emerging player. 25 seconds, on the other hand...
- Countdown completes, final checks made, flight controls locked, player exits old system (
shipWillEnterWitchspace
)- Move player to new system, add initial population of new system (
shipWillExitWitchspace
)- Display witchspace exit sequence (appearance customisable in next version) for ~2.5 seconds while AI is initialised
- Display new system, return flight control to player (
shipExitedWitchspace
)
It might be practical to allow an extended sequence with AIs only being started in the last couple of seconds of the sequence, though. I'll have a look at how straightforward that would be: allowing the timing to be adjusted slightly might be especially useful for the docking/launch sequences.
Redrawing the witchspace tunnel effect is not possible in 1.76.1, but will be in the next version.
Twenty-five seconds would be calamitous in IS after a mis-jump!cim wrote:This is normally fine - 2.5 seconds isn't long enough for the AI ships to do more than wake up, turn around to aim, and maybe fire a shot or two at the emerging player. 25 seconds, on the other hand...
If by videos you mean playing a separate video file, no. The tunnel has to be rendered as an in-game object, though with shader support and appropriate texture data you can get quite a bit of flexibility in appearance and animation.jacksy wrote:Well that sounds more promising and so my little wish is not out of the question. You mention redrawing of the witchspace tunnel, does the tunnel have to be drawn? can a video fx be used by the player to replace the drawing in the next version?
cim wrote:If by videos you mean playing a separate video file, no. The tunnel has to be rendered as an in-game object, though with shader support and appropriate texture data you can get quite a bit of flexibility in appearance and animation.jacksy wrote:Well that sounds more promising and so my little wish is not out of the question. You mention redrawing of the witchspace tunnel, does the tunnel have to be drawn? can a video fx be used by the player to replace the drawing in the next version?
With the current state of the next version, the time between "enter new system" and "regain flight control" is fixed. You can make the tunnel effect last as long as you like, however, including varying that with travel distance if you want.jacksy wrote:Just so that I am clear, the timing cannot be flexible and dependant on distance to be travelled?It is has to be a set time each and every time?
The next version sounds like it will be able to handle exactly what I was after then? So talking here about the new version, how difficult would a script be to create that automatically understands that A is 10Ly away from B and therefore the hyperspace tunnel Fx should last 50secs and then on the next jump it knows that A is now only 4 Ly away from B on this occasion and the jump should last only 20secs this time?cim wrote:With the current state of the next version, the time between "enter new system" and "regain flight control" is fixed. You can make the tunnel effect last as long as you like, however, including varying that with travel distance if you want.jacksy wrote:Just so that I am clear, the timing cannot be flexible and dependant on distance to be travelled?It is has to be a set time each and every time?
I might be wrong, but did someone not mention that they may also be able to change the timings on the NPC. So that they would not kick in till after the event?Thargoid wrote:It would be quite simple (note your fuel level just prior to jump and then just after jump and subtract the two to give distance).
The issue is that the effect would essentially be displayed in front of the player ship for the extra time, and it would block out everything else visible. Hence for up to about 47.5 seconds the scanner and the rest of the HUD would show what is actually around the ship (unless the HUD was switched off for the period) and more importantly as noted above - any ship around the place will be going about its business and quite possibly it could attack the player ship, or indeed the player ship could go splat into it. But all the while the player could do little about it as the effect would be continually blocking their view.
Think of the effect as pulling down a cinema screen in front of the ship and showing your effect onto it - but all the while life is going on around you.