Category: Gathering
Number of Subcategories: 1
Subcategories:
Downloads: 10
Ship upgrade to allow you to easily claim ships from the saftly of your cockpit.
Cycrow
{author_url_text}
Sunday, 20 February 2011 12:58
34.5 KB
1,225
[b]Collect Wares in Sector (modified)[/b]
[list]
[*]Moves the script into a standard script instead of being in the preload script.
[*]Changes behavior so when using "Collect wares in sector..." the ship stops when done and notifies the player (if you have that option selected on the ship's command console).[/list]
I tend to forget that I left a ship running on "Collect wares in sector..." and it ends up wandering around the sector forever, usually getting itself into trouble with Pirates. So I rewrote the script to stop when done.
Technical:
You'll notice that most of the !ship.cmd.(command) scripts have two versions, the ones ending in .pl and the ones ending in .std. The .pl stands for "preload", .std for "standard". The preload scripts are a very small bit of info that the game loads when you start the game. This tells the game what script to run when you select a command from the command menu. This way you have only a small bit of memory taken up. In the case of the Special command, "collect wares in sector..." there is no .std command, the entire script is in the preload file. This means the game is loading the entire script into memory even if you're not using it.
For those who are picky, like me... enjoy!
-Grax
[list]
[*]Moves the script into a standard script instead of being in the preload script.
[*]Changes behavior so when using "Collect wares in sector..." the ship stops when done and notifies the player (if you have that option selected on the ship's command console).[/list]
I tend to forget that I left a ship running on "Collect wares in sector..." and it ends up wandering around the sector forever, usually getting itself into trouble with Pirates. So I rewrote the script to stop when done.
Technical:
You'll notice that most of the !ship.cmd.(command) scripts have two versions, the ones ending in .pl and the ones ending in .std. The .pl stands for "preload", .std for "standard". The preload scripts are a very small bit of info that the game loads when you start the game. This tells the game what script to run when you select a command from the command menu. This way you have only a small bit of memory taken up. In the case of the Special command, "collect wares in sector..." there is no .std command, the entire script is in the preload file. This means the game is loading the entire script into memory even if you're not using it.
For those who are picky, like me... enjoy!
-Grax
Graxster
{author_url_text}
Thursday, 14 June 2012 18:00
3.33 KB
475