Sure. I hope staging and overall logic of the file doesn't need further explanation.
Thanks, it is now here: http://bitbucket.org/face/genericvessel/wiki/Specifications
Sure. I hope staging and overall logic of the file doesn't need further explanation.
I also would like a guidance file that involves altitude instead of time.
(I don't know if LaunchMFD works with multistage2)
That's an autopilot that works on its own, without a guidance file (unless that's a feature I've never read about). It's mostly nice (see the Velcro EELVs add-on), but it isn't very precise when it comes to what the pitch should be. When I was developing my Negi-1 rocket, I made mock-up stages in Velcro rockets. However, the autopilot failed to put it into orbit.Velcro rockets uses an autopilot similar to that.
That's just an autopilot that works on its own, without a guidance file. It's mostly nice, but it isn't very precise when it comes to what the pitch should be. When I was developing my Negi-1 rocket, I made mock-up stages in Velcro rockets. However, the autopilot failed to put it into orbit.
Also, you can define custom exhaust textures and particles in multistage2. Both Velcro and multistage2 have their pros and cons.
I think that the main goal should be an OrbiterNexGen compatible Sc3 and Ms2 version. Once achieved that, we can improve the modules without change the main structure.. i was thinking about a new dll integration in order to add some missing structures, like virtual cockpit in multistage2 vessels, and alternative autopilot concept.. I don't like the idea to change all ini files in FOI vinka modules based addon :huh:
My idea - that I will outline as code in my repository - is to first produce a module that works as replacement for both SC3 and MS2. If there is sufficient "we" (aka. enough community interest and input) with a specification that is agreed upon, I will also try my hands on developing the replacement into that direction.
If there is not, at least the code for the framework that is used by so many quality add-ons is not lost, as I'll make the replacement framework code GPL.
Seeing where this thread is going, i can add that my SC3->DLL converter can be turned into a spacecraft3.dll replacement in a few lines of code - just skip the DLL generation and loading stage, and import the ini file into the osh vessel class directly.
Making it open source is not a problem - the DLL is the sum of code the converter generate, the converter itself is nothing terribly secret.Is it open source? If not, I'm afraid that it is just replacing one closed framework with another. If it is, contributions are of course welcome.
Making it open source is not a problem - the DLL is the sum of code the converter generate, the converter itself is nothing terribly secret.
Contributing is another matter entirely - as usual, i have my own approaches and frameworks, so my code would likely be perpendicular to any existing code.
Here is the oshdll's code, C++:
http://orbides.1gb.ru/orbf/oshdll_standalone-130207.zip
Expects to sit 2 levels from the root, i.e. in Orbiter/sources/oshdll.
<snip>
The xves sources:
http://orbides.1gb.ru/orbf/xves_standalone_src-130207.zip
And a synced up compiled version of it all:
http://orbides.1gb.ru/orbf/oshdll-sc3-dropin-130207-2.zip
The xves should be compiled with Delphi (7, anything newer from Borland is dead body twitches), or Free Pascal.
I've cleaned up that code from any dependencies on frameworks, so it should be clean and straightforward.
The INI file is being interpreted and a data structure is being composed.
The structure is then sent back to the oshdll.
xves should be largely Orbiter-version-independent, so any compatibility breakages should be fixable by changing the community-friendly oshdll.
How does that look?
I kind of butted in, it seems.
If we are going my way, then system-wide, i suppose the goal is to get the compatibility sorted out, then ensure (and tweak if needed) the compatibility with D3D9Client or any others.
Some bugs and limitations of the SC3 are already overcome - no vessel or object count limits, etc.
After that - follow the Loru's specifications?
oshdll already contains support for UMMU and Kulch's PayloadManager.
Later might be removed due to obsolescence.
OrbiterSound support can be added easily, but i have zero experience working with it.
One downside is multistage2, which is a whole new unopened can of worms for me - no idea how hard would it be to add support for it.
Your latest compile package is not having the issue, BTW.No idea about antiviruses flagging the file - i never use them.
The DLL is nothing special - what Delphi's compiler produced, no changes.
One downside is multistage2, which is a whole new unopened can of worms for me - no idea how hard would it be to add support for it.
Better make them more digestible then.That said, I'd like to check-in your code-base into my repository here. As I said before, I will make it open source under GPL v2+ . This would mean that your code will be under this license, too - of course credited to you as author. I will not do it if you are not happy with this. So what do you say?
So if I understand this right, xves.dll is "just" the parser back-end.
Have you tried the Delphi 5? It might work, as there is little system dependent or object-oriented code.I only have a licensed Delphi 5 copy, so I guess I can't immediately compile it now. Have you tried to compile it with a freely available tool-chain, and if so, where can I download it?
Well, you were doing things on your own, starting a project, laying out a framework, then i go in and give you my own 3/4-done working solution to replace all that."Butted in"? Why do you feel that way?
I've removed most of the unused framework parts, including some SSE-assembly-optimized memory copy functions. Maybe these were flagging it off?Your latest compile package is not having the issue, BTW.
Hm?IMHO, your UAP is better than MS2, it just needs more control.
The problem there is perpendicular to SC3 - most of it's add-ons, even good ones with detailed VCs, simply don't have the buttons in question routed in the VC mesh:One major item needed would be to be able to push the buttons for the 2 MFDs in the virtual cockpit, without the need for the glass-cockpit addon.
I don't get it. Any clarifications?Here's what I need.
Better make them more digestible then.
Here are the to-the-commit version of the code, with comments and clean variable names:
http://orbides.1gb.ru/orbf/oshdll_standalone_src-130207-1.zip
http://orbides.1gb.ru/orbf/xves_standalone_src-130207-1.zip
No problems about turning it GPL, that i know of.
There are tiny bit of code from the DG.
Have you tried the Delphi 5? It might work, as there is little system dependent or object-oriented code.
Failing that, Free Pascal ( http://www.freepascal.org ) should work fine.
I've even included a build script for it.
Well, you were doing things on your own, starting a project, laying out a framework, then i go in and give you my own 3/4-done working solution to replace all that.
I've met people who would consider that rude.