Increase time for drones

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
shadowblayde
Posts: 16
Joined: Sat, 3. May 14, 06:54

Increase time for drones

Post by shadowblayde » Sun, 20. Jul 14, 13:50

Hi,

I would like to increase the time that fighter drones last.

Could someone tell me if this is possible, and if so, where to find the code (I do have X3 editor 2).

Thanks,

SB

User avatar
X2-Illuminatus
Moderator (Deutsch)
Moderator (Deutsch)
Posts: 24961
Joined: Sun, 2. Apr 06, 16:38
x4

Post by X2-Illuminatus » Sun, 20. Jul 14, 18:40

I'm pretty sure that the lifetime of drones is hardcoded.

Naturally, when you pick them up again, they're lifetime is reset and you can use them again. So script-wise you could automate the pick up / return process (e.g. by "teleporting" them back to your ship) to increase their lifetime. Or you watch their lifetime and recreate them, once they are destroyed (excluding external causes such as weapon fire by other ships).
Nun verfügbar! X3: Farnham's Legacy - Ein neues Kapitel für einen alten Favoriten

Die komplette X-Roman-Reihe jetzt als Kindle E-Books! (Farnhams Legende, Nopileos, X3: Yoshiko, X3: Hüter der Tore, X3: Wächter der Erde)

Neuauflage der fünf X-Romane als Taschenbuch

The official X-novels Farnham's Legend, Nopileos, X3: Yoshiko as Kindle e-books!

Post Reply

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