*sigh*
I'll start by writing down what I've done so far, to get it out of the way:
I have edited the 440001.xml and 440002.xml files to give the names and description of both the station and the weapon to be made (lasertower weapon).
I have edited the TFactories.txt, replacing the argon "weapon component factory" with the station I'm working on. Example:
*OLD*
1;0;0;0;0;1;2041;108;-1.2;-3;200;4026;32;1;37;38;7500;10000;25;20;5;SS_FAC_A_TECH204;
*NEW*
1;0;0;0;0;1;7831;108;-1.2;-3;200;4026;32;1;37;38;7500;10000;25;20;5;SS_FAC_A_OL;
The factory is named correctly, and can be purchased and built correctly.
The station has no products!
I was trying to follow the example laid out in both the "75mw sield mod" and this thread: http://www.egosoft.com/x2/forum/viewtopic.php?t=51132
I've got a factory with no products, that uses the default wares (ore, energy, etc.) to produce this big batch of nothing. I've edited the TFactories.txt, 440001.xml, and 440002.xml files. From OllisJ's "75mw shield" mod I downloaded, these appear to be the only files I *need* to modify in order to end up with what I'm trying to build.
I have poked around in the TWare files, but there are no references to any of the shields or weapons that any of the other factories produce (for any reference).
I'm lost!
Help!
I'm going insane! (altering current factories/wares)
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
-
- Posts: 87
- Joined: Sat, 17. Apr 04, 20:45
-
- Posts: 87
- Joined: Sat, 17. Apr 04, 20:45
-
- Posts: 87
- Joined: Sat, 17. Apr 04, 20:45
Is a script the *only* way? I downloaded that "75mw shield" mod, and it didn't have any scripts packed inside. That's a mod that creates an all-new item, and I'm only trying to use one that is pre-existing.
I did find one thing interesting, however. All it takes to break the production is to change the description number in the TFacts file. It changes the name of the station, but also breaks everything else. I've tried mucking about in the .xml files, but with no success so far.
Oh well, guess I'll experiment more after work.
I did find one thing interesting, however. All it takes to break the production is to change the description number in the TFacts file. It changes the name of the station, but also breaks everything else. I've tried mucking about in the .xml files, but with no success so far.
Oh well, guess I'll experiment more after work.
-
- Posts: 136
- Joined: Sun, 13. Jun 04, 01:14
look here: http://www.egosoft.com/x2/forum/viewtopic.php?t=53228
don't change what's already there, add new and script the prods and res's
I should have a very functional example, very soon........
don't change what's already there, add new and script the prods and res's
I should have a very functional example, very soon........
You ask me who I am when I'm alone.
I am never alone, for Death is always with me.......
I am never alone, for Death is always with me.......