Author Topic: Calculating Jump Coordinates script request  (Read 426 times)

0 Members and 1 Guest are viewing this topic.

Offline Goober5000

  • HLP Loremaster
  • Administrator
  • 214
    • Goober5000 Productions
Calculating Jump Coordinates script request
This would be a nice addition to a Scroll of Atankharzim mission I'm working on.  (Yes, Scroll is still alive.  Yes, the end is in sight.  Don't tell anyone, but I expect a release of Act I this summer.)

What I envision is a combination "loading bar" and targeting window, appearing midway between the existing targeting window and the center radar.  The script should be configurable with a list of filenames of pictures (which would be things like asteroids, planets, and maybe a capship or two) and the total duration for the entire effect.

When the script runs, the loading bar should begin progressing and the custom window should cycle rapidly through the list of pictures.  The picture cycling should start off rapidly but get slower and slower as the bar reaches the end.  Think of a slot machine wheel that rapidly cycles through images before landing on a final image.  At the end of the alloted duration, both the window and the loading bar should disappear.

An intermediate feature that would be useful would be to prematurely abort the calculation and hide the window/loading bar, for instance if the player's ship happened to be hit by an EMP.

An advanced feature would be to add an optional parameter for a number of "backtracks".  This would be when the loading bar has to instantly jump back to an earlier, less full state, perhaps because the computer made some incorrect assumptions about the system and has to revert some of its calculations.  Imagine a well-explored system using 0 backtracks and an unexplored system full of planets and asteroids using many backtracks.  The script designer would still have to ensure that a) the image cycling slowdown remains appropriate for the state of the loading bar, and b) the overall effect, incorporating all backtracks, still finishes at the expected duration.

 

Offline Colonol Dekker

  • HLP is my mistress
  • 213
  • Aken Tigh Dekker
    • My old squad sub-domain
Re: Calculating Jump Coordinates script request
I can only imagine this with the Mario kart power up noise now.

 
Re: Calculating Jump Coordinates script request
I could take a crack at it.

 

Offline Goober5000

  • HLP Loremaster
  • Administrator
  • 214
    • Goober5000 Productions
Re: Calculating Jump Coordinates script request
Thanks. :yes:

  

Offline Goober5000

  • HLP Loremaster
  • Administrator
  • 214
    • Goober5000 Productions
Re: Calculating Jump Coordinates script request
To follow up on this, xenocartographer completed his script.  It is used in two missions of Scroll of Atankharzim: Part I. :)