This script allow to request JTAC drone or Ground Unit and scan a zone via F10 Map Marker
UPDATE 31/05/2025: V 1.5
added option to filter target to scan, (request from CRIMSON) update the following list
-- List all unit you want to exclude from scanning you need to found the Type of the unit (e.g. "Barrier B" which is ["shape_name"] = "M92_BarrierB",["type"] = "Barrier B",
-- sometime the type in mission editor is not real type like in ME : ORCA type is: Orca Whale but in mission (file inside the miz file) type - Orca
-- you can also found the type in the traget list it ithe first name you see "target type: target name" in the list
exclude_Targets =
{
{typeName = "Barrier B"},
}
-- Example: Exclude any target (unit name) whose name starts with one of these prefixes
exclude_TargetNames = {
"Static", -- excludes "Static_AAA", "Static_123", etc
"Hidden_",
}
also fix the target list menu , now allow to get all target in multiple pages
Request Drone or ground Unit JTAC to scan and lase in a zone defined via F10 marker
UPDATE 7/01/2024: For those who has issue to get the F10 menu , be aware that you have to spawn after the script is loaded
It means that when the window with list of slot is showing up ,
you need to escape (don't sel ect slot immediately) then you will give time to DCS to load the script
( DCS pauses script loading when this window is open) and then choose a slot
other way if you spawn immediately , you have to respawn and menu should be available
UPDATE 31/12/2024:
V1.4 - Smoke option added for marker and targets (red)
- Smoke option added to mark Ground Jtac position (green) (for few min until ground jtac reach its final position)
UPDATE 28/12/2024:
V1.3 FIX Map name, Iraq Added
Known bug: for unknown reason script cannot detect units when too close to the sea or very low altitude
UPDATE 07/12/204, FIX Target list not available after player get killed, ejected, or after jtac dismissed
UPDATE 23/10/204, FIX map name
see changelog file
New "Rescan" option in menu in case the "Target List" is not showing up
Config: create trigger in ME and load the script with do_script_file (see screnshot), NO need of any other script like MOOSE or MIST
Usage: Create F10 Marker with following content : spot;lasercode (e.g. spot;1687) or just spot (without any code it will use code 1688) (you don't need to close the marker)
Once marker is created, you can request Drone or ground unit as JTAC in F10 menu, then it will scan the zone (default 5000m radius) and list target in the zone in F10 menu
it can detect any ground unit or statics, (no scenery objects)
you will have different options for the targets or for the marker, for lasing you can switch to different targets
Lasing with code
IR lasing
Illuminate (only on the marker position)
it can lase moving target for IR due to refresh rate the laser is blinking 0.15sec ,, for laser code it should be tested but it should work as well refresh is 0.1 sec
every time you lase a target it can write coordinate in format for DCS the way and/or DCS DTC which can be useful for those using those mod to get the position of the target (you can disable the option inside the script or in game via option F10 menu
it should write 2 files in the following: in your saved games folder
/Scripts/zeus/targets/zeusTheway.tw
/Scripts/zeus/targets/zeusdcsDTC.json
Reaper drone can be use also fr om usual jtac F10 menu with 9-lines
be aware that due to terrain ground unit jtac can be stuck before reaching marker position
on top of the script there is few options that can be modified
----------------------- Options -------------------------------------------------------------
zeusJtac.target.availability = 100; -- chance of lase support available in the mission. 0 = no available at all; 1 - 99 = % chances availability; 100% = always available
zeusJtac.target.waitTime = 30; -- time in seconds between request a lase support and the lase support became available to use
zeusJtac.TheWay = true; ---allow to write lase target or marker for DCS The Way into file in folder in Saved games: /Scripts/zeus/targets/zeusTheway.tw
zeusJtac.dcsDTC = true; ---allow to write lase target or marker for Dcs DTC into file in folder in Saved games: /Scripts/zeus/targets/zeusdcsDTC.json
zeusJtac.groupPrefix = false; --- restrict F10 menu to group with specific prefix
zeusJtac.Prefix = "Only"; --- choose group prefix
zeusJtac.searchRadius = 5000; --- define radius for scanning zone (meters)
zeusJtac.dfaultLaserCode = "1688"; --- Default laser code
if the script doesn't detect any target , the best is to dismiss package and request new jtac with new marker
Requirement: DCS needs to be desanitized, modify missionscripting.lua
Note: i didn't test everything like code lasing with moving target accuracy
let me know if you identify any bugs especially on MP server, still WIP to be able to change code , or rescan another zone, move jtac to another wp, but it is messing the F10 menu with target list so far
i don't have Kola map, so i couldn't verify the exact name, but from script engine doc should be "Kola", let me know if doesn't work in Kola map
link for The way and dcs DTC
https://github.com/aronCiucu/DCSTheWay
https://github.com/the-paid-actor/dcs-dtc
Contact : ED forum message https://forum.dcs.world/profile/122914-titi69/
contact added in changelogs file