[TC]Readtext and effects [Help]

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

User avatar
stonygate
Posts: 469
Joined: Tue, 11. Jan 05, 19:29
x4

[TC]Readtext and effects [Help]

Post by stonygate » Sun, 17. Feb 13, 19:50

Hello people
I have two problems with a mod ship.

The first concerns the READTEXT through x3 editor2 lil name of the vessel is displayed, but not during the game!
Text file in the directory T are also in the .cat package
12800-L39 <- Im italian

Code: Select all

<?xml version="1.0" encoding="utf-8" ?>
<language id="39">
<page id="17" title="" descr="" voice="yes">
 <t id="12803">Kyoto II</t>
 <t id="12804"></t>
</page>
</language>
The second problem concerns the effects of the engine, are not properly displayed.
in scene

Code: Select all

P 14; B effects\engines\fx_engine_emitter; N Beffects\engines\fx_engine_emitter; b  // idx 14
{ 0x2002;  0; -1832; -1133942;  0.000000; 0.000000; 0.000000; 0.000000;  -1; 1; } // 0

P 15; B effects\engines\fx_engine_emitter; N Beffects\engines\fx_engine_emitter; b  // idx 15
{ 0x2002;  -56000; -1494; -1120447;  0.000000; 0.000000; 0.000000; 0.000000;  -1; 1; } // 0

P 16; B effects\engines\fx_engine_emitter; N Beffects\engines\fx_engine_emitter; b  // idx 16
{ 0x2002;  56000; -1494; -1120447;  0.000000; 0.000000; 0.000000; 0.000000;  -1; 1; } // 0

P 17; B effects\engines\fx_engine_XTCM0_white_huge; C 28673; N Beffects\engines\fx_engine_XTCM0_white_huge_28673b; b  // idx 17
{ 0x2002;  -56000; -1514; -1150727;  0.000000; 0.000000; 0.000000; 0.000000;  -1; 1; } // 0

P 18; B effects\engines\fx_engine_XTCM0_white_huge; C 28673; N Beffects\engines\fx_engine_XTCM0_white_huge_28673b; b  // idx 18
{ 0x2002;  56000; -1514; -1150727;  0.000000; 0.000000; 0.000000; 0.000000;  -1; 1; } // 0

P 19; B effects\engines\fx_engine_XTCM0_white_huge; C 28673; N Beffects\engines\fx_engine_XTCM0_white_huge_28673b; b  // idx 19
{ 0x2002;  -382; -1704; -1164109;  0.000000; 0.000000; 0.000000; 0.000000;  -1; 1; } // 0
fx_engine_XTCM0_white_huge not work
i put it in .cat package/effects/engines/fx_engine_XTCM0_white_huge.bod

Code: Select all

/# Exported with dbox2 1.10 at 16.10.2009 22:17:32
 
MATERIAL6: 0; 2; 158.jpg; 149;149;149; 149;149;149; 229;229;229; 1; 100; 10; 0; 1;0;0; 100; NULL;0; NULL;0; NULL;100; NULL;100; NULL;0; // SM 1
 
187845; // body size
// vertices (55)
-24999; 0; -100000; // 0
25000; 0; -100000; // 1
25000; 0; 0; // 2
-24999; 0; 0; // 3
0; 25000; -100000; // 4
0; -24999; -100000; // 5
0; -24999; 0; // 6
0; 25000; 0; // 7
-25000; -25000; 75; // 8
25000; -25000; 75; // 9
25000; 24999; 75; // 10
-25000; 24999; 75; // 11
440; 0; 100000; // 12
-475; -458; 100000; // 13
-475; 458; 100000; // 14
-18899; -18655; -7175; // 15
18899; -18655; -7175; // 16
18899; 18655; -7175; // 17
-18899; 18655; -7175; // 18
-14255; -13929; -20026; // 19
14255; -13929; -20026; // 20
14255; 13929; -20026; // 21
-14255; 13929; -20026; // 22
-17677; 17677; -100000; // 23
17677; -17677; -100000; // 24
17677; -17677; 0; // 25
-17677; 17677; 0; // 26
17677; 17677; -100000; // 27
-17677; -17677; -100000; // 28
-17677; -17677; 0; // 29
17677; 17677; 0; // 30
-18899; -18655; -15620; // 31
18899; -18655; -15620; // 32
18899; 18655; -15620; // 33
-18899; 18655; -15620; // 34
-14255; -13929; -25666; // 35
14255; -13929; -25666; // 36
14255; 13929; -25666; // 37
-14255; 13929; -25666; // 38
-17901; -7414; -77549; // 39
17901; 7414; -77549; // 40
17901; 7414; -44; // 41
-17901; -7414; -44; // 42
-7414; 17901; -77549; // 43
7414; -17901; -77549; // 44
7414; -17901; -44; // 45
-7414; 17901; -44; // 46
-17901; 7414; -77549; // 47
17901; -7414; -77549; // 48
17901; -7414; -44; // 49
-17901; 7414; -44; // 50
7414; 17901; -77549; // 51
-7414; -17901; -77549; // 52
-7414; -17901; -44; // 53
7414; 17901; -44; // 54
-1; -1; -1; // end of verts
 
