Autor Wątek:  Correction of traction and "Player train not exist!" error  (Przeczytany 5229 razy)

0 użytkowników i 1 Gość przegląda ten wątek.

Offline Lelek

  • Deweloper
  • Wiadomości: 265
    • Zobacz profil
  • Otrzymane polubienia: 11
Hello,
in td scenery, is only one place where the main switch is turning off. That happens because end of one wire is little bit higher than end the neighboring. So tried to correct it. In td.scn I found the bad pole (the middle paragraph):
"include tr/p-stb1-3pd.inc 1200.41;5.8;97.5127 180.0 betonrelief1 end"
node -1 0  none traction pwr01 3500 4500 0.01 cu 3.0 1
1200.41 5.80012 97.5127
1200.4884 5.80012 27.5117
1200.41 7.50012 97.5127
1200.4884 7.50012 27.5117
0.4 4.0 3 0.04 vis
endtraction

include tr/p-stb1-3k.inc 1200.4884 5.845 27.5117 -179.18 betonrelief1 end
node -1 0  none traction pwr01 3500 4500 0.01 cu 3.0 1
1200.4884 5.845 27.5117
1196.5232 5.845 -33.2951
1200.4884 7.545 27.5117
1196.5232 7.545 -33.2951
0.4 4.0 3 0.04 vis
endtraction

include tr/p-stb1-3k.inc 1196.5232 5.845 -33.2951 -173.36 betonrelief1 end
node -1 0  none traction pwr01 3500 4500 0.01 cu 3.0 1
1196.5232 5.845 -33.2951
1186.4123 5.845 -93.3864
1196.5232 7.545 -33.2951
1186.4123 7.545 -93.3864
0.4 4.0 3 0.04 vis
endtraction
I was changing some parameters and trying what happens, than I noticed that values on 4th and 6th line of each paragraph are same as values on 3th and 5th line of next paragraph, but in case of the bad pole, they aren't. So I corrected values like this and tried to start sim:
"include tr/p-stb1-3pd.inc 1200.41;5.8;97.5127 180.0 betonrelief1 end"
node -1 0  none traction pwr01 3500 4500 0.01 cu 3.0 1
1200.41 5.80012 97.5127
1200.4884 5.845 27.5117
1200.41 7.50012 97.5127
1200.4884 7.545 27.5117
0.4 4.0 3 0.04 vis
endtraction

include tr/p-stb1-3k.inc 1200.4884 5.845 27.5117 -179.18 betonrelief1 end
node -1 0  none traction pwr01 3500 4500 0.01 cu 3.0 1
1200.4884 5.845 27.5117
1196.5232 5.845 -33.2951
1200.4884 7.545 27.5117
1196.5232 7.545 -33.2951
0.4 4.0 3 0.04 vis
endtraction

include tr/p-stb1-3k.inc 1196.5232 5.845 -33.2951 -173.36 betonrelief1 end
node -1 0  none traction pwr01 3500 4500 0.01 cu 3.0 1
1196.5232 5.845 -33.2951
1186.4123 5.845 -93.3864
1196.5232 7.545 -33.2951
1186.4123 7.545 -93.3864
0.4 4.0 3 0.04 vis
endtraction
the result was I got "Player train not exist!" error. Even if I write back the original values or change trainset, the error still occurs. Other sceneries works normally. errors.txt file is in attachment.
Thanks for your help
Lelek
M.

Offline Ra

  • Deweloper
  • Wiadomości: 6114
    • Zobacz profil
    • Instalator+Starter+Edytor
  • Otrzymane polubienia: 23
Odp: Correction of traction and "Player train not exist!" error
« Odpowiedź #1 dnia: 01 Maja 2014, 17:12:17 »
Where you got the quotes from?

"include tr/p-stb1-3pd.inc 1200.41;5.8;97.5127 180.0 betonrelief1 end"

In the patch that was released yesterday is the new version of TD, where I've fixed the catenary and exchanged the posts to new ones.

Offline Lelek

  • Deweloper
  • Wiadomości: 265
    • Zobacz profil
  • Otrzymane polubienia: 11
Odp: Correction of traction and "Player train not exist!" error
« Odpowiedź #2 dnia: 01 Maja 2014, 17:41:57 »
Sorry, I forgot to write I still use 8.13 version with new EXE.
M.

Offline Ra

  • Deweloper
  • Wiadomości: 6114
    • Zobacz profil
    • Instalator+Starter+Edytor
  • Otrzymane polubienia: 23
Odp: Correction of traction and "Player train not exist!" error
« Odpowiedź #3 dnia: 01 Maja 2014, 18:03:34 »
I meant, you have extra quote signs in your file. You can download the patch and try the td.scn from it, where the corrections are already done and also the power supply is better. Some days ago I've fixed the same place as you did.

Offline Lelek

  • Deweloper
  • Wiadomości: 265
    • Zobacz profil
  • Otrzymane polubienia: 11
Odp: Correction of traction and "Player train not exist!" error
« Odpowiedź #4 dnia: 02 Maja 2014, 10:05:35 »
OK, let me have one more question. The traction can be edited only in Notepad or is there some other way how to do it (eg. Raisted)? I can't believe, somebody just opened Notepad and wrote traction for linia053.
M.

Offline Ra

  • Deweloper
  • Wiadomości: 6114
    • Zobacz profil
    • Instalator+Starter+Edytor
  • Otrzymane polubienia: 23
Odp: Correction of traction and "Player train not exist!" error
« Odpowiedź #5 dnia: 02 Maja 2014, 11:46:20 »
Most of sceneries for MaSzyna were created on 3ds Max, equiped with scripts dedicated for MaSzyna.

Rainsted has build-in two scenery editors, one based on text files and the second on binary file. The former (accessed from Debugger tab) is very limited and can mostly move a group of obiects by a vector or rotate them. The latter (RSF one) has some advanced functions for overhead lines, however they still need more work to be complete.

AFAIK, half of the overhead lines on Quark (Koniewice – Bruchniewo – Wielki Kac Dolny – Mydelniczka – Skwarki and Skwarki – Wielki Kac) were created only by using Excel and Notepad. Also, the new overhead line for TD was calculated using PHP script, dedicated for this task.

 

Maszyna - Symulator PojazdĂłw Szynowych