What I would like to do is merging XRM (X3 Rebalance Mod) and Saturn Hub Complex (SHC). Each one have its own TFactories file so I was wondering if it's possible to simply append the Saturn Hub Complex added factories at the end of XRM Tfactories file or if, on the contrary, the index actually is important.
I suppose that SHC scripts somehow call the TFactories file. But does it by index or by internal names? (at the end of each line in the TFactories file, I see an unique name for each factory; that's what I mean with 'internal names')
Thanks.
[Help]Tfactories index matters? (XRM + SHC)
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
-
- Posts: 8132
- Joined: Tue, 19. Apr 05, 13:33
The main issue with changing the index of t files is any scripts that reference that index will call the wrong object. However, it only affects the script engine - md files, and the main universe map call objects using their id.
As the xrm is mostly not script based you should be ok to shift xrm entries without causing too many problems. I think the main entries in the xrm TFactories that need to stay where they are are the weapon dealers entries as these are called by scripts in the xrm.
Bare in mind I can't be 100% certain of this and don't blame me if it doesn't work!
As the xrm is mostly not script based you should be ok to shift xrm entries without causing too many problems. I think the main entries in the xrm TFactories that need to stay where they are are the weapon dealers entries as these are called by scripts in the xrm.
Bare in mind I can't be 100% certain of this and don't blame me if it doesn't work!
- sayonara-p
- Posts: 54
- Joined: Sat, 18. Apr 09, 21:24
That's what I suspected. So factories are called by index rather than the unique name. What a pity. Anyway, that's what I wanted to know, thanks.
About your idea of changing XRM TFactories indexes, I see that it can be hard to do (not exactly hard but time consuming and I'm dealing with quite a lot of things) so I'm going to look for an alternative to SHC only script based (without TFactories changes) or something similar, more compatible with XRM.
BTW, I don't use to blame people that help me
About your idea of changing XRM TFactories indexes, I see that it can be hard to do (not exactly hard but time consuming and I'm dealing with quite a lot of things) so I'm going to look for an alternative to SHC only script based (without TFactories changes) or something similar, more compatible with XRM.
BTW, I don't use to blame people that help me
- DrBullwinkle
- Posts: 5715
- Joined: Sat, 17. Dec 11, 01:44
Does this post from Litcube in the Saturn Complex Hub thread help?
He gives brief instructions on making the SCH work with other mods.
He gives brief instructions on making the SCH work with other mods.
Peace through superior firepower
Bullwinkle's List | Marine Repairs and Training | Mobile Mining Mk2 | Drone Carrier Software 2 (DCS2) | Ship Tricks: Mini-Guides (with Video)
Bullwinkle's List | Marine Repairs and Training | Mobile Mining Mk2 | Drone Carrier Software 2 (DCS2) | Ship Tricks: Mini-Guides (with Video)
- sayonara-p
- Posts: 54
- Joined: Sat, 18. Apr 09, 21:24
Oh, great. How did I miss that? Thanks, man. I'll try that, since it seems a bit easier than I expected.DrBullwinkle wrote:Does this post from Litcube in the Saturn Complex Hub thread help?
He gives brief instructions on making the SCH work with other mods.