Files
source/gamedir/Data/TableData/EnemyExplosiveDrops.xml
T

75 lines
2.0 KiB
XML

<!--
If you want to use the XML-Drop files, you must do the following:
a.) Set ENEMIES_ITEM_DROP = 1 in the Ja2_Options.ini
b.) Disable "Enemies drop all items" in the option screen of the game
Attribute Field Reference:
uiIndex - the item index, number the items sequentially starting at 0 up to 199
uiType - the explosive type pointing to <ubType> in Explosives.xml
ubDropRate - if the enemy (or militia) has the item, this is the chance (0 - 100) in percent that the item will be dropped
- 0 -> Item will never be dropped
- 100 -> Item will always be dropped, if the enemy (or militia) has this item in the inventory
-->
<EXPLOSIVEDROPLIST>
<!-- EXPLOSV_NORMAL -->
<DROPITEM>
<uiIndex>0</uiIndex>
<ubType>0</ubType>
<ubDropRate>25</ubDropRate>
</DROPITEM>
<!-- EXPLOSV_STUN -->
<DROPITEM>
<uiIndex>1</uiIndex>
<ubType>1</ubType>
<ubDropRate>25</ubDropRate>
</DROPITEM>
<!-- EXPLOSV_TEARGAS -->
<DROPITEM>
<uiIndex>2</uiIndex>
<ubType>2</ubType>
<ubDropRate>25</ubDropRate>
</DROPITEM>
<!-- EXPLOSV_MUSTGAS -->
<DROPITEM>
<uiIndex>3</uiIndex>
<ubType>3</ubType>
<ubDropRate>25</ubDropRate>
</DROPITEM>
<!-- EXPLOSV_FLARE -->
<DROPITEM>
<uiIndex>4</uiIndex>
<ubType>4</ubType>
<ubDropRate>25</ubDropRate>
</DROPITEM>
<!-- EXPLOSV_NOISE -->
<DROPITEM>
<uiIndex>5</uiIndex>
<ubType>5</ubType>
<ubDropRate>25</ubDropRate>
</DROPITEM>
<!-- EXPLOSV_SMOKE -->
<DROPITEM>
<uiIndex>6</uiIndex>
<ubType>6</ubType>
<ubDropRate>25</ubDropRate>
</DROPITEM>
<!-- EXPLOSV_CREATUREGAS -->
<DROPITEM>
<uiIndex>7</uiIndex>
<ubType>7</ubType>
<ubDropRate>25</ubDropRate>
</DROPITEM>
<!-- EXPLOSV_BURNABLEGAS -->
<DROPITEM>
<uiIndex>8</uiIndex>
<ubType>8</ubType>
<ubDropRate>25</ubDropRate>
</DROPITEM>
<!-- EXPLOSV_FLASHBANG -->
<DROPITEM>
<uiIndex>9</uiIndex>
<ubType>9</ubType>
<ubDropRate>25</ubDropRate>
</DROPITEM>
</EXPLOSIVEDROPLIST>