Jump to content

Balion

Members
  • Posts

    62
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. When aiming by TADS with laser-ranging, rockets are usually falling long. This applies to COOP mode with George also. rockets tads.trk
  2. When TrackIR stops working in DCS, go to "Controls" menu and click "Rescan devices".
  3. У меня работают. Попробовал с ФАБ-500 на 1-2 точках.
  4. С какой высоты пускаешь? AGM-84 никогда не набирает высоту после пуска.
  5. Она не показывается, пока не сделан built-in test на странице Bit -> Displays -> HMD.
  6. If you delete their main task ("Tanker" or "AWACS") they shouldn't do that.
  7. When i had this problem, it was because of joystick miscalibration (lateral axis not centered).
  8. Deleted all files in "bin" except updater and run repair. Initialization error now gone. Seems like some files got corrupted.
  9. I get this error on DCS.exe launch (openbeta 2.7.0.5659). No log files are generated. It was working ok some days ago. I've run "dcs_updater cleanup", "dcs_updater repair", updated Nvidia drivers, DirectX, VC Runtime libraries, run "sfc /scannow". No luck. DxDiag.txt
  10. Create a .lua file in folder "Saved Games\DCS\Scripts\Hooks" with contents: myscript = {} function myscript.onMissionLoadEnd() net.dostring_in("mission", "a_do_script(\"loadfile(\\\"D:/myscript.lua\\\")()\");") end DCS.setUserCallbacks(myscript) Script "D:\myscript.lua" will run on each mission start.
  11. Here is a function which sets true heading and speed for a unit: local carrier = Unit.getByName("Naval-1-1") local function headTo(unitDCS, trueHeadingDegrees, speedMetersPerSecond, timeSeconds) local distance = timeSeconds * speedMetersPerSecond local delta = { z = distance * math.sin(trueHeadingDegrees * math.pi / 180), x = distance * math.cos(trueHeadingDegrees * math.pi / 180), } local position = unitDCS:getPoint() -- env.info(string.format("p x: %d, p z: %d", position.x, position.z)) -- env.info(string.format("d x: %d, d z: %d", delta.x, delta.z)) local Mission = { id = 'Mission', params = { ["route"] = { ["points"] = { [1] = { ["alt"] = -0, ["type"] = "Turning Point", ["ETA"] = 0, ["alt_type"] = "BARO", ["formation_template"] = "", ["y"] = position.z + delta.z, ["x"] = position.x + delta.x, ["ETA_locked"] = true, ["speed"] = speedMetersPerSecond, ["action"] = "Turning Point", ["task"] = { ["id"] = "ComboTask", ["params"] = { ["tasks"] = { }, -- end of ["tasks"] }, -- end of ["params"] }, -- end of ["task"] ["speed_locked"] = true, }, -- end of [1] }, -- end of ["points"] }, -- end of ["route"] } } unitDCS:getController():pushTask(Mission) end headTo(carrier, 100, 10, 600) -- set true heading 100 degrees and speed 10 m/s for 600 seconds. After 600 seconds carrier will stop.
  12. local carrier = Unit.getByName("Naval-1-1") local ActivateBeacon = { id = 'ActivateBeacon', params = { ["type"] = 4, ["AA"] = false, ["unitId"] = carrier:getID(), ["modeChannel"] = "X", ["channel"] = 1, ["system"] = 3, ["callsign"] = "CVN", ["bearing"] = true, ["frequency"] = 962000000 } } carrier:getController():setCommand(ActivateBeacon) local ActivateICLS = { ["id"] = "ActivateICLS", ["params"] = { ["type"] = 131584, ["channel"] = 1, ["unitId"] = carrier:getID(), }, -- end of ["params"] } carrier:getController():setCommand(ActivateICLS) local SetFrequency = { id = 'SetFrequency', params = { frequency = 126300000, modulation = 0, } } carrier:getController():setCommand(SetFrequency) local tanker = Unit.getByName("Aerial-2-1") local ActivateBeacon = { id = 'ActivateBeacon', params = { ["type"] = 4, ["AA"] = true, ["unitId"] = tanker:getID(), ["modeChannel"] = "Y", ["channel"] = 10, ["system"] = 4, ["callsign"] = "TKR", ["bearing"] = true, ["frequency"] = 1097000000, } } tanker:getController():setCommand(ActivateBeacon) local SetFrequency = { id = 'SetFrequency', params = { frequency = 256000000, modulation = 0, } } tanker:getController():setCommand(SetFrequency) local Tanker = { id = 'Tanker', params = { } } tanker:getController():pushTask(Tanker) You need to assign a new route to supercarrier or fleet unit. See next post. All info i've got from https://wiki.hoggitworld.com/view/Simulator_Scripting_Engine_Documentation and from "mission" file inside ".miz" archive when you first try to do something in mission editor before creating a script.
  13. They moved some actions from aircraft-specific sections to "UI Layer".
  14. I have reinstalled AV-8B module, EHSD now works ok. Looks like some file was missing or corrupt. This topic may be closed. Good luck all \0/
×
×
  • Create New...