Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 38

Thread: Bve FAQ

  1. #11
    Join Date
    Apr 2003
    Location
    California, United States.
    Posts
    1,158

    Default RE: Bve FAQ

    Well, don't be sorry James. ;) However, people should visit the BVETSS homepage at http://railsimroutes.co.uk/bvetss for more information on implementing BVETSS into their routes and trains, and some small banners to place on their websites to show that their routes and trains are BVETSS compliant.

    [font color="#3366FF"]Tim Frost
    NVTA Subway routes for BVE:
    [a href="http://nvta.co.uk/"]http://nvta.free-hosting.org.uk/images/tsimnvtaavatar.jpg[/a]
    The Union Atlantic Railroad: Your stuff's important!
    [a href="http://union-atlantic.com/"]http://nvta.free-hosting.org.uk/images/tsimuaavatar.gif[/a]

  2. #12
    Join Date
    Nov 1999
    Location
    Doncaster, I apologise that we, United Kingdom.
    Posts
    587

    Default Randomization



    A tricky topic, very little is known about it by many people and therefore it's very little used. Allows simple randomization of routes without having to use BRR. I am not trying to 'compete' with BRR or anything, but I just wish to post a little info about this little known topic).

    The $RND command will return a random number between two given integers.

    For example

    $RND(1;8) will output a random number between 1 and 8.

    The $RND command can be dropped into a CSV file. For example, you may have a yard on your route. You could use the $RND command to set up a train on one of the tracks.

    .freeobj $RND(2;9);6,

    If 2 to 9 are the yard tracks and freeobject 6 is the train. A random number between 2 and 9 will be generated by BVE and used where the $RND command is, therefore it selects which track to place the train on.

    You can also go a lot further, such as the following. Freeobjects 171 to 180 are single people and this will place them on a platform :-

    .freeobj 2;$RND(171;180);$RND(3;5);0.6;$RND(1;25),

    Another variant :-

    $RND(20;24),.freeobj 2;$RND(171;180);$RND(3;5);0.6;$RND(1;25),

    Will place one of the people objects at a random distance both along the route and to the left.

    Back on the train object example. Some trains are in different sections, each 25m long.

    Say we have track 0 our running track, and tracks 1, 2 and 3 which are yard tracks. Freeobject 1 is a locomotive, freeobject 2 is an MGR wagon. We can use the $RND command to pick a random track to place the train on. However if we use a different command for each object, you might get a loco on track 1, wagon on track 2, another wagon on track 3 etc. Therefore you need to generate one random number and then have the object placement statements reading from the one generated random number. To do this you use another of the $ commands, even less known than $RND, it is $SUB.

    Before the With Track statement, insert the following

    $SUB(0)=$RND(1;3)

    This means that the variable 0 is now a random number between 1 and 3. So when you come to your train you reference the variable as a track number

    100,.freeobj $SUB(0);1,
    125,.freeobj $SUB(0);2,
    etc

    All the statements look for variable 0 when finding where to place it, look in the variable 0 section and the variable is the random number, the same random number is used for them all.

    Hope this is of some use!

    --
    Tom Beevers
    http://brj.rr.nu

  3. #13
    daniel_martin Guest

    Default Error Message

    Hi all,

    I am very new to this forum but I am looking for help with an error message which my copy of BVE likes to throw at me.

    Whenever I run certain routes (The only ones I can remember are Tom Beever's Piccadilly LUL Line and David Coleman's Jubilee Extension LUL Line), BVE creates and renders the structure, and displays the panel, then displays: "Run-time error '9': Subscript out of range".

    I have looked on many help sites but cannot fidn this particular error message. Does anybody know what this is and how to fix it?

    Please reply soon.

  4. #14
    Join Date
    Apr 2003
    Location
    Norwich, UK
    Posts
    541

    Default RE: Error Message

    Daniel,

    Can you please repost this as a new thread, I want to keep this one as a 'reference' ;)

    Your error could be a mistake in the route file or a missing object or a faulty train.dat... many possibilities.

    Saxon Locomotive Works - "The difficult we do immediately; the impossible takes a little longer"

    http://www.zodiac-infosystems.co.uk/rail/bve
    'Time flies like an arrow; fruit flies like a banana' ~Groucho Marx

  5. #15
    Join Date
    Jul 2003
    Location
    Hong Kong, China.
    Posts
    29

    Default Advanced object code convertion

    I posted this far before at the offical forum of route builder,now I'm just porting it here.(Note the info may went a little bit out-dated,but I don't have time to update it)
    Well,why convert the simple cylinder command into the basic vertex,face commands?If you're just creating simple cylinder that would be enough,but if you just want portion of cylinder,or more complex curved surface,this would come in handy.OK,go!
    ****
    Finally!
    I've finish the BASIC needed to convert csv cylinder command into b3d.
    But before we go,I must say that all things below is based on two "suppose":
    1) The base point(the point where whenever how many sides it have it will still have a point at there)is on the far right.
    (I found this out by experiment)
    2) Both the X and Z coordinates of the center of the circle is zero.
    Note:Because I don't know how to do with the height,so I use 2D-XY Coordinates instead of 3D-XYZ Coordinates in the picture,
    for a clear say,all Y-coordinates involved in the picture below is actually Z-coordinates,that means,foe examples, R* sin 360(degrees)/n is the z-coordinates,NOT y-coordinates.
    So,enough say!Let's go!
    Cylinder N,R1,R2,H
    the N in the picture below stands for number of sides.
    the R in the picture below stands for the radius of the circle.
    (see working0001.jpg)
    http://www.stmc.edu.hk/~011080/working0001.jpg
    (Note:"For this part,the third part..." in the picture exclude the very first point)
    If you can't just make sure what it means,post at here.
    Updated:the note in picture "works for angles greater than 90degrees" means will work for point at left head side also,and you don't need to worry anything with that.
    If you still don't understand,forget about the note.Just go on,follow what the picture say even if you think of anything odd.
    Have fun!



    Rotate
    (see working0002.jpg)
    http://www.stmc.edu.hk/~011080/working0002.jpg
    This is the formulae for rotate command,and a few note below:
    1) Again,it will work for degrees greater than 90(degrees)
    2) If the direction of rotate is not as the one in picture,just change the -(minus) sign in the circled part to +(plus) sign
    3) IMPORTANT!For circled part,if x is 0(means the old point is on the x-axis),the formulae will have error(division by 0),for this,do following:
    a.Check if x is 0 or not,if it is 0,goto b,if not,use the formulae above
    b.Check if y is positive or negative by b1 or b2
    b1. if y + |y| =0 then it is negative,if not,it is positive.(goto c)
    b2. take the square of y and store this number as "t"
    if y + positive square root of "t" =0,it is negative,otherwise it is positive.(goto c)
    c. if y is positive,change the circled part to 90(degrees) - (theta)
    otherwise change to 270(degrees) - (theta)
    Note:|y| means absolute value of y(if you still don't understand,reply and ask
    Finally,if you have any problem,reply and ask here.
    ****
    (Note:It seems my school server become unstable after being attacked by hackers,but I have confidence that the server are very stable in normal times-I tried to upload the pictures but failed:
    Upload file error-Remote access denied-please contact the admin)

  6. #16
    Join Date
    Apr 2003
    Location
    Norwich, UK
    Posts
    541

    Default RE: Bve FAQ

    Hi Bogdan,

    Glad to see you :)

    You are right, CONText is a very cool editor indeed, and cannot be recommended highly enough :)


    Saxon Locomotive Works - "The difficult we do immediately; the impossible takes a little longer"

    http://www.zodiac-infosystems.co.uk/rail/bve
    'Time flies like an arrow; fruit flies like a banana' ~Groucho Marx

  7. #17

    Default RE: Bve FAQ

    :'( :'( I just released my own on the transport forum. I should have checked here.

    I do have a CSV object higligher at http://bvesimulator.topcities.com/Do...sv_objects.chl

    <EDIT>Tip, right click > Save Target as</EDIT>

    Derek kaye
    [hr]
    [img src="http://publish.hometown.aol.co.uk/kayedj2/images/barrowp2.jpg" width="120" height="100"]

    http://bvesimulator.topcities.com
    [email protected]

  8. #18
    Join Date
    Jul 2004
    Location
    .
    Posts
    27

    Default RE: Bve FAQ

    Are you interested in RAILWAY ENGINEERING ?

    If you are, then this is the right place for you :-)

    http://www.rail.tudelft.nl/

    Some headlines:

    -Experimental work
    -High Speed Track
    -Heavy Axle Loads
    -Track Structures
    -Track Maintenance
    -Noise and Vibration
    -Wheel-Rail Interface
    -Dynamics
    -Track Stability
    -Longitudinal Forces
    -Optimization
    -Decision Support Systems
    and more...

    Bogdan

  9. #19
    Join Date
    Aug 2004
    Location
    Halifax, UK.
    Posts
    5

    Default Guide to creating objects in BVE

    (Information copied / edited from another thread - it belongs here!)

    For information on creating objects, there is a very detailed guide on Luigi's site at [link:bve.altervista.org|http://bve.altervista.org/], or via
    [link:web.tiscali.it/lcartello|http://web.tiscali.it/lcartello]. This is an essential reference if you are serious about creating your own route.

    As at August 2004: Go to the above site, and click "Download" on the top bar. Then go into "BVE Developing Guides", second from bottom. Scroll down this page to a large picture of a green bench. The document is here, BVEObjectGuide.zip, containing a 34 page MS-Word document. It details both B3D and CSV formats comprehensively with plenty of examples.

    You'll have to fully extract the zip before you can open the Word Document because of the images it needs, and keep the folder structure intact.

    There's also a link to a free Word-file reader just in case you don't have Word.


    John Whipp, UK


  10. #20
    Join Date
    Oct 2004
    Location
    sydney, nsw, australia.
    Posts
    6

    Default RE: Bve FAQ

    i have the bve route londons DLR and when i start it it cant find the train i have installed the train where do i put it?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •