[Script] Factory Complex Constructor [4.02]

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
Nestan
Posts: 268
Joined: Wed, 3. Dec 03, 22:43
x3tc

Post by Nestan » Wed, 18. Nov 09, 00:15

I will try that tonight (leaving sector after destroying hub) but I already installed your patch and I dont have that station command at all. I am using your latest patch alpha .2

User avatar
Saetan
Posts: 3223
Joined: Wed, 1. Feb 06, 19:26
x4

Post by Saetan » Mon, 23. Nov 09, 13:06

Nestan: I just did a parallel, English installation of X³:TC to test. I've found the bug. Due to a error in the English language file, it couldn't be loaded and so no command slot could be assigned for it. I've fixed it, and already uploaded the new version alpha.03.


I'm sorry for that bug.


Update:

Two hotkeys to cycle through the factories of a complex got added in the new version of the "Compliance-Update".

User avatar
-Dusty-
Posts: 2301
Joined: Fri, 30. Dec 05, 20:17
x3tc

Post by -Dusty- » Wed, 25. Nov 09, 17:16

Hi all,

I didn't have much time recently to read the forums here, so sorry for my long absence. Anyway, I have updated the FCC to version 4.02, which should now work correctly with TC version 2.5.

The changes include a function to cycle trough all Stations of a complex to target them (Targeting a station in a complex has been made impossible in patch 2.5). To do this, target a (fixed!) complex hub and press [Rotate Station X-] respectively [Rotate Station X+] to cycle through the stations.

Additionally, you can target the station in a complex which is the closest to the Playership by pressing the [Send report] hotkey while targeting the hub of the complex or any other station in it. Note that the station will only be targeted if it is no further away from the playership than 1500 metres.

I have also fixed several smaller bugs that came with version 2.5, including a problem with the library lib.cm.isincomplex by X-Freak Cartman. The new version of this script should now work correctly with TC version 2.5.


Image


The new version 4.02 can be downloaded in the start post of this thread. Have fun - and if there ary any bugs left, please report them here.


Last but not least, many thanks to Saetan who did a great job fixing the bugs while I wasn't here! :D

User avatar
Saetan
Posts: 3223
Joined: Wed, 1. Feb 06, 19:26
x4

Post by Saetan » Wed, 25. Nov 09, 18:02

-Dusty- wrote:Last but not least, many thanks to Saetan who did a great job fixing the bugs while I wasn't here! :D
No problem, it was fun to sight you source code and to do that job. I just did it quite to late, as there were just a few days between my "fix" and your official update. ^^



@all:

I'll add an uninstall script within some of the next days, maybe at the weekend. Then you will be able to do a clean uninstall of my unofficial fix. At the moment I'm quite busy because of working and getting my own flat. ^^

Requiemfang
Posts: 3206
Joined: Thu, 16. Jul 09, 12:24
x4

Post by Requiemfang » Sat, 28. Nov 09, 04:06

Hmmm... you might want to post this in the OP post because two of the files are the same as ones used in the MARS mod

8910-L044
8910-L049

I'm also posting this in the MARS thread

Boredom
Posts: 115
Joined: Tue, 24. Nov 09, 15:23

Post by Boredom » Sat, 28. Nov 09, 04:25

I cant get the target station function to work 4.02 :cry: can't figure it out. Can move the hub around, but both x keys will just buzz and nothing happens. What am i missing?
Tks

User avatar
Saetan
Posts: 3223
Joined: Wed, 1. Feb 06, 19:26
x4

Post by Saetan » Sat, 28. Nov 09, 10:21

Requiemfang wrote:Hmmm... you might want to post this in the OP post because two of the files are the same as ones used in the MARS mod

8910-L044
8910-L049

