mirror of
https://github.com/1dot13/gamedir.git
synced 2026-07-22 13:40:25 +02:00
-updated XML-Drop files -added militia drop rate to XML-Drop files -added drop rates for LAWs. mortars, launchers, knives, ... (see EnemyWeaponDrops.xml, EnemyMiscDrops.xml) git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@443 4f8fa57e-7814-0410-bad4-adc449f26b7c
98 lines
2.9 KiB
XML
98 lines
2.9 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
|
|
ubEnemyDropRate - if the enemy 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 has this item in the inventory
|
|
ubMilitiaDropRate - if the 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 militia has this item in the inventory
|
|
-->
|
|
<EXPLOSIVEDROPLIST>
|
|
<!-- EXPLOSV_NORMAL -->
|
|
<!-- Normal -->
|
|
<DROPITEM>
|
|
<uiIndex>0</uiIndex>
|
|
<ubType>0</ubType>
|
|
<ubEnemyDropRate>25</ubEnemyDropRate>
|
|
<ubMilitiaDropRate>3</ubMilitiaDropRate>
|
|
</DROPITEM>
|
|
<!-- EXPLOSV_STUN -->
|
|
<!-- Stun -->
|
|
<DROPITEM>
|
|
<uiIndex>1</uiIndex>
|
|
<ubType>1</ubType>
|
|
<ubEnemyDropRate>25</ubEnemyDropRate>
|
|
<ubMilitiaDropRate>3</ubMilitiaDropRate>
|
|
</DROPITEM>
|
|
<!-- EXPLOSV_TEARGAS -->
|
|
<!-- Tear gas -->
|
|
<DROPITEM>
|
|
<uiIndex>2</uiIndex>
|
|
<ubType>2</ubType>
|
|
<ubEnemyDropRate>25</ubEnemyDropRate>
|
|
<ubMilitiaDropRate>3</ubMilitiaDropRate>
|
|
</DROPITEM>
|
|
<!-- EXPLOSV_MUSTGAS -->
|
|
<!-- Mustard gas -->
|
|
<DROPITEM>
|
|
<uiIndex>3</uiIndex>
|
|
<ubType>3</ubType>
|
|
<ubEnemyDropRate>25</ubEnemyDropRate>
|
|
<ubMilitiaDropRate>3</ubMilitiaDropRate>
|
|
</DROPITEM>
|
|
<!-- EXPLOSV_FLARE -->
|
|
<!-- Flare -->
|
|
<DROPITEM>
|
|
<uiIndex>4</uiIndex>
|
|
<ubType>4</ubType>
|
|
<ubEnemyDropRate>25</ubEnemyDropRate>
|
|
<ubMilitiaDropRate>3</ubMilitiaDropRate>
|
|
</DROPITEM>
|
|
<!-- EXPLOSV_NOISE -->
|
|
<!-- Noise -->
|
|
<DROPITEM>
|
|
<uiIndex>5</uiIndex>
|
|
<ubType>5</ubType>
|
|
<ubEnemyDropRate>25</ubEnemyDropRate>
|
|
<ubMilitiaDropRate>3</ubMilitiaDropRate>
|
|
</DROPITEM>
|
|
<!-- EXPLOSV_SMOKE -->
|
|
<!-- Smoke -->
|
|
<DROPITEM>
|
|
<uiIndex>6</uiIndex>
|
|
<ubType>6</ubType>
|
|
<ubEnemyDropRate>25</ubEnemyDropRate>
|
|
<ubMilitiaDropRate>3</ubMilitiaDropRate>
|
|
</DROPITEM>
|
|
<!-- EXPLOSV_CREATUREGAS -->
|
|
<!-- Creature gas -->
|
|
<DROPITEM>
|
|
<uiIndex>7</uiIndex>
|
|
<ubType>7</ubType>
|
|
<ubEnemyDropRate>0</ubEnemyDropRate>
|
|
<ubMilitiaDropRate>0</ubMilitiaDropRate>
|
|
</DROPITEM>
|
|
<!-- EXPLOSV_BURNABLEGAS -->
|
|
<!-- Burnable gas -->
|
|
<DROPITEM>
|
|
<uiIndex>8</uiIndex>
|
|
<ubType>8</ubType>
|
|
<ubEnemyDropRate>25</ubEnemyDropRate>
|
|
<ubMilitiaDropRate>3</ubMilitiaDropRate>
|
|
</DROPITEM>
|
|
<!-- EXPLOSV_FLASHBANG -->
|
|
<!-- Flashbangs -->
|
|
<DROPITEM>
|
|
<uiIndex>9</uiIndex>
|
|
<ubType>9</ubType>
|
|
<ubEnemyDropRate>25</ubEnemyDropRate>
|
|
<ubMilitiaDropRate>3</ubMilitiaDropRate>
|
|
</DROPITEM>
|
|
</EXPLOSIVEDROPLIST> |