Jump to content

kazereal

Members
  • Posts

    671
  • Joined

  • Last visited

Everything posted by kazereal

  1. :D Good you got it working :)
  2. Nothing that concerns me really. All EFM controls are directly by the keybinding to ed_fm_set_command() The cockpit DLL I added for a plan to test some things but it is nothing but skeleton of a DLL now. You have completely free hands to do what you wish in the cockpit. Sure, go nuts :) I tried to understand those scripts at some point, then gave up, lol -- I updated github with one change now: landing gears now use actuator code I added previously to airbrake (reduces lines of code) and support individual movements for them. This in case of damaged wheel and such which might be handy at some point. I changed the aero drag calculation to consider all three wheels now (instead of just one), I think it is now closer to realistic values but needs testing. Those changes should be easy to merge afterwards too.
  3. That's what I think too, but finding it is another thing.. Thanks anyway :)
  4. Suspension parameters are in the Lua now. Wheel friction parameters are needed in the DLL too. I think suspension parameters should be moved in to DLL but that needs plenty more work before even thinking of that so it is ok if they are not there now. Center of mass should be same as before but should be calculated in the EFM according to fuel amount changes in different tanks. There's a total mass change in EFM but it does not affect center of gravity now (tank position calculation is not there yet). If you can spot why suspension is sometimes considered "down" by DCS (instead of "up") let me know. I found old comment about hard-coded thing somewhere that puts them automatically down when below 200kts, I wonder if that is still true? Need to run to the shop now..
  5. Another thing that needs extra care is that some things use different coordinate system than what DCS uses (left-handed vs. right-handed) so need to look into that in the code too to make it simpler. That seems to have confused me again causing some bugs and problems..
  6. The stick should not move as much as it does. It is just for testing that code works. Nosewheel steering and brakes are on the list somewhere but you have too high expectations now, go back and read the older messages in this thread. I don't want to repeat a lot of information here.. In short, this is a tool to learn developing modules. If you want something done quicker, learn to code or make 3D modeling it yourself. Edit: I mean, there are tons of things to do and you are not really in a position to complain when you are getting it for free. It is all done in free time as a hobby after all.
  7. Ok, cool :) Sometimes it is hard to know what people know about these things beforehand ;) Anyway, there's a very rough airbrake now, it does slow speed while in air (too much actually!) so something to play around with. Rolling friction "hack" is back there but that one seems too low now. I'm looking into proper implementation later. Both still need more work and refinement to be more accurate and so on but there is now some kind of effect with it to play and test with. One thing causing trouble is with mix of imperial and metric units in the code now.. :( (Should convert everything to SI-units at some point..)
  8. You can also "fork" repository into your own easily in git, then make your work on your own pace into that. Changes can be merged into other repositories after that. Git was developed just for that kind of independent work originally so it is pretty good at it, other similar tools like SVN were made for a different kind of work.
  9. A short update: I've changed the old code to reduce memory re-allocations, this should give better performance and also reduces memory fragmentation (also better performance). Code should be simpler to follow too with these changes.
  10. There should be compiled DLL in the github bin-folder (unless something goes wrong). Downloading the whole tree should give working version "as-is": https://github.com/ipr/F-16Demo I recommend using git-client such as this: https://desktop.github.com Git-client will detected changes and only transfer those that have changed, nice way to reduce bandwidth needs. Just for cloning (downloading) you don't need account when the repository is public.
  11. Getting stuck on grass, mud, sand etc. is not about friction. It is about uneven terrain and tyres sinking into unpaved ground (a lot of weight on small surface area of soft ground). The question is more about how terrain is modelled instead of tyre friction in those cases. Friction is actually *lower* in unprepared runways: grass and mud are slippery, sand acts like small ball-bearings changing static/glide frictions into rolling friction and so on. When tyre is sinking it is not about friction but closer comparison would be about soft-body collision with increasing resistance the more material there is in front (the deeper the tyre goes).
  12. There's a new prototype for actuator code in the github, it is simpler than what I was originally planning to add: idea is to get more experience and testing with this code and gradually introducing more things to it. Only airbrakes use that now (not real values, just for testing), if it seems to work out ok it might be useful in other cases too in the EFM code.
  13. Yes :) That should help setting the surfaces with better flexibility for different conditions. Thanks for the attachment, I'll test that now :) Edit: Yes, this is exactly right, thank you! :)
  14. I do have an idea about calculating the drag and integrating it to calculations but I need to research that a bit more before implementing it in code. Btw, can you PLEASE separate trailing edge flap (aileron) and elevator animation in the 3D model? (args 11 and 12 I think) That is really problematic since those are conflicting with what the flight model wants to set in specific conditions.
  15. I'm not sure what you are after with that.. Maybe I was unclear: airbrake angle limiter is in EFM code now. Simple keybinding in DCS options works to control it. I also want to move stuff away from Lua into EFM whenever possible so it is simpler to follow and understand.
  16. There's now some simple support for trimming plane in pitch, roll and yaw axis. While I was looking through the code I found a way to add it without much work and binding happened to work out easily too. Values are not realistic (too large per notch) but can be something to play with. Airbrake does have limit in opening too (forgot to mention earlier): that is part of flight control logic when landing gears are down and locked so that airbrake won't hit runway. It needs improvements of course but something to get started. Code is in the usual place. I'll go back to looking at code now, figuring out how to add various stuff later.. Edit: and the trimmer does not have limits yet either so it can get out of control..
  17. At this point it is not so much about information but more about making suitable simulation code and integrating DCS. When there is more code ready then getting accurate parameters becomes more important but there's many steps to do before then.
  18. They are not working at the moment. I messed something in the code and commented it away (disabled it) until I had time to figure out better way to do them. It was something of a quick hack then and I wanted a better way to implement. I can look into the way I originally implemented them and enable that again until I have better way prepared. It is high on my list of things to do.
  19. There's just sooo many systems and components depending on each other it can be slow progress at times. I started looking at generators and hydraulic pumps and then I was sidetracked when I noticed AB fuel pump is driven by bleed air from the engine.. Yet another thing that needs to be done. Anyway, top of my list for 3D model would be: * was the trailing edge flap animation tied to elevator animation at some point? Need to double-check that.. Edit: looks like arguments 11 and 12 have both elevator and aileron functionality tied together, that might be better if both are controlled in EFM at same time instead of linking them in animation, need to check that * nosewheel steering: now it does not rotate or I'm missing something. I'll need to go back and fix the code too, I think I commented that away when I broke some time ago. * refueling trap door would be interesting to try out things needed for air refueling but a LOT needs to be done before that can happen so, just "nice to have" but not essential * also would be interested in adding at least some damage modeling to figure out how that can be integrated but still much to do before then (landing gear damage would be my first choice) * bounding box handling seems to be working now when landing gears are in so disregard earlier comment about it. Sounds like DCS is somehow still thinking landing gears are out (sounds, movement etc. from landing gears) when animation state shows them in.. Maybe something in the scripts instead? I'm calling this the "Star Wars effect" :P Engine spool and fuel burn are high on my list for the code, also airbrake drag and integration to hydraulic system with proper actuator functionality. There's plenty of work to do, we'll see how that all goes..
  20. Thanks for information. Now it might be simpler to make changes like that so I'll look into that.
  21. One large batch of code cleanup finally done. Finally had enough motivation to finish that. Further changes should be easier to make and code should be easier to follow now. Some cleanup still likely but should much easier to make sense of the code now. Again pushed into github in the usual place: https://github.com/ipr/F-16Demo Have a look and leave a comment if you care. Edit: maybe adding airbrake effect to aero drag would be cool in the future etc.
  22. Many of the bindings work properly now (with joystick and keyboard) so that is updated to inputs. Code pushed to Github again.
  23. This should have everything you need: http://forums.eagle.ru/showthread.php?t=95985
  24. Landing gear keybinding started working in some version (change in DCS?) so I tested that. As a result, there's now animation of the landing gear movement working. Actuator support is not there yet (hydraulics code not done) but this should be a bit forward again. Edit: ignore the part about taking off from grass.. :facepalm: Animation support was there in 3D model before, now there's just code to give different angle for DCS when gears are going up/down. Code pushed into github again in the usual place: https://github.com/ipr/F-16Demo
  25. Anyway, this tech demo might have some useful ideas: http://forums.eagle.ru/showthread.php?t=95985
×
×
  • Create New...