// ----- part fx_engine_xtc_lightblue_huge (53 faces) -----
0;  0; 2; 1;  -25; 1; 0.757746; 0.000331; 1.000708; -0.120910; 1.000708; 0.000331; /! N: 0.000000; 1.000000; 0.000000; !/ // 0
0;  3; 2; 0;  -25; 1; 0.757746; -0.120910; 1.000708; -0.120910; 0.757746; 0.000331; /! N: 0.000000; 1.000000; 0.000000; !/ // 1
0;  1; 3; 0;  -25; 2; 0.757746; 0.000331; 1.000708; -0.120910; 1.000708; 0.000331; /! N: 0.000000; -1.000000; 0.000000; !/ // 2
0;  2; 3; 1;  -25; 2; 0.757746; -0.120910; 1.000708; -0.120910; 0.757746; 0.000331; /! N: 0.000000; -1.000000; 0.000000; !/ // 3
0;  4; 6; 5;  -25; 1; 0.757746; 0.000331; 1.000708; -0.120910; 1.000708; 0.000331; /! N: 1.000000; 0.000000; 0.000000; !/ // 4
0;  7; 6; 4;  -25; 1; 0.757746; -0.120910; 1.000708; -0.120910; 0.757746; 0.000331; /! N: 1.000000; 0.000000; 0.000000; !/ // 5
0;  5; 7; 4;  -25; 2; 0.757746; 0.000331; 1.000708; -0.120910; 1.000708; 0.000331; /! N: -1.000000; 0.000000; 0.000000; !/ // 6
0;  6; 7; 5;  -25; 2; 0.757746; -0.120910; 1.000708; -0.120910; 0.757746; 0.000331; /! N: -1.000000; 0.000000; 0.000000; !/ // 7
0;  8; 10; 9;  -25; 1; 0.757746; 0.002177; 1.000708; -0.247324; 1.000708; 0.002177; /! N: 0.000000; 0.000000; -1.000000; !/ // 8
0;  11; 10; 8;  -25; 1; 0.757746; -0.247324; 1.000708; -0.247324; 0.757746; 0.002177; /! N: 0.000000; 0.000000; -1.000000; !/ // 9
0;  9; 11; 8;  -25; 2; 0.757746; 0.002177; 1.000708; -0.247324; 1.000708; 0.002177; /! N: 0.000000; 0.000000; 1.000000; !/ // 10
0;  10; 11; 9;  -25; 2; 0.757746; -0.247324; 1.000708; -0.247324; 0.757746; 0.002177; /! N: 0.000000; 0.000000; 1.000000; !/ // 11
0;  12; 14; 13;  -25; 1; 0.752415; 0.022447; 0.757246; -0.004831; 0.752415; 0.022447; /! N: 0.000000; 0.000000; 1.000000; !/ // 12
0;  15; 17; 16;  -25; 1; 0.757746; -0.248838; 1.000708; -0.498339; 1.000708; -0.248838; /! N: 0.000000; 0.000000; -1.000000; !/ // 13
0;  18; 17; 15;  -25; 1; 0.757746; -0.498339; 1.000708; -0.498339; 0.757746; -0.248838; /! N: 0.000000; 0.000000; -1.000000; !/ // 14
0;  16; 18; 15;  -25; 2; 0.757746; -0.248838; 1.000708; -0.498339; 1.000708; -0.248838; /! N: 0.000000; 0.000000; 1.000000; !/ // 15
0;  17; 18; 16;  -25; 2; 0.757746; -0.498339; 1.000708; -0.498339; 0.757746; -0.248838; /! N: 0.000000; 0.000000; 1.000000; !/ // 16
0;  19; 21; 20;  -25; 1; 0.757746; -0.248838; 1.000708; -0.498339; 1.000708; -0.248838; /! N: 0.000000; 0.000000; -1.000000; !/ // 17
0;  22; 21; 19;  -25; 1; 0.757746; -0.498339; 1.000708; -0.498339; 0.757746; -0.248838; /! N: 0.000000; 0.000000; -1.000000; !/ // 18
0;  20; 22; 19;  -25; 2; 0.757746; -0.248838; 1.000708; -0.498339; 1.000708; -0.248838; /! N: 0.000000; 0.000000; 1.000000; !/ // 19
0;  21; 22; 20;  -25; 2; 0.757746; -0.498339; 1.000708; -0.498339; 0.757746; -0.248838; /! N: 0.000000; 0.000000; 1.000000; !/ // 20
0;  23; 25; 24;  -25; 1; 0.757746; 0.000331; 1.000708; -0.120910; 1.000708; 0.000331; /! N: 0.707107; 0.707107; 0.000000; !/ // 21
0;  26; 25; 23;  -25; 1; 0.757746; -0.120910; 1.000708; -0.120910; 0.757746; 0.000331; /! N: 0.707107; 0.707107; 0.000000; !/ // 22
0;  24; 26; 23;  -25; 2; 0.757746; 0.000331; 1.000708; -0.120910; 1.000708; 0.000331; /! N: -0.707107; -0.707107; 0.000000; !/ // 23
0;  25; 26; 24;  -25; 2; 0.757746; -0.120910; 1.000708; -0.120910; 0.757746; 0.000331; /! N: -0.707107; -0.707107; 0.000000; !/ // 24
0;  27; 29; 28;  -25; 1; 0.757746; 0.000331; 1.000708; -0.120910; 1.000708; 0.000331; /! N: 0.707107; -0.707107; 0.000000; !/ // 25
0;  30; 29; 27;  -25; 1; 0.757746; -0.120910; 1.000708; -0.120910; 0.757746; 0.000331; /! N: 0.707107; -0.707107; 0.000000; !/ // 26
0;  28; 30; 27;  -25; 2; 0.757746; 0.000331; 1.000708; -0.120910; 1.000708; 0.000331; /! N: -0.707107; 0.707107; 0.000000; !/ // 27
0;  29; 30; 28;  -25; 2; 0.757746; -0.120910; 1.000708; -0.120910; 0.757746; 0.000331; /! N: -0.707107; 0.707107; 0.000000; !/ // 28
0;  31; 33; 32;  -25; 1; 0.757746; 0.002177; 1.000708; -0.247324; 1.000708; 0.002177; /! N: 0.000000; 0.000000; -1.000000; !/ // 29
0;  34; 33; 31;  -25; 1; 0.757746; -0.247324; 1.000708; -0.247324; 0.757746; 0.002177; /! N: 0.000000; 0.000000; -1.000000; !/ // 30
0;  32; 34; 31;  -25; 2; 0.757746; 0.002177; 1.000708; -0.247324; 1.000708; 0.002177; /! N: 0.000000; 0.000000; 1.000000; !/ // 31
0;  33; 34; 32;  -25; 2; 0.757746; -0.247324; 1.000708; -0.247324; 0.757746; 0.002177; /! N: 0.000000; 0.000000; 1.000000; !/ // 32
0;  35; 37; 36;  -25; 1; 0.757746; 0.002177; 1.000708; -0.247324; 1.000708; 0.002177; /! N: 0.000000; 0.000000; -1.000000; !/ // 33
0;  38; 37; 35;  -25; 1; 0.757746; -0.247324; 1.000708; -0.247324; 0.757746; 0.002177; /! N: 0.000000; 0.000000; -1.000000; !/ // 34
0;  36; 38; 35;  -25; 2; 0.757746; 0.002177; 1.000708; -0.247324; 1.000708; 0.002177; /! N: 0.000000; 0.000000; 1.000000; !/ // 35
0;  37; 38; 36;  -25; 2; 0.757746; -0.247324; 1.000708; -0.247324; 0.757746; 0.002177; /! N: 0.000000; 0.000000; 1.000000; !/ // 36
0;  39; 41; 40;  -25; 1; 0.757746; 0.000331; 1.000708; -0.120910; 1.000708; 0.000331; /! N: -0.382647; 0.923895; 0.000000; !/ // 37
0;  42; 41; 39;  -25; 1; 0.757746; -0.120910; 1.000708; -0.120910; 0.757746; 0.000331; /! N: -0.382647; 0.923895; 0.000000; !/ // 38
0;  40; 42; 39;  -25; 2; 0.757746; 0.000331; 1.000708; -0.120910; 1.000708; 0.000331; /! N: 0.382647; -0.923895; 0.000000; !/ // 39
0;  41; 42; 40;  -25; 2; 0.757746; -0.120910; 1.000708; -0.120910; 0.757746; 0.000331; /! N: 0.382647; -0.923895; 0.000000; !/ // 40
0;  43; 45; 44;  -25; 1; 0.757746; 0.000331; 1.000708; -0.120910; 1.000708; 0.000331; /! N: 0.923895; 0.382647; 0.000000; !/ // 41
0;  46; 45; 43;  -25; 1; 0.757746; -0.120910; 1.000708; -0.120910; 0.757746; 0.000331; /! N: 0.923895; 0.382647; 0.000000; !/ // 42
0;  44; 46; 43;  -25; 2; 0.757746; 0.000331; 1.000708; -0.120910; 1.000708; 0.000331; /! N: -0.923895; -0.382647; 0.000000; !/ // 43
0;  45; 46; 44;  -25; 2; 0.757746; -0.120910; 1.000708; -0.120910; 0.757746; 0.000331; /! N: -0.923895; -0.382647; 0.000000; !/ // 44
0;  47; 49; 48;  -25; 1; 0.757746; 0.000331; 1.000708; -0.120910; 1.000708; 0.000331; /! N: 0.382647; 0.923895; 0.000000; !/ // 45
0;  50; 49; 47;  -25; 1; 0.757746; -0.120910; 1.000708; -0.120910; 0.757746; 0.000331; /! N: 0.382647; 0.923895; 0.000000; !/ // 46
0;  48; 50; 47;  -25; 2; 0.757746; 0.000331; 1.000708; -0.120910; 1.000708; 0.000331; /! N: -0.382647; -0.923895; 0.000000; !/ // 47
0;  49; 50; 48;  -25; 2; 0.757746; -0.120910; 1.000708; -0.120910; 0.757746; 0.000331; /! N: -0.382647; -0.923895; 0.000000; !/ // 48
0;  51; 53; 52;  -25; 1; 0.757746; 0.000331; 1.000708; -0.120910; 1.000708; 0.000331; /! N: 0.923895; -0.382647; 0.000000; !/ // 49
0;  54; 53; 51;  -25; 1; 0.757746; -0.120910; 1.000708; -0.120910; 0.757746; 0.000331; /! N: 0.923895; -0.382647; 0.000000; !/ // 50
0;  52; 54; 51;  -25; 2; 0.757746; 0.000331; 1.000708; -0.120910; 1.000708; 0.000331; /! N: -0.923895; 0.382647; 0.000000; !/ // 51
0;  53; 54; 52;  -25; 2; 0.757746; -0.120910; 1.000708; -0.120910; 0.757746; 0.000331; /! N: -0.923895; 0.382647; 0.000000; !/ // 52
-99; 00000000000000000001; // end of part
-99; 0000000000000000; // end of body
and in types/bodies.pck

