Skip to content

Commit

Permalink
Fixed typo in "EPLRS" variable export for ground vehicles
Browse files Browse the repository at this point in the history
  • Loading branch information
Khopa authored and rp- committed Oct 3, 2020
1 parent ceea62a commit c203e5a
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 22 deletions.
42 changes: 21 additions & 21 deletions dcs/vehicles.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class SPH_M109_Paladin(unittype.VehicleType):
detection_range = 0
threat_range = 22000
air_weapon_dist = 22000
eprls = True
eplrs = True

class SpGH_Dana(unittype.VehicleType):
id = "SpGH_Dana"
Expand All @@ -61,7 +61,7 @@ class MLRS_FDDM(unittype.VehicleType):
detection_range = 0
threat_range = 1200
air_weapon_dist = 1200
eprls = True
eplrs = True

class MLRS_BM_21_Grad(unittype.VehicleType):
id = "Grad-URAL"
Expand Down Expand Up @@ -97,7 +97,7 @@ class MLRS_M270(unittype.VehicleType):
detection_range = 0
threat_range = 32000
air_weapon_dist = 32000
eprls = True
eplrs = True

class Sturmpanzer_IV_Brummbär(unittype.VehicleType):
id = "SturmPzIV"
Expand Down Expand Up @@ -300,7 +300,7 @@ class SAM_Patriot_ECS_AN_MSQ_104(unittype.VehicleType):
detection_range = 0
threat_range = 0
air_weapon_dist = 0
eprls = True
eplrs = True

class SPAAA_Gepard(unittype.VehicleType):
id = "Gepard"
Expand All @@ -322,7 +322,7 @@ class AAA_Vulcan_M163(unittype.VehicleType):
detection_range = 5000
threat_range = 2000
air_weapon_dist = 2000
eprls = True
eplrs = True

class SAM_Hawk_LN_M192(unittype.VehicleType):
id = "Hawk ln"
Expand All @@ -337,15 +337,15 @@ class SAM_Chaparral_M48(unittype.VehicleType):
detection_range = 10000
threat_range = 8500
air_weapon_dist = 8500
eprls = True
eplrs = True

class SAM_Linebacker_M6(unittype.VehicleType):
id = "M6 Linebacker"
name = "SAM Linebacker M6"
detection_range = 8000
threat_range = 4500
air_weapon_dist = 4500
eprls = True
eplrs = True

class SAM_Patriot_LN_M901(unittype.VehicleType):
id = "Patriot ln"
Expand All @@ -360,7 +360,7 @@ class SAM_Avenger_M1097(unittype.VehicleType):
detection_range = 5200
threat_range = 4500
air_weapon_dist = 4500
eprls = True
eplrs = True

class SAM_Patriot_EPP_III(unittype.VehicleType):
id = "Patriot EPP"
Expand Down Expand Up @@ -564,7 +564,7 @@ class SAM_Hawk_SR_AN_MPQ_50(unittype.VehicleType):
detection_range = 90000
threat_range = 0
air_weapon_dist = 0
eprls = True
eplrs = True

class SAM_Patriot_STR_AN_MPQ_53(unittype.VehicleType):
id = "Patriot str"
Expand All @@ -579,7 +579,7 @@ class SAM_Hawk_CWAR_AN_MPQ_55(unittype.VehicleType):
detection_range = 70000
threat_range = 0
air_weapon_dist = 0
eprls = True
eplrs = True

class SAM_SR_P_19(unittype.VehicleType):
id = "p-19 s-125 sr"
Expand Down Expand Up @@ -880,7 +880,7 @@ class APC_M1025_HMMWV(unittype.VehicleType):
detection_range = 0
threat_range = 0
air_weapon_dist = 0
eprls = True
eplrs = True

class Transport_M818(unittype.VehicleType):
id = "M 818"
Expand Down Expand Up @@ -1164,47 +1164,47 @@ class APC_M1043_HMMWV_Armament(unittype.VehicleType):
detection_range = 0
threat_range = 1200
air_weapon_dist = 1200
eprls = True
eplrs = True

class ATGM_M1045_HMMWV_TOW(unittype.VehicleType):
id = "M1045 HMMWV TOW"
name = "ATGM M1045 HMMWV TOW"
detection_range = 0
threat_range = 3800
air_weapon_dist = 0
eprls = True
eplrs = True

class APC_M1126_Stryker_ICV(unittype.VehicleType):
id = "M1126 Stryker ICV"
name = "APC M1126 Stryker ICV"
detection_range = 0
threat_range = 1200
air_weapon_dist = 1200
eprls = True
eplrs = True

class APC_M113(unittype.VehicleType):
id = "M-113"
name = "APC M113"
detection_range = 0
threat_range = 1200
air_weapon_dist = 1200
eprls = True
eplrs = True

class ATGM_M1134_Stryker(unittype.VehicleType):
id = "M1134 Stryker ATGM"
name = "ATGM M1134 Stryker"
detection_range = 0
threat_range = 3800
air_weapon_dist = 1000
eprls = True
eplrs = True

class IFV_M2A2_Bradley(unittype.VehicleType):
id = "M-2 Bradley"
name = "IFV M2A2 Bradley"
detection_range = 0
threat_range = 3800
air_weapon_dist = 2500
eprls = True
eplrs = True

class IFV_MCV_80(unittype.VehicleType):
id = "MCV-80"
Expand Down Expand Up @@ -1275,15 +1275,15 @@ class SPG_M1128_Stryker_MGS(unittype.VehicleType):
detection_range = 0
threat_range = 4000
air_weapon_dist = 1200
eprls = True
eplrs = True

class MBT_M1A2_Abrams(unittype.VehicleType):
id = "M-1 Abrams"
name = "MBT M1A2 Abrams"
detection_range = 0
threat_range = 3500
air_weapon_dist = 1200
eprls = True
eplrs = True

class MBT_T_55(unittype.VehicleType):
id = "T-55"
Expand Down Expand Up @@ -1333,15 +1333,15 @@ class ZTZ_96B(unittype.VehicleType):
detection_range = 0
threat_range = 5000
air_weapon_dist = 3500
eprls = True
eplrs = True

class ZBD_04A(unittype.VehicleType):
id = "ZBD04A"
name = "ZBD-04A"
detection_range = 0
threat_range = 4800
air_weapon_dist = 0
eprls = True
eplrs = True

class HT_Pz_Kpfw_VI_Tiger_I(unittype.VehicleType):
id = "Tiger_I"
Expand Down
2 changes: 1 addition & 1 deletion tools/pydcs_export.lua
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ for i in pairs(unit_categories) do
writeln(file, ' threat_range = '..threat_range)
writeln(file, ' air_weapon_dist = '..air_weapon_dist)
if unit.EPLRS then
writeln(file, ' eprls = True')
writeln(file, ' eplrs = True')
end
--writeln(file, ' category = '..i)
end
Expand Down

0 comments on commit c203e5a

Please sign in to comment.