Trophy APS - Active Protection System - Script Version 1.1

Home > User Files > Trophy APS - Active Protection System - Script Version 1.1
DCS World 2.9
Altro
Trophy APS - Active Protection System - Script Version 1.1
Voti degli utenti: 4
Votare
Hai votato per questo file

Trophy APS - Active Protection System - Script Version 1.1

Tipo - Mod
Caricata da - stevey666
Data - 06.06.2025 11:44:50
Trophy APS Script Version 1.0

Github: https://github.com/stephenpostlethwaite/DCSSplashDamageScript/tree/master/OtherScripts
Forum: https://forum.dcs.world/topic/374564-trophy-aps-script-version-10/

The script tracks weapons heading towards a TrophyAPS vehicle, triggers a small explosion by the unit to mimic the Trophy system and triggers a larger explosion at the co-ords of the incoming weapon.   The script mimics there being a Trophy system on the front right and back left of the vehicle, with each launcher having 4 rounds. This was tested using the Abrams.

To use in your missions:
Download the script. In mission editor have a mission start trigger with the action "DO SCRIPT FILE" and point it to this script.  (Or choose DO SCRIPT and copy and paste the script in the box)


It contains 2 methods of enabling, either the vehicle has TrophyAPS in its name or you put the unit type into the AllUnitType table. By default, only the name method is enabled, both can be enabled at the same time as below:

--Unit types eligible for Trophy APS
local AllUnitType = {
    --["M-1 Abrams"] = true,    --Example unit, uncomment to enable Trophy APS for all M1A2 Abrams units as opposed to only name searching.  You can add units too.
}

The weapons tracked are in the trophyWeapons table, small example below, weapons can be added to or removed as needed.

local trophyWeapons = {
    --For weapon types: typeName:gsub("^weapons%.missiles%.", ""):gsub("^weapons%.nurs%.", ""), other types not supported in code currently. shells were too fast.
    ["AGM_114K"] = { range = 8000 }, --Hellfire missile
    ["AGM_114"] = { range = 8000 }, --Hellfire
    ["vikhr_m"] = { range = 10000 }, --Vikhr ATGM
    ["Vikhr_9M127_1"] = { range = 10000 }, --Vikhr ATGM
    ["AT_6"] = { range = 5000 }, --Shturm ATGM
(see script for full list)

Also you can configure things how you wish:

local TrophyConfig = {
    enabled = true,              --Enable/disable Trophy APS (true/false)
    selfExplosionSize = 1,       --Explosion size near vehicle, mimicking trophy location (default: 1)
    explosionOffsetDistance = 2, --Launcher offset from vehicle center (default: 2 meters)
    weaponExplosionSize = 20,    --Explosion size to destroy weapon (default: 20)
    detectRange = 200,           --Detection range in meters (default: 200) when in detection range speed up the location checks of the weapon
    interceptRange = 30,         --Interception range in meters (default: 30) you can reduce this to 20 to make it more realistic but the script may struggle hitting fast missiles
    frontRightRounds = 4,        --Initial front-right launcher rounds (default: 4)
    backLeftRounds = 4,          --Initial back-left launcher rounds (default: 4)
    failureChance = 0.00,          --Failure chance for interception (0.0 to 1.0 0% to 100%, i.e 0.05 for 5%)
    debugmode = false,            --Debug mode enabled

Youtube example video: https://youtu.be/hR6ZxFVBcCM


Version 1.1 changes bring in threat detection messages and map markers.

    markShooterOrigin = true,    --Enable/disable marking shooter origin with a point marker
    drawOriginLine = true,       --Enable/disable drawing line from tank to shooter origin
    maxMapMarkerDistance = 1000, --Max distance for shooter map marker and line length (meters)
    markerDuration = 120,        --Duration of point and line markers (seconds)
    showInterceptionMessage = true, --Enable/disable interception message (true/false)
    messageDuration = 10         --Duration of interception message display (seconds)
  • Licenza: Gratuito - Versione gratuita, distribuzione illimitata
  • Lingua: Inglese
  • Dimensione: 8.2 Kb
  • Scaricato: 78
  • Commenti: 0
FOLLOW US