![]() |
|
OrbitHangar Addons & Comments Addons uploaded at Orbithangar.com will automatically generate a new thread in this forum for comments. The thread link will also be included on the addons page. |
![]() |
|
Thread Tools |
![]() |
#16 |
Addon Developer
|
![]()
Decoys won't help in current configuration (unless you rename one of the decoys to your Gemini once you deploy it :-) ) - chasing is currently done by target's name. Great idea to consider for future, though - to target the brightest thing you can find, that does not have ID responder :-)
--------- Actually, when translating the manual, discovered that Polyot locks on target by pure proximity, not by name. Gee, I don't remember how my own addon works :-). So, decoy should work OK... if you manage to deploy it in a proper direction! Last edited by igel; 04-23-2015 at 03:44 AM. |
![]() |
![]() |
![]() |
#17 |
Orbiter amateur filmmaker
|
![]() Quote:
|
![]() |
![]() |
![]() |
#18 |
Addon Developer
|
![]()
Yes, it will explode into pieces. It will also destroy the object it strikes. If that object is a third-party vessel, it will be simply 'deleted' from scenario. Whether the third-party vessel can handle such "external deletion" without crashing Orbiter, depends on particular third-party addon, but usually they don't pose any problems.
|
![]() |
![]() |
![]() |
#19 |
Orbinaut
|
![]()
I am having a problem with the scenario editor and the First in Space Sputniks. I am trying to add the Sputnik 1 vessel into orbit via the scenario editor with the Sputnik 2 scenario. In essence so I can have both Sputnik 1 & 2 in orbit at the same time after the sputnik 2 launches.
So I opened up the Sputnik 2 scenario and added sputnik 1 via the scenario editor. After I have added it and closed the scenario editor, I get an error message when I try to select the Sputnik 1 that I added via Cntl F3. Here are some of the error message details. Microsoft Assertion c++ debug Library Debug Assertion Failed Microsoft Visual Studio 9.0\vc\include\vector Line 779 Expression Vector Subscript out of Range I tried inserting the stock DG into the Sputnik 2 scenario with all the same parameters and it works fine. So the error seems to be something specific to the sputnik vessel. Any ideas what is causing the error message? |
![]() |
![]() |
![]() |
#20 |
Addon Developer
|
![]()
I think I know what the problem is, but solving it may be not that straightforward...
'First in Space' and 'R-9' addons introduce a special notion of 'Mission' that is not present in the regular Orbiter scenarios. Mission combines a 'loose set of Orbiter vessels' that relate to the same... well, mission, to process and combine data that is common to all of them. This notion is implemented as a separate invisible Mission vessel at the top of scenario. Additionally, all known missions are listed in a special configuration file, referenced by parameter MissionsFile in the Mission.cfg. When there is a single mission is scenario, everything is simple: all vessels compiled with VesselM library are by default considered part of this single mission. It is also easy to add a regular Orbiter (or any other non-VesselM) vessel, like Deltaglider, to the scenario. However, when we have two or more missions in the file, or if just other additional VesselM vessels are present in the scenario (and this seems to be exactly what you try to do) - then all vessels for each mission need to be explicitly listed in separate MISSION parameters in the Mission vessel in scenario. For example of that, see multi-rocket scenarios in the R-9 addon. This is rather involving, and easy to screw up with typos... But without that, Mission vessel will add Satellite 1 to the mission of Satellite 2, and then will try to find its data in the Satellite 2 mission record, and will not find it, crash. |
![]() |
![]() |
![]() |
#21 |
Orbinaut
|
![]()
Ok, I kind of get what you are talking about, but lost me in the specifics. So I will explain what I was trying to do and let me know if there is a relatively easy way to do it.
I launched your Sputnik 1 add on and I was going to let it run until the orbit decayed. Then I got to thinking that the real Sputnik 1 and likely the add on Sputnik 1 would not decay until after Sputnik 2 was launched. So why not try to make as real as possible and have both in orbit at the same time in orbiter. So I let the simulation for the Sputnik 1 simulation run until it matched the start time for the Sputnik 2 scenario. I then paused it and recorded the orbital element parameters from the orbit MFD. Then I closed Orbiter and started scenario Sputnik 2 and tried to add Sputnik1 with the orbital elements I recorded previously. Which led to the crash. Someone else in a different thread suggested adding Sputnik 1 to the Sputnik 2 scenario file with the orbital elements, but from what you described, I'm not sure that would work either. I have learned a lot about orbiter in this process so even if it won't work out I consider this a net win for me. Sent from my iPhone using Tapatalk |
![]() |
![]() |
![]() |
#22 |
Addon Developer
|
![]()
What you are trying to do is totally doable. Just not as easy as simply adding another vessel in scenario - more changes are needed... and they are undocumented yet :-(. I should be too busy this week to try to do it myself, but hopefully next week I'll be able to make such a scenario and post it. It may then serve as example on how to do this, and scenario customization will be documented in future.
I did not do it up to now because there is usually no need to "mix and match" the 'historical' scenarios. To me (just a personal approach) there is no much value in flying two vessels in space if they cannot interact (or even can't see each other at reasonable distance) - and that's what will be happening here. Yes, they will fly around Earth at the same time, but orbits will be so far away that minimum distance between won't be anything exciting ... Interestingly, it may be worth checking the reentry time of the Sat 1 huge rocket stage - if it was still in orbit at the time of Sat 2, it was actually much more visible to ground observers than the small spherical satellite. Most people reporting to see the satellite were actually seeing the rocket... And, of course, it will be possible to have spent rocket stage in orbit along with the satellite 1 in scenario with the Satellite 2 launch. |
![]() |
![]() |
![]() |
#23 |
Orbinaut
|
![]()
Creating that scenario or even better documenting how to customize would be awesome.
I agree that what I am trying won't be anything exciting, but your last paragraph is precisely why I am trying to do it...because its interesting. And to answer your question, the historical reentry for the core (block A) was 12/2/57 the reentry for Sputnik 1 was 1/4/58. I am currently at 11/8/57 on the Sputnik 1 scenario and the block A apogee is at 941.4 and the Sputnik apogee is at 941.9. The decay rate is less than 1 km per day at this point. Seems like the core will go past the 12/2 historical date for sure. |
![]() |
![]() |
![]() |
#24 |
Addon Developer
|
![]()
thammond - I just was able to test the "dual" scenario, and it worked for me, without messing up with Mission config files. Here's what I did:
1. Flew Sp1 into orbit, flew it for for some time there and exited; 2. Opened the auto-saved scenario, opened a copy of Sat2 scenario, and copied two vessels from first to second, with all parameters: Sputnik-1 and BlockA (did not care about the nose cone). 3. Extra vessels were placed at the end of the list, after the Launchpad; 4. I made two changes to the copied data: one optional another mandatory: a). removed PLAY_SOUND entry for Sputnik-1 (the battery should have long died by this time... though it is not really modeled, and you can still activate beeping sound with P key); b). renamed the coped BlockA to BlockA1, so it does not get confused with the original BlockA. Here's what I got: Code:
Sputnik1:FiS\Sputnik1 UPDATERS M_TIMER_P1S, M_GROUND_WATCH, SP1_SND, TIMERS_P1S M_PLN_ENTER_EXIT, M_ATM_ENTER_EXIT, STATUS Orbiting Earth RPOS 3652408.80 4332635.71 3356818.43 RVEL -6150.610 1533.699 4849.746 AROT -13.40 12.23 15.89 VROT -0.49 3.07 3.57 AFCMODE 7 PRPLEVEL 0:1.000000 NAVFREQ 0 0 END BlockA1:FiS\BlockA CONDITIONAL_SEQUENCE FltSeqOrb 1,1,1,1,1, UPDATERS M_ANIM, M_TIMER_P1S, M_GROUND_WATCH, M_ME_WATCH, TIMERS_P1S M_PLN_ENTER_EXIT, M_ATM_ENTER_EXIT, ANIM_CTRLS -0.000000,-0.931264,-1.000000, STATUS Orbiting Earth RPOS 3652614.76 4332653.55 3356550.38 RVEL -6146.660 1534.446 4844.446 AROT -163.92 -41.10 -64.13 VROT 36.34 -76.12 3.57 AFCMODE 7 PRPLEVEL 0:0.014694 1:1.000000 NAVFREQ 0 0 SUBTYPE R-7 ORBIT 7318000.000000 6599000.000000 1.136209 TEMPERATURE 150.897124 FLIGHT 0.650060 0.000000 0.000000 0.801461 1.105530 1.000000 0.000000 0.000000 END I am actually surprised it did not require changing the mission specifications. Was fully expecting it to crash. Maybe it just worked by accident... but give it a try first :-). If it does not work in your environment, I'll then try to explicitly split the missions in the scenario. |
![]() |
![]() |
![]() |
#25 |
Orbinaut
|
![]()
I finally got a chance to try out your latest suggestion and it worked for me too.
Thanks for your help Sent from my iPad using Tapatalk |
![]() |
![]() |
![]() |
#26 |
Addon Developer
|
![]()
Great news, thanks!
|
![]() |
![]() |
![]() |
#27 |
Orbinaut
|
![]()
Whenever I try to launch the addon, it terminates due to critical error. Help?
|
![]() |
![]() |
![]() |
#28 |
Wanderer
![]() ![]() |
![]() Quote:
Also does the Orbiter log file give any clue as to what is missing? |
![]() |
![]() |
![]() |
#29 |
Moderator
![]() ![]() ![]() |
![]() Quote:
Quote:
|
![]() |
![]() |
![]() |
#30 |
Orbinaut
|
![]() Quote:
For example, first I corrected the inclination fo Molniya-1 to 65.5, found that correctly in the FisMissions configuration file. Now I want to change Luna 9 and 10 to launch from pad 35 (historical) instead of LC-1 (which is where they launch from in the supplied scenarios), and I can't figure out where I do that. The scenario file is totally empty of that information because it's handled elsewhere, and I haven't found documentation for what the different options are and how to manipulate things yourself. As another example, off topic for this addon but relevant to the question at hand, I'm taking a look at the Soyuz TMA pack, and it looks really cool- but I want to be able to create my own missions with it, change launch times, target orbits, etc to simulate different historical Soyuz missions, and I can't figure out how to make that happen. Some sort of API or mission creation documentation would be wondeful. Thanks |
![]() |
![]() |
![]() |
|
Thread Tools | |
|
|
Quick Links | Need Help? |