Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to create trains on OpenBve?
#1
I do not know how to create trains on OpenBve because I can't download most of NSL and EWL trains as the download page is down. Please let me know how to create trains on OpenBve? If you find any NSL and EWL trains that is available to download, pls send me a link to it.
Reply
#2
(24 October 2017, 09:26 PM)CharlieBrown6P Wrote:   Show/Hide

Creating trains (or developing add-ons for OpenBVE) is not as simple as it sounds.

It involves having a lot of knowledge with regards to how OpenBVE, as a software works, i.e. having to know the different types of add-ons one can develop, and knowing basic developing commands.

E.g. Reference: http://openbve-project.net/documentation...t_csv.html

Train add-ons in OpenBVE are usually created using 'objects'. These objects are most commonly using the filetype .csv.

To be able to create an object, developers have to usually specify a flat texture plane, that is, a 2-dimensional one.

Code:
CreateMeshBuilder,
AddVertex, -1.48, 0.912, 11.4
AddVertex, 1.48, 0.912, 11.4
AddVertex, 1.48, 0.912, -12.1
AddVertex, -1.48, 0.912, -12.1
AddFace,0,1,2,3
LoadTexture, floor.png
SetEmissiveColor, 255, 255, 255
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,1,0
SetTextureCoordinates,2,1,75
SetTextureCoordinates,3,0,75

Above is a simple 2D plane of the floor object in the Alstom C830 OpenBVE train.


I used to just play around with editing the objects in already existing trains add-ons, just to see what effects does changing a single digit in the code have on the product.

I am not trying to 'scare you' with the amount of daunting things an OpenBVE developers have to know (usually knowing the basics is good enough).

But if you are willing to learn despite the steep learning curve and then to develop add-ons for OpenBVE; hats off to you, and I wish you all the best!


You can view the full OpenBVE developer's documentation here,
http://openbve-project.net/documentation/
Mark Loh
Hi there! I am a railway technology enthusiast, currently studying at a polytechnic in Singapore.
Reply
#3
Ok noted. I will try to edit the trains first.
Reply
#4
It’s just like learning C++ and Arduino programming.

Have worked on a FYP project on computer programming, which I believe is the same as creating a OpenBVE project. 

One advise: look for source codes, and edit from there.

From the looks of it, OpenBVE has a rich amount of resources on the internet, so it should be quite easy to look for information.

(Unlike Arduino programming where the books have more information than the internet. So in this regard, OpenBVE is easier.)

(Anyway, I don’t think library got book on OpenBVE.)

If you are a secondary school/JC student now on holiday without much holiday assignments to do, and you are thinking of pursuing computer engineering in polytechnic/university, OpenBVE is a good place to start. It looks like an entry-level programming language.

Try OpenBVE first. If you like it, maybe you can move on to other programming languages like Arduino, Python, C#, and pursue a computer programming course in polytechnic/university.

I look forward to viewing your first OpenBVE projects.
Reply
#5
(25 October 2017, 08:10 PM)busanalyser Wrote:   Show/Hide

I would not consider BVE codes to be programming languages, similar to Java, C# or C++, so to say.

(It [BVE codes] probably is a 'language' of some sort, but not equivalent to common codes in conventional programming langs)
Mark Loh
Hi there! I am a railway technology enthusiast, currently studying at a polytechnic in Singapore.
Reply
#6
(24 October 2017, 09:26 PM)CharlieBrown6P Wrote:   Show/Hide

Hello.

I see you're having trouble downloading existing routes on the NSEWL.

With regards to what you need, I think Web Archive has archives of the download pages. I'll link them if I still can find them Big Grin

Edit: I just remembered that I can't publish the links without asking the creators first. As such, all you have to do is find the link that was taken down, go to https://archive.org/web and paste the dead link inside. If you're lucky, there will be an archive to download. Cheers!
Reply
#7
Sorry Hi1307,

I can't download the file on way back machine as it is not working.

Yours sincerely,
CharlieBrown6P
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Installing OpenBVE Javanlovebuses+Trains@123 2 236 23 October 2017, 08:55 PM
Last Post: Mark4211
  Requests to learn OpenBve coding SBS2831G 6 1,957 27 April 2016, 10:27 AM
Last Post: Hi1307
  Openbve error message: Parameter is not valid SBS2831G 1 1,275 29 February 2016, 01:43 AM
Last Post: SMB142J
  OpenBVE Won't Run mddanial 19 9,361 28 February 2016, 11:36 PM
Last Post: Mark4211
  OpenBVE Only Renders 2 Cars Hi1307 6 2,290 28 February 2016, 12:00 AM
Last Post: Hi1307
  [Bug] Link for OpenBVE C151 not working TIB1219M 2 3,833 09 June 2013, 07:38 PM
Last Post: SBS9067A
  How to create a route? derektan4@gmail.com 1 1,355 15 May 2013, 08:25 PM
Last Post: Samuel Lee
  What happened to Openbve.org and bve.cz? SMRT/SBS Transit 7 6,133 20 December 2012, 11:21 AM
Last Post: SMRT/SBS Transit
  openBVE train running sound Samuel Lee 1 2,763 03 December 2012, 11:48 PM
Last Post: Mark4211
  Installing openBVE smrt c151a 12 7,566 16 September 2012, 12:08 AM
Last Post: Flip

Forum Jump:


Users browsing this thread: 1 Guest(s)