BVEStation Forums
BVE => BVE/OpenBVE Support => Topic started by: F train fan on January 13, 2011, 11:30:53 pm
-
what is the code to open and close doors in openbve like the R153
-
F5 to open left door
F6 to open right door
-
I know that I meant the code to make the animation of the doors actually opening and closing I already know the keys to do it
-
I know that I meant the code to make the animation of the doors actually opening and closing I already know the keys to do it
Actually its serveral sets of codes. Take a look at the .b3d files in the cars folder of the trainset. then i think either the train.dat file of the panel.cfg file holds the place where the coding is.
-
That requires you to program in animations for openbve.
Learn more here:
http://openbve.trainsimcentral.co.uk/develop/object_animated.html (http://openbve.trainsimcentral.co.uk/develop/object_animated.html)
I cannot figure that math out lol its sad that it comes to the point where I have to pull out a calculator to program for bve -_-
-
A lot of the code will not be easy to understand... If I'm not mistaken, some of it is in .ANIMATED files
-
Basically it works like this;
the b3d files are the static objects
the animated files make them move.
Think of it this way: the b3d file is the door, the animated file is the motors that make the doors move.