mirror of
https://github.com/l0k1/oprf_assets.git
synced 2024-11-01 07:41:15 +08:00
Add comm tower to mil depot types
This commit is contained in:
parent
9b9c863dc3
commit
d877529140
9574
depot/Models/Comm-Tower/Comm-Tower.ac
Normal file
9574
depot/Models/Comm-Tower/Comm-Tower.ac
Normal file
File diff suppressed because it is too large
Load Diff
BIN
depot/Models/Comm-Tower/communication-building1.png
Normal file
BIN
depot/Models/Comm-Tower/communication-building1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.8 KiB |
BIN
depot/Models/Comm-Tower/hatchback_black.png
Normal file
BIN
depot/Models/Comm-Tower/hatchback_black.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.6 KiB |
BIN
depot/Models/Comm-Tower/humvee-pickup-odrab-lowres.png
Normal file
BIN
depot/Models/Comm-Tower/humvee-pickup-odrab-lowres.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 37 KiB |
BIN
depot/Models/Comm-Tower/storage_container_20ft_white.png
Normal file
BIN
depot/Models/Comm-Tower/storage_container_20ft_white.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 132 KiB |
BIN
depot/Models/Comm-Tower/tower-microwave-1.png
Normal file
BIN
depot/Models/Comm-Tower/tower-microwave-1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.9 KiB |
@ -162,6 +162,21 @@
|
||||
</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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user