[Script] A.R.E.S. Station Building Service [ V 0.33 Beta ]

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

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

User avatar
-Dusty-
Posts: 1891
Joined: Fri, 30. Dec 05, 21:17
x3tc

[Script] A.R.E.S. Station Building Service [ V 0.33 Beta ]

Post by -Dusty- » Sat, 22. Mar 08, 14:10

Image
Image Screenshots:
Image

ImageImageImage


Image
Image Description:
Image

A.R.E.S., short for „Automatic Remote Station Building“ is a script for X3: Reunion, primarily made to automise complex building in large parts.

Main features:
  • • Automatic complex building (except mines and connections)
    • Automatic station placement
    • TL organisation (buying, transporting and building of stations)
    • TL monitoring (loss or damage)
    • Raster- and compact complexes
    • Automatic deactivation of collision calculation
Many of our customers either don't have the time nor the patience to build complexes, which is an enerving task. This is where ARES Corp. steps into the breach: This universe-wide operating corporation offers comfortable complex building services at low priced conditions. The customer can choose the location, the stations and other details, and ARES Corp. builds the custom- made complex.

State-of-the-art equipment and professional employees ensure hiqh- quality services. Every project ordered by our customers is coordinated by an administration center near the building site. This administration centre coordinates all operations, including managing our TL- Ships which transport the stations.

Our prices include an insurance which provides immediate replacements in case that a TL gets lost or damaged.

Unfortunately, ARES Corp. is not able to build complete complexes. The customer still has to build the mines and to connect the stations. But ARES Corp. aims to keep time and effort as small as possible for our customers.

Yours sincerly,
Dusty (CEO ARES Corp.)



Image
ImageCompatibility:
Image

ARES is compatible to nearly any other script or mod – at least in theory. ARES is able to build stations which have been included by mods, e.g. XTM or Ashley’s Factories. ARES does not use any command slots, so there should be no problems regarding the slots.


Image
Image Technichal:
Image

Command slots:
-none-

t-Files/Pages:
8847
8848

Station tasks:
88470
88474
88475
88476


Ship tasks:
88471
88472
88473


Used library scripts
lib.chem.strings
-> by ChemODun
-> String- functions

lib.tx.set.station.wares
-> by triple81; updated by Dusty
-> Ware-Library for stations


Image
ImageDUCT-Import:
Image
ARES is able to import a station list which has been exported by DUCT (DodaFu's Universal Complex Tool). This way, it's possible to calculate a complex using DUCT, export it and let ARES build it.
For details, see the manual.


Image
ImageImportant:
Image
This is still a beta- version, this means there can still be bugs in this script. If you find a bug, please report it here.


Image
ImageChangelog:
Image

V 0.33 Beta:
  • Fixed a bug (Station debris) and added a bugfix menu.
  • Corrected the text file and the manual again
V 0.32 Beta:
  • Fixed a bug regarding compact build mode and changing the sector after calculation
  • Corrected the text file and the manual ( 3/27/08 )
V 0.31 Beta:
  • English Version: Release
V 0.1- 0.3
  • German versions only

Image

Have fun. Comments and critics are welcome :)
Last edited by -Dusty- on Thu, 7. Oct 10, 20:30, edited 8 times in total.

User avatar
-Dusty-
Posts: 1891
Joined: Fri, 30. Dec 05, 21:17
x3tc

Post by -Dusty- » Sun, 23. Mar 08, 17:36

Small Update:


ImageChangelog:

V 0.32 Beta:
  • Fixed a bug regarding compact build mode and changing the sector after calculation

xeon_1
Posts: 1423
Joined: Thu, 4. Dec 03, 18:16
x4

Post by xeon_1 » Sun, 23. Mar 08, 18:14

This is a god send :o

No more spending hours on end building a small complex

User avatar
Toastysoul
Posts: 67
Joined: Fri, 3. Feb 06, 06:00
x4

Post by Toastysoul » Thu, 27. Mar 08, 01:07

I updated the manual and emailed you a copy. Let me know what you think.

User avatar
-Dusty-
Posts: 1891
Joined: Fri, 30. Dec 05, 21:17
x3tc

Post by -Dusty- » Thu, 27. Mar 08, 13:54

Great! Thanks a lot for correcting :)

I have to replace the screenshots with new ones showing english text first, then I will upload the updated version of the manual.

User avatar
Terre
Moderator (English)
Moderator (English)
Posts: 7670
Joined: Mon, 19. Dec 05, 22:23
x4

Post by Terre » Thu, 27. Mar 08, 17:18

I hope I haven't missed a version.

My German is not good, but I've done my best with what I have. So please only use what you are happy with.

448847.xml file.


