EnglishGermanFrenchRussianPolishItalianSpanish
Log inRegister
 
complex constuction
Post new topic Reply to topic
View previous topic :: View next topic
Author Message
makapse





Joined: 13 Mar 2011



PostPosted: Thu, 24. Mar 11, 19:43    Post subject: complex constuction Reply with quote Print

Is there any mod which will remove the range for connecting 2 stations?I searched the forum,and did not find any one which did exactly that

Back to top
View user's profile Send private message
Roger L.S. Griffiths



MEDALMEDALMEDAL

Joined: 12 Mar 2004
Posts: 5729 on topic
Location: United Kingdom
Thank you for registering your game
PostPosted: Thu, 24. Mar 11, 20:40    Post subject: Reply with quote Print

The best you can hope for there is the modular complexes mod. I believe the distance limits are hard coded but there is a "Vanilla" work around...

Build the complex initially as multiple complexes then join the complexes together. I have personally used that technique and it can work very well, the only issue is with the bizaar tube routing algorithms (which can be circumvented using the tubeless Complexes mod if you wish)


_________________
Roger (aka [SRK] Mr^Rabbit)

"Understanding is a three edged sword... your side, their side... and the Truth!" - J.J. Sheriden, Babylon 5 S4E6 T28:55

"May god stand between you and harm in all the dark places you must walk." - Ancient Egyption Proverb

"How do you eat an elephant? One bite at a time." - Unknown
Back to top
View user's profile Send private message MSN Messenger
Saetan



MEDALMEDAL

Joined: 01 Feb 2006
Posts: 2944 on topic
Location: Vorarlberg (Austria)
Thank you for registering your game
PostPosted: Thu, 24. Mar 11, 21:06    Post subject: Reply with quote Print

The distance between stations and the complex hub to be joined with, isn't hardcoded. It's set inside the Globals.txt and can be increased.

Globals.txt wrote:
SG_MAX_DISTANCE_BUILDCOMPLEX;20000; // distance between selected factories



_________________
-- retired from X --

S.O.P.H.I.E. - Stamp Out Prejudice Hatred and Intolerance Everywhere
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
makapse





Joined: 13 Mar 2011



PostPosted: Thu, 24. Mar 11, 21:55    Post subject: Reply with quote Print

Roger L.S. Griffiths wrote:
The best you can hope for there is the modular complexes mod. I believe the distance limits are hard coded but there is a "Vanilla" work around...

Build the complex initially as multiple complexes then join the complexes together. I have personally used that technique and it can work very well, the only issue is with the bizaar tube routing algorithms (which can be circumvented using the tubeless Complexes mod if you wish)


I am already using the tubeless mod,and I did know about the workaround,but that was hell when trying to make complexs of asteroids.Anyway,I will just add another zero to the number

Thanks anyways

EDIT:-where exactly is the globals.txt?
I opened x3files.xml and found its location at /types/globals.txt but there is no folder named types in the TC folder?search did not reveal it either

Back to top
View user's profile Send private message
Saetan



MEDALMEDAL

Joined: 01 Feb 2006
Posts: 2944 on topic
Location: Vorarlberg (Austria)
Thank you for registering your game
PostPosted: Thu, 24. Mar 11, 23:10    Post subject: Reply with quote Print

The file is packed into the .cat/.dat files ... last .cat/.dat I've found which contains the Globals.txt was 10. You'll need X³ Editor 2 or something similar to extract, modify and evantually repack it.


_________________
-- retired from X --

S.O.P.H.I.E. - Stamp Out Prejudice Hatred and Intolerance Everywhere
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
makapse





Joined: 13 Mar 2011



PostPosted: Fri, 25. Mar 11, 18:14    Post subject: Reply with quote Print

makapse wrote:
Can you guys tell me what exactly is the "drag and drop" methord?
Just draging a file onto the screen(program) changes the cursor into not available.

Also,I am using this for the first time,so I need some help.I opened the cat manager,extracted a file and edited it(file will be opened in blank mode if I open it directly).Now,I need to update the changes I made in the file by placing it back,again,right?But I am not able to do that.I read the help file and it says to either drag& drop,or add file from menu.But the add file option in the files->add is grayed out in the cat manager,and I am not able to find another add file option anywhere.


I had posted it in the X3Editor topic and have not yet recieved a reply,so hoping I will get one here soon(or even there)

Back to top
View user's profile Send private message
Roger L.S. Griffiths



MEDALMEDALMEDAL

Joined: 12 Mar 2004
Posts: 5729 on topic
Location: United Kingdom
Thank you for registering your game
PostPosted: Fri, 25. Mar 11, 18:54    Post subject: Reply with quote Print

makapse wrote:
makapse wrote:
Can you guys tell me what exactly is the "drag and drop" methord?
Just draging a file onto the screen(program) changes the cursor into not available.

...