Code: Select all

SBTYPE_JET;147;
905;912;773;770;779;782;783;67;102;105;108;114;127;237;239;272;273;566;10209;10318;10320;10434;
effects\engines\fx_engine_emitter; 	
	
effects\engines\fx_engine_argon_M3;		effects\engines\fx_engine_argon_M4;		effects\engines\fx_engine_argon_M5;
effects\engines\fx_engine_boron_M3;		effects\engines\fx_engine_boron_M4;		effects\engines\fx_engine_boron_M5;
effects\engines\fx_engine_teladi_M3;	effects\engines\fx_engine_teladi_M4;	effects\engines\fx_engine_teladi_M5;
effects\engines\fx_engine_paranid_m3;	effects\engines\fx_engine_paranid_M4;	effects\engines\fx_engine_paranid_M5;
effects\engines\fx_engine_split_M3;		effects\engines\fx_engine_Split_M4;		effects\engines\fx_engine_split_M5;
effects\engines\fx_engine_paranid_M5_var1;effects\engines\fx_engine_paranid_M5_var2;effects\engines\fx_engine_paranid_m5_var3;
effects\engines\fx_engine_teladi_M3_var1;	effects\engines\fx_engine_teladi_M3_var2;	effects\engines\fx_engine_teladi_M3_var3;

