Jump to content

logion

Members
  • Posts

    13
  • Joined

  • Last visited

Personal Information

  • Location
    Belgium
  1. Just wanted to say that I faced the same issue on Wednesday evening, so the bug still seems to be active. I also used the TACAN at Vaziani in a self made mission (so not in the campaign; probably the in-game date was different from january) and didn't experience the wrong heading on the HSI. So the bug still seems to be present.
  2. logion

    Mission 2

    I recently completed this mission and I had a problem when the IP calls out the coordinates to the ground fire. I noticed the coordinates are way off the actual location, it's much better to acquire the PoI visually and just ignore the coordinates. This is the call from the IP: http://imgur.com/CQrJPuf These are the actual coordinates (using F10) were: http://imgur.com/a/Z0Cjd I'm guessing this is a bug in the mission file?
  3. Hi all, I'm trying to run a script once every second on the server-side in order to export some data periodically out of DCS. The goal is to export the active units in DCS World over the network. For now, I'm only trying to dump coalition info to a file as a first step. However, I'm having issues with just running a script in the background on the server. I decided to hook into net.on_process() as this function gets executed every frame. The problem is I don't quite know when the sim engine is done loading the mission and when I can start reading the units in the sim without crashing. I tried waiting until net.is_paused() returns false, but this leads to DCS crashing. I've inspected the net table, and the is_paused() function is actually present. So I'm guessing I should wait to call this function until condition X is fulfilled, but what is this condition X? This is my server.on_process() function: local func_old = {} func_old.on_process = server.on_process function server.on_process() logFile:write('dumpUnitsToLog.lua: is sim paused?') if net.is_paused() then -- wait until game is running logFile:write('dumpUnitsToLog.lua: sim is paused, waiting') return func_old.on_process() end return func_old.on_process() end The last piece of output I see in my log file is: dumpUnitsToLog.lua: is sim paused? After that DCS crashes to desktop. dcs.log mentions: 00019.431 INFO NET: Loading mission: "C:\Users\logion\Saved Games\DCS\Missions\test.miz" 00019.561 INFO DCS: try to write dump information 00019.620 INFO EDCORE: Minidump created. 00019.620 INFO DCS: try to write track file Any suggestions? I feel like I'm missing something fundamental. Is on_process() even the right place for this kind of background script functionality? When I look at how Slmod solves this, it seems to use net.dostring_in() so that the DCS engine can inform the script when it is ready to proceed? However, I don't quite understand the workings beind dostring_in, can someone elaborate?
  4. Nice map Ian :-). A couple of questions from my side, altough they're more related to the stiched map than your interactivity functionality: * I noticed that it doesn't cover the entire in-game map? For instance Vaziani airport (in the south east), which lies East of Tbillisi isn't on the map? * I'm guessing it is possible to recreate the entire TAD map with all its scales and use a different a zoomlevel per scale? While this would lead to a large number of tiles, it would be nice to add an other level of detail using the 1:250k scale material from the TAD? Or is the 1:250k scale in game just an zoom-in/stretched version of the 1:500k scale?
  5. One additional question: is it possible to modify the curvature of the pitch and roll axis's dynamically while in game (via e.g. some kind of hotkey)? I would like to increase the curvature during refueling (i.e. so that I can control the plane more precisely) and then reset to the default curvature once refueling is completed. Considering DCS requires you to exit the game in order to change settings, this wouldn't be straightforward; but maybe a mod might accomplish this? Alternatively, does the A10 have some kind of system modeled in-game to make the plane less responsive to stick inputs (i.e. more precise for small corrections)?
  6. Any news on this? I found the thread you were referring to on the steams forums: http://steamcommunity.com/app/223750/discussions/0/810938811062004747/. But I haven't found any other news yet.
  7. Just wanted to let Rettick and JetlinerX know that the effort they've put into making these training videos is deeply appreciated. Does Digitalthemepark have any means - other than teamspeak - where their DCS activities are announced? Do you fly regularly or do you fly together whenever enough people are on TS at the same time?
  8. Thank you for pointing me towards GetKeyState. The C-like function variant was giving me strange results, so I switched to the version with comma separated arguments and now it's working fine. Also I believe you should put x := A_TimeSinceThisHotkey right after the KeyWait command! This is my version that works: 1Joy6:: ; y Joy x , y= controller ID number in windows, x= joy button number KeyWait, 1Joy6 ; Wait for 1Joy6 to be released x := A_TimeSinceThisHotkey ; Just assigning x here, for shorter "if's" GetKeystate, Button9status, 1Joy9 GetKeystate, Button10status, 1Joy10 if (Button9status = "U") and (Button10status = "U") { ; If only 1Joy6 is pressed, centre or pause TrackIR if (x < 500) ; If hotkey was held for less than 0.50 seconds, 500 ms Send {F15} ; Send the key F15 else if (x > 500) ; If hotkey was held for more than 0.50 seconds, 500 ms Send {F16} ; Send the key F16 return } return Thanks again to the OP and for the additional help!
  9. Nice post CubPilot, got it running on my Thrustmaster T-Flight HOTAS X. However I do have a question. I've changed the key number to 6, which is one of the buttons on my joystick. While button 6 itself isn't assigned in DCS, it is assigned with modifiers. I.e. Button9 and button6 is TMS UP, button10 and button 6 is DMS UP. The problem is that whenever I press HOTAS TMS/DMS UP, Track IR is recentered. As I'm not that familiar with Autohotkey syntax I wonder if it is possible to specify that certain modifiers should NOT be pressed in order for the key stroke to register? I've done some googling, but have come up empty thus far. Any suggestions? As the number of buttons is limited on the T-Flight, I would prefer not having to sacrifice a dedicated button for this. This is the current state of the script: #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. Process, Priority, , High 1Joy6:: ; y Joy x , y= controller ID number in windows, x= joy button number KeyWait, 1Joy6 ; Wait for 2Joy4 to be releasd x := A_TimeSinceThisHotkey ; Just assigning x here, for shorter "if's" If (x < 500) ; If hotkey was held for less than 0.50 seconds, 500 ms Send {F15} ; Send the key F15 Else if (x < 5000) ; If hotkey was held for more than 0.50 seconds, 500 ms & less than 5000 ms Send {F16} ; Send the key F16 return return
  10. Thank you for bringing this to my attention, sobek. I find it remarkable that this isn't mentioned on Steam? Are there any plans on bringing the Steam version up-to-date?
  11. I fixed the issue by installing DirectX End-User Runtime Web Installer from http://www.microsoft.com/en-us/download/details.aspx?id=35 as suggested in http://forums.steampowered.com/forums/showthread.php?t=2554539. Apparently some optional directx features that are needed, were missing. Strangely Steam failed to install these. All is well now. Back to training :)
  12. Hi, Today I've re-installed my OS (got an SSD) and DCS A-10C from steam. However for some reason unknown from me, DCS refuses to start. I've made a little screencast detailing the problem here: I've tried the items listed under http://en.wiki.eagle.ru/wiki/Troubleshooting:a10c:general, however as the game doesn't even start-up there is little output on what goes wrong. I've uploaded the output of dxdiag to pastebin @ http://pastebin.com/DvYRUqcR Apart from the new SSD I've also installed a new monitor (have a dual screen setup now), however the problems persists when I only plug in one monitor. I've installed the latest catalyst drivers (13.1), but a quick google search learns that there are no reported issues on 13.1 (yet)? Any tips/ideas on how to solve this would be greatly appreciated!
  13. FYI, the modifiers are stored in modifiers.lua that resides inside C:\Users\<user>\Saved Games\DCS Warthog\Config\Input. The modifiers for all devices (keyboard and stick) are defined in the same file and data structure. I recommend setting the modifiers via Options > Control as Zalgo pointed out, shutting down the game and copying the lua, then the profile should work. If you don't set the modifiers all the stick bindings marked with a red background/label in the options menu! As a reference I've included my modifiers.lua file: Note that yours may differ depending on the keyboard modifiers you use and that your device ID will definitely differ from the one above!
×
×
  • Create New...