Hi BrianJ & Orbiters
I am still trying to do some minor modifications on your fantastic FalconHeavy. I have started by changing things on the Falcon 9R v1.2 and have 4 questions. (I am not sure whether it would be more correct to ask each of the questions in different threads? Please let me know if I should do so)
1-I added some Particle Stream effects to the M1 engine of the second stage as shown below
PARTICLESTREAMSPEC exhaust_sec1 = { //line 432
0, 3, 10, 150, 0.01, 0.15, -0.4, 2, PARTICLESTREAMSPEC::EMISSIVE,
PARTICLESTREAMSPEC::LVL_SQRT, 0, 1,
PARTICLESTREAMSPEC::ATM_PLOG, 1e-7, 1,
exhaust4
};
…
AddExhaustStream(th_main[1], _V(0, 0, -10), &exhaust_sec1); //line 497
(file attached - change extension to .cpp)
The particle stream effect looks good until an altitude of 100km where it starts vanishing until it reaches 113km or so and disappears completely. I can’t find where about in your code is the guy responsible for this, I am pretty sure you will know that
It could make sense to me that if ParticleStream is a function of air density, at that altitude the air density is so low that being the gas molecules so far apart from each other it would be no visible effect on the generated particles but I would like to change that to make it more realistic. (You can see it in SES-9 launch-> [ame="https://www.youtube.com/watch?v=muDPSyO7-A0"]SES-9 Full Webcast - YouTube[/ame]
2-I would like to add a sonic boom effect when reaching Mach1, I have tried to use the computerex add-on orbSonicBoom within his add-on pack (see below)
[ame="http://orbithangar.com/searchid.php?ID=3508"]Computerex Add-on Pack[/ame] (thanks computerex)
But I can’t make it work. I am supposed to create an .ini file that would contain the particle stream effects for the condensation cloud AND (I think this is where I am failing) name it with the class name of the vessel (name of the .dll module of the vessel?)
3- I would like to know what function I could use to change the colour of the meshes under certain conditions. I would like to change the colour (to red) of the M1 engine of the upper stage when firing like in the real life. This is implemented on the SpaceX launch vehicles and Dragon add-on (link below)
[ame="http://orbithangar.com/searchid.php?ID=5442"]SpaceX launch vehicles and Dragon[/ame]
4- Also done on the above add-on, could any of you tell me how to insert comments or debugging texts on the screen (like using oapiDebugString but being able to choose the position of the screen where you want to plot the text, colour/font…)
Thanks a lot for your help Orbiters!
I am still trying to do some minor modifications on your fantastic FalconHeavy. I have started by changing things on the Falcon 9R v1.2 and have 4 questions. (I am not sure whether it would be more correct to ask each of the questions in different threads? Please let me know if I should do so)
1-I added some Particle Stream effects to the M1 engine of the second stage as shown below
PARTICLESTREAMSPEC exhaust_sec1 = { //line 432
0, 3, 10, 150, 0.01, 0.15, -0.4, 2, PARTICLESTREAMSPEC::EMISSIVE,
PARTICLESTREAMSPEC::LVL_SQRT, 0, 1,
PARTICLESTREAMSPEC::ATM_PLOG, 1e-7, 1,
exhaust4
};
…
AddExhaustStream(th_main[1], _V(0, 0, -10), &exhaust_sec1); //line 497
(file attached - change extension to .cpp)
The particle stream effect looks good until an altitude of 100km where it starts vanishing until it reaches 113km or so and disappears completely. I can’t find where about in your code is the guy responsible for this, I am pretty sure you will know that
It could make sense to me that if ParticleStream is a function of air density, at that altitude the air density is so low that being the gas molecules so far apart from each other it would be no visible effect on the generated particles but I would like to change that to make it more realistic. (You can see it in SES-9 launch-> [ame="https://www.youtube.com/watch?v=muDPSyO7-A0"]SES-9 Full Webcast - YouTube[/ame]
2-I would like to add a sonic boom effect when reaching Mach1, I have tried to use the computerex add-on orbSonicBoom within his add-on pack (see below)
[ame="http://orbithangar.com/searchid.php?ID=3508"]Computerex Add-on Pack[/ame] (thanks computerex)
But I can’t make it work. I am supposed to create an .ini file that would contain the particle stream effects for the condensation cloud AND (I think this is where I am failing) name it with the class name of the vessel (name of the .dll module of the vessel?)
3- I would like to know what function I could use to change the colour of the meshes under certain conditions. I would like to change the colour (to red) of the M1 engine of the upper stage when firing like in the real life. This is implemented on the SpaceX launch vehicles and Dragon add-on (link below)
[ame="http://orbithangar.com/searchid.php?ID=5442"]SpaceX launch vehicles and Dragon[/ame]
4- Also done on the above add-on, could any of you tell me how to insert comments or debugging texts on the screen (like using oapiDebugString but being able to choose the position of the screen where you want to plot the text, colour/font…)
Thanks a lot for your help Orbiters!