Lasertower Upgrade Script available now

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

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

User avatar
euclid
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 11521
Joined: Sun, 15. Feb 04, 21:12
x4

Lasertower Upgrade Script available now

Post by euclid » Wed, 14. Dec 05, 22:15

Please note that all Lasertower in 2.0 now come already with 125MJ shields and hence this script is redundant. :wink:



In X3 (pre 2.0.01) all lasertowers come with 25 MJ shields although they can equip 125 MJ.

This script will add and additional special command to your ship which replaces the 25 MJ shields of all player-ownd deployed lasertowers by 125 MJ shields.


It's not a cheat because for each upgrade 70116 credits will be charged - that's the difference between the average prices of 125 and 25 MJ shields.


Thanks to ESD for hosting.


Cheers Euclid

Edit: Important Note: thanks to J. Spartan to point out that the upgrade range is restricted to 60 Km. There is no reason for that except my stupidity. If you have LT's outside a 60 Km radius of the sector centre then the script won't work. In the line 'find ship' replace '60000' by 'null' to get infinite range. Sorry for that. E.
Last edited by euclid on Mon, 27. Nov 06, 03:16, edited 2 times in total.

DIGSIN
Posts: 392
Joined: Fri, 28. Oct 05, 12:37
x3tc

Post by DIGSIN » Wed, 14. Dec 05, 23:44

I don't have any lasertowers yet, this script will do for when buy some .
Cheers

User avatar
Stevio
Posts: 1983
Joined: Sat, 4. Jun 05, 10:36
x3tc

Post by Stevio » Thu, 15. Dec 05, 00:15

its a great script i used it already

just in time because a few hours later a bunch of pirates turned up to loot my wheat farm the 125mj sheilds hold out long enough for the lasertowers to blow them up.

cheers euclid

stevio
My Scripts
Image
So say we all!

User avatar
Sandalpocalypse
Posts: 4193
Joined: Tue, 2. Dec 03, 23:28
x4

Post by Sandalpocalypse » Fri, 16. Dec 05, 01:41

Hmm... you should use folders in the zip. Neat though.

X-it
Posts: 1217
Joined: Wed, 6. Nov 02, 21:31
x3

Post by X-it » Sun, 18. Dec 05, 12:56

Good one. Much appreciated.

Lidza
Posts: 401
Joined: Wed, 12. Oct 05, 23:23
x3

Post by Lidza » Wed, 21. Dec 05, 01:05

hi,


I need some instructions where to put the files that are in the zip. Thanks

Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 20600
Joined: Mon, 15. Nov 04, 00:26
x4

Post by Cycrow » Wed, 21. Dec 05, 01:08

usually with all scripts you have 2 types of files

you have the ones that are made up of numbers, usually 6 numbers, most likly starting in 44
like 441234.xml
that file is the text file and goes into the t directory which u'll find in the X3 directory

the rest of the files will also be .xml, and these go in the scripts directory

Lidza
Posts: 401
Joined: Wed, 12. Oct 05, 23:23
x3

Post by Lidza » Wed, 21. Dec 05, 03:04

Cycrow wrote:usually with all scripts you have 2 types of files

you have the ones that are made up of numbers, usually 6 numbers, most likly starting in 44
like 441234.xml
that file is the text file and goes into the t directory which u'll find in the X3 directory

the rest of the files will also be .xml, and these go in the scripts directory
Many thanks :)

Gaff-Oz
Posts: 3
Joined: Tue, 20. Dec 05, 17:21
x3

Post by Gaff-Oz » Wed, 21. Dec 05, 03:12

Firstly, thanks for all the effort people go to in order to improve the game. Secondly, I can't get the script to work. I have installed it according to the instructions, have a ship with special command software, and 30,000,000 plus credits. When I go to "special commands" there is no "upgrade lasertowers" command there. When I look in the folders the newly installed files have a planet icon. This this correct, or have I done something wrong? All the other files look different, has my computer failed to recignise them?
Thanks for any help.

Lidza
Posts: 401
Joined: Wed, 12. Oct 05, 23:23
x3

Post by Lidza » Wed, 21. Dec 05, 03:21

I got the option to Upgrade LaserTowers under Special command.


How it works?

1) Deploy the LaserTower
2) Target the laserTower
3) Open your ship "Command Console"
4) Select "Special" option
5) Select "Upgrade LaserTowers" option

And the lasertower shields would be upgraded from 25 to 125

User avatar
euclid
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 11521
Joined: Sun, 15. Feb 04, 21:12
x4

Post by euclid » Wed, 21. Dec 05, 04:03

#1 The script will only work for X3 and not for X2.

#2 Extract the 447002.xml file into the X3/t folder and the other two files (setup.upgradelt and upgradelt) into the X3/script folder (check the readme.txt for instructions).

#3 It will replace the 25 MJ shields with 125 MJ shields in every lasertower you have deployed already. A corresponding message is send to your log.

If it still doesn't work then check for any violating other scripts or read Burianek's sticky on how to enable scripts (I think activating the script editor is sufficient --> change name to Thereshallbewings).

Hope that helps.

Cheers Euclid

User avatar
euclid
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 11521
Joined: Sun, 15. Feb 04, 21:12
x4

Post by euclid » Wed, 21. Dec 05, 04:08

Lidza wrote:I

.....How it works?

1) Deploy the LaserTower
2) Target the laserTower
3) Open your ship "Command Console"
4) Select "Special" option
5) Select "Upgrade LaserTowers" option

And the lasertower shields would be upgraded from 25 to 125
You don't need 2). Also you can deploy as many as you like and where ever you want (various sectors) and then run the command. It searches the entire X3 universe for your lasertowers and upgrades them if necessary (and if you have the cash to pay for it).

Cheers Euclid

son of cronus
Posts: 45
Joined: Thu, 10. Nov 05, 15:03
x3

Post by son of cronus » Wed, 21. Dec 05, 10:43

great idea, another stupid mistake fixed. :D

Lidza
Posts: 401
Joined: Wed, 12. Oct 05, 23:23
x3

Post by Lidza » Fri, 23. Dec 05, 00:13

Could 125 be doubled to 250? ;)

Now with 1.3 patch... A single Xenon M was able to destroy 2 LaserTowers of 125 :(

ravinhood
Posts: 152
Joined: Fri, 16. Dec 05, 00:44
x3

Post by ravinhood » Sun, 25. Dec 05, 11:37

They are not meant to be "invincible" just last longer than a 25mj shielded one. Geesh people want god mod with every patch. The 125mj upgrade is just fine, just have to build more laser towers to protect your property. ;)

Post Reply

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