mirror of
https://github.com/1dot13/gamedir.git
synced 2026-07-29 13:52:22 +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
90 lines
2.8 KiB
XML
90 lines
2.8 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 weapon type pointing to <ubWeaponType> in Weapons.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
|
|
-->
|
|
<WEAPONDROPLIST>
|
|
<!-- NOT_GUN -->
|
|
<!-- Laws -->
|
|
<DROPITEM>
|
|
<uiIndex>0</uiIndex>
|
|
<ubWeaponType>0</ubWeaponType>
|
|
<ubEnemyDropRate>15</ubEnemyDropRate>
|
|
<ubMilitiaDropRate>2</ubMilitiaDropRate>
|
|
</DROPITEM>
|
|
<!-- GUN_PISTOL -->
|
|
<!-- Pistols -->
|
|
<DROPITEM>
|
|
<uiIndex>1</uiIndex>
|
|
<ubWeaponType>1</ubWeaponType>
|
|
<ubEnemyDropRate>15</ubEnemyDropRate>
|
|
<ubMilitiaDropRate>2</ubMilitiaDropRate>
|
|
</DROPITEM>
|
|
<!-- GUN_M_PISTOL -->
|
|
<!-- Machine pistols -->
|
|
<DROPITEM>
|
|
<uiIndex>2</uiIndex>
|
|
<ubWeaponType>2</ubWeaponType>
|
|
<ubEnemyDropRate>15</ubEnemyDropRate>
|
|
<ubMilitiaDropRate>2</ubMilitiaDropRate>
|
|
</DROPITEM>
|
|
<!-- GUN_SMG -->
|
|
<!-- SMGs -->
|
|
<DROPITEM>
|
|
<uiIndex>3</uiIndex>
|
|
<ubWeaponType>3</ubWeaponType>
|
|
<ubEnemyDropRate>15</ubEnemyDropRate>
|
|
<ubMilitiaDropRate>2</ubMilitiaDropRate>
|
|
</DROPITEM>
|
|
<!-- GUN_RIFLE -->
|
|
<!-- Rifles -->
|
|
<DROPITEM>
|
|
<uiIndex>4</uiIndex>
|
|
<ubWeaponType>4</ubWeaponType>
|
|
<ubEnemyDropRate>15</ubEnemyDropRate>
|
|
<ubMilitiaDropRate>2</ubMilitiaDropRate>
|
|
</DROPITEM>
|
|
<!-- GUN_SN_RIFLE -->
|
|
<!-- Sniper rifles -->
|
|
<DROPITEM>
|
|
<uiIndex>5</uiIndex>
|
|
<ubWeaponType>5</ubWeaponType>
|
|
<ubEnemyDropRate>15</ubEnemyDropRate>
|
|
<ubMilitiaDropRate>2</ubMilitiaDropRate>
|
|
</DROPITEM>
|
|
<!-- GUN_AS_RIFLE -->
|
|
<!-- Assault rifles -->
|
|
<DROPITEM>
|
|
<uiIndex>6</uiIndex>
|
|
<ubWeaponType>6</ubWeaponType>
|
|
<ubEnemyDropRate>15</ubEnemyDropRate>
|
|
<ubMilitiaDropRate>2</ubMilitiaDropRate>
|
|
</DROPITEM>
|
|
<!-- GUN_LMG -->
|
|
<!-- LMGs -->
|
|
<DROPITEM>
|
|
<uiIndex>7</uiIndex>
|
|
<ubWeaponType>7</ubWeaponType>
|
|
<ubEnemyDropRate>15</ubEnemyDropRate>
|
|
<ubMilitiaDropRate>2</ubMilitiaDropRate>
|
|
</DROPITEM>
|
|
<!-- GUN_SHOTGUN -->
|
|
<!-- Shotguns -->
|
|
<DROPITEM>
|
|
<uiIndex>8</uiIndex>
|
|
<ubWeaponType>8</ubWeaponType>
|
|
<ubEnemyDropRate>15</ubEnemyDropRate>
|
|
<ubMilitiaDropRate>2</ubMilitiaDropRate>
|
|
</DROPITEM>
|
|
</WEAPONDROPLIST> |