Autor Wątek:  Błąd w testowaniu scenerii  (Przeczytany 3719 razy)

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

Offline Patrykos

  • Zasłużony dla Symulatora
  • Wiadomości: 4511
    • Zobacz profil
  • Otrzymane polubienia: 9
Błąd w testowaniu scenerii
« dnia: 23 Czerwca 2006, 16:39:53 »
Witajcie.
Zrobilem troszke mojej trasy ale chce przetestować a tu taki lolek:
Font init
Font init OK
Sound Init
Loading - texture: textures\logo.bmp
OK
Sound Init OK
Textures init
Textures init OK
Models init
Models init OK
Ground init
normal
Loading - texture: textures\rail_screw_used1.bmp
OK
Loading - texture: textures\tpbps-new2.tex
OK
Unrecognized command: -1

Wpis w scn. :
include;tr/EST-bramka770.inc;;;17.1082;0.0;-44.9717;0.0;20.0;end

node -1 0 none track normal 100.0 1.435 0.25 25.0 20 0 Flat vis
 Rail_screw_used1 4 TpBpS-new2.tex 0.2 0.5 1.1
17.1536 0.2 -9.43609  0.0  //point 1
0.0 0.0 0.0  //control vector 1
0.0 0.0 0.0  //control vector 2
17.1536 0.2 -109.436  0.0  //point 2
0
endtrack
trainset PE2307 track normal 100.0
node -1 0 eu07-010 dynamic PKP\EU07-010 4E 0.0 headdriver 7 0 enddynamic
endtrainset
Pozdrawiam, Patryk
https://www.facebook.com/WarsztatPatrykosa
Węgrom gratulujemy Ikarusa.

Offline firefoxfan

  • Wiadomości: 244
    • Zobacz profil
  • Otrzymane polubienia: 0
Błąd w testowaniu scenerii
« Odpowiedź #1 dnia: 23 Czerwca 2006, 16:43:54 »
A gdzie Firstinit???
Powinien być za wszelkim terenem, torami , deklaracjami eventów itp, a przed składami do prowadzenia.

Pozdrawiam,
Firefoxfan

Offline Patrykos

  • Zasłużony dla Symulatora
  • Wiadomości: 4511
    • Zobacz profil
  • Otrzymane polubienia: 9
Błąd w testowaniu scenerii
« Odpowiedź #2 dnia: 23 Czerwca 2006, 16:47:45 »
Font init
Font init OK
Sound Init
Loading - texture: textures\logo.bmp
OK
Sound Init OK
Textures init
Textures init OK
Models init
Models init OK
Ground init
normal
Loading - texture: textures\rail_screw_used1.bmp
OK
Loading - texture: textures\tpbps-new2.tex
OK
InitNormals
InitNormals OK
InitTracks
InitTracks OK
InitEvents
InitEvents OK
InitLaunchers
InitLaunchers OK
InitGlobalTime
InitGlobalTime OK
Track does not exist ""
Scene parse error near node
Ground init OK
Player train init: ghostview
Pozdrawiam, Patryk
https://www.facebook.com/WarsztatPatrykosa
Węgrom gratulujemy Ikarusa.

Offline PEKAP

  • Wiadomości: 588
    • Zobacz profil
  • Otrzymane polubienia: 0
Błąd w testowaniu scenerii
« Odpowiedź #3 dnia: 23 Czerwca 2006, 17:01:32 »
Słowo "track" we wpisie składu musisz zastąpić nazwą toru, który stworzyłeś jako tor startowy. A słowo "normal" wykasować.
Musisz tak jak kolega mówił przedtem dopisać FirstInit.

Powinna ta linijka wyglądać np. tak:
trainset PE2307 startowy 100.0 0.0

Dodano po 11 minutach:

 ta linijka:
node -1 0 eu07-010 dynamic PKP\EU07-010 4E 0.0 headdriver 7 0 enddynamic
też jest zła. Mam dla Ciebie radę. Wpierw poczytaj jak to się robi a potem bierz się za tworzenie.
-//-

Offline Patrykos

  • Zasłużony dla Symulatora
  • Wiadomości: 4511
    • Zobacz profil
  • Otrzymane polubienia: 9
Błąd w testowaniu scenerii
« Odpowiedź #4 dnia: 23 Czerwca 2006, 17:15:39 »
node -1 0 none track normal 100.0 1.435 0.25 25.0 20 0 Flat vis
 Rail_screw_used1 4 TpBpS-new2.tex 0.2 0.5 1.1
17.1536 0.2 -9.43609  0.0  //point 1
0.0 0.0 0.0  //control vector 1
0.0 0.0 0.0  //control vector 2
17.1536 0.2 -109.436  0.0  //point 2
0

W takim razie jak się track nazywa ?

Dodano po 1 minutach:

 node -1 0 EU06-02 dynamic PKP\EU07 eu06-02 4E 0.0 headdriver 3 0 enddynamic - Poprawiony wpis składu.
Pozdrawiam, Patryk
https://www.facebook.com/WarsztatPatrykosa
Węgrom gratulujemy Ikarusa.

Offline PEKAP

  • Wiadomości: 588
    • Zobacz profil
  • Otrzymane polubienia: 0
Błąd w testowaniu scenerii
« Odpowiedź #5 dnia: 23 Czerwca 2006, 17:19:07 »
Ten tor co go tutaj umieściłeś nazywa się 'none' - czyli się nie nazywa. To 'none' zmień np. na 'start'.
-//-

Offline Patrykos

  • Zasłużony dla Symulatora
  • Wiadomości: 4511
    • Zobacz profil
  • Otrzymane polubienia: 9
Błąd w testowaniu scenerii
« Odpowiedź #6 dnia: 23 Czerwca 2006, 17:25:45 »
Zrobiłem to ale teraz ten error wychodzi Font init
Font init OK
Sound Init
Loading - texture: textures\logo.bmp
OK
Sound Init OK
Textures init
Textures init OK
Models init
Models init OK
Ground init
start
normal
Loading - texture: textures\rail_screw_used1.bmp
OK
Loading - texture: textures\tpbps-new2.tex
OK
InitNormals
InitNormals OK
InitTracks
InitTracks OK
InitEvents
InitEvents OK
InitLaunchers
InitLaunchers OK
InitGlobalTime
InitGlobalTime OK
Unrecognized command: -1
Pozdrawiam, Patryk
https://www.facebook.com/WarsztatPatrykosa
Węgrom gratulujemy Ikarusa.

Offline Bujo

  • Wiadomości: 17
    • Zobacz profil
  • Otrzymane polubienia: 0
Błąd w testowaniu scenerii
« Odpowiedź #7 dnia: 24 Czerwca 2006, 00:16:21 »
Jezeli masz tylko jeden tor w scenerii to zmien wartość startu poczatkowego dla loka, z tych wcześniejszych wpisów wynika ze ładuje ci loka 100m od początku toru przy długości toru 100m czyli poza torem. Zmiana we wpisie składu powinna pomóc.
Jest:
Cytuj
trainset PE2307 startowy 100.0 0.0

Zmień na:
Cytuj
trainset PE2307 startowy 10.0 0.0

Aha zmien jeszcze PE2307 na none jezeli nie masz napisanego rozkładu jazdy dla tego skłądu inaczej wyzruci ci kolejny błąd:"Error @-8"
a najlepiej poczytaj to:
http://www.eu07.pl/forum/viewtopic.php?t=2451