I'm also posting this in the MARS thread
... these page-id must be from a third party library or something like that. They are almost the same ... if the differences in t-id 1003 and 1004 are doing any harm to the function of each scripts, I don't know.
MARS Fire Control wrote:<?xml version="1.0" encoding="UTF-8" ?>
<language id="44">
<page id="8910" title="">
<t id="1000">67.100.133.167.200.233.267.334.370.270</t>
<t id="1001">'li</t>
<t id="1002"> j</t>
<t id="1003">.,"!|frtI-/\\\(\)</t>
<t id="1004">cksJLz?\{\}</t>
<t id="1005">abdeghnopuvxy*$`BEFKPSTVXYZ1234567890</t>
<t id="1006">ACDGHNRU</t>
<t id="1007">mwMO+#^</t>
<t id="1008">W@</t>
<t id="1009">%</t>
<t id="1010">~</t>
<t id="1098">%s\n|%s|</t>
<t id="1099">ÿ</t>
<t id="2001">{</t>
<t id="2002">}</t>
<t id="2003">\\</t>
<t id="2004">\033</t>
</page>
</language>
Factory Complex Constructor wrote:<?xml version="1.0" encoding="UTF-8" ?>
<language id="44">
<page id="8910" title="">
<t id="1000">67.100.133.167.200.233.267.334.370.270</t>
<t id="1001">'li</t>
<t id="1002"> j</t>
<t id="1003">.,"!|frtI-/\</t>
<t id="1004">cksJLz{?</t>
<t id="1005">abdeghnopuvxy*$`BEFKPSTVXYZ1234567890</t>
<t id="1006">ACDGHNRU</t>
<t id="1007">mwMO+#^</t>
<t id="1008">W@</t>
<t id="1009">%</t>
<t id="1010">~</t>
<t id="1098">%s\n|%s|</t>
<t id="1099">ÿ</t>
<t id="2001">{</t>
<t id="2002">}</t>
<t id="2003">\</t>
<t id="2004">\033</t>
<t id="91099">|%s|\n|%s|\n|%s|\n|%s|\n</t>
<t id="91098">%s\n|%s|</t>
</page>
</language>

Lancefighter
Posts: 3144
Joined: Sun, 19. Dec 04, 02:41
x4

Post by Lancefighter » Sat, 28. Nov 09, 10:49


User avatar
Saetan
Posts: 3223
Joined: Wed, 1. Feb 06, 19:26
x4

Post by Saetan » Sat, 28. Nov 09, 14:17

I've added the uninstall routine to my unofficial fix. You can download the new version in my release-post on the page before.
Saetan wrote:[...]

To uninstall copy the file 'setup.plugin.fcc.sadiablo.xml' from the './scripts.uninstall'-directory into your './scripts'-directory and load your savegame. Save it and exit your game.
Next, delete all script- and language-files with the help of the 'Delete all 'FCC X3TC 2.5 Compliance Update.bat'-file in your './scripts.delete'-directory. Simply open that file and it will automatically delete all script- and language-files of this script.

[...]

1.00
  • Beta-Phase finished.
  • Added a routine for uninstallation

Termight
Posts: 42
Joined: Sun, 10. Dec 06, 22:48
x3

Post by Termight » Thu, 3. Dec 09, 03:52

I'm having a weird problem with the stations built using this system, and only this system:

I placed my hub first, build my stations, removed the need for crystals from my SPP L and then connected them all together (hub to SPP, SPP to Wheat Farm L, SPP to Distillery L). I expected this work work great since the SPP could just power the whole endeavor without any inputs, but it didn't. I kept having to feed it e-cells :evil:

Eventually I started to investigate, only to see that my SPP L was producing ten (10) ecells per cycle rather than the 2600+ that it was supposed to.

I figured this might be my problem, so I destroyed everything, gave my TL an SPP L, a wheat farm and 2 complex kits and did some experiments:

SPP, remove crystal requirement, wheat farm, connect SPP and wheat farm -> expected number of ecells
SPP, remove crystal requirement, place hub, connect hub and SPP -> 10 ecells/cycle

Am I falling afoul of a known bug? Is there a way to fix this? I would really rather have that extra control of where the hub is relative to the station :)

User avatar
EmperorJon
Posts: 9378
Joined: Mon, 29. Dec 08, 20:58
x3tc

