Components research SDTYPE's, X2 and earlier

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
User avatar
Killjaeden
Posts: 5366
Joined: Sun, 3. Sep 06, 18:19
x3tc

Components research SDTYPE's, X2 and earlier

Post by Killjaeden » Sat, 8. Dec 12, 00:34

Hi, does anybody has X2 or even older titles installed (i don't know since when this file was used) and could look into the components.txt for me?
I'm looking for additional types of SDTYPE_xyz (e.g. ANIMATED, DOCK,...) that where available, in the hope to find one that has to do with missiles.

If one exists, it should be possible to move the missile launch point away from it's default position. There is a flag for this in the bod structure, so this function has existed in the past, but i don't know if it was used in components, and how.
[ external image ]
X-Tended TC Mod Team Veteran.
Modeller of X3AP Split Acinonyx, Split Drake, Argon Lotan, Teladi Tern. My current work:
Image

User avatar
DrBullwinkle
Posts: 5715
Joined: Sat, 17. Dec 11, 01:44
x3tc

Post by DrBullwinkle » Sat, 8. Dec 12, 01:07

I do not see a components file in either XBTF or X2.

The earliest components file that I can find is in X3R 04.cat. Does that help any?

User avatar
jack775544
Posts: 1277
Joined: Tue, 13. Dec 11, 08:27
x4

Post by jack775544 » Sat, 8. Dec 12, 01:46

Same I just did a search for components.txt in CatFiles.txt (for X2) and it was not there. In the X3R version of components.txt there was nothing with SDTYPE in it at all.
1940s - Various "computers" are "programmed" using direct wiring and switches. Engineers do this in order to avoid the tabs vs spaces debate.

User avatar
Killjaeden
Posts: 5366
Joined: Sun, 3. Sep 06, 18:19
x3tc

Post by Killjaeden » Sat, 8. Dec 12, 01:47

hm unfortunately no, as it is won't have more entries then the x3tc/ap one...
Ah damn. Makes sense, the extra parts (that little cube you get if you import x3r ships) are without use, therefore require an entry in the components to work. That means, the flags the extra parts have make no difference at all... le sigh.
Thanks for your help.
In the X3R version of components.txt there was nothing with SDTYPE in it at all.
Do the entries have another group then? Or are they without any group (SDTYPE_DOCK would be the group for docks, the number behind as the number of entries that follow)


SDTYPE_ANIMATED;42;
19990;NULL;1;NULL;990;
19023;ANIMATEDF_DOCKPORT_STANDARD|ANIMATEDF_DOCKPORT_UDDOWN|ANIMATEDF_DOCKPORT_BELOW60;1;NULL;9010;
[...]
SDTYPE_DOCK;8;
19022;NULL;1;NULL;9008;
71;NULL;1;NULL;9009;
79;NULL;1;NULL;9009;
[...]
[ external image ]
X-Tended TC Mod Team Veteran.
Modeller of X3AP Split Acinonyx, Split Drake, Argon Lotan, Teladi Tern. My current work:
Image

User avatar
jack775544
Posts: 1277
Joined: Tue, 13. Dec 11, 08:27
x4

Post by jack775544 » Sat, 8. Dec 12, 02:23

There is nothing in the file that says SDTYPE at all
http://pastebin.com/6pKGM9w5
That is a copy of the X3R vanilla componets file if you want to browse though it
(Tell me if this breaches copyright or something and I will remove it)
1940s - Various "computers" are "programmed" using direct wiring and switches. Engineers do this in order to avoid the tabs vs spaces debate.

User avatar
Killjaeden
Posts: 5366
Joined: Sun, 3. Sep 06, 18:19
x3tc

Post by Killjaeden » Sat, 8. Dec 12, 07:16

:D well it's SCTYPE there, which does propably exactly the same (in x3tc bodies.txt there is also a SBTYPE, i guess B for Body, C for Component and D for Dummy... )
Someone said x2 doesn't have components, instead it's all combined in bodies.txt or similar, could you take a look there?
[ external image ]
X-Tended TC Mod Team Veteran.
Modeller of X3AP Split Acinonyx, Split Drake, Argon Lotan, Teladi Tern. My current work:
Image

User avatar
jack775544
Posts: 1277
Joined: Tue, 13. Dec 11, 08:27
x4

Post by jack775544 » Sat, 8. Dec 12, 08:09

I went though the X2 files and there was nothing called bodies.txt and looking though the files there is nothing there that has a similar structure to components.txt.

Well there was a was a file called BodyEffects.txt but it does not look like what you are looking for.
This is its contents

Code: Select all

// BodyEffects
// Effect numbers used for explosion of a 3d body id
// 0 = no effect used, -1 = use default part body explosion effect defined for sector object
1;
// body nr; effect nr;
  0; 0;
 25;36;
 26;36;
 27;36;
 28;36;
180;36;
 72;-1;
 81;-1;
134;-1;
307;-1;
567;-1;
810;-1;
811;-1;
812;-1;
822;-1;
876;-1;
879;-1;
906;-1;
939;-1;
940;-1;
944;-1;
1940s - Various "computers" are "programmed" using direct wiring and switches. Engineers do this in order to avoid the tabs vs spaces debate.

Post Reply

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