Just copy both files into your script folder. Whenever you load a game the script searches for dead ships and starts a job on them. You will find a message in your log on the number of revived ships.
Edit: dead link revived - thx Merroc
Cheers Euclid
Last edited by euclid on Wed, 5. Feb 14, 17:58, edited 2 times in total.
But I would ask for a more accurate description on how you determine a ship is "dead", and what you make it do? Or do you just wipe the poor buggers out? Or am I just paranoid about my game
Each spawned NPC ship runs a script defined in jobs.txt. "Dead ship" no longer runs a script it is supposed to run forever. This script regognizes those halted ships and probably restarts the command that the ship is supposed to run.
I guess this is the same script, which the germans include in the X3plus script collection?
jlehtone wrote:..........no longer runs a script it is supposed to run forever.
not completelly correct as most scripts are designed to shut down on almost any "dunno" ...
its the job-scripts that generally are supposed to run forever and some, mostly "follower" scripts, again shut down on specific conditions (those ships are generally revived by their job-leader when in specific conditions)
In my experience, 'dead' ships, that have no command set for whatever reason, will be automatically 'revived' unless 'set race controlled logic' is set to FALSE for those ships.
Technical stuff aside, all I know is that the script revived several dozen "dead" ships in my game the first time I loaded after installing, and continues to do so every time I load subsequent games (generally one or two ships per session).
"The most beautiful thing we can experience is the mysterious. It is the source of all true art and science."
From what i understand, it is a NPC ship without a command - IE, Not the un-polited ships you can 'steal', but just random ships that aren't doing anything.
Anyone know another source for this script? I'm getting a 404 error for the website.
"I had an Alfredo Garibaldi under my command during the Dilgar invasion. Excellent soldier."
"That's my dad."
"So much for genetics."
-- General Richard Franklin and Garibaldi in Babylon 5:"GROPOS"
I tested it for the bonus pack, but it didn't make it in.
While it revived some of the dead ships, when I looked closely, there were a few ships that it was reviving each time In other words they weren't all revived.
Lancefighter wrote:From what i understand, it is a NPC ship without a command - IE, Not the un-polited ships you can 'steal', but just random ships that aren't doing anything.
errmm... No.
There are hundreds of ships not running commands in game, mainly civilian ones but there are others, a dead ship should be one that doesn't have a "task 0", yet is owned by somebody, ie non-capturable.
Though I haven't looked at the script so I could be wrong.
Archeo Avis wrote:
if you take out phrasing and root notes and just look at the notes, they are the same
So what you're saying is, if you ignore everything that's different and focus only on the one thing that's the same, they're same.
...
033 $TaskUse = $Ship -> is task 0 in use
034 $Command = $Ship -> get command
035 $JobID = $Ship -> get job id
036 $Pilotname = $Ship -> get pilot name
037 $NoPilot = read text: page=35 id=21
038 skip if not $Command == COMMAND_NONE AND $JobID == 0 AND $Pilotname != $NoPilot AND ! $TaskUse
039 $Ship -> beginne Arbeit
...
Ie, would it fail the same way?
Goner Pancake Protector X
Insanity included at no extra charge.
There is no Box. I am the sand.