mirror of
https://github.com/l0k1/oprf_assets.git
synced 2026-09-12 10:29:28 +00:00
Add comm tower to mil depot types
This commit is contained in:
File diff suppressed because it is too large
Load Diff
Binary file not shown.
|
After Width: | Height: | Size: 3.8 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 9.6 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 37 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 132 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 3.9 KiB |
@@ -161,6 +161,21 @@
|
||||
</equals>
|
||||
</condition>
|
||||
</animation>
|
||||
|
||||
<model>
|
||||
<path>Comm-Tower/Comm-Tower.ac</path>
|
||||
<name>commT</name>
|
||||
</model>
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>commT</object-name>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>sim/multiplay/generic/int[17]</property>
|
||||
<value>21</value>
|
||||
</equals>
|
||||
</condition>
|
||||
</animation>
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -62,6 +62,7 @@ var PositionUpdater = func () {
|
||||
if (type == 18) {damage.hp_max=50;damage.hp=damage.hp_max;}
|
||||
if (type == 19) {damage.hp_max=2500;damage.hp=damage.hp_max;}
|
||||
if (type == 20) {damage.hp_max=300;damage.hp=damage.hp_max;}
|
||||
if (type == 21) {damage.hp_max=200;damage.hp=damage.hp_max;}
|
||||
last_type = type;
|
||||
} else {
|
||||
print("Can only switch type when not damaged!!");
|
||||
|
||||
@@ -135,6 +135,14 @@
|
||||
<value>16</value>
|
||||
</binding>
|
||||
</button>
|
||||
<button>
|
||||
<legend>CommTower</legend>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>sim/multiplay/generic/int[17]</property>
|
||||
<value>21</value>
|
||||
</binding>
|
||||
</button>
|
||||
|
||||
</group>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user