Creating a Bus.

  • Please note that answers to questions that receive more than 5 collective down votes will be automatically hidden.

JDCustard

Founder of JDDEV
Aug 4, 2016
145
Hey, I would like to know about how a bus is actually put into omsi and converted. I am very proficient with modelling in Blender so that is not an issue. In-terms of scripting I can do C#, JavaScript and Roblox Lua. Would any of them be useful for making a bus in Omsi, thanks. I just want an idea of how it works.

Thanks.
 

simulatorguy101

Custom Content Creator
Apr 5, 2016
261
In terms of coding, I don't think any of those are relevant. OMSI uses a lot of dedicated coding languages so I would say go through some scripts in OMSI and see what you think!
 

whistlehead

Alias Mr Hackenbacker
Staff Team Leader
Forum Moderator
UKDT
Premium Subscriber
Dec 10, 2015
1,379
OMSI has its very own scripting language, which you can learn about here: Scripting System - OMSIWiki
There's also a list of system variables here, which are vital to use for gearbox scripts, anything time-related and such: System- und vordefinierte lokalen Variablen – OMSIWiki (German only I'm afraid)

It's difficult at first but becomes more intuitive, and if you've already got the hang of several different languages by now, you shouldn't find it too hard - I look forward to welcoming you to the bus making community :)
 

JDCustard

Founder of JDDEV
Aug 4, 2016
145
OMSI has its very own scripting language, which you can learn about here: Scripting System - OMSIWiki
There's also a list of system variables here, which are vital to use for gearbox scripts, anything time-related and such: System- und vordefinierte lokalen Variablen – OMSIWiki (German only I'm afraid)

It's difficult at first but becomes more intuitive, and if you've already got the hang of several different languages by now, you shouldn't find it too hard - I look forward to welcoming you to the bus making community :)
Thank you, I may get started on something then and just go for it and see how it goes:)
 

whistlehead

Alias Mr Hackenbacker
Staff Team Leader
Forum Moderator
UKDT
Premium Subscriber
Dec 10, 2015
1,379
Good luck - I started out by scripting a light sequence for my ambulance I made for London
 

simulatorguy101

Custom Content Creator
Apr 5, 2016
261
Is it possible to look inside of existing bus code and edit it to learn?
Yeah, just go to to your Vehicles folder of your OMSI directory, navigate to a bus and go into the Scripts folder. Everything in the scripts can be opened and viewed via Notepad or Notepad++

You can convert object files into OMSI by using the o3d converter. However to get textures etc. you will need to do UV Mapping etc. in the textures folder.
 

whistlehead

Alias Mr Hackenbacker
Staff Team Leader
Forum Moderator
UKDT
Premium Subscriber
Dec 10, 2015
1,379
Opening up .o3d files is frowned upon, they're made like they are to protect the author's work.

I got the ambulance into Blender by making it myself ;)

Also, Notepad++ is a much better option for editing the script files in general, if nothing else because it lets you see what line number you're on, though that's not the only reason.
 

simulatorguy101

Custom Content Creator
Apr 5, 2016
261
Opening up .o3d files is frowned upon, they're made like they are to protect the author's work.

I got the ambulance into Blender by making it myself ;)

Also, Notepad++ is a much better option for editing the script files in general, if nothing else because it lets you see what line number you're on, though that's not the only reason.
What I mean is you can get that software that converts like Blender files and 3DS files into o3d files to put into OMSI.