OHM GeneralVehicle

OrbitHangar

Addon Comments
Joined
Apr 9, 2008
Messages
3,832
Reaction score
18
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
 
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:
 
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:
Looks very promising :thumbup:
 
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... ;)
 
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 ;)
 
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?
 
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:
 
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
 
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
 
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?
 
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.
 
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.
 
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.
 
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:
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.
 
Back
Top