effects\engines\fx_engine_xenon_M3;		effects\engines\fx_engine_xenon_M5;		effects\engines\fx_engine_paranid_M3_var1;

effects\engines\fx_engine_argon_TS;		      effects\engines\fx_engine_boron_TS;
effects\engines\fx_engine_boron_TS_A;		effects\engines\fx_engine_boron_TS_B;
effects\engines\fx_engine_paranid_TS;		effects\engines\fx_engine_split_TS;
effects\engines\fx_engine_teladi_TS;		effects\engines\fx_engine_split2_TS; 			
effects\engines\fx_engine_argon_M3plus;		effects\engines\fx_engine_paranid_M3plus;	effects\engines\fx_engine_split_M3plus;
effects\engines\fx_engine_xenon_M3plus;		effects\engines\fx_engine_paranid_M6plus;

effects\engines\fx_engine_argon_m3pxtm;
effects\engines\fx_engine_argon_m3pxtmP;
effects\engines\fx_engine_teladi_m3pxtm;
effects\engines\fx_engine_teladi_m3pxtmP;
effects\engines\fx_engine_yaki_m3pxtm;
effects\engines\fx_engine_argon_m4p_lower;
effects\engines\fx_engine_argon_m4p_upper;
effects\engines\fx_engine_pirate_m3P; 		effects\engines\fx_engine_argon_m8_topbottom;
effects\engines\fx_engine_argon_m8_middle; 	effects\engines\fx_engine_otas_m4;
effects\engines\fx_engine_otas_m3_upper;	effects\engines\fx_engine_otas_m3_lower;
effects\engines\fx_engine_Split_M4_pirate;	effects\engines\fx_engine_Split_M4_pirate_lower;

