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
97 lines
3.0 KiB
XML
97 lines
3.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 ammo type pointing to <uiIndex> in AmmoTypes.xml
|
|
- add additional <DROPITEM> for each new <AMMOTYPE> in AmmoTypes.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
|
|
-->
|
|
<AMMODROPLIST>
|
|
<DROPITEM>
|
|
<uiIndex>0</uiIndex>
|
|
<uiType>0</uiType>
|
|
<ubEnemyDropRate>50</ubEnemyDropRate>
|
|
<ubMilitiaDropRate>5</ubMilitiaDropRate>
|
|
</DROPITEM>
|
|
<DROPITEM>
|
|
<uiIndex>1</uiIndex>
|
|
<uiType>1</uiType>
|
|
<ubEnemyDropRate>50</ubEnemyDropRate>
|
|
<ubMilitiaDropRate>5</ubMilitiaDropRate>
|
|
</DROPITEM>
|
|
<DROPITEM>
|
|
<uiIndex>2</uiIndex>
|
|
<uiType>2</uiType>
|
|
<ubEnemyDropRate>50</ubEnemyDropRate>
|
|
<ubMilitiaDropRate>5</ubMilitiaDropRate>
|
|
</DROPITEM>
|
|
<DROPITEM>
|
|
<uiIndex>3</uiIndex>
|
|
<uiType>3</uiType>
|
|
<ubEnemyDropRate>50</ubEnemyDropRate>
|
|
<ubMilitiaDropRate>5</ubMilitiaDropRate>
|
|
</DROPITEM>
|
|
<DROPITEM>
|
|
<uiIndex>4</uiIndex>
|
|
<uiType>4</uiType>
|
|
<ubEnemyDropRate>50</ubEnemyDropRate>
|
|
<ubMilitiaDropRate>5</ubMilitiaDropRate>
|
|
</DROPITEM>
|
|
<DROPITEM>
|
|
<uiIndex>5</uiIndex>
|
|
<uiType>5</uiType>
|
|
<ubEnemyDropRate>50</ubEnemyDropRate>
|
|
<ubMilitiaDropRate>5</ubMilitiaDropRate>
|
|
</DROPITEM>
|
|
<DROPITEM>
|
|
<uiIndex>6</uiIndex>
|
|
<uiType>6</uiType>
|
|
<ubEnemyDropRate>50</ubEnemyDropRate>
|
|
<ubMilitiaDropRate>5</ubMilitiaDropRate>
|
|
</DROPITEM>
|
|
<DROPITEM>
|
|
<uiIndex>7</uiIndex>
|
|
<uiType>7</uiType>
|
|
<ubEnemyDropRate>50</ubEnemyDropRate>
|
|
<ubMilitiaDropRate>5</ubMilitiaDropRate>
|
|
</DROPITEM>
|
|
<DROPITEM>
|
|
<uiIndex>8</uiIndex>
|
|
<uiType>8</uiType>
|
|
<ubEnemyDropRate>50</ubEnemyDropRate>
|
|
<ubMilitiaDropRate>5</ubMilitiaDropRate>
|
|
</DROPITEM>
|
|
<DROPITEM>
|
|
<uiIndex>9</uiIndex>
|
|
<uiType>9</uiType>
|
|
<ubEnemyDropRate>50</ubEnemyDropRate>
|
|
<ubMilitiaDropRate>5</ubMilitiaDropRate>
|
|
</DROPITEM>
|
|
<DROPITEM>
|
|
<uiIndex>10</uiIndex>
|
|
<uiType>10</uiType>
|
|
<ubEnemyDropRate>50</ubEnemyDropRate>
|
|
<ubMilitiaDropRate>5</ubMilitiaDropRate>
|
|
</DROPITEM>
|
|
<DROPITEM>
|
|
<uiIndex>11</uiIndex>
|
|
<uiType>11</uiType>
|
|
<ubEnemyDropRate>50</ubEnemyDropRate>
|
|
<ubMilitiaDropRate>5</ubMilitiaDropRate>
|
|
</DROPITEM>
|
|
<DROPITEM>
|
|
<uiIndex>12</uiIndex>
|
|
<uiType>12</uiType>
|
|
<ubEnemyDropRate>50</ubEnemyDropRate>
|
|
<ubMilitiaDropRate>5</ubMilitiaDropRate>
|
|
</DROPITEM>
|
|
</AMMODROPLIST> |