Svenska 3D-Tåg - Forum  
 

Om det här är ditt första besök, se till att gå till vår FAQ (finns även länk till FAQ i navigeringsmenyn ovan). Du kan behöva att registrera dig innan du kan posta (finns även en länk till registrering i navigeringsmenyn ovan). För att titta på inlägg, välj det forum som du vill besöka från de som är listade nedan.

Gå tillbaka   Svenska 3D-Tåg - Forum > N3V Trainz > Trainz - Allmänt om Trainz

Svara
 
Ämnesverktyg Visningsalternativ
Gammal 2008-06-30, 13:31   #1
Viktor
Medlem
 
Reg.datum: Jul 2006
Inlägg: 316
Standard Priority?

Hej. Jag undra om vad priorty är i TRS 06. Man kan ändra mellan 1 -3 tro jag att det är. Å Sen Running nummer. Vad har man för andvändning av dessa två saker.
Viktor besöker inte forumet just nu  
Svara med citat
Gammal 2008-06-30, 13:54   #2
svenolov
Medlem
 
Reg.datum: Apr 2004
Ort: Lom - Norway
Inlägg: 1 272
Standard

Citat:
Ursprungligen postat av Viktor
Hej. Jag undra om vad priorty är i TRS 06. Man kan ändra mellan 1 -3 tro jag att det är. Å Sen Running nummer. Vad har man för andvändning av dessa två saker.
Citat från TRS API reference

Priority:
Citat:
All track sections and trains have a priority value in the range of [1 - 3] with the default value being 2. The priority value for tracks and trains is not a numerical scale of precedence, but rather a value to user for matching by the AI driver. This means the driver will try and take the train along track sections that have a priority equal to that of the train.

For example, a driver in control of a train that has a priority of 1 will try and take the train along track sections with a priority of 1 whenever possible. As the priorities don't work on a precedence basis, the driver in this example will not favour a track section with a priority of 2 over one with 3 and vice-versa.

Priority values are not a mechanism for specifying an explicit route for a driver to take and should not be thought of in that way. Rather, it is about being able to specify preferences that the driver will follow when possible.
Running number:
Citat:
public string runningNumberu= "" // running number of vehicle

Running number is the number assigned by the user in the surveyor property editor of the vehicle concerned. Its just used as a type of information you might want to retrieve in a script.
__________________
svenolov

I Trainz vet man att det omöjliga är möjligt (bevingade ord myntade av Nisse).

Senast redigerad av svenolov den 2008-06-30 klockan 14:13.
svenolov besöker inte forumet just nu   Svara med citat
Svara


Regler för att posta
Du får inte posta nya ämnen
Du får inte posta svar
Du får inte posta bifogade filer
Du får inte redigera dina inlägg

BB-kod är
Smilies är
[IMG]-kod är
HTML-kod är av
Forumhopp



Alla tider är GMT +2. Klockan är nu 11:41.


Powered by vBulletin® Version 3.7.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Svensk översättning av: Anders Pettersson
© Svenska 3D-Tåg 2001-2009