mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +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
122 lines
3.7 KiB
XML
122 lines
3.7 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 misc item class pointing to <usItemClass> in Items.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
|
|
-->
|
|
<MISCDROPLIST>
|
|
<!-- IC_BLADE -->
|
|
<!-- Knives -->
|
|
<DROPITEM>
|
|
<uiIndex>0</uiIndex>
|
|
<usItemClass>4</usItemClass>
|
|
<ubEnemyDropRate>15</ubEnemyDropRate>
|
|
<ubMilitiaDropRate>2</ubMilitiaDropRate>
|
|
</DROPITEM>
|
|
<!-- IC_THROWING_KNIFE -->
|
|
<!-- Throwing knives -->
|
|
<DROPITEM>
|
|
<uiIndex>1</uiIndex>
|
|
<usItemClass>8</usItemClass>
|
|
<ubEnemyDropRate>15</ubEnemyDropRate>
|
|
<ubMilitiaDropRate>2</ubMilitiaDropRate>
|
|
</DROPITEM>
|
|
<!-- IC_LAUNCHER -->
|
|
<!-- Mortars, Grenade launchers, Talons, ... -->
|
|
<DROPITEM>
|
|
<uiIndex>2</uiIndex>
|
|
<usItemClass>16</usItemClass>
|
|
<ubEnemyDropRate>15</ubEnemyDropRate>
|
|
<ubMilitiaDropRate>2</ubMilitiaDropRate>
|
|
</DROPITEM>
|
|
<!-- IC_TENTACLES -->
|
|
<!-- Queen tentacles -->
|
|
<DROPITEM>
|
|
<uiIndex>3</uiIndex>
|
|
<usItemClass>32</usItemClass>
|
|
<ubEnemyDropRate>15</ubEnemyDropRate>
|
|
<ubMilitiaDropRate>2</ubMilitiaDropRate>
|
|
</DROPITEM>
|
|
<!-- IC_THROWN -->
|
|
<!-- Rocks -->
|
|
<DROPITEM>
|
|
<uiIndex>4</uiIndex>
|
|
<usItemClass>64</usItemClass>
|
|
<ubEnemyDropRate>15</ubEnemyDropRate>
|
|
<ubMilitiaDropRate>2</ubMilitiaDropRate>
|
|
</DROPITEM>
|
|
<!-- IC_PUNCH -->
|
|
<!-- Brass knuckles -->
|
|
<DROPITEM>
|
|
<uiIndex>5</uiIndex>
|
|
<usItemClass>128</usItemClass>
|
|
<ubEnemyDropRate>15</ubEnemyDropRate>
|
|
<ubMilitiaDropRate>2</ubMilitiaDropRate>
|
|
</DROPITEM>
|
|
<!-- IC_MEDKIT -->
|
|
<!-- Medikits -->
|
|
<DROPITEM>
|
|
<uiIndex>6</uiIndex>
|
|
<usItemClass>4096</usItemClass>
|
|
<ubEnemyDropRate>15</ubEnemyDropRate>
|
|
<ubMilitiaDropRate>2</ubMilitiaDropRate>
|
|
</DROPITEM>
|
|
<!-- IC_KIT -->
|
|
<!-- Other kits -->
|
|
<DROPITEM>
|
|
<uiIndex>7</uiIndex>
|
|
<usItemClass>8192</usItemClass>
|
|
<ubEnemyDropRate>15</ubEnemyDropRate>
|
|
<ubMilitiaDropRate>2</ubMilitiaDropRate>
|
|
</DROPITEM>
|
|
<!-- IC_APPLIABLE -->
|
|
<!-- Unused -->
|
|
<DROPITEM>
|
|
<uiIndex>8</uiIndex>
|
|
<usItemClass>16384</usItemClass>
|
|
<ubEnemyDropRate>0</ubEnemyDropRate>
|
|
<ubMilitiaDropRate>0</ubMilitiaDropRate>
|
|
</DROPITEM>
|
|
<!-- IC_FACE -->
|
|
<!-- Gas masks, googles, ... -->
|
|
<DROPITEM>
|
|
<uiIndex>9</uiIndex>
|
|
<usItemClass>32768</usItemClass>
|
|
<ubEnemyDropRate>15</ubEnemyDropRate>
|
|
<ubMilitiaDropRate>2</ubMilitiaDropRate>
|
|
</DROPITEM>
|
|
<!-- IC_KEY -->
|
|
<!-- Keys -->
|
|
<DROPITEM>
|
|
<uiIndex>10</uiIndex>
|
|
<usItemClass>65536</usItemClass>
|
|
<ubEnemyDropRate>50</ubEnemyDropRate>
|
|
<ubMilitiaDropRate>2</ubMilitiaDropRate>
|
|
</DROPITEM>
|
|
<!-- IC_MISC -->
|
|
<!-- Most attachments -->
|
|
<DROPITEM>
|
|
<uiIndex>11</uiIndex>
|
|
<usItemClass>268435456</usItemClass>
|
|
<ubEnemyDropRate>15</ubEnemyDropRate>
|
|
<ubMilitiaDropRate>2</ubMilitiaDropRate>
|
|
</DROPITEM>
|
|
<!-- IC_Money -->
|
|
<!-- Money -->
|
|
<DROPITEM>
|
|
<uiIndex>12</uiIndex>
|
|
<usItemClass>536870912</usItemClass>
|
|
<ubEnemyDropRate>15</ubEnemyDropRate>
|
|
<ubMilitiaDropRate>2</ubMilitiaDropRate>
|
|
</DROPITEM>
|
|
</MISCDROPLIST> |