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

The place to discuss scripting and game modifications for X³: Reunion.

Moderators: Moderators for English X Forum, Scripting / Modding Moderators

Post Reply
User avatar
Gazz
Posts: 12423
Joined: Fri, 13. Jan 06, 17:39

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

Post by Gazz » Tue, 15. Apr 08, 23:16

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.


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.
Last edited by Gazz on Thu, 17. Apr 08, 19:11, edited 2 times in total.
My complete script download page. . . . . . I AM THE LAW!
There is no sense crying over every mistake. You just keep on trying till you run out of cake.

DaveyP
Posts: 982
Joined: Mon, 7. Nov 05, 20:06

Post by DaveyP » Wed, 16. Apr 08, 10:14

I thought that if you docked a ship at an EQ dock or shipyard, its' shields were recharged almost instantaneously.

User avatar
Gazz
Posts: 12423
Joined: Fri, 13. Jan 06, 17:39

Post by Gazz » Wed, 16. Apr 08, 11:52

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.
My complete script download page. . . . . . I AM THE LAW!
There is no sense crying over every mistake. You just keep on trying till you run out of cake.

User avatar
s9ilent
Posts: 2011
Joined: Wed, 29. Jun 05, 01:45

Post by s9ilent » Wed, 16. Apr 08, 23:43

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

User avatar
Gazz
Posts: 12423
Joined: Fri, 13. Jan 06, 17:39

Post by Gazz » Thu, 17. Apr 08, 19:10

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. =)
My complete script download page. . . . . . I AM THE LAW!
There is no sense crying over every mistake. You just keep on trying till you run out of cake.

User avatar
Jaga_Telesin
Posts: 418
Joined: Sat, 16. Sep 06, 22:48

Post by Jaga_Telesin » Thu, 17. Apr 08, 19:59

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.

User avatar
Gazz
Posts: 12423
Joined: Fri, 13. Jan 06, 17:39

Post by Gazz » Thu, 17. Apr 08, 20:15

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.
My complete script download page. . . . . . I AM THE LAW!
There is no sense crying over every mistake. You just keep on trying till you run out of cake.

Post Reply

Return to “X³: Reunion - Scripts and Modding”