effects\engines\fx_engine_usc_m3;		effects\engines\fx_engine_usc_m4;
effects\engines\fx_engine_usc_m5;		effects\engines\fx_engine_usc_m3p;
effects\engines\fx_engine_teladi_m5p;           effects\engines\fx_engine_paranid_M6M;
effects\engines\fx_engine_Boron_QY;  		effects\engines\fx_engine_otas_tm1;
effects\engines\fx_engine_otas_tm2;		effects\engines\fx_engine_paranid_m81;
effects\engines\fx_engine_paranid_m82;		effects\engines\fx_engine_split_m8;
effects\engines\fx_engine_teladi_m8;		effects\engines\fx_engine_otas_tm3;
effects\engines\fx_engine_otas_ts1;		effects\engines\fx_engine_otas_ts2;
effects\engines\fx_engine_otas_ts3;		effects\engines\fx_engine_otas_ts_small;
effects\engines\fx_engine_fdroneO;		effects\engines\fx_engine_fdroneI;
effects\engines\fx_engine_LC_m3;		effects\engines\fx_engine_LC_m3_middle;
effects\engines\fx_engine_LC_m6;		effects\engines\fx_engine_terraformer_m3_bottom;
effects\engines\fx_engine_terraformer_m3_top;	effects\engines\fx_engine_terraformer_m4;
effects\engines\fx_engine_terraformer_m5;	effects\engines\fx_engine_atf_m3;
effects\engines\fx_engine_atf_m3p;		effects\engines\fx_engine_atf_m6m;
effects\engines\fx_engine_atf_m6m_sides;	effects\engines\fx_engine_pirate_m3P_middle;
effects\engines\fx_engine_xenon_M6;		effects\engines\fx_engine_xenon_M6Mtop;
effects\engines\fx_engine_xenon_M6Mmid;		effects\engines\fx_engine_xenon_M6Mlow;
effects\engines\fx_engine_otas_M4p;		effects\engines\fx_engine_otas_M4p_sides;
effects\engines\fx_engine_OTAS_M6M;		effects\engines\fx_engine_paranid_M4p;
effects\engines\fx_engine_split_M4p;		effects\engines\fx_engine_split_M4p_middle;
effects\engines\fx_engine_teladi_M4p;		effects\engines\fx_engine_teladi_M4p_top;
effects\engines\fx_engine_teladi_M4p_middle;	effects\engines\fx_engine_paranid_TM;
effects\engines\fx_engine_messagedrone;		effects\engines\fx_engine_terran_repairdrone;
effects\engines\fx_engine_supplydrone;		effects\engines\fx_engine_terran_transportdrone;
effects\engines\fx_engine_terran_transportdrone_small;	effects\engines\fx_engine_argon_TM;
effects\engines\fx_engine_boron_TM_A;		effects\engines\fx_engine_boron_TM_B;
effects\engines\fx_engine_split2_TM;		effects\engines\fx_engine_split_TM;
effects\engines\fx_engine_teladi_TM;		effects\engines\fx_engine_pirate_TM;

