General Question How do I go about creating addons?

stealthstar

New member
Joined
Apr 2, 2014
Messages
113
Reaction score
0
Points
0
I want to become an addon developer but where would I begin? I have some great ideas for orbiter hangar mods I want to start working on. So I figure I would need software similar to goggle Sketchup 8 and other software to help with scripts and things like that. Obviously I would need a program more advanced than but similar to google sketchup 8 to create spacecraft and other objects. Can someone help me out and recommend software I would need to start creating addons?
 
Did you check out the tutorials here ?

---------- Post added at 07:23 AM ---------- Previous post was at 06:57 AM ----------

And also try this and this and this.
 
Also see below for some shameless self promotion...

Some day I'll finish it I swear but in the mean time feel free to ask questions.
 
one-does-not-h2d4sk.jpg
 
Its recommended to have not just an idea for an add-on, but also developing this idea into an concept first. Often, a lot of the problems are solved already by removing contradicting aspects from a concept, clarifying abstract ideas ("Something should happen somehow") and assigning priorities to the features ("What is really needed for the add-on and what is nice to have later?")

And then you can look what tools you really need to get this concept done. Often, you don't need to program something or even need to use spacecraft3, because configuration files already have all you need.

And when you have a concept and need to program something, its still a difference to find out how to write 10 lines of code for some effect extending a configuration file or reinventing the wheel.
 
My addon ideas include:

  1. Mission to mars using an SLS rocket, Orion CEV and a mars transfer system
  2. A Mars lander from the film Last Days on Mars
  3. A fully loaded BSG addon with all ships from BSG TRS
  4. ISS deorbit senario
  5. Asteroid missions using SLS and the Orion CEV
  6. Fictional Project Redsun mars mission from the 1970's
  7. Mars One crewed trip using the Dragon Rider spacecraft
  8. Europa mission as seen in the film Europa Report
 
Last edited:
  1. Mission to mars using an SLS rocket, Orion CEV and a mars transfer system
  2. A Mars lander from the film Last Days on Mars
  3. A fully loaded BSG addon with all ships from BSG TRS
  4. ISS deorbit senario
  5. Asteroid missions using SLS and the Orion CEV
  6. Fictional Project Redsun mars mission from the 1970's
  7. Mars One crewed trip using the Dragon Rider spacecraft
  8. Europa mission as seen in the film Europa Report

So? Compared to my ideas, its harmless. But still you lack the really important aspect: Concept.

Take for example idea 1. Can you write a short story, how the player should play this add-on? Be pretty detailed there, if you notice yourself having abstract entities already in the concept itself (Like "Something happens there"), you are doomed. Also don't include already technical aspects of the add-on (except the technology of the spacecraft you simulate) - leave that decision to a later point, when you know the big picture.

That's step one. Then you enhance your concept by adding freedom. What options could the player have aside of the usual script? Usually, I do that concept work in a plain old paper notebook with the aid of a simple pencil. (You can never have enough such notebooks in your house)

When this concept is sound, you can start talking business. You can take it as reference and start looking for technical solutions to the concept. You will know which major spacecraft you have, now you can plan how to get them into Orbiter. Is it multistaged? There are many good theoretical models for describing multi-stage rockets. Chose the one that is the best to describe your add-on.

If you have something that has many stages or states, I recommend taking a short diversion to Wikipedia to learn about finite-state machines. Its a primordial part of computer science and as such, has also resulted in methods to optimize such state machines. Not only does such a model help you get rid of redundant states, it also helps you implementing it in C++ or Lua.

And that's just one tool to help you there. NASA also has a nice manual called the "System Engineering Handbook". While not looking like it at first glance, it is actually the best "Orbiter Add-on Making Handbook" between the lines: The methods and tools described there are also well-suited for Orbiter add-ons.


And the primary rule, that you should learn (nobody wants to learn it from me...everyone hates me for it :( ): Never delete something of your design work. As strange as it sounds. Even bad ideas can be useful, and even if it is just for "Nah, I had already thought about it, that's bad". And if a better idea suddenly turns out to be impossible to implement in reality, you can always return to the second or third best idea that way. Or use an idea one day later for another add-on.

And finally: better start small and simpler. Your ideas are too big for the start. Remember the rule called KISS: Keep it simple, stupid.

What about making a really simple add-on first, to learn? For example: A probe to fly past Venus, launched by an already existing launcher add-on (Like the Themis-A for example). That already gives you lots of room for your creativity to play. Maybe its just a box, some solar arrays and RCS for the start. So what? Its your first add-on. You don't want to know what my first one was - I never released my first attempts, like I also never released something later that I was unhappy with. If I wouldn't download it if somebody else made it, why should somebody else download it? Also, it is just a start. A first step. Make it, fly it, have this warm feeling of "Hey, that's maybe a stupid add-on, but I made it with my own hands"... and then improve it. What about add-on scientific payloads to the box? maybe a re-entry capsule for dropping into Venus? How about making the solar arrays produce electricity? Or play with concepts like reaction wheels? Have a high-gain antenna, that automatically tracks Earth?

Its just a simple boring box in the beginning. But as you can see: Its not the end of it. Important is just, that you make this simple boring box and finish it. Maybe only release it to some friends (Not O-H, you would get flamed, insulted and hated for it). Important is not starting the work, but finishing it.
 
OK currently I'm working on a bit of a side project to help me learn the ropes for creating addons. I'm trying to create a krypton spacecraft from the smallville TV series. It's that triangular one from the season 5 that came to earth in the second meteor shower. I used google sketchup for the mesh and Gaddispilot is helping me with the programming.
 
IMO, Sketchup isn't a bad tool for just beginning to figure out how to make addons.
 
IMO, Sketchup isn't a bad tool for just beginning to figure out how to make addons.

Yup its pretty much the only mesh creator tool I have experience with. What program would you recommend I upgrade to? I mostly use sketchup because it's free and easy to use. It's great for creating triangular shapes & delta wing vehicles.
 
IMO, Sketchup isn't a bad tool for just beginning to figure out how to make addons.

This seems like an appropriate place to ask this, so I will. Just how exactly do you convert .skp (SketchUp) to .msh (Orbiter) reliably? That kind of information/advice could really come in handy, given that there was such a tutorial a few years back, but it never got completed.

And yes, I did kinda ask this before.

In a completely different relevance, I didn't realize how many people actually used SketchUp in O-F. It's so much more different from other 3D meshing programs.
 
This seems like an appropriate place to ask this, so I will. Just how exactly do you convert .skp (SketchUp) to .msh (Orbiter) reliably? That kind of information/advice could really come in handy, given that there was such a tutorial a few years back, but it never got completed.

And yes, I did kinda ask this before.

In a completely different relevance, I didn't realize how many people actually used SketchUp in O-F. It's so much more different from other 3D meshing programs.

Not sure exactly how but for the mesh I created through sketchup I had gattispilot help me with the converting & programming. I asked him to use the DGS as a platform for the configuration of thrusters physics etc as a bases to test my spacecraft. He would know for sure. It only took him a days time frame to program and it worked flawlessly with orbiter 2010P1
 
No, i don't know how to convert from Sketchup to msh. I know there are programs that convert formats. If you can outload to 3ds there are converters. That is why I use Anim8or
 
Back
Top