Line 127

Set complex center

to

Set complex centre


Line 132

Informations

to

Information



I'm not sure of the context of the next line; I did say my German was not good.

Line 135 Sonstiges

to

???


Line 151

This is the overview for your current Project. You can find informations about stations, their price and the price for the whole project.</t>

to

This is the overview for your current Project. You can find information and the pricing of the stations used within this project.</t>


Line 158

Anzahl

Preis

to

Number

Price


Line 172

Attention: Your Project is being built at this moment. You cannot start another project in this time!.

to

Attention: Your Project is currently being built. You can not start another project at this time!.


Line 173

Attention: You haven't set a complex center. The project can not be built until you have selected a complex center.

to

Attention: You have not set a centre for your complex. The project can not be built until you have selected a centre for your complex .


Line 174

Attention: Your project is being built at this moment. You can't add any stations anymore!

to

Attention: Your project is currently being built. No more stations can be added!


Line 176

Attention: You don't have selected any stations. The complex preview can't be shown until you have selected any stations.

to

Attention: You do not have any stations selected. The complex preview can not be shown until you have a station selected.


Line 179

Attention: You don't have set a complex center. The complex preview can't be shown until you have selected a complex center.

to

Attention: You have not set a centre for your complex. The complex preview can not be shown until you have selected a centre for your complex.


Line 180

Attention: Your project ist being built at this moment. You can't change your complex center anymore!

to

Attention: Your project is current being built. You can not change the centre of your complex again!


I hope I've got this next one right; anybody!

Line 182

Einstellungen: Anzahl TL-Schiffe

to

Required: Number of TL-Ships


Line 193

Preis:

Pro Schiff

des Gesamtpreises

to

Price:

Per Ship

Total Price


Line 194

Einstellungen: Energie-Versorgung

to

Required: Energy supply


Line 196

Spezial-Frachter

Preis:

to

Special freighter

Price:


Line 198

Percentual surcharge for stations:

to

Percentage surcharge for stations:


Line 199

Percentual surcharge for stations:

to

Percentage surcharge for stations:


Line 200

Percentual surcharge for stations:

to

Percentage surcharge for stations:


Line 203

We will start executing your project as soon as the money has been transferred.
Please note that you can't edit your project anymore after executing it!

to

We will start building your project as soon as the money has been transferred.
Please note, that you can not edit your project after we have started building it!


Line 214

Abbrechen

To

Cancel


My German is struggling with the sentence in the middle of this next line.

Line 382

Achtung: Es besteht bereits ein ARES-Projekt im Sektor

Wenn sie jetzt ein neues Projekt starten, wird das alte mit allen bereits gebauten Stationen abgebrochen!

Wollen sie fortfahren?

abbrechen

to

Attention: There is already a ARES-project in this sector

Would you like to start a new project, ???? (Knowing what the words are - is one thing, getting them in the right order is another.)

Wish to continue?

Cancel


Line 384

Neues Projekt erstellen

Sie haben bereits ein ARES-Projekt im Sektor

Wollen sie das Komplexzentrum an die neue Position setzen?

Position ändern erstellen

abbrechen

to

Build a new project

You already have an ARES-Project in sector.

Do you want the complex centre set to the new position?

Provide new position

Cancel


Line 385

Administration Center

to

Administration Centre


Line 386

The desired action can't be executed as your project already runs.

to

The desired action can not be carried out, as your project already running.


Line 389

Our competent employees and our state-of-the-art equipment ensure high quality and an unreached effectiveness. Our architect team is now ready to receive your orders. If you wish to, you can start a new project right now.

to

Our competent employees and our state-of-the-art equipment ensure high quality and unrivalled efficiency. Our team of architects is ready to receive your order. If you wish, you can start a new project immediately.


This will need to be checked, as to whether or not I got close enough to what you intended.

Line 393

Willkommen bei

Unser Service steht nun für Sie zur Verfügung. Wir ermöglichen es Ihnen, grosse Stationskomplexe zu bauen, ohne dass Sie den Bau beaufsichtigen müssen. Unser fachkundiges Personal plant und errichtet die Stationen
nach Ihren Vorgaben und Wünschen. Für unsere Dienste wird ihnen automatisch ein kleiner Aufpreis auf jede gebaute Station verrechnet. Dieser Aufpreis beinhaltet unter anderem Transportkosten, Bearbeitungsgebühren, Steuern und Versicherungsgebühren. Wir danken für Ihre Aufmerksamkeit und hoffen, dass Sie in naher Zukunft
einmal auf unseren Dienst zurückgreifen werden.

to

Welcome

