mirror of
https://github.com/spencershepard/RotorOps.git
synced 2025-11-10 15:45:30 +00:00
Merge pull request #14 from spencershepard/hotfix/attack_roe
added roe option to make attacking ai effective
This commit is contained in:
commit
b99b68a13b
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):
|
||||
fg.set_skill(dcs.unit.Skill.Random)
|
||||
fg.late_activation = True
|
||||
fg.points[0].tasks.append(dcs.task.OptROE(0))
|
||||
#fg.load_loadout(unit_type["loadout"])
|
||||
#task = dcs.task.CAS
|
||||
#loadout = dcs.planes.Su_25.loadout(task)
|
||||
@ -315,7 +316,7 @@ class RotorOpsMission:
|
||||
"Enemy Attack Helicopters",
|
||||
helo,
|
||||
airport=enemy_airport,
|
||||
maintask=dcs.task.GroundAttack,
|
||||
maintask=dcs.task.CAS,
|
||||
start_type=dcs.mission.StartType.Warm,
|
||||
group_size=2)
|
||||
zone_attack(afg, helo)
|
||||
@ -325,7 +326,7 @@ class RotorOpsMission:
|
||||
afg = self.m.flight_group_from_airport(
|
||||
russia, "Enemy Attack Planes", plane["type"],
|
||||
airport=enemy_airport,
|
||||
maintask=dcs.task.GroundAttack,
|
||||
maintask=dcs.task.CAS,
|
||||
start_type=dcs.mission.StartType.Warm,
|
||||
group_size=2)
|
||||
zone_attack(afg, plane)
|
||||
|
||||
@ -20,7 +20,8 @@ e_transport_helos = [
|
||||
]
|
||||
|
||||
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_25, 'loadout': "RKB-250*8,R-60M*2"},
|
||||
#{'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.A_10C, 'loadout': ""}
|
||||
|
||||
]
|
||||
Loading…
x
Reference in New Issue
Block a user