[Script] Factory Complex Constructor [22.9.2007] [V3.21 FINAL]

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

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

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

Post by -Dusty- »

xxbluedragonxx wrote:I thought it mean there is some new command "test connection" :)
Ooh, I'd like to have something like that. The disability of the ScriptEditor to connect stations with a simple command is one of the big problems in complex building...
Otherwise, It would be possible to build complexes with hundreds of stations OOS - without the notice of a framerate reduction.

But we'll see. Maybe, patch 2.5 brings something new? :D
Jakesnake5
Posts: 2880
Joined: Fri, 17. Feb 06, 04:55
x4

Post by Jakesnake5 »

I wouldn't COUNT on 2.5 bringing anything new in. And I can't tell you what it IS bringing in. :D :twisted:
Perfection is in the hands of God, we bags of dirt can only do the best we can©
[ external image ]
Modders are a source of ideas to help the Game Makers improve what they have made. Cherrish them, for they are the fruit of thy labors.©
bluewiz1960
Posts: 61
Joined: Mon, 9. Feb 04, 00:55
x4

Post it here as well

Post by bluewiz1960 »

I am posting here as well. My stations are committing suicide all of a sudden with no warning. FCC was not installed until after so it is not responsible but it may offer a solution if someone can tell me how to set all stations in a factory to a safe position after they are in a complex. FCC reports to collisions right up until the complex implodes and breaks apart. I do get messages after the break up on a couple of staions that impact other stations in the complex. There are no indications of problems prior however.
User avatar
SymTec ltd.
Posts: 5285
Joined: Mon, 11. Apr 05, 21:11
x3tc

Post by SymTec ltd. »

-Dusty- wrote:@bluewiz: If you want to solve the problem with the FCC, please post your question in the corresponding thread. I'll help you, but this is not the right place ;)
bluewiz1960, -Dusty- was talking about a thread, not a forum... **merged** :roll:

(fyi: This post is a follow-up of this thread)
User avatar
-Dusty-
Posts: 2301
Joined: Fri, 30. Dec 05, 20:17
x3tc

Post by -Dusty- »

Thanks for merging, STL.


So, here we go: If I understand correctly, you've selected the complex hub and then pressed the "Show Informations"-Hotkey? If yes: It won't work this way, you have to select the Station itself which is colliding with another one. It's a bit difficult to select it, when it's already attached to a complex... You have to press "t" (for searching a target) while the station is in your crosshair.
Now it should work, but I'm not quite sure if it works anyway with stations that are attached to complexes!

Anyway... If it doesn't, you have to remove all complex connections or move the station manually to another place. I think that's the better solution.

Select the station which collides as described above, and unfix it by pressing the "fix/unfix Station" Hotkey. Now you can move it with the "Move..."-Hotkeys. But please note that you need a tractorbeam - see the manual for details.

If you've problems to find out which station is colliding, remove the complex connections (by using the self destruction of the hub) and then check the FCC-Informations of every station. Just don't forget to save before doing that ^^


btw:
Jakesnake5 wrote:And I can't tell you what it IS bringing in. :D :twisted:
Well... Are you bribable? :mrgreen:
bluewiz1960
Posts: 61
Joined: Mon, 9. Feb 04, 00:55
x4

Weird

Post by bluewiz1960 »

Ok Dusty...how would you fix this one...somehow its like that destroyer incident in Boston harbour. My complex has moved around somehow and now my Solar plant XL is buried inside an Ore Mine. FCC Doesn't want ot move it when I unfix it. Am I pooched or is there a solution
User avatar
-Dusty-
Posts: 2301
Joined: Fri, 30. Dec 05, 20:17
x3tc

Post by -Dusty- »

Well... Could you please send me your savegame, your scripts- and your t-folder? (Pack them into a .zip or .rar-Archive)
I guess it's easier if I fix it this way than writing some script which doesn't work if you try it ^^

You can upload it at file-upload.net or send it by EMail...


If you don't want to send me your savegame, you can try to destroy all complex connections, and use the "Secure Position" Hotkey when targeting your SPP. It will take the script some time to find a safe position (it beeps continuously while searching a position). But if you use this method, you had to re-connect the whole complex afterwards...


I also can't believe that the FCC doesnt want to move the station while it's attached to the complex... This is the second reasen why I'd like to have a look at your savegame.
bluewiz1960
Posts: 61
Joined: Mon, 9. Feb 04, 00:55
x4

Files too large

Post by bluewiz1960 »

