Jump to content

RvEYoda

Members
  • Posts

    2586
  • Joined

  • Last visited

  • Days Won

    8

Everything posted by RvEYoda

  1. My friend has already run it on linux and it works well for him :).
  2. Yes that is good as a word for what I tried to express, I will edit my post, thanks. English is not my first language. :) I think it was something like this "Oh getting goose bumps from this.."....then "Wait.....im getting goose bumps from a war speech/rally/arousal?".....I think that summarizes what I disliked
  3. hmm. I dont know how to explain it. Let's call it "stressing/shouting people to fighting". Dont know how to put it really.
  4. well the movie was good, but.. I really disliked when the main character ( cant remember his name ) gave his "war arousal speech" to rally the Navi troops. It made me really sad and angry. That kind of lowered my overall impression of the movie by quite a lot.
  5. Yes, though I have not written the code that will detect keyboard input yet for linux. Perhaps in linux we can simply use standard Jinput to detect keyboard input. This is not an option in windows for 2 reasons . 1 : You want to detect keyboard input even though the game and not leavu2 has window focus 2 : Lockon creates keyboard hooks, basically stealing all keyboard input. You must access it at the lowest level to spot it. Similarly in linux i have not written a native library that does the following : 1. If the game has window focus , do not steal it when clicking leavu ( i.e. touch screens ) I have it sorted in windows, but i doubt we will need that feature in linux. Leavu2 is mostly just java, but I do need a native library for the reasons above. However this library is only loaded if you actually try to access these functions, so you can still launch leavu2 on linux and use it like on windows if you dont need the above. ------ The native library i call "Java2Win32.dll" in windows has source code : #include "windows.h" #include "Java2Win32.h" #include "jawt.h" #include "jawt_md.h" JNIEXPORT jlong JNICALL Java_leavu_Win32_setNoActivate(JNIEnv *env, jclass cls, jobject comp) { HMODULE _hAWT = 0; HWND hWnd = 0; typedef jboolean(JNICALL * PJAWT_GETAWT)(JNIEnv*, JAWT*); JAWT awt; JAWT_DrawingSurface* ds; JAWT_DrawingSurfaceInfo* dsi; JAWT_Win32DrawingSurfaceInfo* dsi_win; jboolean result; jint lock; //Load AWT Library _hAWT = LoadLibrary(L"jawt.dll"); if (_hAWT) { PJAWT_GETAWT JAWT_GetAWT = (PJAWT_GETAWT) GetProcAddress(_hAWT, "_JAWT_GetAWT@8"); if (!JAWT_GetAWT) { JAWT_GetAWT = (PJAWT_GETAWT) GetProcAddress(_hAWT, "JAWT_GetAWT"); } if (JAWT_GetAWT) { awt.version = JAWT_VERSION_1_4; // Init here with JAWT_VERSION_1_3 or JAWT_VERSION_1_4 //Get AWT API Interface result = JAWT_GetAWT(env, &awt); if (result != JNI_FALSE) { ds = awt.GetDrawingSurface(env, comp); if (ds != NULL) { lock = ds->Lock(ds); if ((lock & JAWT_LOCK_ERROR) == 0) { dsi = ds->GetDrawingSurfaceInfo(ds); if (dsi) { dsi_win = (JAWT_Win32DrawingSurfaceInfo*) dsi->platformInfo; if (dsi_win) { hWnd = dsi_win->hwnd; SetWindowLong(hWnd,GWL_EXSTYLE,WS_EX_NOACTIVATE); } else { hWnd = (HWND) - 1; } ds->FreeDrawingSurfaceInfo(dsi); } else { hWnd = (HWND) - 2; } ds->Unlock(ds); } else { hWnd = (HWND) - 3; } awt.FreeDrawingSurface(ds); } else { hWnd = (HWND) - 4; } } else { hWnd = (HWND) - 5; } } else { hWnd = (HWND) - 6; } } else { hWnd = (HWND) - 7; } return (jlong) (long)hWnd; } 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); } If you want linux compatibility the easiest way is to replace these windows calls with equivalent native linux calls and put that .so file in your java lib path i guess.
  6. well that would press the button every frame. Don't know if it is such a good test... but i dont think the command will help though
  7. http://lockon.co.uk/index.php?lang=en&end_pos=567&scr=default says : "command = 69 -- Hook ", did you try writing a script in export.lua triggering LoSetCommand(69); ?
  8. I think so, but bigger "hangar" ;). This year we've got a really good team, so results should improve.
  9. Falcon4 drama @ lltm is funny :). Looking forward to this year's theatrics!
  10. Good post! But be careful so you don't lose too much speed yourself or it will be for nothing :)
  11. Sry my fault. The maneuver itself is not that important, only that you have an idea in your mind, in 3D space, you must know "this is where the missile is going". For example if it is tracking you and you are going "to the right", then themissile is likely also going "to the right", so to speak. Now if you break its lock, it will keep going mostly "to the right", whereas you can turn "to the left" ;). Don't make fancy maneuvers. They will only make you : 1. Forget where the missile is 2. Forget where you are :P
  12. Very similar AS, but not equal. you dont fire tws in a dogfight , u dont use Vertical scan from 60 nm :P. But sure, 80% the same maybe ?
  13. no not equal. They fall under the same category in many cases but certainly not completely equal. But of course they have many equal elements on an abstract level :). btw AS we won that because : I did not dogfight Fly fast, wait for enemies to fly slow, swoop down and fire and burn away
  14. Yes but I have not read the book. BVR or Dogfighting, well, I guess I prefer BVR because it is slower. I am not fast enough to do BFM :). By the time i figured out what to do and start doing it I am already eating the bullets of the guy behind me
  15. well in Lo the SARH missiles are so weak so you basically only need to turn away 20 degrees or so and press chaff 5-10 times, and it will probably lose you ( check on rwr if threat is still flashing ) There is no need to maneuver that much, but after it loses you you should try to get some geometrical offset between the direction it is flying to last predicted intercept point and your own flight vector ( basically just repeat step 3 in my last post ). Breaking its tracking, startin from the time you get the warning to the time it has lost you should take maybe 2 seconds, then you spend 4-5 seconds getting some geometric offset. ARH missiles maybe will take a few seconds more.
  16. R1. Relying of such a snake completely imo busts your own SA of any other threats around. R2. Only works at Rmax R3. You will likely not notice the second missile fired from closer range since the first missile warning has all your attention R4. You give yourself away, very predictable, however maybe you can use the snake as some kind of faking maneouvre. For these and more reasons I would not suggest using snaking as a defensive maneouvre... I would try something like 1. Force the missile to fly significant lead ( simplest naive way: crank! ), 2. Break the missile's tracking ( it keeps flying that direction ) 3. Turn somewhere else :). The above will let you make the missile fly into nowhere with only a few seconds' work, and you are back to fighting the opponent
  17. - do a barrel roll... - or
  18. ewr datalink + nighttime + ET ==> horror
  19. well it is funny in some ways that the mig29 "hud backup display" has been converted into "gods eye datalink display" ;), but we must live with what is available...
  20. I find that trackir software is quite demanding on the cpu, and can require several percent of a cpu core. Still this is not a problem for me if I am running 4 cpu cores, but it could have significant performance impact on older cpus, especially if you are close to the limit of the game's minimum hardware requirements.
  21. Problem with Matlab is that it is a fully dynamic language, and everything is basically a script command. Unless you can feed all the computations into very few precompiled vector or matrix operations, matlab will run several orders of magnitude slower in many situations, than what a normal programming language like C/Cpp will.
  22. 12 seconds delay ?! Are you certain of this? I have flown the red birds many times and often i just turn on vertical scan and it always picks up the enemy if I just fly off the datalink picture on the backup display, even from the flank. For me it feels like about 2-4 second delay when playing it. Anyway its unfortunate that data link and awacs are not implemented realistically for either side.
  23. Kanske man ska satsa paa FC2 eller DCS A10?
  24. I don't see any specific limit, or a starting goal really. I expect it will be an ongoing development like touch buddy in some ways ;). maybe we will make a set of F15 gauges now, then a set of Su27 gauges later, or the other way around, don't know. What I would personally like is of course F15 gauges ( since lovp already does the russian ones). So something like : RPM gauges, ADI ( with all the surrounding detail on top of the current model ) HSI Fuel gauge Engine temperature VVI Fuel flow AoA gauge Speed and Mach gauge Altitude ( feet above SL ) gauge G meter Clock maybe? :)
  25. Looking for 3d models, modellers, textures and people who know OpenGL! So, right now leavu2 has a quite primitive 3d renderer, but a 3d renderer still. At this point what I/we need help with most is creating 3d models and textures. If you are able to do such please let me know and maybe we can figure something out! :). Anyone making a contribution to the project will of course get his/her stamp on it as well. Also looking for people knowledgeable in OpenGL, or even better JOGL. I thought we would start out with something simple, like 3d models for basic steam gauges. ( also made a small update to first post in the thread )
×
×
  • Create New...