Page 1 of 1

[SCR] Out-of-combat Regen (v1.06 - 17.04.08)

Posted: Tue, 15. Apr 08, 23:16
by Gazz
Das entsprechende deutsche topic ist hier.

The term OOC regen is usually found in MMORPG but it's basically the same thing here. Anyway, it's just a name.

=======================================
What the script does:

In vanilla X3 ships sometimes have their shields recharged instantly when docking at a ship or station.

This undocumented feature is pretty inconsistent, depending on things like you personally flying the ship or not and/or the ship being OOS or not.
In short, it sometimes works.

This script does it everytime. Every one of your ships.
A ship docks, shields are full. Simple.

=======================================
Techy stuff:

This is an AL-plugin.

Note that it can take up to 5 min for this feature to activate on a newly acquired ship.


[ external image ] (ZIP)

Installation: Copy all 3 files into the scripts folder.

Deinstallation:
1. Turn the script off in the AL settings menu,
2. then delete those 3 files from the script folder.

Turning the AL-plugin off will also stop all running OOCR-scripts on your ships.
The CPU usage is then basically zero.


Version history:
1.02 First release
1.06 Now mimics the behaviour of the undocumented shield recharge of X3. Sans the randomness.

Posted: Wed, 16. Apr 08, 10:14
by DaveyP
I thought that if you docked a ship at an EQ dock or shipyard, its' shields were recharged almost instantaneously.

Posted: Wed, 16. Apr 08, 11:52
by Gazz
With an M3 the shields were recharged, with an M7 they were not...

Judging by this inconsistency it's simply a bug. Be happy if it works.
Besides, the exploit only works on the playership as far as I have seen.

Posted: Wed, 16. Apr 08, 23:43
by s9ilent
I tend to observe that shields get fully recharged when OOS, and dont when it's an IS. But i've only tested that with M2's

Posted: Thu, 17. Apr 08, 19:10
by Gazz
I've heard enough about this feature and decided to simply implement that instead.
Saves some CPU time since setting shields to full is just one line. =)

So... version 1.06 released.

It doesn't look pretty any more but *shrug* it's the original ES way. =)

Posted: Thu, 17. Apr 08, 19:59
by Jaga_Telesin
Decide you were tired of making SPKs Gazz? All I see is a zip download link with the script files inside. No big deal for people that understand where they go and how to make your own SPKs, but potentially a big turn-off for basic users.

Posted: Thu, 17. Apr 08, 20:15
by Gazz
The SPK format certainly has it's uses for extensive script packages but this script consists of nothing more than 3 files that all go into the same folder.

For larger stuff with TFiles, readmes and whatnot I usually supply an SPK version as well.