effects\engines\fx_engine_teladi_M4m;		effects\engines\fx_engine_teladi_M4s;
effects\engines\fx_engine_terran_m5;		effects\engines\fx_engine_terran_m6;	
effects\engines\fx_engine_usc_m8;		effects\engines\fx_engine_usc_tp;
effects\engines\fx_engine_usc_ts_A;		effects\engines\fx_engine_usc_ts_B;
effects\engines\fx_engine_boron_m3p;		effects\engines\fx_engine_usc_fightdrone;
effects\engines\fx_engine_fightdronemk2;	effects\engines\fx_engine_paranid_M4p_upper;
effects\engines\fx_xpshuttle;             effects\engines\fx_engine_XTCM0_white_huge;
what is wrong?
Please Help
Last edited by stonygate on Mon, 18. Feb 13, 19:44, edited 2 times in total.
My ship is http://adf.ly/Yuv03 and run with:
Missile Transformer: http://adf.ly/YpxtH
Claim software: http://adf.ly/YpxqQ
Smart Turrets: http://adf.ly/Ypxn0
Marine repair: http://adf.ly/YpxjA
Ship Hijacker: http://adf.ly/Ypxfd

User avatar
X2-Illuminatus
Moderator (Deutsch)
Moderator (Deutsch)
Posts: 24967
Joined: Sun, 2. Apr 06, 16:38
x4

Post by X2-Illuminatus » Sun, 17. Feb 13, 20:50

**moved to X3TC S&M forum**

Is your text file actually loaded in the game?
Nun verfügbar! X3: Farnham's Legacy - Ein neues Kapitel für einen alten Favoriten

Die komplette X-Roman-Reihe jetzt als Kindle E-Books! (Farnhams Legende, Nopileos, X3: Yoshiko, X3: Hüter der Tore, X3: Wächter der Erde)

Neuauflage der fünf X-Romane als Taschenbuch

The official X-novels Farnham's Legend, Nopileos, X3: Yoshiko as Kindle e-books!

User avatar
stonygate
Posts: 469
Joined: Tue, 11. Jan 05, 19:29
x4

Post by stonygate » Sun, 17. Feb 13, 22:03

I have added in the dir t, in theory it should work.
but give me readtext17-12803
My ship is http://adf.ly/Yuv03 and run with:
Missile Transformer: http://adf.ly/YpxtH
Claim software: http://adf.ly/YpxqQ
Smart Turrets: http://adf.ly/Ypxn0
Marine repair: http://adf.ly/YpxjA
Ship Hijacker: http://adf.ly/Ypxfd

User avatar
X2-Illuminatus
Moderator (Deutsch)
Moderator (Deutsch)
Posts: 24967
Joined: Sun, 2. Apr 06, 16:38
x4

Post by X2-Illuminatus » Sun, 17. Feb 13, 22:51

