mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
EPLRS typo fixed
This commit is contained in:
parent
5ecf9aeed8
commit
6317f376b7
@ -184,9 +184,8 @@ class GroundConflictGenerator:
|
|||||||
|
|
||||||
for dcs_group, group in ally_groups:
|
for dcs_group, group in ally_groups:
|
||||||
|
|
||||||
# TODO : REPLACE EPRLS BY EPLRS once fix implemented in pydcs
|
if hasattr(group.units[0], 'eplrs'):
|
||||||
if hasattr(group.units[0], 'eprls'):
|
if group.units[0].eplrs:
|
||||||
if group.units[0].eprls:
|
|
||||||
dcs_group.points[0].tasks.append(EPLRS(dcs_group.id))
|
dcs_group.points[0].tasks.append(EPLRS(dcs_group.id))
|
||||||
|
|
||||||
if group.role == CombatGroupRole.ARTILLERY:
|
if group.role == CombatGroupRole.ARTILLERY:
|
||||||
|
|||||||
@ -81,9 +81,8 @@ class GroundObjectsGenerator:
|
|||||||
vehicle.player_can_drive = True
|
vehicle.player_can_drive = True
|
||||||
vg.add_unit(vehicle)
|
vg.add_unit(vehicle)
|
||||||
|
|
||||||
#TODO : REPLACE EPRLS BY EPLRS once fix implemented in pydcs
|
if hasattr(utype, 'eplrs'):
|
||||||
if hasattr(utype, 'eprls'):
|
if utype.eplrs:
|
||||||
if utype.eprls:
|
|
||||||
vg.points[0].tasks.append(EPLRS(vg.id))
|
vg.points[0].tasks.append(EPLRS(vg.id))
|
||||||
else:
|
else:
|
||||||
vg = self.m.ship_group(side, g.name, utype, position=g.position,
|
vg = self.m.ship_group(side, g.name, utype, position=g.position,
|
||||||
|
|||||||
2
pydcs
2
pydcs
@ -1 +1 @@
|
|||||||
Subproject commit ceea62a8e0731c21b3e1a3e90682aa0affc168f1
|
Subproject commit c203e5a1b8d5eb42d559dab074e668bf37fa5158
|
||||||
@ -25,7 +25,7 @@ class ERC_90(unittype.VehicleType):
|
|||||||
detection_range = 0
|
detection_range = 0
|
||||||
threat_range = 4000
|
threat_range = 4000
|
||||||
air_weapon_dist = 4000
|
air_weapon_dist = 4000
|
||||||
eprls = True
|
eplrs = True
|
||||||
|
|
||||||
|
|
||||||
class VAB__50(unittype.VehicleType):
|
class VAB__50(unittype.VehicleType):
|
||||||
@ -34,7 +34,7 @@ class VAB__50(unittype.VehicleType):
|
|||||||
detection_range = 0
|
detection_range = 0
|
||||||
threat_range = 1200
|
threat_range = 1200
|
||||||
air_weapon_dist = 1200
|
air_weapon_dist = 1200
|
||||||
eprls = True
|
eplrs = True
|
||||||
|
|
||||||
|
|
||||||
class VAB_T20_13(unittype.VehicleType):
|
class VAB_T20_13(unittype.VehicleType):
|
||||||
@ -43,7 +43,7 @@ class VAB_T20_13(unittype.VehicleType):
|
|||||||
detection_range = 0
|
detection_range = 0
|
||||||
threat_range = 2000
|
threat_range = 2000
|
||||||
air_weapon_dist = 2000
|
air_weapon_dist = 2000
|
||||||
eprls = True
|
eplrs = True
|
||||||
|
|
||||||
|
|
||||||
class VAB_MEPHISTO(unittype.VehicleType):
|
class VAB_MEPHISTO(unittype.VehicleType):
|
||||||
@ -52,7 +52,7 @@ class VAB_MEPHISTO(unittype.VehicleType):
|
|||||||
detection_range = 0
|
detection_range = 0
|
||||||
threat_range = 4000
|
threat_range = 4000
|
||||||
air_weapon_dist = 4000
|
air_weapon_dist = 4000
|
||||||
eprls = True
|
eplrs = True
|
||||||
|
|
||||||
|
|
||||||
class VBL__50(unittype.VehicleType):
|
class VBL__50(unittype.VehicleType):
|
||||||
@ -61,7 +61,7 @@ class VBL__50(unittype.VehicleType):
|
|||||||
detection_range = 0
|
detection_range = 0
|
||||||
threat_range = 1200
|
threat_range = 1200
|
||||||
air_weapon_dist = 1200
|
air_weapon_dist = 1200
|
||||||
eprls = True
|
eplrs = True
|
||||||
|
|
||||||
|
|
||||||
class VBL_AANF1(unittype.VehicleType):
|
class VBL_AANF1(unittype.VehicleType):
|
||||||
@ -70,7 +70,7 @@ class VBL_AANF1(unittype.VehicleType):
|
|||||||
detection_range = 0
|
detection_range = 0
|
||||||
threat_range = 1000
|
threat_range = 1000
|
||||||
air_weapon_dist = 1000
|
air_weapon_dist = 1000
|
||||||
eprls = True
|
eplrs = True
|
||||||
|
|
||||||
|
|
||||||
class VBAE_CRAB(unittype.VehicleType):
|
class VBAE_CRAB(unittype.VehicleType):
|
||||||
@ -79,7 +79,7 @@ class VBAE_CRAB(unittype.VehicleType):
|
|||||||
detection_range = 0
|
detection_range = 0
|
||||||
threat_range = 3500
|
threat_range = 3500
|
||||||
air_weapon_dist = 3500
|
air_weapon_dist = 3500
|
||||||
eprls = True
|
eplrs = True
|
||||||
|
|
||||||
|
|
||||||
class VBAE_CRAB_MMP(unittype.VehicleType):
|
class VBAE_CRAB_MMP(unittype.VehicleType):
|
||||||
@ -88,7 +88,7 @@ class VBAE_CRAB_MMP(unittype.VehicleType):
|
|||||||
detection_range = 0
|
detection_range = 0
|
||||||
threat_range = 3500
|
threat_range = 3500
|
||||||
air_weapon_dist = 3500
|
air_weapon_dist = 3500
|
||||||
eprls = True
|
eplrs = True
|
||||||
|
|
||||||
|
|
||||||
class AMX_30B2(unittype.VehicleType):
|
class AMX_30B2(unittype.VehicleType):
|
||||||
@ -121,7 +121,7 @@ class DIM__TOYOTA_BLUE(unittype.VehicleType):
|
|||||||
detection_range = 0
|
detection_range = 0
|
||||||
threat_range = 1200
|
threat_range = 1200
|
||||||
air_weapon_dist = 1200
|
air_weapon_dist = 1200
|
||||||
eprls = True
|
eplrs = True
|
||||||
|
|
||||||
|
|
||||||
class DIM__TOYOTA_GREEN(unittype.VehicleType):
|
class DIM__TOYOTA_GREEN(unittype.VehicleType):
|
||||||
@ -130,7 +130,7 @@ class DIM__TOYOTA_GREEN(unittype.VehicleType):
|
|||||||
detection_range = 0
|
detection_range = 0
|
||||||
threat_range = 1200
|
threat_range = 1200
|
||||||
air_weapon_dist = 1200
|
air_weapon_dist = 1200
|
||||||
eprls = True
|
eplrs = True
|
||||||
|
|
||||||
|
|
||||||
class DIM__TOYOTA_DESERT(unittype.VehicleType):
|
class DIM__TOYOTA_DESERT(unittype.VehicleType):
|
||||||
@ -139,7 +139,7 @@ class DIM__TOYOTA_DESERT(unittype.VehicleType):
|
|||||||
detection_range = 0
|
detection_range = 0
|
||||||
threat_range = 1200
|
threat_range = 1200
|
||||||
air_weapon_dist = 1200
|
air_weapon_dist = 1200
|
||||||
eprls = True
|
eplrs = True
|
||||||
|
|
||||||
|
|
||||||
class DIM__KAMIKAZE(unittype.VehicleType):
|
class DIM__KAMIKAZE(unittype.VehicleType):
|
||||||
@ -148,7 +148,7 @@ class DIM__KAMIKAZE(unittype.VehicleType):
|
|||||||
detection_range = 0
|
detection_range = 0
|
||||||
threat_range = 50
|
threat_range = 50
|
||||||
air_weapon_dist = 50
|
air_weapon_dist = 50
|
||||||
eprls = True
|
eplrs = True
|
||||||
|
|
||||||
## FORTIFICATION
|
## FORTIFICATION
|
||||||
|
|
||||||
@ -187,7 +187,7 @@ class TRM_2000(unittype.VehicleType):
|
|||||||
detection_range = 3500
|
detection_range = 3500
|
||||||
threat_range = 0
|
threat_range = 0
|
||||||
air_weapon_dist = 0
|
air_weapon_dist = 0
|
||||||
eprls = True
|
eplrs = True
|
||||||
|
|
||||||
class TRM_2000_Fuel(unittype.VehicleType):
|
class TRM_2000_Fuel(unittype.VehicleType):
|
||||||
id = "TRM2000_Citerne"
|
id = "TRM2000_Citerne"
|
||||||
@ -195,7 +195,7 @@ class TRM_2000_Fuel(unittype.VehicleType):
|
|||||||
detection_range = 3500
|
detection_range = 3500
|
||||||
threat_range = 0
|
threat_range = 0
|
||||||
air_weapon_dist = 0
|
air_weapon_dist = 0
|
||||||
eprls = True
|
eplrs = True
|
||||||
|
|
||||||
class VAB_MEDICAL(unittype.VehicleType):
|
class VAB_MEDICAL(unittype.VehicleType):
|
||||||
id = "VABH"
|
id = "VABH"
|
||||||
@ -203,7 +203,7 @@ class VAB_MEDICAL(unittype.VehicleType):
|
|||||||
detection_range = 0
|
detection_range = 0
|
||||||
threat_range = 0
|
threat_range = 0
|
||||||
air_weapon_dist = 0
|
air_weapon_dist = 0
|
||||||
eprls = True
|
eplrs = True
|
||||||
|
|
||||||
class VAB(unittype.VehicleType):
|
class VAB(unittype.VehicleType):
|
||||||
id = "VAB_RADIO"
|
id = "VAB_RADIO"
|
||||||
@ -211,7 +211,7 @@ class VAB(unittype.VehicleType):
|
|||||||
detection_range = 0
|
detection_range = 0
|
||||||
threat_range = 0
|
threat_range = 0
|
||||||
air_weapon_dist = 0
|
air_weapon_dist = 0
|
||||||
eprls = True
|
eplrs = True
|
||||||
|
|
||||||
class VBL(unittype.VehicleType):
|
class VBL(unittype.VehicleType):
|
||||||
id = "VBL-Radio"
|
id = "VBL-Radio"
|
||||||
@ -219,7 +219,7 @@ class VBL(unittype.VehicleType):
|
|||||||
detection_range = 0
|
detection_range = 0
|
||||||
threat_range = 0
|
threat_range = 0
|
||||||
air_weapon_dist = 0
|
air_weapon_dist = 0
|
||||||
eprls = True
|
eplrs = True
|
||||||
|
|
||||||
class Tracma_TD_1500(unittype.VehicleType):
|
class Tracma_TD_1500(unittype.VehicleType):
|
||||||
id = "Tracma"
|
id = "Tracma"
|
||||||
@ -236,7 +236,7 @@ class SMOKE_SAM_IR(unittype.VehicleType):
|
|||||||
detection_range = 20000
|
detection_range = 20000
|
||||||
threat_range = 20000
|
threat_range = 20000
|
||||||
air_weapon_dist = 20000
|
air_weapon_dist = 20000
|
||||||
eprls = True
|
eplrs = True
|
||||||
|
|
||||||
class _53T2(unittype.VehicleType):
|
class _53T2(unittype.VehicleType):
|
||||||
id = "AA20"
|
id = "AA20"
|
||||||
@ -251,7 +251,7 @@ class TRM_2000_53T2(unittype.VehicleType):
|
|||||||
detection_range = 6000
|
detection_range = 6000
|
||||||
threat_range = 2000
|
threat_range = 2000
|
||||||
air_weapon_dist = 2000
|
air_weapon_dist = 2000
|
||||||
eprls = True
|
eplrs = True
|
||||||
|
|
||||||
class TRM_2000_PAMELA(unittype.VehicleType):
|
class TRM_2000_PAMELA(unittype.VehicleType):
|
||||||
id = "TRMMISTRAL"
|
id = "TRMMISTRAL"
|
||||||
@ -259,7 +259,7 @@ class TRM_2000_PAMELA(unittype.VehicleType):
|
|||||||
detection_range = 8000
|
detection_range = 8000
|
||||||
threat_range = 10000
|
threat_range = 10000
|
||||||
air_weapon_dist = 10000
|
air_weapon_dist = 10000
|
||||||
eprls = True
|
eplrs = True
|
||||||
|
|
||||||
## INFANTRY
|
## INFANTRY
|
||||||
|
|
||||||
@ -285,4 +285,4 @@ class VAB_MORTIER(unittype.VehicleType):
|
|||||||
detection_range = 0
|
detection_range = 0
|
||||||
threat_range = 15000
|
threat_range = 15000
|
||||||
air_weapon_dist = 15000
|
air_weapon_dist = 15000
|
||||||
eprls = True
|
eplrs = True
|
||||||
Loading…
x
Reference in New Issue
Block a user