OHM GeneralVehicle

OrbitHangar

Addon Comments
Joined
Apr 9, 2008
Messages
3,832
Reaction score
13
Points
0

Author: fred18

GeneralVehicle is a module which will allow to build and use vehicles inside Orbiter. It uses a very stable method, which will allow you to explore safely the planets you will want to visit!

Every vehicle you can think can be built with this module, and in the provided examples you'll see a truck, a Ducati motorbike, a Formula1 car and a LER driving around!

Code and documentation are included, please read the Doc carefully!!!

 

Have fun

Fred18

 

06/26/2017 Update: added No_Steering_Animation option



DOWNLOAD
 

Kyle

Armchair Astronaut
Addon Developer
Joined
Mar 17, 2008
Messages
3,912
Reaction score
339
Points
123
Website
orbithangar.com
Now I can drive a motorcycle on Mars! Thank you!!
 

crisbeta

Member
Joined
May 27, 2013
Messages
140
Reaction score
4
Points
18
Excellent add-on :thumbup:

I have one small problem:
Mesh not found: .\Meshes\LERBODY.msh

Looks like I haven't installed LER add-on (in documentation is not required).

Thank you! :tiphat:

PS: Now with Multistage2015 and GeneralVehicle we can explore Orbiter 2016 even better; on land and on "air" :cheers:
 

fred18

Addon Developer
Addon Developer
Donator
Joined
Feb 2, 2012
Messages
1,666
Reaction score
100
Points
78
I have one small problem:
Mesh not found: .\Meshes\LERBODY.msh

Looks like I haven't installed LER add-on (in documentation is not required).

Whoops!!! :facepalm:
Addon updated with the lerbody mesh! sorry!
 
Last edited:

N_Molson

Addon Developer
Addon Developer
Donator
Joined
Mar 5, 2010
Messages
9,272
Reaction score
3,244
Points
203
Location
Toulouse
Looks very promising :thumbup:
 

jedidia

shoemaker without legs
Addon Developer
Joined
Mar 19, 2008
Messages
10,842
Reaction score
2,105
Points
203
Location
between the planets
This is great work, thanks a lot! You might think about documenting the source code a wee bit, if only to remember what does what yourself in a year or so... ;)
 

fred18

Addon Developer
Addon Developer
Donator
Joined
Feb 2, 2012
Messages
1,666
Reaction score
100
Points
78
This is great work, thanks a lot! You might think about documenting the source code a wee bit, if only to remember what does what yourself in a year or so... ;)

Yep, I know I should, I was just eager to release it ;)
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,636
Reaction score
2,613
Points
203
Location
Dallas, TX
As mentioned in the doc.
fjTQJib.jpg


One thing any thoughts on animation on the axles of the wheels when they are steering?
1ZlEFnz.jpg


Not if there is away to auto attach? Making it easier for the user to combine the wheels and the body and then towing?
 

fred18

Addon Developer
Addon Developer
Donator
Joined
Feb 2, 2012
Messages
1,666
Reaction score
100
Points
78
One thing any thoughts on animation on the axles of the wheels when they are steering?
1ZlEFnz.jpg
not for that kind of steering, it must be coded on purpose.

Not if there is away to auto attach? Making it easier for the user to combine the wheels and the body and then towing?

I didn't plan it, but it should be easy to just create the scenario once and keep copying that syntax.

