Dear Orbiter-forumers
I raised a question a few days ago about add-ons that can change the exhaust, contrail and smoke effects on existing vessels (see below)
http://www.orbiter-forum.com/showthread.php?t=37487
I spent some time on orbithangar and have seen nothing so I decided to modify the code of the existing FalconHeavy (taking advantage of the sdk provided by brianj) changing the PARTICLESTREAM params and recompile it.
FalconHeavy add-on-> [ame="http://orbithangar.com/searchid.php?ID=6659"]FalconHeavy[/ame]
My target at the moment (I have just set-up the c++ dev environment) is to modify something small, recompile it and see the change in orbiter (i.e. some of the params of the PARTICLESTREAM object).
Unfortunately the only thing I've seen so far is only printing strings using the oapiDebugString
There are many things that I don’t yet understand even quite basic concepts…
For example, I was not sure how to modify for example the f9h_stg1_centre.cpp which to me looked the one responsible for the exhaust effects, so I created a new project from scratch, I added the cpp, the orbiter libs, did the modifications on the code and recompile it. Then I get the new f9h_stg1_centre.dll and that new module should reflect some changes when executing the appropriate scenario, but nothing happens…
The only different thing is that in the Modules section, it appears the name of the file as a new module and when enabling it I can see msg called by oapiDebugString
I set-up my dev environment as per Mohd Ali video (transcripted on this site http://gemnets.blogspot.co.uk/2014/01/setting-up-microsoft-visual-c-2010.html)
Could it be possible that the module that is used to create the thrusts and particle effects is not in the samples dir of the FH sdk? (for example f9h.dll)
What should be the right procedure to modify f9h_stg1_centre.cpp and compile it into a dll?
Thanks in advance for your time in reviewing my post
I raised a question a few days ago about add-ons that can change the exhaust, contrail and smoke effects on existing vessels (see below)
http://www.orbiter-forum.com/showthread.php?t=37487
I spent some time on orbithangar and have seen nothing so I decided to modify the code of the existing FalconHeavy (taking advantage of the sdk provided by brianj) changing the PARTICLESTREAM params and recompile it.
FalconHeavy add-on-> [ame="http://orbithangar.com/searchid.php?ID=6659"]FalconHeavy[/ame]
My target at the moment (I have just set-up the c++ dev environment) is to modify something small, recompile it and see the change in orbiter (i.e. some of the params of the PARTICLESTREAM object).
Unfortunately the only thing I've seen so far is only printing strings using the oapiDebugString
There are many things that I don’t yet understand even quite basic concepts…
For example, I was not sure how to modify for example the f9h_stg1_centre.cpp which to me looked the one responsible for the exhaust effects, so I created a new project from scratch, I added the cpp, the orbiter libs, did the modifications on the code and recompile it. Then I get the new f9h_stg1_centre.dll and that new module should reflect some changes when executing the appropriate scenario, but nothing happens…
The only different thing is that in the Modules section, it appears the name of the file as a new module and when enabling it I can see msg called by oapiDebugString
I set-up my dev environment as per Mohd Ali video (transcripted on this site http://gemnets.blogspot.co.uk/2014/01/setting-up-microsoft-visual-c-2010.html)
Could it be possible that the module that is used to create the thrusts and particle effects is not in the samples dir of the FH sdk? (for example f9h.dll)
What should be the right procedure to modify f9h_stg1_centre.cpp and compile it into a dll?
Thanks in advance for your time in reviewing my post