mirror of
https://github.com/spencershepard/RotorOps.git
synced 2025-11-10 15:45:30 +00:00
rotorops server
-add mp briefing image -use new farp template for server missions -add jtac and tac commander slots
This commit is contained in:
parent
400468d3bd
commit
538449f2f3
@ -172,6 +172,8 @@ class RotorOpsMission:
|
||||
blue_forces = self.getUnitsFromMiz(options["blue_forces_path"], "both")
|
||||
|
||||
# add images to briefing
|
||||
if options["rotorops_server"]:
|
||||
self.m.add_picture_blue(directories.assets + '/rotorops mp brief.png')
|
||||
self.m.add_picture_blue(directories.assets + '/briefing1.png')
|
||||
self.m.add_picture_blue(directories.assets + '/briefing2.png')
|
||||
|
||||
@ -195,6 +197,8 @@ class RotorOpsMission:
|
||||
logistics_base = i.path
|
||||
if i.filename == ("ZONE_ACTIVATED_DEFENSE.miz"):
|
||||
zone_protect = i.path
|
||||
if i.filename == ("DS_FARP_ACTIVATED_ZONE.miz"):
|
||||
ds_activated_farp = i.path
|
||||
|
||||
# it's possible to have import templates with the same filename, but we will let the latest override others
|
||||
# todo: verify we have the required templates
|
||||
@ -246,8 +250,12 @@ class RotorOpsMission:
|
||||
|
||||
# Add red zone FARPS
|
||||
|
||||
activated_farp_file = activated_farp
|
||||
if options["rotorops_server"]:
|
||||
activated_farp_file = ds_activated_farp
|
||||
|
||||
vehicle_group = self.addZoneBase(options, zone_name, jtf_blue,
|
||||
file=activated_farp,
|
||||
file=activated_farp_file,
|
||||
config_name="zone_farp_file",
|
||||
copy_helicopters=helicopters,
|
||||
helicopters_name="ZONE " + zone_name,
|
||||
@ -410,6 +418,9 @@ class RotorOpsMission:
|
||||
self.m.forced_options.civil_traffic = dcs.forcedoptions.ForcedOptions.CivilTraffic.Off
|
||||
self.m.forced_options.options_view = dcs.forcedoptions.ForcedOptions.Views.Allies
|
||||
|
||||
self.m.groundControl.blue_tactical_commander = 1
|
||||
self.m.groundControl.blue_jtac = 1
|
||||
|
||||
|
||||
|
||||
# Save the mission file
|
||||
|
||||
@ -7,6 +7,7 @@ client_helos = [
|
||||
dcs.helicopters.AH_64D_BLK_II,
|
||||
dcs.helicopters.Mi_24P,
|
||||
dcs.helicopters.Ka_50,
|
||||
dcs.helicopters.Ka_50_3
|
||||
]
|
||||
|
||||
player_helos = [
|
||||
@ -22,6 +23,8 @@ player_helos = [
|
||||
dcs.helicopters.UH_1H,
|
||||
aircraftMods.UH_60L,
|
||||
dcs.planes.AV8BNA,
|
||||
dcs.planes.L_39ZA,
|
||||
dcs.planes.MB_339A
|
||||
]
|
||||
|
||||
e_attack_helos = [
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 114 KiB After Width: | Height: | Size: 140 KiB |
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user