new new exe (466):

- 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
This commit is contained in:
Wanne
2006-08-25 08:31:51 +00:00
parent ca18e3defc
commit 6fd1a85b00
15 changed files with 700 additions and 0 deletions
+17
View File
@@ -53,6 +53,23 @@ EXPERT_CASH = 30000
INSANE_CASH = 15000
;******************************************************************************************************************************
; 0 = Use default drop item system for enemies (militia).
; 1 = Use the new drop item system from XML-Files (EnemyWeaponDrops.xml, EnemyAmmoDrops.xml, EnemyArmourDrops.xml,
; EnemyExplosiveDrops.xml, EnemyMiscDrops.xml) for enemies (and militia). You also have to disable "Enemies drop all items" in the
; option screen, to use the new drop system
;******************************************************************************************************************************
ENEMIES_ITEM_DROP = 1
;******************************************************************************************************************************
; Vehicle Inventory
;******************************************************************************************************************************
VEHICLE_INVENTORY = TRUE
;******************************************************************************************************************************
; Assignment Settings:
; The following settings control various rates/speeds/effectiveness
+81
View File
@@ -0,0 +1,81 @@
<!--
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>
+51
View File
@@ -0,0 +1,51 @@
<!--
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>50</ubDropRate>
</DROPITEM>
<!-- ARMOURCLASS_VEST -->
<DROPITEM>
<uiIndex>1</uiIndex>
<ubArmourClass>1</ubArmourClass>
<ubDropRate>50</ubDropRate>
</DROPITEM>
<!-- ARMOURCLASS_LEGGINGS -->
<DROPITEM>
<uiIndex>2</uiIndex>
<ubArmourClass>2</ubArmourClass>
<ubDropRate>50</ubDropRate>
</DROPITEM>
<!-- ARMOURCLASS_PLATE -->
<DROPITEM>
<uiIndex>3</uiIndex>
<ubArmourClass>3</ubArmourClass>
<ubDropRate>50</ubDropRate>
</DROPITEM>
<!-- ARMOURCLASS_MONST -->
<DROPITEM>
<uiIndex>4</uiIndex>
<ubArmourClass>4</ubArmourClass>
<ubDropRate>50</ubDropRate>
</DROPITEM>
<!-- ARMOURCLASS_VEHICLE -->
<DROPITEM>
<uiIndex>5</uiIndex>
<ubArmourClass>5</ubArmourClass>
<ubDropRate>50</ubDropRate>
</DROPITEM>
</ARMOURDROPLIST>
@@ -0,0 +1,75 @@
<!--
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 explosive type pointing to <ubType> in Explosives.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
-->
<EXPLOSIVEDROPLIST>
<!-- EXPLOSV_NORMAL -->
<DROPITEM>
<uiIndex>0</uiIndex>
<ubType>0</ubType>
<ubDropRate>50</ubDropRate>
</DROPITEM>
<!-- EXPLOSV_STUN -->
<DROPITEM>
<uiIndex>1</uiIndex>
<ubType>1</ubType>
<ubDropRate>50</ubDropRate>
</DROPITEM>
<!-- EXPLOSV_TEARGAS -->
<DROPITEM>
<uiIndex>2</uiIndex>
<ubType>2</ubType>
<ubDropRate>50</ubDropRate>
</DROPITEM>
<!-- EXPLOSV_MUSTGAS -->
<DROPITEM>
<uiIndex>3</uiIndex>
<ubType>3</ubType>
<ubDropRate>50</ubDropRate>
</DROPITEM>
<!-- EXPLOSV_FLARE -->
<DROPITEM>
<uiIndex>4</uiIndex>
<ubType>4</ubType>
<ubDropRate>50</ubDropRate>
</DROPITEM>
<!-- EXPLOSV_NOISE -->
<DROPITEM>
<uiIndex>5</uiIndex>
<ubType>5</ubType>
<ubDropRate>50</ubDropRate>
</DROPITEM>
<!-- EXPLOSV_SMOKE -->
<DROPITEM>
<uiIndex>6</uiIndex>
<ubType>6</ubType>
<ubDropRate>50</ubDropRate>
</DROPITEM>
<!-- EXPLOSV_CREATUREGAS -->
<DROPITEM>
<uiIndex>7</uiIndex>
<ubType>7</ubType>
<ubDropRate>50</ubDropRate>
</DROPITEM>
<!-- EXPLOSV_BURNABLEGAS -->
<DROPITEM>
<uiIndex>8</uiIndex>
<ubType>8</ubType>
<ubDropRate>50</ubDropRate>
</DROPITEM>
<!-- EXPLOSV_FLASHBANG -->
<DROPITEM>
<uiIndex>9</uiIndex>
<ubType>9</ubType>
<ubDropRate>50</ubDropRate>
</DROPITEM>
</EXPLOSIVEDROPLIST>
+57
View File
@@ -0,0 +1,57 @@
<!--
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
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
-->
<MISCDROPLIST>
<!-- IC_MEDKIT -->
<DROPITEM>
<uiIndex>0</uiIndex>
<usItemClass>4096</usItemClass>
<ubDropRate>50</ubDropRate>
</DROPITEM>
<!-- IC_KIT -->
<DROPITEM>
<uiIndex>1</uiIndex>
<usItemClass>8192</usItemClass>
<ubDropRate>50</ubDropRate>
</DROPITEM>
<!-- IC_APPLIABLE -->
<DROPITEM>
<uiIndex>2</uiIndex>
<usItemClass>16384</usItemClass>
<ubDropRate>50</ubDropRate>
</DROPITEM>
<!-- IC_FACE -->
<DROPITEM>
<uiIndex>3</uiIndex>
<usItemClass>32768</usItemClass>
<ubDropRate>50</ubDropRate>
</DROPITEM>
<!-- IC_KEY -->
<DROPITEM>
<uiIndex>4</uiIndex>
<usItemClass>65536</usItemClass>
<ubDropRate>50</ubDropRate>
</DROPITEM>
<!-- IC_MISC -->
<DROPITEM>
<uiIndex>5</uiIndex>
<usItemClass>268435456</usItemClass>
<ubDropRate>50</ubDropRate>
</DROPITEM>
<!-- IC_Money -->
<DROPITEM>
<uiIndex>6</uiIndex>
<usItemClass>536870912</usItemClass>
<ubDropRate>50</ubDropRate>
</DROPITEM>
</MISCDROPLIST>
+69
View File
@@ -0,0 +1,69 @@
<!--
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
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
-->
<WEAPONDROPLIST>
<!-- NOT_GUN -->
<DROPITEM>
<uiIndex>0</uiIndex>
<ubWeaponType>0</ubWeaponType>
<ubDropRate>50</ubDropRate>
</DROPITEM>
<!-- GUN_PISTOL -->
<DROPITEM>
<uiIndex>1</uiIndex>
<ubWeaponType>1</ubWeaponType>
<ubDropRate>50</ubDropRate>
</DROPITEM>
<!-- GUN_M_PISTOL -->
<DROPITEM>
<uiIndex>2</uiIndex>
<ubWeaponType>2</ubWeaponType>
<ubDropRate>50</ubDropRate>
</DROPITEM>
<!-- GUN_SMG -->
<DROPITEM>
<uiIndex>3</uiIndex>
<ubWeaponType>3</ubWeaponType>
<ubDropRate>50</ubDropRate>
</DROPITEM>
<!-- GUN_RIFLE -->
<DROPITEM>
<uiIndex>4</uiIndex>
<ubWeaponType>4</ubWeaponType>
<ubDropRate>50</ubDropRate>
</DROPITEM>
<!-- GUN_SN_RIFLE -->
<DROPITEM>
<uiIndex>5</uiIndex>
<ubWeaponType>5</ubWeaponType>
<ubDropRate>50</ubDropRate>
</DROPITEM>
<!-- GUN_AS_RIFLE -->
<DROPITEM>
<uiIndex>6</uiIndex>
<ubWeaponType>6</ubWeaponType>
<ubDropRate>50</ubDropRate>
</DROPITEM>
<!-- GUN_LMG -->
<DROPITEM>
<uiIndex>7</uiIndex>
<ubWeaponType>7</ubWeaponType>
<ubDropRate>50</ubDropRate>
</DROPITEM>
<!-- GUN_SHOTGUN -->
<DROPITEM>
<uiIndex>8</uiIndex>
<ubWeaponType>8</ubWeaponType>
<ubDropRate>50</ubDropRate>
</DROPITEM>
</WEAPONDROPLIST>
Binary file not shown.
Binary file not shown.
+17
View File
@@ -53,6 +53,23 @@ EXPERT_CASH = 30000
INSANE_CASH = 15000
;******************************************************************************************************************************
; 0 = Use default drop item system for enemies (militia).
; 1 = Use the new drop item system from XML-Files (EnemyWeaponDrops.xml, EnemyAmmoDrops.xml, EnemyArmourDrops.xml,
; EnemyExplosiveDrops.xml, EnemyMiscDrops.xml) for enemies (and militia). You also have to disable "Enemies drop all items" in the
; option screen, to use the new drop system
;******************************************************************************************************************************
ENEMIES_ITEM_DROP = 0
;******************************************************************************************************************************
; Vehicle Inventory
;******************************************************************************************************************************
VEHICLE_INVENTORY = FALSE
;******************************************************************************************************************************
; Assignment Settings:
; The following settings control various rates/speeds/effectiveness
+81
View File
@@ -0,0 +1,81 @@
<!--
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>
+51
View File
@@ -0,0 +1,51 @@
<!--
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>50</ubDropRate>
</DROPITEM>
<!-- ARMOURCLASS_VEST -->
<DROPITEM>
<uiIndex>1</uiIndex>
<ubArmourClass>1</ubArmourClass>
<ubDropRate>50</ubDropRate>
</DROPITEM>
<!-- ARMOURCLASS_LEGGINGS -->
<DROPITEM>
<uiIndex>2</uiIndex>
<ubArmourClass>2</ubArmourClass>
<ubDropRate>50</ubDropRate>
</DROPITEM>
<!-- ARMOURCLASS_PLATE -->
<DROPITEM>
<uiIndex>3</uiIndex>
<ubArmourClass>3</ubArmourClass>
<ubDropRate>50</ubDropRate>
</DROPITEM>
<!-- ARMOURCLASS_MONST -->
<DROPITEM>
<uiIndex>4</uiIndex>
<ubArmourClass>4</ubArmourClass>
<ubDropRate>50</ubDropRate>
</DROPITEM>
<!-- ARMOURCLASS_VEHICLE -->
<DROPITEM>
<uiIndex>5</uiIndex>
<ubArmourClass>5</ubArmourClass>
<ubDropRate>50</ubDropRate>
</DROPITEM>
</ARMOURDROPLIST>
+75
View File
@@ -0,0 +1,75 @@
<!--
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 explosive type pointing to <ubType> in Explosives.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
-->
<EXPLOSIVEDROPLIST>
<!-- EXPLOSV_NORMAL -->
<DROPITEM>
<uiIndex>0</uiIndex>
<ubType>0</ubType>
<ubDropRate>50</ubDropRate>
</DROPITEM>
<!-- EXPLOSV_STUN -->
<DROPITEM>
<uiIndex>1</uiIndex>
<ubType>1</ubType>
<ubDropRate>50</ubDropRate>
</DROPITEM>
<!-- EXPLOSV_TEARGAS -->
<DROPITEM>
<uiIndex>2</uiIndex>
<ubType>2</ubType>
<ubDropRate>50</ubDropRate>
</DROPITEM>
<!-- EXPLOSV_MUSTGAS -->
<DROPITEM>
<uiIndex>3</uiIndex>
<ubType>3</ubType>
<ubDropRate>50</ubDropRate>
</DROPITEM>
<!-- EXPLOSV_FLARE -->
<DROPITEM>
<uiIndex>4</uiIndex>
<ubType>4</ubType>
<ubDropRate>50</ubDropRate>
</DROPITEM>
<!-- EXPLOSV_NOISE -->
<DROPITEM>
<uiIndex>5</uiIndex>
<ubType>5</ubType>
<ubDropRate>50</ubDropRate>
</DROPITEM>
<!-- EXPLOSV_SMOKE -->
<DROPITEM>
<uiIndex>6</uiIndex>
<ubType>6</ubType>
<ubDropRate>50</ubDropRate>
</DROPITEM>
<!-- EXPLOSV_CREATUREGAS -->
<DROPITEM>
<uiIndex>7</uiIndex>
<ubType>7</ubType>
<ubDropRate>50</ubDropRate>
</DROPITEM>
<!-- EXPLOSV_BURNABLEGAS -->
<DROPITEM>
<uiIndex>8</uiIndex>
<ubType>8</ubType>
<ubDropRate>50</ubDropRate>
</DROPITEM>
<!-- EXPLOSV_FLASHBANG -->
<DROPITEM>
<uiIndex>9</uiIndex>
<ubType>9</ubType>
<ubDropRate>50</ubDropRate>
</DROPITEM>
</EXPLOSIVEDROPLIST>
+57
View File
@@ -0,0 +1,57 @@
<!--
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
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
-->
<MISCDROPLIST>
<!-- IC_MEDKIT -->
<DROPITEM>
<uiIndex>0</uiIndex>
<usItemClass>4096</usItemClass>
<ubDropRate>50</ubDropRate>
</DROPITEM>
<!-- IC_KIT -->
<DROPITEM>
<uiIndex>1</uiIndex>
<usItemClass>8192</usItemClass>
<ubDropRate>50</ubDropRate>
</DROPITEM>
<!-- IC_APPLIABLE -->
<DROPITEM>
<uiIndex>2</uiIndex>
<usItemClass>16384</usItemClass>
<ubDropRate>50</ubDropRate>
</DROPITEM>
<!-- IC_FACE -->
<DROPITEM>
<uiIndex>3</uiIndex>
<usItemClass>32768</usItemClass>
<ubDropRate>50</ubDropRate>
</DROPITEM>
<!-- IC_KEY -->
<DROPITEM>
<uiIndex>4</uiIndex>
<usItemClass>65536</usItemClass>
<ubDropRate>50</ubDropRate>
</DROPITEM>
<!-- IC_MISC -->
<DROPITEM>
<uiIndex>5</uiIndex>
<usItemClass>268435456</usItemClass>
<ubDropRate>50</ubDropRate>
</DROPITEM>
<!-- IC_Money -->
<DROPITEM>
<uiIndex>6</uiIndex>
<usItemClass>536870912</usItemClass>
<ubDropRate>50</ubDropRate>
</DROPITEM>
</MISCDROPLIST>
+69
View File
@@ -0,0 +1,69 @@
<!--
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
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
-->
<WEAPONDROPLIST>
<!-- NOT_GUN -->
<DROPITEM>
<uiIndex>0</uiIndex>
<ubWeaponType>0</ubWeaponType>
<ubDropRate>50</ubDropRate>
</DROPITEM>
<!-- GUN_PISTOL -->
<DROPITEM>
<uiIndex>1</uiIndex>
<ubWeaponType>1</ubWeaponType>
<ubDropRate>50</ubDropRate>
</DROPITEM>
<!-- GUN_M_PISTOL -->
<DROPITEM>
<uiIndex>2</uiIndex>
<ubWeaponType>2</ubWeaponType>
<ubDropRate>50</ubDropRate>
</DROPITEM>
<!-- GUN_SMG -->
<DROPITEM>
<uiIndex>3</uiIndex>
<ubWeaponType>3</ubWeaponType>
<ubDropRate>50</ubDropRate>
</DROPITEM>
<!-- GUN_RIFLE -->
<DROPITEM>
<uiIndex>4</uiIndex>
<ubWeaponType>4</ubWeaponType>
<ubDropRate>50</ubDropRate>
</DROPITEM>
<!-- GUN_SN_RIFLE -->
<DROPITEM>
<uiIndex>5</uiIndex>
<ubWeaponType>5</ubWeaponType>
<ubDropRate>50</ubDropRate>
</DROPITEM>
<!-- GUN_AS_RIFLE -->
<DROPITEM>
<uiIndex>6</uiIndex>
<ubWeaponType>6</ubWeaponType>
<ubDropRate>50</ubDropRate>
</DROPITEM>
<!-- GUN_LMG -->
<DROPITEM>
<uiIndex>7</uiIndex>
<ubWeaponType>7</ubWeaponType>
<ubDropRate>50</ubDropRate>
</DROPITEM>
<!-- GUN_SHOTGUN -->
<DROPITEM>
<uiIndex>8</uiIndex>
<ubWeaponType>8</ubWeaponType>
<ubDropRate>50</ubDropRate>
</DROPITEM>
</WEAPONDROPLIST>
BIN
View File
Binary file not shown.