Jump to content

alef

Member
  • Content Count

    280
  • Joined

  • Last visited

  • Medals

Everything posted by alef

  1. It seems a regression on http://dev-heaven.net/issues/10626. Could you please try run it with -exThreads=1 and let us know? Thanks.
  2. alef

    Update FaceTrackNoIR

    Hi. If my math is still not dead, this should depict what I mean. rX is the FaceAPI rotation angle, cfrX is the factor we should be able to change in the settings (radius), crX is the final correction to be added (or subracted?) to the final X axis. What I think, is that FaceAPI X axis is the yellow mask position, not your neck position against the webcam. The BACKSPACE key is used in ArmA for navigate back the radio menu.
  3. alef

    A2 after Arrowhead..

    At the CIT I would probably need to access vanilla A2 if 1.06 get postponed after OA release. Or people that want to check fixes backported from OA to A2. As I read somewhere, the arma2 content will be copied into OA installation directory during the installation process itself, if wanted. So, A2 will live its own way alone as if nothing has happened. Is that right?
  4. alef

    Update FaceTrackNoIR

    A little thing. When you yaw, there is also an X shift. This is probably because the position (X,Y,Z) is related to the center point of the "yellow mask" and not the player neck. In arma2, X axis is default bind to lean (default Q and E keys). To counteract the above effect, you should look the other direction where you lean. It would not be such a problem, but the lean action slows you down while running. So if you are escaping away from enemies and turn you back, you activate the lean and you start walking, giving them more chances to shoot at you ... What I'm asking is a gemoetric correction for the above, with probably a slider to tune the effect. And dead zones separated for all of the axes would be much appreciated. This tool is great but for a real use in-game I need to tune it all the way. Thank you.
  5. alef

    New beta build 71548 up

    In Domination, after a Teleport to MHQ or Base, with AI, the rendering pauses for some seconds, for 3 or 4 times. From process explorer, I can see the main thread (arma2.exe+0x566ac0) is the only one running, while all of the other are blocked (CPU% 0). The setPos happens very far from the starting point, while the dialog window (that include a map) keeps opened for some instants. Then the stutter comes.
  6. alef

    Update FaceTrackNoIR

    [Tracking] Smooth=6 NeutralZone=8 sensYaw=140 sensPitch=140 sensRoll=90 sensX=70 sensY=70 sensZ=30 invertYaw=false invertPitch=false invertRoll=true invertX=false invertY=false invertZ=false useEWMA=true redYaw=30 redPitch=30 redRoll=70 redX=70 redY=70 redZ=20 [GameProtocol] Selection=0
  7. alef

    New beta build 71548 up

    Some articles on the subject: Using /LARGEADDRESSAWARE on 64-bit Windows for 32-bit programs Myth: The /3GB switch expands the user-mode address space of all programs For XP32bit users: Physical Address Extension. If beta works fine as it is, would worth doing this test: enabling LARGEADDRESSAWARE flag with editbin run windows XP32bit with /3GB set the MEM_TOP_DOWN in the registry run local SP, or no Battleye
  8. alef

    Update FaceTrackNoIR

    The stutter and flickering has disappeared. I'm tuning it now, but it's way much better than before. And also the analog zoom works fine. Thank you! Would it possible to reassign the Backspace key? Vote for "Implement faceAPI" at A2CIT for asking BI to have this in-game. If ArmA2 beta crashes at startup while FreeTrackNoIR is running, just restart ArmA2 and it will work. This happens to my other mates too that are installing this little software gem!
  9. I've run $ strace ./server from /home/arma and it shows open("/home/arma/player/player.arma2profile", O_RDONLY
  10. I'm running 32-bit, but would like to go 64-bit in the near future and see those memory hog games happy after they will be re-enginered for 64-bit. A thing that blocks me is this PPJoy story about signed drivers at $500/year. I use it a lot to overcome joystick mapping issue in arma2.
  11. I just want to add here my repro about the issue I did time ago: http://dev-heaven.net/projects/cis/wiki/Test_missions. It's the first .sqm. After what I've read here about surfaceType, I'll add that to the test missions and see what happens.
  12. alef

    New Beta Build 71141 up!

    Yes, and reported.
  13. Please vote if you agree to avoid nil to be assigned. nil can be assigned to any value, and later usage of this keyword will lead to problems. Mostly because it is used to cancel a variable at different scopes. It's common to see around init lines with something like nil = [1,2] execVM "script.sqf" that is allowed but wrong, because if a mod or script will use later something like _object setVariable ["myVar", nil] to clean up some space, it will assign the handle of the thread. It will not be an error, until myVar will be dereferenced and used for something else. The proposed feature is to simply ignore assignments to nil. A workaround is to use numbers, like 0 = [1,2] execVM "script.sqf" Thank you, alef
  14. Try this (UNTESTED!) var = format["opgun%1", _c]; obj = "D30_RU" createVehicle _pos; missionNamespace setVariable [ var, obj ]; obj setVehicleVarName var; publicVariable var;
  15. Don't know "full XIG" meaning. I can ScrollLock+X and have the menu, chat, fps. Then can save videos and screenshots, and probably broadcast. I hope this answers the question.
  16. alef

    Zoom vs keypad Minus

    I've added this function to A2Joy script. Now I can lock the zoom in or out pressing joystick buttons.
  17. alef

    Update FaceTrackNoIR

    Same here. FaceTrackNoIR runs at 14Hz, while game FPS are 40Hz. FreeTrack has a multiplier in "Frame rate" tab that seems outputs data more often to the game, and as I remember it fixes it around 120Hz. As in FreeTrack, a good way to speed up FPS on your webcam is to set exposure to min and gain to max. With default I did run at 8Hz.
  18. It's not only a modline. As I know, you need to start the process from the arma2 installation directory with name beta\arma2server.exe so that Addons and Dta are first searched there. Then, the -mod=beta will allow files in beta\Addons and beta\Dta to be loaded. I don't know it overwriting PBOs from the beta\ subfolders into the original will work. The winsw syntax talks about a "BASE", but it's set by itself. I'll give it a try anyway. Will restart when arma2server.exe crashes and dumps?
  19. Does it works with betas? I don't see how the working directory can be set.
  20. alef

    Update FaceTrackNoIR

    I've still not given a try, but this kind of problem is usually what FreeTrack calls "centering". You cannot remember you face position all the gameplay long, so time by time you need another center position to be taken. Another option would to talk with FreeTrack guys and use your faceapi application as input for their software. They already implemented lot of features you probably would be asked in the future, like profiles, curves, hotkeys ...
  21. alef

    Update FaceTrackNoIR

    Thank you for your software. I'll give a try for sure this evening. In the past, I've used and it worked, but eats CPU.Good to see you use the FreeTrack dll, this would avoid PPJoy problems with 64bit users. Jaynus is working on his arma2lib project to have 6DOF like Kegetys did for ArmA1.
  22. A trigger check every 0.5 seconds it's condition expression. If you avoid the keyword this in it, probably no activation will be ever checked. Trigger expressions are not scheduled like scripts.
  23. You can ever use 0 (zero). Sounds bad, but 0=something works in arma.
  24. I've released the complete script I'm using for overcoming joystick issues. You can download it at dev-heaven, it's named A2Joy.ahk. You can test it with the inputAction.Chernarus.pbo single-player mission you found there. The mission will show the inputAction values for some controls, and your vehicle vertical speed. You don't need to enter a vehicle to show the inputAction values. The steps to have this working are: Install Autohotkey Install PPJoy (32bit) If you run 64bit, you need to run in "test" mode because the author doesn't pay $500/year to sign his drivers Install PPJoy.dll for Autohotkey Create a virtual joystick with PPJoy with many axes and buttons are allowed Edit A2Joy.ahk to reflect you setup This AH script shuold help you find the numbers Double-click A2Joy.ahk to run it ArmA2 should show in its controller list your "PPJoy Virtual joystick 1". To assign the new throttle and zoom buttons: Disable the physical joystick Assign the analogue throttle or buttons Enable the physical joystick These steps are needed otherwise ArmA2 will receive two inputs. The main feature of the script is that for analogue throttle it use the full range as input and map it to half of one of the virtual joystick. This half axis needs to be assigned as analogue throttle thrust. Remember to use another axis or button to assign the airbrakes. I use my rudder pedal brakes for that. They don't need to go through the script. By default, buttons 10 and 11 are mapped to zoom in or out. The difference is that they are kept pressed on the virtual joystick so you need to press only once to activate and deactivate. You need to assign them to the zoom-in and out actions that are by default assigned to numpad - and +. I'm running XP 32bit and works here. Never tested on a 64bit system. Enjoy, alef
  25. PPJoy is a virtual joystick. ArmA2 will see it as any other kind of device. I've some old instructions for arma1 here. The script there is still in GlovePIE, I'm converting it to autohotkey (see previous post). There is a 64bit version of PPJoy but it seems you need to run your windows in "test" mode because driver signing costs $500 per year. I run XP 32bit, so don't have this problem. Once PPJoy is installed, assign as many axis and button you want. Then, with GlovePIE or Autohotkey+PPJoy Dll, you can write scripts to read from your real devices, do some math, and put the new values in PPJoy axis, which ArmA2 in turn will read and use like they were come from a real joystick.
×