mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
- Vehicle inventory
-> VEHICLE_INVENTORY = TRUE (Ja2_Options.ini)
- Bug fix: Vehicles sharing same animations
- Added additional enemy item drop system
-> New XML-Drop files (EnemyWeaponDrops.xml, ...)
-> Set ENEMIES_ITEM_DROP = 1 (Ja2_Options.ini) to use the new drop system
-> Disable "Enemies drop all items" to use the new drop system
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@430 4f8fa57e-7814-0410-bad4-adc449f26b7c
81 lines
2.1 KiB
XML
81 lines
2.1 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
|
|
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
|
|
-->
|
|
<AMMODROPLIST>
|
|
<DROPITEM>
|
|
<uiIndex>0</uiIndex>
|
|
<uiType>0</uiType>
|
|
<ubDropRate>50</ubDropRate>
|
|
</DROPITEM>
|
|
<DROPITEM>
|
|
<uiIndex>1</uiIndex>
|
|
<uiType>1</uiType>
|
|
<ubDropRate>50</ubDropRate>
|
|
</DROPITEM>
|
|
<DROPITEM>
|
|
<uiIndex>2</uiIndex>
|
|
<uiType>2</uiType>
|
|
<ubDropRate>50</ubDropRate>
|
|
</DROPITEM>
|
|
<DROPITEM>
|
|
<uiIndex>3</uiIndex>
|
|
<uiType>3</uiType>
|
|
<ubDropRate>50</ubDropRate>
|
|
</DROPITEM>
|
|
<DROPITEM>
|
|
<uiIndex>4</uiIndex>
|
|
<uiType>4</uiType>
|
|
<ubDropRate>50</ubDropRate>
|
|
</DROPITEM>
|
|
<DROPITEM>
|
|
<uiIndex>5</uiIndex>
|
|
<uiType>5</uiType>
|
|
<ubDropRate>50</ubDropRate>
|
|
</DROPITEM>
|
|
<DROPITEM>
|
|
<uiIndex>6</uiIndex>
|
|
<uiType>6</uiType>
|
|
<ubDropRate>50</ubDropRate>
|
|
</DROPITEM>
|
|
<DROPITEM>
|
|
<uiIndex>7</uiIndex>
|
|
<uiType>7</uiType>
|
|
<ubDropRate>50</ubDropRate>
|
|
</DROPITEM>
|
|
<DROPITEM>
|
|
<uiIndex>8</uiIndex>
|
|
<uiType>8</uiType>
|
|
<ubDropRate>50</ubDropRate>
|
|
</DROPITEM>
|
|
<DROPITEM>
|
|
<uiIndex>9</uiIndex>
|
|
<uiType>9</uiType>
|
|
<ubDropRate>50</ubDropRate>
|
|
</DROPITEM>
|
|
<DROPITEM>
|
|
<uiIndex>10</uiIndex>
|
|
<uiType>10</uiType>
|
|
<ubDropRate>50</ubDropRate>
|
|
</DROPITEM>
|
|
<DROPITEM>
|
|
<uiIndex>11</uiIndex>
|
|
<uiType>11</uiType>
|
|
<ubDropRate>50</ubDropRate>
|
|
</DROPITEM>
|
|
<DROPITEM>
|
|
<uiIndex>12</uiIndex>
|
|
<uiType>12</uiType>
|
|
<ubDropRate>50</ubDropRate>
|
|
</DROPITEM>
|
|
</AMMODROPLIST> |