Project Newly developed JD rocket

MJR

C++ developer in the mix
Addon Developer
Tutorial Publisher
Donator
Joined
Mar 19, 2008
Messages
2,447
Reaction score
5
Points
0
Location
United States
I am currently modeling a rocket. It is a beta right now though. The only thing is that I am not sure what needs to be in the config. file and how to calculate it. The reason why I ask this because there are so much parenthesis and underscores in the config files that I don't know where to put it. Also, what do I save it as after I am done making it in Orbiter?
 
Are you doing this via a DLL or using spacecraft or multistage? If the later check out the excellent tutorial from ar81 on orbiterhanger.
 
I guess spacecraft for now because I haven't made second stage.

---------- Post added at 09:33 PM ---------- Previous post was at 09:30 PM ----------

By the way, I halted on my addon development that is why I don't remember much.
 
So it should help in the development of the ini. and config. files?
 
When I started the scenario it looked like this..

**** Orbiter.log
Build Sep 29 2006 [v.060929]
Devices enumerated: 4
Devices accepted: 3
==> RGB Emulation
==> Direct3D HAL
==> Direct3D HAL (Intel(R) G965 Express Chipset Family)
Found 0 joystick(s)
Module AtlantisConfig.dll [API v.060425]
Module DGConfig.dll [API v.060425]
Module TrackIR.dll [API v.060425]
TrackIR module not found.
Module ScnEditor.dll [API v.060425]
Module Rcontrol.dll [API v.050206]
Module Meshdebug.dll [API v.060425]
Module Framerate.dll [API v.050206]
Module FlightData.dll [API v.050206]
Module ExtMFD.dll [API v.060425]
Module CustomMFD.dll [API v.060425]
**** Creating simulation session
DirectDraw interface OK
Direct3D interface OK
Zbuffer: 16 bit
Render device: Window 694 x 493
Device has no hardware T&L capability
Module Sun.dll [API v.050206]
VSOP87(E) Sun: Precision 1e-006, Terms 554/6634
Module Mercury.dll [API v.050206]
VSOP87(B) Mercury: Precision 1e-005, Terms 167/7123
Module Venus.dll [API v.050206]
VSOP87(B) Venus: Precision 1e-005, Terms 79/1710
Module Earth.dll [API v.050206]
VSOP87(B) Earth: Precision 1e-008, Terms 2564/2564
Module Moon.dll [API v.041022]
ELP82: Precision 1e-005, Terms 116/829
Module Mars.dll [API v.060425]
VSOP87(B) Mars: Precision 1e-005, Terms 405/6400
Module Phobos.dll [API v.060425]
Module Deimos.dll [API v.060425]
Module Galsat.dll [API v.041022]
Module Jupiter.dll [API v.050206]
VSOP87(B) Jupiter: Precision 1e-006, Terms 1624/3625
Module Io.dll [API v.041022]
Module Europa.dll [API v.041022]
Module Ganymede.dll [API v.041022]
Module Callisto.dll [API v.041022]
Module Satsat.dll [API v.050206]
Module Saturn.dll [API v.060425]
VSOP87(B) Saturn: Precision 1e-006, Terms 2904/6365
Module Mimas.dll [API v.050206]
SATSAT Mimas: Terms 113
Module Enceladus.dll [API v.050206]
SATSAT Enceladus: Terms 33
Module Tethys.dll [API v.050206]
SATSAT Tethys: Terms 101
Module Dione.dll [API v.050206]
SATSAT Dione: Terms 59
Module Rhea.dll [API v.050206]
SATSAT Rhea: Terms 68
Module Titan.dll [API v.050206]
SATSAT Titan: Terms 100
Module Hyperion.dll [API v.050206]
SATSAT Hyperion: Terms 595
Module Iapetus.dll [API v.050206]
SATSAT Iapetus: Terms 605
Module Uranus.dll [API v.050206]
VSOP87(B) Uranus: Precision 1e-006, Terms 1827/5269
Module Miranda.dll [API v.060425]
Module Ariel.dll [API v.060425]
Module Umbriel.dll [API v.060425]
Module Titania.dll [API v.060425]
Module Oberon.dll [API v.060425]
Module Neptune.dll [API v.050206]
VSOP87(B) Neptune: Precision 1e-006, Terms 391/2024
Module Triton.dll [API v.060425]
Finished initialising world
**** WARNING: Mesh not found: .\Meshes\"JD".msh
>>> ERROR: No vessel class configuration file found for:
>>> ERROR:
>>> [C:\Source\Orbiter\Vessel.cpp / 248]
>>> TERMINATING <<<
-------------------------------------------------------------------------------------------------------------------------------Here is my config file