Our service is now available. We make it possible to build large station complexes without you needing to supervise the building. Our expert personnel plan and layout the stations according to your requirements. There is a small surcharge for our services automatically levied on each station built. This surcharge contains among other things the transportation costs, handling charges, taxes and insurance fees.
Thank you for reading and hope you will use our service in the near future.


Line 394

Wenn sie jetzt ein neues Projekt starten möchten, wählen sie bitte die Option "Neues Projekt erstellen".

to

If you would like to start a new project, then please select the option "Start a new project".


Line 396

Please select the desired complex center by using this menu.

Aktueller Sektor:

to

Please select the desired complex centre by using this menu.

Update Sector:


Line 458

Bau stoppen?

Sind sie sicher, dass der Bau gestoppt werden soll? Das aktuelle Projekt kann danach nicht mehr weitergeführt werden!

Bau stoppen

Abbrechen

to

Stop building?

Are you sure you want the building to be stopped? You will not be able to resume the current project!

Stop building

Cancel


Line 464

The following report shows informations about the current status of your project.

to

The following report shows information about the current status of your project.


Line 468

Geschäftsbedingungen

Im folgenden sind die allgemeinen Geschäftsbedingungen der A.R.E.S. GmbH, mit Hauptsitz im Firmenstolz.

to

Trading Conditions

The following general trading conditions can be found at A.R.E.S. GmbH, headquarters in Company Pride.


How close did I get? with any of that.
Open Rights Group - Is your site being blocked
Electronic Frontier Foundation - Online Censorship
The Linux Foundation - Let’s Encrypt
Check if your Email account has been pwned

User avatar
-Dusty-
Posts: 1891
Joined: Fri, 30. Dec 05, 21:17
x3tc

Post by -Dusty- » Thu, 27. Mar 08, 18:43

Terre wrote:I hope I haven't missed a version.

My German is not good, but I've done my best with what I have. So please only use what you are happy with.
Hi,

:oops: I should have mentioned that not everything in the textfile is being used in the Script... So the german parts you've translated are mostly remains of previous versions or used for debugging, so they should have been deleted.
This is my failure - I apologise!

But anyway, thanks a lot for correcting the file! :)
I see, my own translation was worse than I've been thinking... :D

I'm going to update the text file and the manual now. The new version will be uploaded in one or two hours, I think.


And thanks again to Toastysoul and Terre!

User avatar
-Dusty-
Posts: 1891
Joined: Fri, 30. Dec 05, 21:17
x3tc

Post by -Dusty- » Thu, 27. Mar 08, 21:22

Here comes the updated version (still 0.32 Beta). It includes the corrected textfile and the manual. Download is in the startpost of this thread.

User avatar
Terre
Moderator (English)
Moderator (English)
Posts: 7670
Joined: Mon, 19. Dec 05, 22:23
x4

Post by Terre » Thu, 27. Mar 08, 21:27

-Dusty- wrote:I should have mentioned that not everything in the textfile is being used in the Script... So the german parts you've translated are mostly remains of previous versions or used for debugging, so they should have been deleted.
This is my failure - I apologise!
No problem, it got me thinking; which is probably a first. :)
-Dusty- wrote: But anyway, thanks a lot for correcting the file! :)
I see, my own translation was worse than I've been thinking... :D

I'm going to update the text file and the manual now. The new version will be uploaded in one or two hours, I think.

And thanks again to Toastysoul and Terre!
You're welcome
Open Rights Group - Is your site being blocked
Electronic Frontier Foundation - Online Censorship
The Linux Foundation - Let’s Encrypt
Check if your Email account has been pwned

Legionnaire
Posts: 1242
Joined: Sun, 8. Feb 04, 17:28
x4

Post by Legionnaire » Thu, 27. Mar 08, 22:07

have run into a problem when trying to install the spk version of this latest version. i get the following message

Unable to uncompress the file: T/448848.xml

Legionnaire

User avatar
-Dusty-
Posts: 1891
Joined: Fri, 30. Dec 05, 21:17
x3tc

Post by -Dusty- » Thu, 27. Mar 08, 22:15

Mh, this seems to be a problem with the ScriptInstaller... Looks like the error is created when updating an existing package - when creating a new one, everything's fine.

Anyway, please download the package again and try it. Or use the conventional method and copy&paste the files :D

Legionnaire
Posts: 1242
Joined: Sun, 8. Feb 04, 17:28
x4

Post by Legionnaire » Thu, 27. Mar 08, 22:34

Yup that worked fine this time :D

thanks.

i also came across a couple of grammar/spelling issues last night which i dont think Terre caught, however my german is non-existant i'm afraid, and I noted them down on paper last night but at 5am this morning i mislaid the paper, so i will keep my eyes open for them and see if i see them again and ill try and note at which point the 'errors' (for want of a better description) occur

