mirror of
https://github.com/l0k1/oprf_assets.git
synced 2026-10-02 10:35:48 +00:00
Dubna
This commit is contained in:
@@ -0,0 +1,348 @@
|
||||
<?xml version="1.0"?>
|
||||
<PropertyList>
|
||||
<name>enemies</name>
|
||||
<modal>false</modal>
|
||||
<layout>vbox</layout>
|
||||
<draggable>true</draggable>
|
||||
<resizable>true</resizable>
|
||||
<width>250</width>
|
||||
<height>550</height>
|
||||
|
||||
<group>
|
||||
<layout>hbox</layout>
|
||||
<empty><stretch>1</stretch></empty>
|
||||
|
||||
<text>
|
||||
<label>Targets</label>
|
||||
</text>
|
||||
|
||||
<empty><stretch>1</stretch></empty>
|
||||
|
||||
<button>
|
||||
<pref-width>16</pref-width>
|
||||
<pref-height>16</pref-height>
|
||||
<legend></legend>
|
||||
<default>1</default>
|
||||
<keynum>27</keynum>
|
||||
<border>2</border>
|
||||
<binding>
|
||||
<command>dialog-close</command>
|
||||
</binding>
|
||||
<binding>
|
||||
<command>dialog-apply</command>
|
||||
</binding>
|
||||
</button>
|
||||
</group>
|
||||
|
||||
<text>
|
||||
<label>Callsigns:</label>
|
||||
<height>25</height>
|
||||
</text>
|
||||
|
||||
<input>
|
||||
<width>250</width>
|
||||
<height>25</height>
|
||||
<label>1</label>
|
||||
<property>enemies/e1</property>
|
||||
<live>true</live>
|
||||
<halign>left</halign>
|
||||
<binding>
|
||||
<command>dialog-apply</command>
|
||||
</binding>
|
||||
<color>
|
||||
<red>1</red>
|
||||
<green>0.5</green>
|
||||
<blue>0.5</blue>
|
||||
</color>
|
||||
<enable>
|
||||
<not>
|
||||
<property>enemies/opfor-switch</property>
|
||||
</not>
|
||||
<not>
|
||||
<property>enemies/friend-switch</property>
|
||||
</not>
|
||||
</enable>
|
||||
</input>
|
||||
<input>
|
||||
<width>250</width>
|
||||
<height>25</height>
|
||||
<label>2</label>
|
||||
<property>enemies/e2</property>
|
||||
<live>true</live>
|
||||
<halign>left</halign>
|
||||
<binding>
|
||||
<command>dialog-apply</command>
|
||||
</binding>
|
||||
<color>
|
||||
<red>1</red>
|
||||
<green>0.5</green>
|
||||
<blue>0.5</blue>
|
||||
</color>
|
||||
<enable>
|
||||
<not>
|
||||
<property>enemies/opfor-switch</property>
|
||||
</not>
|
||||
<not>
|
||||
<property>enemies/friend-switch</property>
|
||||
</not>
|
||||
</enable>
|
||||
</input>
|
||||
<input>
|
||||
<width>250</width>
|
||||
<height>25</height>
|
||||
<label>3</label>
|
||||
<property>enemies/e3</property>
|
||||
<live>true</live>
|
||||
<halign>left</halign>
|
||||
<binding>
|
||||
<command>dialog-apply</command>
|
||||
</binding>
|
||||
<color>
|
||||
<red>1</red>
|
||||
<green>0.5</green>
|
||||
<blue>0.5</blue>
|
||||
</color>
|
||||
<enable>
|
||||
<not>
|
||||
<property>enemies/opfor-switch</property>
|
||||
</not>
|
||||
<not>
|
||||
<property>enemies/friend-switch</property>
|
||||
</not>
|
||||
</enable>
|
||||
</input>
|
||||
<input>
|
||||
<width>250</width>
|
||||
<height>25</height>
|
||||
<label>4</label>
|
||||
<property>enemies/e4</property>
|
||||
<live>true</live>
|
||||
<halign>left</halign>
|
||||
<binding>
|
||||
<command>dialog-apply</command>
|
||||
</binding>
|
||||
<color>
|
||||
<red>1</red>
|
||||
<green>0.5</green>
|
||||
<blue>0.5</blue>
|
||||
</color>
|
||||
<enable>
|
||||
<not>
|
||||
<property>enemies/opfor-switch</property>
|
||||
</not>
|
||||
<not>
|
||||
<property>enemies/friend-switch</property>
|
||||
</not>
|
||||
</enable>
|
||||
</input>
|
||||
<input>
|
||||
<width>250</width>
|
||||
<height>25</height>
|
||||
<label>5</label>
|
||||
<property>enemies/e5</property>
|
||||
<live>true</live>
|
||||
<halign>left</halign>
|
||||
<binding>
|
||||
<command>dialog-apply</command>
|
||||
</binding>
|
||||
<color>
|
||||
<red>1</red>
|
||||
<green>0.5</green>
|
||||
<blue>0.5</blue>
|
||||
</color>
|
||||
<enable>
|
||||
<not>
|
||||
<property>enemies/opfor-switch</property>
|
||||
</not>
|
||||
<not>
|
||||
<property>enemies/friend-switch</property>
|
||||
</not>
|
||||
</enable>
|
||||
</input>
|
||||
<input>
|
||||
<width>250</width>
|
||||
<height>25</height>
|
||||
<label>6</label>
|
||||
<property>enemies/e6</property>
|
||||
<live>true</live>
|
||||
<halign>left</halign>
|
||||
<binding>
|
||||
<command>dialog-apply</command>
|
||||
</binding>
|
||||
<color>
|
||||
<red>1</red>
|
||||
<green>0.5</green>
|
||||
<blue>0.5</blue>
|
||||
</color>
|
||||
<enable>
|
||||
<not>
|
||||
<property>enemies/opfor-switch</property>
|
||||
</not>
|
||||
<not>
|
||||
<property>enemies/friend-switch</property>
|
||||
</not>
|
||||
</enable>
|
||||
</input>
|
||||
<input>
|
||||
<width>250</width>
|
||||
<height>25</height>
|
||||
<label>7</label>
|
||||
<property>enemies/e7</property>
|
||||
<live>true</live>
|
||||
<halign>left</halign>
|
||||
<binding>
|
||||
<command>dialog-apply</command>
|
||||
</binding>
|
||||
<color>
|
||||
<red>1</red>
|
||||
<green>0.5</green>
|
||||
<blue>0.5</blue>
|
||||
</color>
|
||||
<enable>
|
||||
<not>
|
||||
<property>enemies/opfor-switch</property>
|
||||
</not>
|
||||
<not>
|
||||
<property>enemies/friend-switch</property>
|
||||
</not>
|
||||
</enable>
|
||||
</input>
|
||||
<input>
|
||||
<width>250</width>
|
||||
<height>25</height>
|
||||
<label>8</label>
|
||||
<property>enemies/e8</property>
|
||||
<live>true</live>
|
||||
<halign>left</halign>
|
||||
<binding>
|
||||
<command>dialog-apply</command>
|
||||
</binding>
|
||||
<color>
|
||||
<red>1</red>
|
||||
<green>0.5</green>
|
||||
<blue>0.5</blue>
|
||||
</color>
|
||||
<enable>
|
||||
<not>
|
||||
<property>enemies/opfor-switch</property>
|
||||
</not>
|
||||
<not>
|
||||
<property>enemies/friend-switch</property>
|
||||
</not>
|
||||
</enable>
|
||||
</input>
|
||||
<input>
|
||||
<width>250</width>
|
||||
<height>25</height>
|
||||
<label>9</label>
|
||||
<property>enemies/e9</property>
|
||||
<live>true</live>
|
||||
<halign>left</halign>
|
||||
<binding>
|
||||
<command>dialog-apply</command>
|
||||
</binding>
|
||||
<color>
|
||||
<red>1</red>
|
||||
<green>0.5</green>
|
||||
<blue>0.5</blue>
|
||||
</color>
|
||||
<enable>
|
||||
<not>
|
||||
<property>enemies/opfor-switch</property>
|
||||
</not>
|
||||
<not>
|
||||
<property>enemies/friend-switch</property>
|
||||
</not>
|
||||
</enable>
|
||||
</input>
|
||||
<input>
|
||||
<width>250</width>
|
||||
<height>25</height>
|
||||
<label>10</label>
|
||||
<property>enemies/e10</property>
|
||||
<live>true</live>
|
||||
<halign>left</halign>
|
||||
<binding>
|
||||
<command>dialog-apply</command>
|
||||
</binding>
|
||||
<color>
|
||||
<red>1</red>
|
||||
<green>0.5</green>
|
||||
<blue>0.5</blue>
|
||||
</color>
|
||||
<enable>
|
||||
<not>
|
||||
<property>enemies/opfor-switch</property>
|
||||
</not>
|
||||
<not>
|
||||
<property>enemies/friend-switch</property>
|
||||
</not>
|
||||
</enable>
|
||||
</input>
|
||||
<input>
|
||||
<width>250</width>
|
||||
<height>25</height>
|
||||
<label>11</label>
|
||||
<property>enemies/e11</property>
|
||||
<live>true</live>
|
||||
<halign>left</halign>
|
||||
<binding>
|
||||
<command>dialog-apply</command>
|
||||
</binding>
|
||||
<color>
|
||||
<red>1</red>
|
||||
<green>0.5</green>
|
||||
<blue>0.5</blue>
|
||||
</color>
|
||||
<enable>
|
||||
<not>
|
||||
<property>enemies/opfor-switch</property>
|
||||
</not>
|
||||
<not>
|
||||
<property>enemies/friend-switch</property>
|
||||
</not>
|
||||
</enable>
|
||||
</input>
|
||||
<input>
|
||||
<width>250</width>
|
||||
<height>25</height>
|
||||
<label>12</label>
|
||||
<property>enemies/e12</property>
|
||||
<live>true</live>
|
||||
<halign>left</halign>
|
||||
<binding>
|
||||
<command>dialog-apply</command>
|
||||
</binding>
|
||||
<color>
|
||||
<red>1</red>
|
||||
<green>0.5</green>
|
||||
<blue>0.5</blue>
|
||||
</color>
|
||||
<enable>
|
||||
<not>
|
||||
<property>enemies/opfor-switch</property>
|
||||
</not>
|
||||
<not>
|
||||
<property>enemies/friend-switch</property>
|
||||
</not>
|
||||
</enable>
|
||||
</input>
|
||||
<checkbox>
|
||||
<width>12</width>
|
||||
<height>12</height>
|
||||
<property>/enemies/opfor-switch</property>
|
||||
<label>Target all non-OPFOR</label>
|
||||
<binding>
|
||||
<command>dialog-apply</command>
|
||||
</binding>
|
||||
</checkbox>
|
||||
<checkbox>
|
||||
<width>12</width>
|
||||
<height>12</height>
|
||||
<property>/enemies/friend-switch</property>
|
||||
<label>Target all OPFOR</label>
|
||||
<binding>
|
||||
<command>dialog-apply</command>
|
||||
</binding>
|
||||
</checkbox>
|
||||
</PropertyList>
|
||||
@@ -0,0 +1,91 @@
|
||||
<?xml version="1.0"?>
|
||||
<PropertyList>
|
||||
<name>flightlog</name>
|
||||
<modal>false</modal>
|
||||
<layout>vbox</layout>
|
||||
<draggable>true</draggable>
|
||||
<resizable>true</resizable>
|
||||
|
||||
<group>
|
||||
<layout>hbox</layout>
|
||||
<empty><stretch>1</stretch></empty>
|
||||
|
||||
<text>
|
||||
<label>Event log</label>
|
||||
</text>
|
||||
|
||||
<empty><stretch>1</stretch></empty>
|
||||
|
||||
<button>
|
||||
<pref-width>16</pref-width>
|
||||
<pref-height>16</pref-height>
|
||||
<legend></legend>
|
||||
<default>1</default>
|
||||
<keynum>27</keynum>
|
||||
<border>2</border>
|
||||
<binding>
|
||||
<command>dialog-close</command>
|
||||
</binding>
|
||||
<binding>
|
||||
<command>dialog-apply</command>
|
||||
</binding>
|
||||
</button>
|
||||
</group>
|
||||
|
||||
<nasal>
|
||||
<open>
|
||||
<![CDATA[
|
||||
setprop("sim/model/mig21/event-log", "Click refresh to see the event log..");
|
||||
]]>
|
||||
</open>
|
||||
<close>
|
||||
<![CDATA[
|
||||
setprop("sim/model/mig21/event-log", "");
|
||||
]]>
|
||||
</close>
|
||||
</nasal>
|
||||
|
||||
<button>
|
||||
<!--<x>0</x>
|
||||
<y>0</y>-->
|
||||
<legend>Refresh</legend>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script><![CDATA[
|
||||
var str = "";
|
||||
if (1) {
|
||||
var buffer = damage.damageLog.get_buffer();
|
||||
|
||||
foreach(entry; buffer) {
|
||||
str = str~""~entry.time~" "~entry.message~"\n";
|
||||
}
|
||||
} else {
|
||||
str = "The aircraft must be still to read the event log.";
|
||||
}
|
||||
setprop("sim/model/mig21/event-log", str);
|
||||
]]></script>
|
||||
</binding>
|
||||
</button>
|
||||
|
||||
<text>
|
||||
<label>Log:</label>
|
||||
</text>
|
||||
|
||||
<textbox>
|
||||
<!-- position -->
|
||||
<!--<x>100</x>
|
||||
<y>100</y>-->
|
||||
|
||||
<!-- dimensions -->
|
||||
<pref-width>500</pref-width>
|
||||
<pref-height>500</pref-height>
|
||||
|
||||
<property>/sim/model/mig21/event-log</property>
|
||||
<live>true</live>
|
||||
<slider>15</slider> <!--width for slider -->
|
||||
<wrap>false</wrap> <!-- don't wrap text; default: true -->
|
||||
<top-line>0</top-line> <!-- line to show at top, -ve numbers show last line -->
|
||||
<editable>false</editable> <!-- if the puLargeInput is supposed to be editable -->
|
||||
</textbox>
|
||||
|
||||
</PropertyList>
|
||||
@@ -0,0 +1,148 @@
|
||||
<?xml version="1.0"?>
|
||||
<PropertyList>
|
||||
<name>priority</name>
|
||||
<modal>false</modal>
|
||||
<layout>vbox</layout>
|
||||
<draggable>true</draggable>
|
||||
<resizable>false</resizable>
|
||||
<width>125</width>
|
||||
<height>200</height>
|
||||
|
||||
<group>
|
||||
<empty><stretch>1</stretch></empty>
|
||||
<layout>hbox</layout>
|
||||
<text>
|
||||
<label>Priority</label>
|
||||
</text>
|
||||
<empty><stretch>1</stretch></empty>
|
||||
<button>
|
||||
<pref-width>16</pref-width>
|
||||
<pref-height>16</pref-height>
|
||||
<legend></legend>
|
||||
<default>1</default>
|
||||
<keynum>27</keynum>
|
||||
<border>2</border>
|
||||
<binding>
|
||||
<command>dialog-close</command>
|
||||
</binding>
|
||||
<binding>
|
||||
<command>dialog-apply</command>
|
||||
</binding>
|
||||
</button>
|
||||
</group>
|
||||
<group>
|
||||
<layout>table</layout>
|
||||
<text>
|
||||
<label>Random</label>
|
||||
<halign>right</halign>
|
||||
<row>0</row>
|
||||
<col>0</col>
|
||||
</text>
|
||||
<radio>
|
||||
<row>0</row>
|
||||
<col>1</col>
|
||||
<property>priority0</property>
|
||||
<live>true</live>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>setprop("priority",0);setprop("priority0",1);setprop("priority6",0);setprop("priority1",0);setprop("priority2",0);setprop("priority3",0);setprop("priority4",0);setprop("priority5",0);</script>
|
||||
</binding>
|
||||
</radio>
|
||||
<text>
|
||||
<label>Highest</label>
|
||||
<halign>right</halign>
|
||||
<row>1</row>
|
||||
<col>0</col>
|
||||
</text>
|
||||
<radio>
|
||||
<row>1</row>
|
||||
<col>1</col>
|
||||
<property>priority1</property>
|
||||
<live>true</live>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>setprop("priority",1);setprop("priority1",1);setprop("priority0",0);setprop("priority6",0);setprop("priority2",0);setprop("priority3",0);setprop("priority4",0);setprop("priority5",0);</script>
|
||||
</binding>
|
||||
</radio>
|
||||
<text>
|
||||
<label>Lowest</label>
|
||||
<halign>right</halign>
|
||||
<row>2</row>
|
||||
<col>0</col>
|
||||
</text>
|
||||
<radio>
|
||||
<row>2</row>
|
||||
<col>1</col>
|
||||
<property>priority2</property>
|
||||
<live>true</live>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>setprop("priority",2);setprop("priority2",1);setprop("priority0",0);setprop("priority1",0);setprop("priority6",0);setprop("priority3",0);setprop("priority4",0);setprop("priority5",0);</script>
|
||||
</binding>
|
||||
</radio>
|
||||
<text>
|
||||
<label>Fastest</label>
|
||||
<halign>right</halign>
|
||||
<row>3</row>
|
||||
<col>0</col>
|
||||
</text>
|
||||
<radio>
|
||||
<row>3</row>
|
||||
<col>1</col>
|
||||
<property>priority3</property>
|
||||
<live>true</live>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>setprop("priority",3);setprop("priority3",1);setprop("priority0",0);setprop("priority1",0);setprop("priority2",0);setprop("priority6",0);setprop("priority4",0);setprop("priority5",0);</script>
|
||||
</binding>
|
||||
</radio>
|
||||
<text>
|
||||
<label>Slowest</label>
|
||||
<halign>right</halign>
|
||||
<row>4</row>
|
||||
<col>0</col>
|
||||
</text>
|
||||
<radio>
|
||||
<row>4</row>
|
||||
<col>1</col>
|
||||
<property>priority4</property>
|
||||
<live>true</live>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>setprop("priority",4);setprop("priority4",1);setprop("priority0",0);setprop("priority1",0);setprop("priority2",0);setprop("priority3",0);setprop("priority6",0);setprop("priority5",0);</script>
|
||||
</binding>
|
||||
</radio>
|
||||
<text>
|
||||
<label>Closest</label>
|
||||
<halign>right</halign>
|
||||
<row>5</row>
|
||||
<col>0</col>
|
||||
</text>
|
||||
<radio>
|
||||
<row>5</row>
|
||||
<col>1</col>
|
||||
<property>priority5</property>
|
||||
<live>true</live>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>setprop("priority",5);setprop("priority5",1);setprop("priority0",0);setprop("priority1",0);setprop("priority2",0);setprop("priority3",0);setprop("priority4",0);setprop("priority6",0);</script>
|
||||
</binding>
|
||||
</radio>
|
||||
<text>
|
||||
<label>Farthest</label>
|
||||
<halign>right</halign>
|
||||
<row>6</row>
|
||||
<col>0</col>
|
||||
</text>
|
||||
<radio>
|
||||
<row>6</row>
|
||||
<col>1</col>
|
||||
<property>priority6</property>
|
||||
<live>true</live>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>setprop("priority",6);setprop("priority6",1);setprop("priority0",0);setprop("priority1",0);setprop("priority2",0);setprop("priority3",0);setprop("priority4",0);setprop("priority5",0);</script>
|
||||
</binding>
|
||||
</radio>
|
||||
</group>
|
||||
</PropertyList>
|
||||
Reference in New Issue
Block a user