MetalStormGhost ca98183e94
IDF Assets Pack support v1.1 (#233)
* Updated Irondome support to IDF Assets Pack V1.1, which includes the David's Sling.

* Added an Israel 2017 faction with the David's Sling.

* IDF Assets Pack air defence presets and assets are now correctly removed from the faction when the mod is disabled.

* Removed the Iron Dome mod rocket launchers:
- "9M22U - 122mm Grad"
- "9M27F - 229mm Uragan"
- "9M55F - 300mm Smerch"

These were added to the Iron Dome Mod V1.2 in order for the radar to recognize them and be able to intercept them (these are limitations of DCS), so new rockets were added. However, they don't exist in the IDF Assets Pack.

* IronDome to IDF-Assets migration

---------

Co-authored-by: Raffson <Raffson@users.noreply.github.com>
2024-01-28 17:35:24 +00:00

59 lines
1.3 KiB
Python

from dcs.unittype import VehicleType
from game.modsupport import vehiclemod
@vehiclemod
class Iron_Dome_David_Sling_CP(VehicleType):
id = "Iron_Dome_David_Sling_CP"
name = "[IDF Mods] Iron Dome-David Sling CP"
detection_range = 0
threat_range = 0
air_weapon_dist = 0
eplrs = True
@vehiclemod
class IRON_DOME_LN(VehicleType):
id = "IRON_DOME_LN"
name = "[IDF Mods] Iron Dome"
detection_range = 0
threat_range = 20000
air_weapon_dist = 20000
@vehiclemod
class DAVID_SLING_LN(VehicleType):
id = "DAVID_SLING_LN"
name = "[IDF Mods] David Sling"
detection_range = 0
threat_range = 250000
air_weapon_dist = 250000
@vehiclemod
class ELM2084_MMR_AD_RT(VehicleType):
id = "ELM2084_MMR_AD_RT"
name = "[IDF Mods] ELM-2084MMR AD Rotating Mode"
detection_range = 475000
threat_range = 0
air_weapon_dist = 0
@vehiclemod
class ELM2084_MMR_AD_SC(VehicleType):
id = "ELM2084_MMR_AD_SC"
name = "[IDF Mods] ELM-2084MMR AD Sector Mode"
detection_range = 650000
threat_range = 0
air_weapon_dist = 0
@vehiclemod
class ELM2084_MMR_WLR(VehicleType):
id = "ELM2084_MMR_WLR"
name = "[IDF Mods] ELM-2084MMR WLR Mode"
detection_range = 160000
threat_range = 0
air_weapon_dist = 0