I'm working on a MSL addon as well anyway :hide:
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,636
Reaction score
2,613
Points
203
Location
Dallas, TX
I'm working on a MSL addon as well anyway :hide:
Oh well then I have meshes for the MSL (backshell, skycrane,...
So maybe we just share?

---------- Post added at 07:43 AM ---------- Previous post was at 07:38 AM ----------

not for that kind of steering, it must be coded on purpose.

Oh code that into the dll body? I can do that but how would the body part know the vehicle was turning
 

fred18

Addon Developer
Addon Developer
Donator
Joined
Feb 2, 2012
Messages
1,666
Reaction score
100
Points
78
Oh well then I have meshes for the MSL (backshell, skycrane,...
So maybe we just share?

sure. I've just finished the mesh of the msl itself, using the 3d nasa one from here: https://nasa3d.arc.nasa.gov/detail/curiosity-clean and I defined the relevant animations (not over yet, but almost).

I'll use the same code of GeneralVehicle for moving around but it will be redeveloped on purpose.

I was about to start drawing the meshes for the backshell and the skycrane, did you do them by yourself or did you find an available resource online?

Oh code that into the dll body? I can do that but how would the body part know the vehicle was turning

yeah, it's hard, maybe using the very same code of the generalvehicle to be used when you press the relevant steering buttons, but i don't know if it might work
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,636
Reaction score
2,613
Points
203
Location
Dallas, TX
sure. I've just finished the mesh of the msl itself, using the 3d nasa one from here: https://nasa3d.arc.nasa.gov/detail/curiosity-clean and I defined the relevant animations (not over yet, but almost).

I'll use the same code of GeneralVehicle for moving around but it will be redeveloped on purpose.

I was about to start drawing the meshes for the backshell and the skycrane, did you do them by yourself or did you find an available resource online?

I used paper models for the design and then built the vessels from them.

http://jleslie48.com/jj_marssl/
http://jleslie48.com/msl_sc/

---------- Post added at 08:13 AM ---------- Previous post was at 08:12 AM ----------

yeah, it's hard, maybe using the very same code of the generalvehicle to be used when you press the relevant steering buttons, but i don't know if it might work
Is you code available? to add into a vessel?
 

fred18

Addon Developer
Addon Developer
Donator
Joined
Feb 2, 2012
Messages
1,666
Reaction score
100
Points
78
Is you code available? to add into a vessel?

this is the release policy included in the addon and in the code:

Code:
GeneralVehicle is distributed as FREEWARE. Its code is distributed along with the dll. Nobody is authorized to exploit the module or the code or parts of them commercially directly or indirectly.
You CAN distribute the dll together with your addon but in this case you MUST:
- Include credit to the author in your addon documentation;
- Add to the addon documentation the official link of Orbit Hangar Mods for download and suggest to download the latest and updated version of the module.
You CAN use parts of the code of GeneralVehicle, but in this case you MUST:
- Give credits in your copyright header and in your documentation for the part you used.
- Let your project be open source and its code available for at least visualization by other users.
You CAN NOT use the entire code for making and distributing the very same module claiming it as your work entirely or partly.
You CAN NOT claim that GeneralVehicle is an invention of yourself or a work made up by yourself, or anyhow let intend that it is not made and coded by the original author.
You install and use GeneralVehicle at your own risk, author will not be responsible for any claim or damage subsequent to its use or for the use of part of it or of part of its code.
Be also aware that I am not a professional programmer so code may be difficult to read and may present issues that I am not aware of.
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,636
Reaction score
2,613
Points
203
Location
Dallas, TX
Ok. So I guess basically no.

Not sure where you are going with the MSL. BUt I can send the meshs,.... for the skycrane, backshell.

I had a scrotched backshell with chutes but I need to modifiy it.
 

dgatsoulis

ele2png user
Donator
Joined
Dec 2, 2009
Messages
1,924
Reaction score
340
Points
98
Location
Sparta
Ok. So I guess basically no.

Only if you don't intend to publish your addon as open source. Otherwise, you can use parts of the code in your own addon and simply add a comment on the header and the places where you use said code, crediting the original author.
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,636
Reaction score
2,613
Points
203
Location
Dallas, TX
Ok. So open source mean you include the the cpp, h files?

I have no problem with that at all.

If I redid the LER for example with the General Vehicle movement code. If I give the source code and credit then I am ok?

Updated
 
Last edited:

dgatsoulis

ele2png user
Donator
Joined
Dec 2, 2009
Messages
1,924
Reaction score
340
Points
98
Location
Sparta
Ok. So open source mean you include the the cpp, h files?

Yes. Pack them all in your addon before publishing, comment the parts of the addon's code that belong to fred18 giving credit to him and add a link to the original source code in your documentation.

fred18 is more suited to answer this but IMO that about covers it.
Also by default, you extend the same courtesy to anyone that might want to use parts of your code in their addons.


If I redid the LER for example with the General Vehicle movement code. If I give the source code and credit then I am ok?

Yes.
 
Top