mirror of
https://github.com/spencershepard/RotorOps.git
synced 2025-11-10 15:45:30 +00:00
added roe option to make attacking ai effective
This commit is contained in:
parent
b2a1d9ccd2
commit
1a2df0aad3
3
Generator/Output/.gitignore
vendored
Normal file
3
Generator/Output/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
*
|
||||||
|
*/
|
||||||
|
!.gitignore
|
||||||
@ -290,6 +290,7 @@ class RotorOpsMission:
|
|||||||
def zone_attack(fg, unit_type):
|
def zone_attack(fg, unit_type):
|
||||||
fg.set_skill(dcs.unit.Skill.Random)
|
fg.set_skill(dcs.unit.Skill.Random)
|
||||||
fg.late_activation = True
|
fg.late_activation = True
|
||||||
|
fg.points[0].tasks.append(dcs.task.OptROE(0))
|
||||||
#fg.load_loadout(unit_type["loadout"])
|
#fg.load_loadout(unit_type["loadout"])
|
||||||
#task = dcs.task.CAS
|
#task = dcs.task.CAS
|
||||||
#loadout = dcs.planes.Su_25.loadout(task)
|
#loadout = dcs.planes.Su_25.loadout(task)
|
||||||
@ -315,7 +316,7 @@ class RotorOpsMission:
|
|||||||
"Enemy Attack Helicopters",
|
"Enemy Attack Helicopters",
|
||||||
helo,
|
helo,
|
||||||
airport=enemy_airport,
|
airport=enemy_airport,
|
||||||
maintask=dcs.task.GroundAttack,
|
maintask=dcs.task.CAS,
|
||||||
start_type=dcs.mission.StartType.Warm,
|
start_type=dcs.mission.StartType.Warm,
|
||||||
group_size=2)
|
group_size=2)
|
||||||
zone_attack(afg, helo)
|
zone_attack(afg, helo)
|
||||||
@ -325,7 +326,7 @@ class RotorOpsMission:
|
|||||||
afg = self.m.flight_group_from_airport(
|
afg = self.m.flight_group_from_airport(
|
||||||
russia, "Enemy Attack Planes", plane["type"],
|
russia, "Enemy Attack Planes", plane["type"],
|
||||||
airport=enemy_airport,
|
airport=enemy_airport,
|
||||||
maintask=dcs.task.GroundAttack,
|
maintask=dcs.task.CAS,
|
||||||
start_type=dcs.mission.StartType.Warm,
|
start_type=dcs.mission.StartType.Warm,
|
||||||
group_size=2)
|
group_size=2)
|
||||||
zone_attack(afg, plane)
|
zone_attack(afg, plane)
|
||||||
|
|||||||
@ -20,7 +20,8 @@ e_transport_helos = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
e_attack_planes = [
|
e_attack_planes = [
|
||||||
{'type': dcs.planes.Su_34, 'loadout': "APU-8 Vikhr-M*2,Kh-25ML,R-73*2,SPPU-22*2,Mercury LLTV Pod,MPS-410"},
|
#{'type': dcs.planes.Su_34, 'loadout': "APU-8 Vikhr-M*2,Kh-25ML,R-73*2,SPPU-22*2,Mercury LLTV Pod,MPS-410"},
|
||||||
{'type': dcs.planes.Su_25, 'loadout': "RKB-250*8,R-60M*2"},
|
#{'type': dcs.planes.Su_25, 'loadout': "RKB-250*8,R-60M*2"},
|
||||||
|
{'type': dcs.planes.A_10C, 'loadout': ""}
|
||||||
|
|
||||||
]
|
]
|
||||||
Loading…
x
Reference in New Issue
Block a user