[CONFIG]
MESHNAME="JD"
SIZE=25
CAMERA=(0,1.467,6.782)
EMPTY_MASS=20000
FUEL_MASS=30000
MAIN_THRUST=3.16e5
ISP=70000
PMI=(11.30,672.61,674.72)
CROSS_SECTION=(94.91,792.33,823.33)
CW_Z_POS=0.09
CW_Z_NEG=0.09
CW_X=2.0
CW_Y=1.45
COG=2.47
PITCH_MOMENT_SCALE=0.00001
BANK_MOMENT_SCALE=0.00002
ROT_DRAG=(0.10,0.13,0.04)
MAIN_PSTREAM1=DGContrail
ATT_PSTREAM1=DGContrail
ATT_TEX=Exhaust_atsme
CAMERA=CAMERA=(0,1.467,6.782)
CAMERA=1
[EX_MAIN_0]
OFF=(-10.96,0.037,0.086)
DIR=(0,0,-1)
LENGTH=12
WIDTH=4



-------------------------------------------------------------------------------------------------------------------------------Here is my scenario file


BEGIN_DESC
Beta 1
END_DESC
BEGIN_ENVIRONMENT
System Sol
Date MJD 51137.5465625486
END_ENVIRONMENT
BEGIN_FOCUS
Ship Corot
END_FOCUS
BEGIN_CAMERA
TARGET JD
MODE Extern
POS 4.00 74.90 -63.31
TRACKMODE GlobalFrame
FOV 50.00
END_CAMERA
BEGIN_HUD
TYPE Surface
END_HUD
BEGIN_MFD Left
TYPE Orbit
PROJ Ship
FRAME Ecliptic
ALT
REF Earth
END_MFD
BEGIN_MFD Right
TYPE Map
REF Earth
TRACK ON
END_MFD

BEGIN_SHIPS
JD
STATUS Landed Earth
POS -80.6858943 28.5906644
HEADING 330.01
RCSMODE 0
PRPLEVEL 0:0.995 1:1.000
NAVFREQ 94 524 84 114
XPDR 0
GEAR 1 1.0000
PSNGR 2 3 4
END
END
END_SHIPS
BEGIN_ExtMFD
END
-----------------------------------------------------------------------
 
Last edited:
It looks like you should change MESHNAME = "JD" to MESHNAME=JD (remove quotes)
 
You also need to change your ship name in the scenario file to:
Code:
JD:Spacecraft\Spacecraft3
 
Is is too small? I think it is.

---------- Post added at 11:36 PM ---------- Previous post was at 11:32 PM ----------

It keeps saying that the mesh is not found.
 
If you still have trouble check this file.
It's playable add with JD name.
Carefull if you try it you may overwrite your JD add...
You could use this as example for spacecraft and how to proper named ini file,mesh,scenarios...
 
Last edited:
It is working. It just doesn't have thrust. The config looks like this.


