BVEStation

Author Topic: add more trains  (Read 8486 times)

Offline ErrorMacro11

  • Operator
  • ***
  • Posts: 421
  • Gender: Male
  • FreeLance Developer
    • View Profile
add more trains
« on: January 27, 2012, 11:22:53 pm »
how can add more intervals so that i can more trains run on the route. i cant understand what the trainsframework is saying.

Offline SubwayTrainOperator5

  • Dispatcher
  • ****
  • Posts: 761
  • Gender: Male
  • R44, R46, and R68 fan / OpenBVE Videomaker
    • View Profile
    • My YouTube Channel
Re: add more trains
« Reply #1 on: January 27, 2012, 11:37:12 pm »
Open the route file, and where it says "Interval" or "route.RunInterval", change that number to the number of seconds the train is in front of you at the start.
Signature Removed (dead link)

Offline ErrorMacro11

  • Operator
  • ***
  • Posts: 421
  • Gender: Male
  • FreeLance Developer
    • View Profile
Re: add more trains
« Reply #2 on: January 27, 2012, 11:46:27 pm »
i mean add more AL trains to the route to make more traffic

Offline SubwayTrainOperator5

  • Dispatcher
  • ****
  • Posts: 761
  • Gender: Male
  • R44, R46, and R68 fan / OpenBVE Videomaker
    • View Profile
    • My YouTube Channel
Re: add more trains
« Reply #3 on: January 27, 2012, 11:59:56 pm »
It is not possible to add more than one train in front of you, there can only be one.
Signature Removed (dead link)

Offline ErrorMacro11

  • Operator
  • ***
  • Posts: 421
  • Gender: Male
  • FreeLance Developer
    • View Profile
Re: add more trains
« Reply #4 on: January 28, 2012, 12:01:06 am »
could i add AI trains in back of me

Offline ErrorMacro11

  • Operator
  • ***
  • Posts: 421
  • Gender: Male
  • FreeLance Developer
    • View Profile
Re: add more trains
« Reply #5 on: January 28, 2012, 12:18:13 am »
well, then how come pacific 385 managed to add more because i would like to add more ai trains

Offline SubwayTrainOperator5

  • Dispatcher
  • ****
  • Posts: 761
  • Gender: Male
  • R44, R46, and R68 fan / OpenBVE Videomaker
    • View Profile
    • My YouTube Channel
Re: add more trains
« Reply #6 on: January 28, 2012, 12:23:05 am »
You'll have to ask him then, and you can't add trains behind you.
Signature Removed (dead link)

Offline error46146

  • Head Admin
  • Dispatcher
  • ******
  • Posts: 620
  • Gender: Male
    • View Profile
    • Photography by me.
Re: add more trains
« Reply #7 on: January 28, 2012, 12:39:33 am »
As far as we know OpenBVE creates one train in front. The only thing you can do, as stated before, is to modify the Route interval to have service run more frequently. You cannot have a second AI train in front of the AI train in front of you.

Offline ErrorMacro11

  • Operator
  • ***
  • Posts: 421
  • Gender: Male
  • FreeLance Developer
    • View Profile
Re: add more trains
« Reply #8 on: January 28, 2012, 01:37:16 am »
could i add trains behind me

Offline Gong Gahou

  • Operator
  • ***
  • Posts: 258
  • Gender: Male
  • BVEStation Member
    • View Profile
Re: add more trains
« Reply #9 on: January 28, 2012, 01:39:51 am »
Nope, you can't. SubwayTrainOperator5 already answered that.
Previously known as pjiang6211

Offline ErrorMacro11

  • Operator
  • ***
  • Posts: 421
  • Gender: Male
  • FreeLance Developer
    • View Profile
Re: add more trains
« Reply #10 on: January 28, 2012, 01:45:30 am »
so i cant do what pacific385 did in that traffic video

Offline SubwayTrainOperator5

  • Dispatcher
  • ****
  • Posts: 761
  • Gender: Male
  • R44, R46, and R68 fan / OpenBVE Videomaker
    • View Profile
    • My YouTube Channel
Re: add more trains
« Reply #11 on: January 28, 2012, 01:57:06 am »
I just carefully watched the video myself, he seemed to have just did it with editing.
Signature Removed (dead link)

Offline Mr Railfan

  • Head Admin
  • Dispatcher
  • ******
  • Posts: 621
  • Gender: Male
  • Train Developer and Route Developer
    • View Profile
Re: add more trains
« Reply #12 on: January 28, 2012, 10:27:45 am »
could i add trains behind me

Actually , yes you can add more AI trains that run the route with you .

Although only for openbve , the Code and description at
trainsimframework.org/develop/index2.html says that the Route.run interval [this is what controls the Preceding or following trains behind] can be modified so that there are multpile AI trains running the same track as you . Keep in mind that the AI trains will use the same train model you are using , so the exteriors of the AI will be identical to yours.

this is what http://trainsimframework.org states about route.run interval interval :

Quote
Route.RunInterval Interval0; Interval1; ...; Intervaln-1

Intervali: A floating-point number representing the time interval between the player's train's timetable and that of another train to be created, measured in seconds. Positive values indicate an earlier train, negative numbers a later train.

This command creates one or more preceding or following trains. These other trains are visible, fully operational, and use the same train as the player has. The other trains follow the same schedule as the player does, but are offset in time by Intervali. Via the Track.Sta command, you can also define stations where only the player or only the other trains should stop. Follow-up trains only appear once the section they are placed in has been cleared by other trains, but the player's train is introduced regardless of the current signalling section's state. Therefore, you should make sure that other trains have cleared the area where the player's train will appear when the scenario begins.


Offline Fox-179

  • Dispatcher
  • ****
  • Posts: 907
  • Gender: Male
    • View Profile
Re: add more trains
« Reply #13 on: January 28, 2012, 10:44:11 am »
Too add on as far as I know there are 3 trains in any route you operate the A.I(ahead of your train) Your train and theres a train behind yours(2nd A.I) Idk about adding extras but there are YES 3 operating trains on 1 line.

A.I (Ahead)
Player(You)
A.I #2(Behind)

Offline Pacific385

  • Dispatcher
  • ****
  • Posts: 749
  • Gender: Male
  • BVEStation Member
    • View Profile
Re: add more trains
« Reply #14 on: January 28, 2012, 12:50:26 pm »
I just carefully watched the video myself, he seemed to have just did it with editing.
Wrong. I used the MetroTransit (4) New Lots Rush Hour.csv route. The other trains were not a result of video editing but the route coding that came with the route. SIR added multiple intervals each seperated by semicolons.

Quote
route.runinterval 70;-80;-180
1) 70 Meters Ahead
2) 80 Meters Behind
3) 180 Meters Behind
(I'm not sure about the unit though)