I can't email through my usual provider and I don't read German well enough to send by file upload to the site unless you can give me the answers that the link is asking for. The problem of course is my save game file...each one is close to 10MB and my provider limits to 6-7 MB. I will try to split but not having much success. Where can I find a RAR archiver?
User avatar
-Dusty-
Posts: 2301
Joined: Fri, 30. Dec 05, 20:17
x3tc

Post by -Dusty- »

Ooh, I'm sorry for that. Maybe I should post links to english sites when posting in the english forums... :oops:

Anyway, here's the english version of file-upload.net (You don't have to enter your E-Mail-Address or a comment). You can also use Rapidshare, but... I hate it ^^


You can download WinRar here - It's Shareware, but there are no limitations in the Trial-Version. Imho it's the best program for (un)packing files.
bluewiz1960
Posts: 61
Joined: Mon, 9. Feb 04, 00:55
x4

File upload

Post by bluewiz1960 »

http://www.file-upload.net/en/download- ... 2.rar.html is the link to the gamefiles bluewiz1960
User avatar
-Dusty-
Posts: 2301
Joined: Fri, 30. Dec 05, 20:17
x3tc

Post by -Dusty- »

Oh boy, what did you do with that complex? I had to move more than ten stations cause they collided with each other ^^
Well, your complex is even more messy than before, but at least there are no colliding stations left.

Download

Have Fun :)


I'll delete the file as soon as you've downloaded it.
Treach
Posts: 13
Joined: Sun, 19. Aug 07, 17:32

Post by Treach »

Hello Friends, I have two questions that I was hoping you all could help me out with.

I'll prefix these with the notice that I a brand new at, and struggling with the whole station/complex building thing. So far I've managed to link together two XL solar power plants and move them around, and the hub, but that's about it. I have been reading both the X3 manual and FCC manual, but am still having some problems, hence my questions.

Here we go...

First question is (I think) FCC specific. In the FCC manual, on page 14, it mentions that in order to "reset" a complex's tubes after movement, one should "build a new control center and connect it to the old, the old will disappear, doesn't need any resources, etc etc". I'm not sure how to do this, I've tried buying/connecting both a construction kit, which I can't attach as it wants to attach to two things, and a complex hub, which I can't seem to attach to the complex either. Could someone please indicate how I would go about doing this?

Edit - I just realized I can't buy a complex control center anywhere, just the "construction kit". I'm lost.

Second question(s) is/are non-FCC specific. How do I remove a station from a complex, is that even possible? Also, is it possible to "pick up" a station I've already deployed with a TL?

I'm using X3 DVD ver 2.0.02, Bonus pack 3.1.0.6, and Xtended mod 0.7.3, however it doesn't seem that these would cause any problems or conflicts to the best of my knowledge, someone can correct me.

Many thanks in advance!
bluewiz1960
Posts: 61
Joined: Mon, 9. Feb 04, 00:55
x4

Thanks Dusty

Post by bluewiz1960 »

I downloaded the file and I'll check it out tonight. As a point of interest, I didn't do anything weird. When I set up the complex it had 3 km or close to it between stations. Like you saw, it seemed to collapse in on itself for some reason. [Gremlins methinks] I'll let you know if they return.

PS
I had a chance to look at the complex and it looks real nice but you forgot one small detail....an operating docking hub....I can't visit my adoring factory workers....
I would guess the easy fix is to add a couple of factories as separate complex and hub first and then add them to the main complex. I think I read somewhere that the second dock is kept.
And to repeat thanks for saving the game for me.
User avatar
-Dusty-
Posts: 2301
Joined: Fri, 30. Dec 05, 20:17
x3tc

Post by -Dusty- »

Treach wrote: I'm not sure how to do this, I've tried buying/connecting both a construction kit, which I can't attach as it wants to attach to two things, and a complex hub, which I can't seem to attach to the complex either. Could someone please indicate how I would go about doing this?

Edit - I just realized I can't buy a complex control center anywhere, just the "construction kit". I'm lost.
The complex construction kit and the Complex Center (Hub) are (nearly) the same: You can connect two Stations with a construction kit (by using the standard-Command) or you can build a single control center (by using the FCC-Command and using a construction kit).

When you connect two stations, a control center will be built too. But with the FCC-Command, it's possible to create a single control center without connecting something.


Now, you have to buy at least two construction kits at a shipyard. Order your TL to the sector with your complex, and build one single control center - Use the FCC-Command and select the construction kit.
Then use the Standard-Command for building stations, and select the construction kit. Firstly select your Old complex hub, and secondly your new one.

