Jump to content

RvEYoda

Members
  • Posts

    2586
  • Joined

  • Last visited

  • Days Won

    8

Everything posted by RvEYoda

  1. Ok my current solution is the JNI below JNIEXPORT jshort JNICALL Java_leavu_Win32_keyHeld(JNIEnv *env, jclass cls, jint keyCode) { return (jshort)GetKeyState((int)keyCode); } JNIEXPORT jshort JNICALL Java_leavu_Win32_keyStateChanged(JNIEnv *env, jclass cls, jint keyCode) { return (jshort)GetAsyncKeyState((int)keyCode); } Unless someone has a better idea I will go with this and a polling solution. I will have a java thread spinning at some rate looking at keys and giving callbacks, when the poll returns some specific values. These two native calls seem to work regardless of lockon being active or not.
  2. Ah crap lockon hooks these keys so I cannot use this easy library... I will have to do it the hard way :)
  3. Im thinking of having a profiles file with key commands. Something like this : In the instruments list above the remove button there will be a keybinds button. If you click that it loads a text file with keyboard settings profiles which appear next to the active instruments list. You then highlight one profile and one target instrument, and click "load key set" and you bind those bindings to that instrument...
  4. I'm looking at that right now :). Thinking of using Jintellitype for windows global keyboard detection, and JXGrabKey for Linux/macOS. I will experiment some with them and see what my results are. Update : hmm... Jintellitype requires you to install microsoft keyboard software.....dont like that... I need some good independent global hotkey detection for java in windows Update 2 : This guys seems to have it nailed down http://biletnikov-dev.blogspot.com/2009/09/global-hotkeys-for-java-applications_25.html It works great, I will work on implementing this in leavu2 :).
  5. Well we can produce some parts of the mfd pages. The thing is I dont extract the graphics from lockon to my mfds,,, I export the actual data behind it ( like where I am and where my targets are ) and create my own graphics. The lockon F15 mpcd ingame is not interactive, it is just a static sms display, so leavu is a full mfd and instrument software, not just for displaying but it could actually be used to set up real instruments.....sort of ;) When you press a button on the leavu mfd you it is not transmitted to lockon, but to leavus internal instrument state, where the input is processed. I added a noframe option, still have to do the keyboard though ;)
  6. i guess it could be made to work, we could create a gui which does not have buttons on the sides... Ill see what I can do about it. then you also need to get the keyboard input somehow... I guess this could be done through JNI or similar ( since it requires to know global keyboard input when the MFD software does not hold window focus ) if anybody feels like writing java keyboard detection input for this I would appreciate it very much. Just remember it has to work even though another window holds focus.
  7. 1. Not high priority, but the source code is free and you are very welcome to add such an instrument type 2. sure, just make sure it loads the needed lua export scripts.
  8. Maybe the lua instruments that you use assume an incorrect carrier deck altitude?
  9. all displays in LEAVU2 except the HUD display realtime ingame information, but currently they only work with FC2, so you will need to wait for FC2 release I am afraid.. ( and you also need to install the lua script that comes with leavu2 ) There is an old LEAVU1 version somewhere out there for Fc1.12.
  10. Thinking more about it, maybe we should implement preplanned threats... Should we have some form of DTC setup like Open Falcon Rapace Launcher ?
  11. Great video!!
  12. here is from my First real leavu test back in Sweden.
  13. Let me also make some advertisement for a mod I'm making for FC2 http://forums.eagle.ru/showthread.php?t=42942
  14. The LEAVU MFD already supports manually adding mark points :). It also supports transmitting these mark points over datalink ( similar to Open Falcon and/or Black Shark ) Added SAM-AAA threats is somewhat of a gray area, what exactly is realistic or not, Should they auto appear when TEWS sees them, and auto-transmit over dlink etc ? ( Like Allied Force? ) Should it be preselected before the mission like Open Falcon ? ( i prefer this approach ) Should we also support these "mark zones" like Open Falcon ? I don't know. At the moment at least for me having markpoints is enough.. However the threat circles are not a bad idea, i mean, LEAVU could easily support it with its current state. But..do we really want/need it ? :) The LEAVU Mfd handles everything in Lat-Long-Alt and ingame XYZ coordinates. Every time you click the display or select a position in the HSD view, that position is converted to an actual Latitude and Longitude in the game world. I do recommend checking out the current leavu source code with svn-netbeans or similar if you have some programming experience...You dont need to know Java explicitly, any OO language or C/C++ will probably let you understand the program.
  15. Oh thread was resurrected :). Precisely. The first thing you learn on any kind of scientific or engineering education is the skill or whatever you want to call it to make decent estimations. To be able to pick the parameters which "matter the most". Then you can present data such as " this simulation is valid within .... to an estimated error of ....%" where that is a statistical error analysis for example. You cannot define a simulation as "perfect" or "accurate to the ...", because no such simulation exists today and NO SUCH natural law has been observed to this date. You have models. These models are valid within certain limits, and to a certain degree, deal with it :P. Thread necro ftw sidenote : Kopp is wrong on basically all R27 ranges... Why ? Because I and several others here including ED have the actual employment manual for aircraft carrying such missiles, and guess what ? .... you figure out the rest Oh and...CRAP! we also got the actual test data of aim9L accelleration and flight profile....and ? ... its energy is surprisingly similar to lockon aim120 ;)
  16. Yes....you are right here...lol Flying with leavu and no 3d graphics .. :P
  17. I did not realize, but you are right : Leavu can be used very efficiently to teach radar/rwr avionics to new guys! basically backseat mod :). Just allow him to connect to your game machine .
  18. we could make steam gauges run in leavu is someone wants to draw them ;) advantage : resizeable vector graphics and fast continuous unified data updates I'm thinking something like this : Main monitor 24" as cockpit/game view. Then i have this 7" or 10" ( i think ) touch screen below it as clickable mfd. Then I am thinking about having 1 22" on each side of the 24" with non clickable leavu displays. ( like RWR, Radar VSD and SMS screens ) Possibly putting steamgauges somewhere also. I like that the 22" have become really cheap, and you dont need to buy a high quality one for secondary monitor imo ( well i cannot afford one anyway :))
  19. Ingame action :) Here is leavu running on my laptop while game is on my main machine.
  20. Do you remember a while back Zalman released this all passively cooled case? It basically had heatpipes going to every component to shuffle away the heat, and it was good enough to run medium to high end systems Zero fans ( not even in PSU ). If I'd had the money back then that would be my first choice. That, and an SSD drive. completely silent PC :) ( Except for electronics noise )
  21. In support of Maverick!
  22. Ok and now I need to get this as byte[] or other useful java format through JNI ( i guess ) :)...
  23. It will run yes, but with that card it wont look pretty. It should however in my experience run significantly faster than BS. I have run lockon on an X1600 mobile and it can run medium details reasonably fast.
  24. Maybe its possible to put these graphics files in home folder instead ? Or somewhere similar ? .. hmm it should be possible to run this without admin priviliges...I dont like giving a network app full read/write to my system ..:)
  25. What you can do instead of disabling UAC is assign yourself full read-write access to the lockon folder and to the HL folder. This is better than give yourself read-write access to every folder on system ( UAC OFF ) in my opinion. However this option is not in Win7 home edition from what I know, only professional or ultimate. Right click the folder, properties, security(not in home edition), add your user name, give "full/all" permissions. Also make sure like PoleCat says to have "" around the search path
×
×
  • Create New...