mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@431 4f8fa57e-7814-0410-bad4-adc449f26b7c
51 lines
1.6 KiB
XML
51 lines
1.6 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 armour class pointing to <ubArmourClass> in Armours.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
|
|
-->
|
|
<ARMOURDROPLIST>
|
|
<!-- ARMOURCLASS_HELMET -->
|
|
<DROPITEM>
|
|
<uiIndex>0</uiIndex>
|
|
<ubArmourClass>0</ubArmourClass>
|
|
<ubDropRate>15</ubDropRate>
|
|
</DROPITEM>
|
|
<!-- ARMOURCLASS_VEST -->
|
|
<DROPITEM>
|
|
<uiIndex>1</uiIndex>
|
|
<ubArmourClass>1</ubArmourClass>
|
|
<ubDropRate>15</ubDropRate>
|
|
</DROPITEM>
|
|
<!-- ARMOURCLASS_LEGGINGS -->
|
|
<DROPITEM>
|
|
<uiIndex>2</uiIndex>
|
|
<ubArmourClass>2</ubArmourClass>
|
|
<ubDropRate>15</ubDropRate>
|
|
</DROPITEM>
|
|
<!-- ARMOURCLASS_PLATE -->
|
|
<DROPITEM>
|
|
<uiIndex>3</uiIndex>
|
|
<ubArmourClass>3</ubArmourClass>
|
|
<ubDropRate>15</ubDropRate>
|
|
</DROPITEM>
|
|
<!-- ARMOURCLASS_MONST -->
|
|
<DROPITEM>
|
|
<uiIndex>4</uiIndex>
|
|
<ubArmourClass>4</ubArmourClass>
|
|
<ubDropRate>15</ubDropRate>
|
|
</DROPITEM>
|
|
<!-- ARMOURCLASS_VEHICLE -->
|
|
<DROPITEM>
|
|
<uiIndex>5</uiIndex>
|
|
<ubArmourClass>5</ubArmourClass>
|
|
<ubDropRate>15</ubDropRate>
|
|
</DROPITEM>
|
|
</ARMOURDROPLIST> |