Skip to content

chump29/DCS_Mod

Repository files navigation

Uses MOOSE to create an ATIS radio frequency at each blue airbase.

  • Place aircraft with name of ATIS_[airbase callsign] (ATIS_Kobuleti, for example) to get subtitles
  • Frequency is VHF + frequency_add (Kobuleti=133MHz, ATIS=133.25MHz, for example)

Configuration settings:

local config = ATIS_CONFIG or {
  frequency_add = 250000 -- in Hz
}

  • AWACS picture calls
    • Rounds bearing to nearest 10°
    • Sorts groups nearest to farthest from player
    • Eliminates repeated groups if BRA within 10°/2nm/1000ft

Configuration settings:

local config = {
  maxDistance = 185200 -- in m (100nm)
}
  • Wingman calls
    • Eliminates repeated group calls for radar/contact/tally/nails/spike/mudspike

Configuration settings:

local config = {
  minRange = 3704, -- in m (2nm)
  maxRange = 277800, -- in m (150nm)
  degreesBetweenSameCall = 30,
  distanceBetweenSameCall = 9260, -- in m (5nm)
  timeBetweenSameCall = 60 -- in seconds
}

Install to:

  • [DCS Directory]\Scripts\Speech\common.lua
  • [DCS Directory]\Scripts\Speech\NATO.lua

NOTE: For NATO only.


Adds the following to the briefings:

  • Times in Zulu and local
  • Long date
  • Current time
  • Sunrise/sunset times
  • METAR
  • Dynamic Case I/II/III
  • Flight category
  • Temperature (C & F)
  • QNH (inHg & mmHg & hPa)
  • Magnetic variation
  • Cloud base rounded to 100ft/30m (ft & m)
  • Wind (blows FROM)
  • CDU wind (when in A-10)
  • Turbulence (kts & mps)

Install to:

  • [DCS Directory]\MissionEditor\modules\me_autobriefing.lua
  • [DCS Directory]\MissionEditor\modules\Mission\Airdrome.lua
  • [DCS Directory]\MissionEditor\modules\Mission\AirdromeData.lua
  • [DCS Directory]\Scripts\UI\autobriefingUtils.lua
  • [DCS Directory]\Scripts\UI\BriefingDialog.lua
  • [DCS Directory]\Scripts\briefing_addons.lua
  • [DCS Directory]\Scripts\theatre_data.lua
  • [DCS Directory]\Scripts\unit_converter.lua
  • [DCS Directory]\Scripts\utils_common.lua
  • [DCS Directory]\Scripts\wxDCS.lua

or use latest OvGME package from Releases


Uses MOOSE to add the following to a carrier:

  • CSAR (non-rescue, hot start)
  • Tanker (Texaco, in-air start)
  • AWACS (Overlord, in-air start)

Configuration settings:

local config = CARRIER_STUFF_CONFIG or {
  carrierUnitName = "Carrier",
  tanker = {
    radio = 243, -- in MHz
    speed = 200, -- in kts
    tacan = {
      channel = 79, -- Y
      id = "TEX"
    }
  },
  awacs = {
    altitude = 20000, -- in ft
    radio = 255, -- in MHz
    tacan = {
      channel = 55, -- Y
      id = "WAX"
    }
  }
}

Uses MiST to add a crash crew to crashed player planes/helicopters/ground units.

NOTE: Must include sound file via trigger in editor

Configuration settings:

local config = CRASH_CREW_CONFIG or {
  maxCrews = 10,
  minTime = 60, -- in seconds
  maxTime = 120, -- in seconds
  useFlares = true,
  useSmoke = true,
  useIllumination = true,
  sound = "l10n/DEFAULT/siren.ogg",
  message = true,
  units = {
    land = {
      type = "HEMTT TFFT",
      livery = ""
    },
    water = {
      type  = "speedboat",
      livery = ""
    }
  },
  debug = false
}

Will call in arty or smoke by placing a marker with appropriate text.

Configuration Settings:

local config = FIRE_SUPPORT_CONFIG or {
  diameter = 75, -- in meters
  power = 68, -- kg of TNT
  preWaitArty = 10, -- in seconds
  preWaitSmoke = 5,
  postWaitArty = 30,
  postWaitSmoke = 10,
  rounds = 6, -- number of shots
  smokeColor = "Random" -- "Green", "Red", "White", "Orange", "Blue", "Random"
}

Replaces findNearestVisibleEnemy in JTAC script to target red ground units with priority (highest to lowest):

  • SAM
  • AAA
  • Tank
  • Armed ground unit
  • Unarmed ground unit

Original JTAC script must include the following methods:

  • alreadyTarget
  • isVehicle
  • isInfantry
  • getDistance

NOTE: Works with CTLD and Through The Inferno

Configuration settings:

local config = JTAC_PRIORITY_CONFIG or {
  maxDistance = 5000, -- in m
  debug = false
}

Logger [module]

Serialize/pretty print LUA objects to a file.

  • fileName sets output file name (default: logger.lua)
  • useDesktopPath tries to write to Desktop instead of current directory (default: true)
  • Usage is logger.log(object, name)
    • where name is optional

Install to:

  • [DCS Directory]\Scripts\logger.lua

Uses MOOSE to add the following to a map:

  • Announce when a player joins/dies/crashes
  • Blue airfield data

NOTE: Must include squelch sound file via trigger in editor, if desired

Configuration settings:

local config = MAP_STUFF_CONIFG or {
  announcements = false,
  atc = true,
  markers = true,
  sound = "l10n/DEFAULT/static-short.ogg",
  startingId = 10000
}

Creates a radio tower static object and transmission from zone with matching name. Handles multiple towers/stations. When destroyed, stops transmitting.

NOTE: Must include sound file via trigger in editor

Configuration settings:

local config = RADIO_TOWER_CONFIG or {
  towers = {
    {
      name = "Music", -- zone
      stations = {
        {
          name = "Radio X",
          sound = "Radio X.ogg", -- mp3/ogg
          frequency = 40, -- in MHz
          modulation = 1, -- 0=AM, 1=FM
          power = 1000, -- in W
          loop = true
        },
        {
          name = "V-Rock",
          sound = "VROCK.ogg",
          frequency = 41,
          modulation = 1,
          power = 1000,
          loop = true
        }
      }
    }
  },
  marks = {
    show = true, -- show on F10 map
    coalition = 1 -- 0=ALL, 1=BLUE, 2=RED
  },
  messages = false -- show status messages
}