one thing i did think about and i dont know if it would be feasible or not, is to have ARES tell you where the stations are being got from, if theyre actually bought or are they spawned into TL's after a period of time. as im playing a khaak invader start just now, and cannot hire TL's or purchase stations, but can use ARES to set up a complex for me.


Legionnaire

User avatar
-Dusty-
Posts: 1891
Joined: Fri, 30. Dec 05, 21:17
x3tc

Post by -Dusty- » Thu, 27. Mar 08, 23:32

Legionnaire wrote:one thing i did think about and i dont know if it would be feasible or not, is to have ARES tell you where the stations are being got from, if theyre actually bought or are they spawned into TL's after a period of time.
The TL's always buy the stations at the shipyard which sells the station type. It would be possible to create a log which reports all actions of the ARES TL's. Maybe in the next version.

Legionnaire wrote: [...] as im playing a khaak invader start just now, and cannot hire TL's or purchase stations, but can use ARES to set up a complex for me.
Well, you still need your own TL (or a hired one) for the mines and the complex construction kits...

Version 0.4, the next major update, will (hopefully) contain a delivery service for mines and complex construction kits, so you will no longer be reliant on own or hired TL's.

The only problem is that the TL which delivers the Mines/Construction kits has to be in the player's property, otherwise it would not be possible to access the build command. But now some "clever" players will have the idea to sell the TL as soon as it is in their property... I have to find a way to prevent this.

Kurt Shur'Tugal
Posts: 481
Joined: Sat, 25. Feb 06, 06:23
x3

Post by Kurt Shur'Tugal » Fri, 28. Mar 08, 01:54

how bout have it belong to the cpu till it hits its destination, then switch to the player at the very last second and build
Image

User avatar
Terre
Moderator (English)
Moderator (English)
Posts: 7670
Joined: Mon, 19. Dec 05, 22:23
x4

Post by Terre » Fri, 28. Mar 08, 02:42

I have some more suggestions, sorry I didn't pick them up the first time.

From ARES_V0.32

448847.xml

Line 144

Are you sure you want to shut down ARES?\n\n\033RATTENTION:\033X All projects being build at this moment will be aborted!

to

Are you sure you want to shut ARES down?\n\n\033RATTENTION:\033X All projects being built at this time will be aborted!


Line 180

Attention: Your project is current being built. You can not change the centre of your complex again!

to

Attention: Your project is current being built. You can not change the centre of your complex!</t>


Line 189

I don't have this script running; at this time, so, could someone see if this next suggestion looks correct, when viewed in context.

Code: Select all

[select value="pay"]Execute Project[/select]\n\033RCost:\033X \033Y%s\033X Credits\n\n
to

Code: Select all

[select value="pay"]Commence Project[/select]\n\033RCosting:\033X \033Y%s\033X Credits\n\n

Line 355

Paranids

to

Paranid


Line 357

Others

to

Other


Line 360

Magenta = Paranids

Gray = Others

to

Magenta = Paranid

Gray = Other


Line 367 (Contains German - I'm not sure if this text is required)
Line 369 (Contains German - I'm not sure if this text is required)


Line 372

Project finished

Congratulations, your ARES- project has just been finished! You can shut down ARES now.

We are looking forward to welcome you as our customer again.

to

Project Complete

Congratulations, your ARES-project has been completed! You can shut ARES down.

We look forwards to welcoming you as a customer again.


Line 378 (Contains German - I'm not sure if this text is required)
Line 379 (Contains German - I'm not sure if this text is required)


Line 381

Select complex center

Please select the desired complex centre by using this menu.

to

Select a centre for your complex

Please select the desired centre for your complex by using this menu.



Line 443 (Contains German - I'm not sure if this text is required)


Line 446

The complex preview shows holograms of your complex.This service will cost you

to

The complex preview shows holograms of your complex. This service will cost you


Line 451

Complex center:

to

Complex centre:


Line 453 (Contains German - I'm not sure if this text is required)


Line 461

This settings allow you to choose if ARES should deactivate all collision calculations for your complex when it's finished. Disabling the collision calculation can increase your framerate in the affected sectors significantly... And saves stupid AI pilots from getting killed when flying into your stations.

to

This setting allows you to choose if ARES should deactivate all collision calculations for your complex when it's finished. Disabling the collision calculation can increase your frame rate in the affected sectors significantly... And saves stupid AI pilots from getting killed when flying into your stations.
Open Rights Group - Is your site being blocked
Electronic Frontier Foundation - Online Censorship
The Linux Foundation - Let’s Encrypt
Check if your Email account has been pwned

Post Reply

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