[SCRIPT] X3TC / AP - Automatic Hull Repairer

The place to discuss scripting and game modifications for X³: Terran Conflict and X³: Albion Prelude.

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

Post Reply
Anhk-Khaelgorn
Posts: 29
Joined: Fri, 20. Dec 13, 09:57
x4

[SCRIPT] X3TC / AP - Automatic Hull Repairer

Post by Anhk-Khaelgorn » Thu, 9. Feb 17, 14:20

Text file ID: 8980

All ships that docked to the stations are repairing their own hull automatically.

Time of repairing and repairing cost are depending from class of ship and relations between station owner and ship owner.

This function enabled by default. Can be disabled in 'Custom' ship commands menu (Green - enabled, Red - disbled).

* INSTALLATION *

Use Cycrow's Plugin Manager to install.

http://khael.dyndns.info/content/x-uni/ ... 3.2017.spk

Ship class - Base Cost (Cr./HP) - Base Speed (%/sec)
[M5] - 1 Cr. - 1%
[M4] - 2 Cr. - 0,5%
[M3] - 3 Cr. - 0,33%
[TS] / [TP] - 4 Cr. - 0,25%
[TM] - 5 Cr. - 0,2%
[M8] - 6 Cr. - 0,16%
[M6] - 7 Cr. - 0,14%
[M7] - 8 Cr. - 0,12%
[M2] / [TL] - 9 Cr. - 0,11%
[M1] - 10 Cr. - 0,1%
[M0] - 11 Cr. - 0,09%

The notoriety modifier (NMod) may take one of the following values: 1, 2, 3.
Cost per second = BC * BS * (10 / NMod)
Repair per second = BS * NMod

If the owner of station and owner of ship belongs to same race then NMod = 5 automatically. So its good idea to repair your ships on your stations :)

There is a limit equal to ~80% of maximum ship hull for repair when ship docked to carrier.

In addition, the player receives a certain number of credits, if NPC's ship is repaired on the player's stations.
Last edited by Anhk-Khaelgorn on Wed, 1. Mar 17, 10:30, edited 5 times in total.

caishow2
Posts: 79
Joined: Wed, 3. Jun 15, 14:21
x3ap

Post by caishow2 » Thu, 23. Feb 17, 13:16

thank

hairyhermit
Posts: 117
Joined: Sun, 22. Mar 09, 15:07
x4

Re: [SCRIPT] X3TC / AP - Automatic Hull Repairer

Post by hairyhermit » Sat, 11. Jul 20, 17:58

love you.
“One has to understand what the enemy is all about: the enemy's history, the enemy's culture, the enemy's aspirations. If you understand these well, you can perhaps move towards peace.”

Post Reply

Return to “X³: Terran Conflict / Albion Prelude - Scripts and Modding”