[CONFIG]
MESHNAME="JD"
SIZE=25
CAMERA=(0,1.467,6.782)
EMPTY_MASS=20000
FUEL_MASS=30000
MAIN_THRUST=50000
RETRO_THRUST=0
HOVER_THRUST=0
ATTITUDE_THRUST=5000
ISP=70000
PMI=(11.30,672.61,674.72)
CROSS_SECTION=(94.91,792.33,823.33)
CW_Z_POS=0.09
CW_Z_NEG=0.09
CW_X=2.0
CW_Y=1.45
COG=2.47
PITCH_MOMENT_SCALE=0.00001
BANK_MOMENT_SCALE=0.00002
ROT_DRAG=(0.10,0.13,0.04)
MAIN_PSTREAM1=DGContrail
ATT_PSTREAM1=DGContrail
ATT_TEX=Exhaust_atsme
CAMERA=CAMERA=(0,1.467,6.782)
CAMERA=1
[EX_MAIN_0]
OFF=(-10.96,0.037,0.086)
DIR=(0,0,-1)
LENGTH=12
WIDTH=4
 
Last edited:
You only defined main thrust, not attitude thrusters.
See some tutorials here.
When adding thrusters you need to add two sets of data:
-Data on thrust force ([CONFIG] section)
-Data used for visuals of the thruster

Use Orbiter diagnostic V0.2 to check for missing files and inconsistencies that could lead you to a crash.
 
Is this good? I added attitude.


[CONFIG]
MESHNAME="JD"
SIZE=25
CAMERA=(0,1.467,6.782)
EMPTY_MASS=20000
FUEL_MASS=30000
MAIN_THRUST=50000
RETRO_THRUST=0
HOVER_THRUST=0
ATTITUDE_THRUST=5000
ISP=70000
PMI=(11.30,672.61,674.72)
CROSS_SECTION=(94.91,792.33,823.33)
CW_Z_POS=0.09
CW_Z_NEG=0.09
CW_X=2.0
CW_Y=1.45
COG=2.47
PITCH_MOMENT_SCALE=0.00001
BANK_MOMENT_SCALE=0.00002
ROT_DRAG=(0.10,0.13,0.04)
MAIN_PSTREAM1=DGContrail
ATT_PSTREAM1=DGContrail
ATT_TEX=Exhaust_atsme
CAMERA=CAMERA=(0,1.467,6.782)
CAMERA=1
[EX_MAIN_0]
OFF=(-10.96,0.037,0.086)
DIR=(0,0,-1)
LENGTH=12
WIDTH=4
 
Is this good? I added attitude.
You added the force, but visuals have some missing data.
Check the tutorial on parameters, see all commands involving thrusters.
Spacecraft.dll allows a max of 16 thrusters if I am correct (I mean visuals). Check Spacecraft docs and check it out.
The tutorials I made gather all the knowledge I have on spacecraft.dll.
The rest is about experimenting and finding other great many things I might have missed.
 
Ok. I have everything done. The thrusters are in the wrong position though. Here is the files. An help on it?

Also, how do I change the rockets posititon to face upward? I think I exported it wrong on Anim8or while it was on its side. BTW, do I iput the main thruster on top of the x axis or no?
 

Attachments

Last edited:
imagesj0R79154.jpg


imageswWG79162.jpg


Rotate in anim8tor object like you see on photo...so nose facing up in side view.
 
liber: That is not needed when using the export script for anim8or I have written. You just have to pay attention that it only supports one material per mesh.
 
liber: That is not needed when using the export script for anim8or I have written. You just have to pay attention that it only supports one material per mesh.

OK. Sorry but I don't use script...;)
Does script convert to orbiter mesh from anim8tor?
I use Msh_MakerV2 for conversion to mesh.
Where could I get script and tutorial for it?
 
Does script convert to orbiter mesh from anim8tor?

Yes, it does direct export from anim8or.

Where could I get script and tutorial for it?

From O-H, tutorial is not much needed, you just need to make sure it loads on anim8or start (By placing it into the script folder you have selected in the anim8or configuration, usually the same folder as anim8or).

http://orbithangar.com/searchid.php?ID=2698

If loaded on startup, you should see the Orbit mesh format in the export dialog.
 
Back
Top