need help compiling a dll

weepleman

New member
Joined
Aug 9, 2008
Messages
57
Reaction score
0
Points
0
I have Visual C++ 2005. and I have no idea how ta dll for my ship. I have searched the web, and all of the forums I can find, and this seems to be a topic that no one talks about. Please help!:ohmy:
 
Thank you so much this is exactly what I was looking for
 
Can someone tell me how to use a dll in a scenario?
 
what I'm trying to do is make a ship that uses a custom dll that I'm going to write, and I do not know how to use my own dll
 
Can someone tell me how to use a dll in a scenario?
what I'm trying to do is make a ship that uses a custom dll that I'm going to write, and I do not know how to use my own dll
So you have your own DLL now? If so, here is a tutorial on how to make scenarios:
[ame="http://www.orbithangar.com/searchid.php?ID=2735"]Tutorial: How to make scenarios for Orbiter v1.5[/ame]

The easiest way is to start with one of the stock scenarios (eg, "DG Mk4 in orbit") and modify it to take your vessel so it contains a section like:
Code:
YourShipName:YourShipClass
  STATUS Orbiting Earth
  ELEMENTS 6734916.8 0.00091 74.51287 169.03392 326.63622 528.41930 51982.51829991
  AROT 30.00 0.00 50.00
END
Remember also that you need a .cfg file for your vessel in the Config\Vessels directory. This can be as simple as the following (or more complex, see other cfgs for examples):
Code:
; === Configuration file for YourShipClass (YourShipClass.cfg) ===

ClassName = YourShipClass
Module = YourShipDLL
 
what I'm trying to do is make a ship that uses a custom dll that I'm going to write, and I do not know how to use my own dll

You should read OrbiterSDK/doc/API_Guide.pdf. It's an 'official' overview of how to write various addons.
 
Thank you, now, I know this is completly unrelated, but I'm trying to make my own solar system, and I have read a tutorial on how to do this, and no matter what I do, orbiter just CTD's when I start a scenario. Has there been any changes since a previous version of orbiter, and is there any way I could fix this?
 
Back
Top