Dan's Orbiter page

Orbiter English => Orbiter English => Topic started by: Frogisis on 12 August 2008, 18:43:47

Title: Modifying a ship when there's no .cfg or .ini
Post by: Frogisis on 12 August 2008, 18:43:47
Hi there, everyone.  I've been playing around with modding ships in Orbiter myself, and I've managed to cover the
basics like adding and changing thruster animations, changing textures, and changing simple parameters like weight,
fuel, and engine power, but I'm stumped as to how to change anything about a ship if it doesn't have a file in the
\config\spacecraft directory.  

Specifically, I really like the shape and size of the Delta Glider EX, and I've created a more realistic and detailed
texture for it (Well, copied and modified the Space Shuttle textures), but now I want to hotrod-it-up to something like
the power of the classic Delta Glider, instead of the feeble thing it is now, and make it my new default short-range
ship.  The only problem is that I can't find where that info on the ship is kept.  My instinct says I'd have to go into
the .dll somehow, which is a little out of my depth at this point, but I got the impression from several readme files that
if I create a .cfg or .ini in the right directory, Orbiter will read that data first and use it to calculate the performance of
the ship.  

Is this true?  And either way, what should I do to soup-up my DG-EX?

Title: Re: Modifying a ship when there's no .cfg or .ini
Post by: ar81 on 13 August 2008, 20:15:36
Two ways to create a vessel

Vessel = CFG file + Mesh + DLL module
Vessel = INI file + Mesh + Spacecraft3.dll

If vessel code is inside a DLL, you can't change it.
You better create your own vessel using INI file.
Title: Re: Modifying a ship when there's no .cfg or .ini
Post by: Dig Gil on 23 August 2008, 11:27:25
Does anyone know about reverse engineering, so I can "hack" some vessels?

Title: Re: Modifying a ship when there's no .cfg or .ini
Post by: MartySpaceLines on 23 August 2008, 11:58:20
I don't think the ones who made these add-ons would be pleased if you hacked their creations...
If you wanna modify a vessel, just ask its author...maybe he will send you the source code.

For the "reverse engineering", first of all it wouldn't be fair, and I have heard that it mostly doesn't work very well.

Title: Re: Modifying a ship when there's no .cfg or .ini
Post by: Dig Gil on 24 August 2008, 22:45:36
You are right, I was just wondering around. :P

Title: Re: Modifying a ship when there's no .cfg or .ini
Post by: StarLost on 25 August 2008, 22:42:27
The various members of the community have produced copious materials on coding your own ships.  Start with the OrbiterSDK.

After learning how to use Orbiter, the best part is learning how to make addons.  Better than puzzles!!
Title: Re: Modifying a ship when there's no .cfg or .ini
Post by: arslan on 31 July 2011, 22:23:40
Quote
Two ways to create a vessel

Vessel = CFG file + Mesh + DLL module
Vessel = INI file + Mesh + Spacecraft3.dll

If vessel code is inside a DLL, you can't change it.
You better create your own vessel using INI file.

how do i create a dll
Title: Re: Modifying a ship when there's no .cfg or .ini
Post by: StarLost on 02 December 2011, 00:59:37
Hmmm ... this was quite the bump.

You would be better off going to the main Orbiter forum for this one. Check out "Add-on Development".