Post by EmperorJon » Mon, 4. Jan 10, 12:59

Just to clear this up, you need to build the CCKs manually? You can only make standalone Hubs using the FCC?
______
I'm Jon. I'm mostly not around any more. If you want to talk, please message me! It's cool.
______

User avatar
Saetan
Posts: 3223
Joined: Wed, 1. Feb 06, 19:26
x4

Post by Saetan » Mon, 4. Jan 10, 13:04

EmperorJon wrote:Just to clear this up, you need to build the CCKs manually? You can only make standalone Hubs using the FCC?
Yes, you have to join your stations with CCK's without the FCC.

User avatar
EmperorJon
Posts: 9378
Joined: Mon, 29. Dec 08, 20:58
x3tc

Post by EmperorJon » Mon, 4. Jan 10, 13:06

I don't care about having to, thanks!

This is great!
______
I'm Jon. I'm mostly not around any more. If you want to talk, please message me! It's cool.
______

Llama
Posts: 456
Joined: Tue, 21. Aug 07, 06:59
x3tc

Post by Llama » Tue, 5. Jan 10, 08:13

[EDIT] Nevermind, I'm an idiot.

Great script though :D
I fly Terran for the accents

User avatar
George Wills
Posts: 546
Joined: Wed, 6. Nov 02, 20:31
xr

Post by George Wills » Tue, 5. Jan 10, 10:54

This is perfect tool for building nice looking complex. THX for it

But, it's not easy to use it well from beginning. I spent whole day and placed 9 stations, before I learned it.
Problem is to target that bad placed stations and correct their positions.
When my complex had only few stations, targeting of individual ones works every time. But now even newly connected stations don't want to be targeted.

Is any way, how to free station from complex? Shoot out tubes or something like that? (Extra Search did not find me any answer)

stile
Posts: 4
Joined: Mon, 27. Jul 09, 20:50
x3tc

Post by stile » Tue, 5. Jan 10, 12:12

George Wills wrote:Is any way, how to free station from complex? Shoot out tubes or something like that? (Extra Search did not find me any answer)
you can set autodestruction when you are docked on complex - that destroy only hub and every connection between factories...

User avatar
George Wills
Posts: 546
Joined: Wed, 6. Nov 02, 20:31
xr

Post by George Wills » Wed, 6. Jan 10, 13:31

Auto destruct worked very well :wink: thx

Immediately after exposion were now released stations still untargetable. I had to leave sector and return there to be able target that stations.
I corrected positions of some fabrics and joined them again. And again lost possibility to target most of them. But not big problem this time, because my complex now looks all nicely organized and refined.

This way is little more expensive (needs all new complex connection kits). But when your badly placed station in complex cannot be targeted, then it is good solution. thanks again for this good tip

User avatar
Saetan
Posts: 3223
Joined: Wed, 1. Feb 06, 19:26
x4

Post by Saetan » Wed, 6. Jan 10, 18:35

You could also use the new hotkeys to target the stations in 4.02 ... or with the help of my unofficial update for 4.01 (and earlier) a few pages before.

No need to destruct the whole complex then.

Ash Axiom
Posts: 62
Joined: Tue, 26. Jan 10, 23:48

Post by Ash Axiom » Sun, 7. Feb 10, 11:59

Has anybody ever run into a problem with a useless station? I'm running TC 2.1 I think and I've got a Crystal Fab M that simply won't do anything. It's got no primary resources, no secondaries, and no product. It's just a giant piece of space junk that I paid a bunch of credits for. I don't know if the mod is causing this problem, but this is the only mod I use, so I figured I'd ask here. Anybody seen this before or know how to fix it?

User avatar
EmperorJon
Posts: 9378
Joined: Mon, 29. Dec 08, 20:58
x3tc

Post by EmperorJon » Sun, 7. Feb 10, 12:02

It's not got them listed you mean?
______
I'm Jon. I'm mostly not around any more. If you want to talk, please message me! It's cool.
______

Post Reply

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