Treach wrote:Second question(s) is/are non-FCC specific. How do I remove a station from a complex, is that even possible? Also, is it possible to "pick up" a station I've already deployed with a TL?
It's not possible to remove a single station from a complex, you have to destroy all connections (use the self destruction of the complex hub). There's the Station/Complex Relocator which can load stations back into a TL.


@bluewiz: What's wrong with the hub? It seems to work fine...
bluewiz1960
Posts: 61
Joined: Mon, 9. Feb 04, 00:55
x4

Hub not dockable

Post by bluewiz1960 »

When either my ship or the supply and trader ships try and dock, we just circle the hub aimlessly. I can dock at other stations but not the complex
Treach
Posts: 13
Joined: Sun, 19. Aug 07, 17:32

Post by Treach »

-Dusty- wrote:The complex construction kit and the Complex Center (Hub) are (nearly) the same: You can connect two Stations with a construction kit (by using the standard-Command) or you can build a single control center (by using the FCC-Command and using a construction kit).

When you connect two stations, a control center will be built too. But with the FCC-Command, it's possible to create a single control center without connecting something.

Now, you have to buy at least two construction kits at a shipyard. Order your TL to the sector with your complex, and build one single control center - Use the FCC-Command and select the construction kit.
Then use the Standard-Command for building stations, and select the construction kit. Firstly select your Old complex hub, and secondly your new one.
Ahhhh!! I see, that worked! Thanks a bunch! So to reposition the hub, one needs to 1. build a new standalone hub complex and position it to where they want it to be, and 2. connect the hub to the complex using a construction kit.

Worked like a charm.

-Dusty- wrote:It's not possible to remove a single station from a complex, you have to destroy all connections (use the self destruction of the complex hub). There's the Station/Complex Relocator which can load stations back into a TL.
OK, just verified the destruct hub works, my stations separate into individual entities. It's tedious to rebuild the complex, but at least this works.

And thanks for the link to that script, that's exactly what I was looking for.


On a final note, can I recommend that the above information be included in any future revisions of the FCC manual? It's already full of good info, but the little details like these are also important to have available.

Thanks again Dusty!
spoidz
Posts: 607
Joined: Sat, 6. Mar 04, 20:43
x3tc

Post by spoidz »

Hello all,

I have a strange problem and hoping its a quick user error on my part:

I have destroyed the complex hub in an existing XTM/2.0.02 game in order to then spread out my stations prior to a restart that will be importing my universe to a new XTM start.

Reason I'm spreading the stations is I use the FCC (3.12) to cram them in so close that X3converter simply can't handle import w/o losing a few.

Sequence: Unfix Complex (shift-K)/Destroy hub (LV cheat)/Stations Separated

Did I miss a step here?


After I have done that, for some reason it then will let me move any of the now separate stations using the FCC but won't let me re-fix any of them.

It is letting me move all of them w/o having to fix/unfix them (they are all staying blue (no unfixed color name and no camera drones).

Any chance this will corrupt my import? Since the save I use, I don't know what the status of these stations really is (fixed/unfixed)?
User avatar
Brinnie
Posts: 908
Joined: Mon, 5. Jun 06, 08:26
x3tc

Post by Brinnie »

I'd like to install the latest FCC, but i've stumbled on the first step, configuring the hotkeys.
I am already using lots of extra keys for other scripts.
I like the suggested shortcuts ( on the manual) however I use those the GMS (attack, protect...).

So I have 3 questions:

1 - If I were to use the same keys I am using for the GMS
(SHIFT-KEYPAD) would they clash or do the FCC keys only come into action when building?

2 - Depending on the answer to question 1, can the hotkeys be made to be functional only when building?
If am not making any sense, what I mean is for ex.
while flying "Ins" = Target next ...
while in sector map view "Ins" = Change to Z axis.

3 - Could Caps/Scroll/Num lock be used together with other keys to extend the Pool of hot keys?
User avatar
Carlo the Curious
Posts: 16999
Joined: Mon, 5. Mar 07, 22:03
x4

Post by Carlo the Curious »

1. They'll clash.
2. Not that I know of - they're all 'in flight' hotkeys.
3. Not that I know of - only shift seems to work as a modifier.
User avatar
Brinnie
Posts: 908
Joined: Mon, 5. Jun 06, 08:26
x3tc

Post by Brinnie »

Carlo the Curious wrote:1. They'll clash.
2. Not that I know of - they're all 'in flight' hotkeys.
3. Not that I know of - only shift seems to work as a modifier.
Thanks.

I was hoping for a different answer though, now my head 's going to hurt trying to sort out the hotkeys.

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