I had posted it in the X3Editor topic and have not yet recieved a reply,so hoping I will get one here soon(or even there)
Forget the Drag and Drop method, you are making things hard for yourself.
  1. Ensure that XEditor 2 is running with Administrator permissions
  2. With XEditor 2 configured to point at the directory containing the copy of X3 you wish to modify, open the "Cat Manager"
  3. Under the VFS tab, open the "types" directory
  4. Locate the file "Globals", right-click it and select "Open With..." --> "Text Viewer"
  5. Locate the entry "SG_MAX_DISTANCE_BUILDCOMPLEX;20000;" towards the bottom of the file and change it to "SG_MAX_DISTANCE_BUILDCOMPLEX;40000;" for instance
  6. From the X3Editor 2 application menu select "File" --> "Save As..."
  7. If the "Switch to System Disk" button is available then click it
  8. Delete the .pck extension from the filename (if present)
  9. If the "types" folder does not already exist in your game directory then create it
  10. Browse to the "types" folder, and click "Save"
  11. Now run the game and enjoy the longer complex connection distance.



_________________
Roger (aka [SRK] Mr^Rabbit)

"Understanding is a three edged sword... your side, their side... and the Truth!" - J.J. Sheriden, Babylon 5 S4E6 T28:55

"May god stand between you and harm in all the dark places you must walk." - Ancient Egyption Proverb

"How do you eat an elephant? One bite at a time." - Unknown
Back to top
View user's profile Send private message MSN Messenger
Saetan



MEDALMEDAL

Joined: 01 Feb 2006
Posts: 2944 on topic
Location: Vorarlberg (Austria)
Thank you for registering your game
PostPosted: Fri, 25. Mar 11, 19:00    Post subject: Reply with quote Print

If he has already extracted and modified his Globals.txt, he can limit himself to your steps 9 to 11 ...


_________________
-- retired from X --

S.O.P.H.I.E. - Stamp Out Prejudice Hatred and Intolerance Everywhere
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Roger L.S. Griffiths



MEDALMEDALMEDAL

Joined: 12 Mar 2004
Posts: 5729 on topic
Location: United Kingdom
Thank you for registering your game
PostPosted: Fri, 25. Mar 11, 19:07    Post subject: Reply with quote Print

Saetan wrote:
If he has already extracted and modified his Globals.txt, he can limit himself to your steps 9 to 11 ...
Not quite, there are two IMPORTANT points that are raised in earlier steps regarding Administrator rights and the actual name of the file after editing (needs to be "Globals.txt" - assuming extensions are not hidden but will nominally be seen as just "Globals")


_________________
Roger (aka [SRK] Mr^Rabbit)

"Understanding is a three edged sword... your side, their side... and the Truth!" - J.J. Sheriden, Babylon 5 S4E6 T28:55

"May god stand between you and harm in all the dark places you must walk." - Ancient Egyption Proverb

"How do you eat an elephant? One bite at a time." - Unknown
Back to top
View user's profile Send private message MSN Messenger
makapse





Joined: 13 Mar 2011



PostPosted: Fri, 25. Mar 11, 19:51    Post subject: Reply with quote Print

Thank You.From what I understood you told me to do,you just told me to store the file in the game directory without packing it back?Then this leads me to assuming that I can extract all the cat files in the game directory and delete them and the game will just run like it always does,may be even a bit more faster since there will be no virtual memory being used,and the only reason that the game comes packed is to save some disk space in lieu of performance.I thought that since the game came packed,it would not know where to look for the files if they were not in the cat files and was desperately trying to pack the file back............

btw,which file has more precedence,the one in the game directory or the one in the cat file,and do the interfere with each other?

Back to top
View user's profile Send private message
Roger L.S. Griffiths



MEDALMEDALMEDAL

Joined: 12 Mar 2004
Posts: 5729 on topic
Location: United Kingdom
Thank you for registering your game
PostPosted: Fri, 25. Mar 11, 20:10    Post subject: Reply with quote Print

makapse wrote:
Thank You.From what I understood you told me to do,you just told me to store the file in the game directory without packing it back?Then this leads me to assuming that I can extract all the cat files in the game directory and delete them and the game will just run like it always does,may be even a bit more faster since there will be no virtual memory being used,and the only reason that the game comes packed is to save some disk space in lieu of performance.I thought that since the game came packed,it would not know where to look for the files if they were not in the cat files and was desperately trying to pack the file back............

btw,which file has more precedence,the one in the game directory or the one in the cat file,and do the interfere with each other?
I would advise against complete extraction of the CAT/DAT files, performance gain is likely to be minimal anyway. The filesystem takes precedence over the CAT/DAT.


_________________
Roger (aka [SRK] Mr^Rabbit)

"Understanding is a three edged sword... your side, their side... and the Truth!" - J.J. Sheriden, Babylon 5 S4E6 T28:55

"May god stand between you and harm in all the dark places you must walk." - Ancient Egyption Proverb

"How do you eat an elephant? One bite at a time." - Unknown
Back to top
View user's profile Send private message MSN Messenger
Nemesis_87





Joined: 19 Mar 2011
Posts: 466 on topic

Thank you for registering your game
PostPosted: Fri, 1. Apr 11, 23:22    Post subject: Reply with quote Print

Hi there

i dont mean to hijack a topic but u mentioned u use the tubless complex script, I tried to use it but it dont work, any advice?

thanks in advance

Edit: No need now figured it out hehe Razz

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic Reply to topic
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
Control Panel
Login Data
The time now is Sun, 19. May 13, 13:49

All times are GMT + 2 Hours


Board Security

Copyright © EGOSOFT 1989-2009
Powered by phpBB © 2001, 2005 phpBB Group
Template created by Avatar & BurnIt!
Debug: page generation = 0.26008 seconds, sql queries = 63