See site in english Voir le site en francais
Website skin:
home  download  forum  link  contact

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

Author Topic: Modifying a ship when there's no .cfg or .ini  (Read 3782 times)

0 Members and 1 Guest are viewing this topic.

Offline Frogisis

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
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?



Offline ar81

  • Hero Member
  • *****
  • Posts: 561
  • Karma: 0
Reply #1 - 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.


Offline Dig Gil

  • Sr. Member
  • ****
  • Posts: 372
  • Karma: 0
Reply #2 - 23 August 2008, 11:27:25
Does anyone know about reverse engineering, so I can "hack" some vessels?


At Light Speed and Beyond!!!

Offline MartySpaceLines

  • Legend
  • ******
  • Posts: 1096
  • Karma: 0
Reply #3 - 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.


@++

MSL  


Offline Dig Gil

  • Sr. Member
  • ****
  • Posts: 372
  • Karma: 0
Reply #4 - 24 August 2008, 22:45:36
You are right, I was just wondering around. :P


At Light Speed and Beyond!!!

Offline StarLost

  • Hero Member
  • *****
  • Posts: 660
  • Country: Canada ca
  • Karma: 11
Reply #5 - 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!!


Offline arslan

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Reply #6 - 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


Offline StarLost

  • Hero Member
  • *****
  • Posts: 660
  • Country: Canada ca
  • Karma: 11
Reply #7 - 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".

« Last Edit: 02 December 2011, 00:59:37 by StarLost »