mirror of
https://github.com/spencershepard/RotorOps.git
synced 2025-11-10 15:45:30 +00:00
imports update
This commit is contained in:
parent
5c3e4b1cf2
commit
d70e0544f2
Binary file not shown.
BIN
Generator/Imports/FARP_MINIMUM_ROADSIDE_INVULNERABLE.miz
Normal file
BIN
Generator/Imports/FARP_MINIMUM_ROADSIDE_INVULNERABLE.miz
Normal file
Binary file not shown.
BIN
Generator/Imports/FARP_MINIMUM_ROADSIDE_STATICS.miz
Normal file
BIN
Generator/Imports/FARP_MINIMUM_ROADSIDE_STATICS.miz
Normal file
Binary file not shown.
BIN
Generator/Imports/FARP_MOBILE_ROADSIDE_INVULNERABLE.miz
Normal file
BIN
Generator/Imports/FARP_MOBILE_ROADSIDE_INVULNERABLE.miz
Normal file
Binary file not shown.
BIN
Generator/Imports/FARP_MOBILE_ROADSIDE_STATICS.miz
Normal file
BIN
Generator/Imports/FARP_MOBILE_ROADSIDE_STATICS.miz
Normal file
Binary file not shown.
BIN
Generator/Imports/FOB_16_SPWN_WIDE.miz
Normal file
BIN
Generator/Imports/FOB_16_SPWN_WIDE.miz
Normal file
Binary file not shown.
BIN
Generator/Imports/FOB_8_SPWN.miz
Normal file
BIN
Generator/Imports/FOB_8_SPWN.miz
Normal file
Binary file not shown.
BIN
Generator/Imports/MARKET_PLACE.miz
Normal file
BIN
Generator/Imports/MARKET_PLACE.miz
Normal file
Binary file not shown.
BIN
Generator/Imports/VILLA_GRIMM.miz
Normal file
BIN
Generator/Imports/VILLA_GRIMM.miz
Normal file
Binary file not shown.
@ -597,6 +597,9 @@ p, li { white-space: pre-wrap; }
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QCheckBox" name="defense_checkBox">
|
<widget class="QCheckBox" name="defense_checkBox">
|
||||||
|
<property name="enabled">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>60</x>
|
<x>60</x>
|
||||||
@ -613,6 +616,9 @@ p, li { white-space: pre-wrap; }
|
|||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Defensive Mode</string>
|
<string>Defensive Mode</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="checkable">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QSpinBox" name="e_attack_helos_spinBox">
|
<widget class="QSpinBox" name="e_attack_helos_spinBox">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
|
|||||||
@ -43,6 +43,8 @@ class ImportObjects:
|
|||||||
self.source_heading = group.units[0].heading
|
self.source_heading = group.units[0].heading
|
||||||
else:
|
else:
|
||||||
logger.warning("Unable to find group for anchor.")
|
logger.warning("Unable to find group for anchor.")
|
||||||
|
raise Exception(
|
||||||
|
"Import template file error: " + self.mizfile + " does not contain a group called " + group_name)
|
||||||
|
|
||||||
def extractUnits(self):
|
def extractUnits(self):
|
||||||
|
|
||||||
|
|||||||
@ -257,7 +257,7 @@ class RotorOpsMission:
|
|||||||
else:
|
else:
|
||||||
staging_position = blue_zones[zone_name].position
|
staging_position = blue_zones[zone_name].position
|
||||||
staging_heading = 0
|
staging_heading = 0
|
||||||
i = ImportObjects("STAGING_LOGISITIC_HUB.miz")
|
i = ImportObjects("STAGING_LOGISTIC_HUB.miz")
|
||||||
i.anchorByGroupName("ANCHOR")
|
i.anchorByGroupName("ANCHOR")
|
||||||
i.copyAll(self.m, jtf_blue, "Staging Logistics Zone",
|
i.copyAll(self.m, jtf_blue, "Staging Logistics Zone",
|
||||||
staging_position, staging_heading)
|
staging_position, staging_heading)
|
||||||
@ -296,8 +296,6 @@ class RotorOpsMission:
|
|||||||
self.addResources(self.sound_directory, self.script_directory)
|
self.addResources(self.sound_directory, self.script_directory)
|
||||||
RotorOpsConflict.triggerSetup(self, options)
|
RotorOpsConflict.triggerSetup(self, options)
|
||||||
|
|
||||||
# test adding static objects from a .miz
|
|
||||||
#self.addStatics()
|
|
||||||
|
|
||||||
#Save the mission file
|
#Save the mission file
|
||||||
os.chdir(self.output_dir)
|
os.chdir(self.output_dir)
|
||||||
|
|||||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user