You still have to load your textfile in the game using the MD or the SE. In the Script Editor in the General Commands section there is a command called "load text id", where you just have to add the id of your textfile. Add this command to a script and load it. Afterwards the game can read text from the file.

Only textfiles with the numbers 0001, 0002 and 0003 are loaded automatically.
Nun verfügbar! X3: Farnham's Legacy - Ein neues Kapitel für einen alten Favoriten

Die komplette X-Roman-Reihe jetzt als Kindle E-Books! (Farnhams Legende, Nopileos, X3: Yoshiko, X3: Hüter der Tore, X3: Wächter der Erde)

Neuauflage der fünf X-Romane als Taschenbuch

The official X-novels Farnham's Legend, Nopileos, X3: Yoshiko as Kindle e-books!

User avatar
stonygate
Posts: 469
Joined: Tue, 11. Jan 05, 19:29
x4

Post by stonygate » Sun, 17. Feb 13, 23:17

i have this:

Code: Select all

load text: id=12803
$race = [Terran]
$ship = {SH_SH_XX_M0}

$psec = [PLAYERSHIP]-> get sector
$i = 0
while $i < 40
$dock = find station in galaxy: startsector=$psec class or type=[Shipyard] race=$race flags=[Find.Random] refobj=null serial=null max.jumps=100
if $dock-> exists
$dock-> add product to factory or dock: $ship
$c = $dock-> get amount of ware $ship in cargo bay
skip if $c > 0
= $dock-> add 1 units of $ship
end
inc $i
end

return null
this script add ship in Shipyard but not load correct text!
My ship is http://adf.ly/Yuv03 and run with:
Missile Transformer: http://adf.ly/YpxtH
Claim software: http://adf.ly/YpxqQ
Smart Turrets: http://adf.ly/Ypxn0
Marine repair: http://adf.ly/YpxjA
Ship Hijacker: http://adf.ly/Ypxfd

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

Post by jack775544 » Mon, 18. Feb 13, 06:38

That is since you are loading the page and not the file. What file is the is the string in (it should be something like 1234-L044), that is what you need to put in after load text (1234 in that example).
1940s - Various "computers" are "programmed" using direct wiring and switches. Engineers do this in order to avoid the tabs vs spaces debate.

Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22239
Joined: Sun, 14. Nov 04, 23:26
x4

Post by Cycrow » Mon, 18. Feb 13, 09:50

as jack says, you need to load the id of the file, and not that id thats used in it.

also, you should really only stick to 4 digits for the filename, the game is not designed to handle more.
The 5th and 6th digits have a special meaning for pages, and denote the game version they were added in

User avatar
stonygate
Posts: 469
Joined: Tue, 11. Jan 05, 19:29
x4

Post by stonygate » Mon, 18. Feb 13, 10:52

:oops:
Point 2 solved i forghot to put on .cat tex/true/158.jpg

for readtext i can not fix it!
My ship is http://adf.ly/Yuv03 and run with:
Missile Transformer: http://adf.ly/YpxtH
Claim software: http://adf.ly/YpxqQ
Smart Turrets: http://adf.ly/Ypxn0
Marine repair: http://adf.ly/YpxjA
Ship Hijacker: http://adf.ly/Ypxfd

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

Post by jack775544 » Mon, 18. Feb 13, 11:59

Ok what is the name of the t file that you have your ship name in?
1940s - Various "computers" are "programmed" using direct wiring and switches. Engineers do this in order to avoid the tabs vs spaces debate.

User avatar
stonygate
Posts: 469
Joined: Tue, 11. Jan 05, 19:29
x4

Post by stonygate » Mon, 18. Feb 13, 13:16

now for test, i have changed old file in this:
rootgame/t/9955-L039.xml

Code: Select all

<?xml version="1.0" encoding="utf-8" ?>
<language id="39">
<page id="17" title="" descr="" voice="yes">
 <t id="90888">Kyoto II</t>
</page>
</language>
By x3 editor2, I put in name ID 90888 and is displayed correctly.
My ship is http://adf.ly/Yuv03 and run with:
Missile Transformer: http://adf.ly/YpxtH
Claim software: http://adf.ly/YpxqQ
Smart Turrets: http://adf.ly/Ypxn0
Marine repair: http://adf.ly/YpxjA
Ship Hijacker: http://adf.ly/Ypxfd

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