From 6f6c4d746c630d1c023e229a13bba7556b9def57 Mon Sep 17 00:00:00 2001 From: Wanne Date: Sat, 26 Aug 2006 12:26:07 +0000 Subject: [PATCH] new exe (478): -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 --- .../Data-1.13/TableData/EnemyAmmoDrops.xml | 88 +++++++++----- .../Data-1.13/TableData/EnemyArmourDrops.xml | 31 +++-- .../TableData/EnemyExplosiveDrops.xml | 47 ++++++-- .../Data-1.13/TableData/EnemyMiscDrops.xml | 109 ++++++++++++++---- .../Data-1.13/TableData/EnemyWeaponDrops.xml | 43 +++++-- gamedir/Data/TableData/EnemyAmmoDrops.xml | 46 +++++--- gamedir/Data/TableData/EnemyArmourDrops.xml | 31 +++-- .../Data/TableData/EnemyExplosiveDrops.xml | 47 ++++++-- gamedir/Data/TableData/EnemyMiscDrops.xml | 109 ++++++++++++++---- gamedir/Data/TableData/EnemyWeaponDrops.xml | 43 +++++-- 10 files changed, 444 insertions(+), 150 deletions(-) diff --git a/gamedir/Data-1.13/TableData/EnemyAmmoDrops.xml b/gamedir/Data-1.13/TableData/EnemyAmmoDrops.xml index 219a71460..29cece7a5 100644 --- a/gamedir/Data-1.13/TableData/EnemyAmmoDrops.xml +++ b/gamedir/Data-1.13/TableData/EnemyAmmoDrops.xml @@ -8,144 +8,174 @@ Attribute Field Reference: uiIndex - the item index, number the items sequentially starting at 0 up to 199 uiType - the ammo type pointing to in AmmoTypes.xml - add additional for each new 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 + 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 (or militia) has this item in the inventory + - 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 --> 0 0 - 50 + 50 + 5 1 1 - 50 + 50 + 5 2 2 - 50 + 50 + 5 3 3 - 50 + 50 + 5 4 4 - 50 + 50 + 5 5 5 - 50 + 50 + 5 6 6 - 50 + 50 + 5 7 7 - 50 + 50 + 5 8 8 - 50 + 50 + 5 9 9 - 50 + 50 + 5 10 10 - 50 + 50 + 5 11 11 - 50 + 50 + 5 12 12 - 50 + 50 + 5 13 13 - 50 + 50 + 5 14 14 - 50 + 50 + 5 15 15 - 50 + 50 + 5 16 16 - 50 + 50 + 5 17 17 - 50 + 50 + 5 18 18 - 50 + 50 + 5 19 19 - 50 + 50 + 5 20 20 - 50 + 50 + 5 21 21 - 50 + 50 + 5 22 22 - 50 + 50 + 5 23 23 - 50 + 50 + 5 24 24 - 50 + 50 + 5 25 25 - 50 + 50 + 5 26 26 - 50 + 50 + 5 \ No newline at end of file diff --git a/gamedir/Data-1.13/TableData/EnemyArmourDrops.xml b/gamedir/Data-1.13/TableData/EnemyArmourDrops.xml index 558bcff35..849fc4d04 100644 --- a/gamedir/Data-1.13/TableData/EnemyArmourDrops.xml +++ b/gamedir/Data-1.13/TableData/EnemyArmourDrops.xml @@ -7,45 +7,60 @@ Attribute Field Reference: uiIndex - the item index, number the items sequentially starting at 0 up to 199 uiType - the armour class pointing to 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 + 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 (or militia) has this item in the inventory + - 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 --> + 0 0 - 15 + 15 + 2 + 1 1 - 15 + 15 + 2 + 2 2 - 15 + 15 + 2 + 3 3 - 15 + 15 + 2 + 4 4 - 15 + 0 + 0 + 5 5 - 15 + 0 + 0 \ No newline at end of file diff --git a/gamedir/Data-1.13/TableData/EnemyExplosiveDrops.xml b/gamedir/Data-1.13/TableData/EnemyExplosiveDrops.xml index 9e56ff7ad..4ca5dd4e6 100644 --- a/gamedir/Data-1.13/TableData/EnemyExplosiveDrops.xml +++ b/gamedir/Data-1.13/TableData/EnemyExplosiveDrops.xml @@ -7,69 +7,92 @@ Attribute Field Reference: uiIndex - the item index, number the items sequentially starting at 0 up to 199 uiType - the explosive type pointing to 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 + 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 (or militia) has this item in the inventory + - 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 --> + 0 0 - 25 + 25 + 3 + 1 1 - 25 + 25 + 3 + 2 2 - 25 + 25 + 3 + 3 3 - 25 + 25 + 3 + 4 4 - 25 + 25 + 3 + 5 5 - 25 + 25 + 3 + 6 6 - 25 + 25 + 3 + 7 7 - 25 + 0 + 0 + 8 8 - 25 + 25 + 3 + 9 9 - 25 + 25 + 3 \ No newline at end of file diff --git a/gamedir/Data-1.13/TableData/EnemyMiscDrops.xml b/gamedir/Data-1.13/TableData/EnemyMiscDrops.xml index b2846aefe..3e71db6ab 100644 --- a/gamedir/Data-1.13/TableData/EnemyMiscDrops.xml +++ b/gamedir/Data-1.13/TableData/EnemyMiscDrops.xml @@ -7,51 +7,116 @@ Attribute Field Reference: uiIndex - the item index, number the items sequentially starting at 0 up to 199 uiType - the misc item class pointing to 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 + 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 (or militia) has this item in the inventory + - 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 --> - + + 0 - 4096 - 15 + 4 + 15 + 2 - + + 1 - 8192 - 15 + 8 + 15 + 2 - + + 2 - 16384 - 15 + 16 + 15 + 2 - + + 3 - 32768 - 15 + 32 + 15 + 2 - + + 4 - 65536 - 15 + 64 + 15 + 2 - + + 5 - 268435456 - 15 + 128 + 15 + 2 - + + 6 + 4096 + 15 + 2 + + + + + 7 + 8192 + 15 + 2 + + + + + 8 + 16384 + 0 + 0 + + + + + 9 + 32768 + 15 + 2 + + + + + 10 + 65536 + 50 + 2 + + + + + 11 + 268435456 + 15 + 2 + + + + + 12 536870912 - 15 + 15 + 2 \ No newline at end of file diff --git a/gamedir/Data-1.13/TableData/EnemyWeaponDrops.xml b/gamedir/Data-1.13/TableData/EnemyWeaponDrops.xml index 1bf4a0ee1..51bc286d9 100644 --- a/gamedir/Data-1.13/TableData/EnemyWeaponDrops.xml +++ b/gamedir/Data-1.13/TableData/EnemyWeaponDrops.xml @@ -7,63 +7,84 @@ Attribute Field Reference: uiIndex - the item index, number the items sequentially starting at 0 up to 199 uiType - the weapon type pointing to 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 + 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 (or militia) has this item in the inventory + - 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 --> + 0 0 - 15 + 15 + 2 + 1 1 - 15 + 15 + 2 + 2 2 - 15 + 15 + 2 + 3 3 - 15 + 15 + 2 + 4 4 - 15 + 15 + 2 + 5 5 - 15 + 15 + 2 + 6 6 - 15 + 15 + 2 + 7 7 - 15 + 15 + 2 + 8 8 - 15 + 15 + 2 \ No newline at end of file diff --git a/gamedir/Data/TableData/EnemyAmmoDrops.xml b/gamedir/Data/TableData/EnemyAmmoDrops.xml index 4ac2abaaf..cea8f781c 100644 --- a/gamedir/Data/TableData/EnemyAmmoDrops.xml +++ b/gamedir/Data/TableData/EnemyAmmoDrops.xml @@ -8,74 +8,90 @@ Attribute Field Reference: uiIndex - the item index, number the items sequentially starting at 0 up to 199 uiType - the ammo type pointing to in AmmoTypes.xml - add additional for each new 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 + 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 (or militia) has this item in the inventory + - 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 --> 0 0 - 50 + 50 + 5 1 1 - 50 + 50 + 5 2 2 - 50 + 50 + 5 3 3 - 50 + 50 + 5 4 4 - 50 + 50 + 5 5 5 - 50 + 50 + 5 6 6 - 50 + 50 + 5 7 7 - 50 + 50 + 5 8 8 - 50 + 50 + 5 9 9 - 50 + 50 + 5 10 10 - 50 + 50 + 5 11 11 - 50 + 50 + 5 12 12 - 50 + 50 + 5 \ No newline at end of file diff --git a/gamedir/Data/TableData/EnemyArmourDrops.xml b/gamedir/Data/TableData/EnemyArmourDrops.xml index 558bcff35..849fc4d04 100644 --- a/gamedir/Data/TableData/EnemyArmourDrops.xml +++ b/gamedir/Data/TableData/EnemyArmourDrops.xml @@ -7,45 +7,60 @@ Attribute Field Reference: uiIndex - the item index, number the items sequentially starting at 0 up to 199 uiType - the armour class pointing to 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 + 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 (or militia) has this item in the inventory + - 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 --> + 0 0 - 15 + 15 + 2 + 1 1 - 15 + 15 + 2 + 2 2 - 15 + 15 + 2 + 3 3 - 15 + 15 + 2 + 4 4 - 15 + 0 + 0 + 5 5 - 15 + 0 + 0 \ No newline at end of file diff --git a/gamedir/Data/TableData/EnemyExplosiveDrops.xml b/gamedir/Data/TableData/EnemyExplosiveDrops.xml index 9e56ff7ad..4ca5dd4e6 100644 --- a/gamedir/Data/TableData/EnemyExplosiveDrops.xml +++ b/gamedir/Data/TableData/EnemyExplosiveDrops.xml @@ -7,69 +7,92 @@ Attribute Field Reference: uiIndex - the item index, number the items sequentially starting at 0 up to 199 uiType - the explosive type pointing to 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 + 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 (or militia) has this item in the inventory + - 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 --> + 0 0 - 25 + 25 + 3 + 1 1 - 25 + 25 + 3 + 2 2 - 25 + 25 + 3 + 3 3 - 25 + 25 + 3 + 4 4 - 25 + 25 + 3 + 5 5 - 25 + 25 + 3 + 6 6 - 25 + 25 + 3 + 7 7 - 25 + 0 + 0 + 8 8 - 25 + 25 + 3 + 9 9 - 25 + 25 + 3 \ No newline at end of file diff --git a/gamedir/Data/TableData/EnemyMiscDrops.xml b/gamedir/Data/TableData/EnemyMiscDrops.xml index b2846aefe..3e71db6ab 100644 --- a/gamedir/Data/TableData/EnemyMiscDrops.xml +++ b/gamedir/Data/TableData/EnemyMiscDrops.xml @@ -7,51 +7,116 @@ Attribute Field Reference: uiIndex - the item index, number the items sequentially starting at 0 up to 199 uiType - the misc item class pointing to 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 + 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 (or militia) has this item in the inventory + - 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 --> - + + 0 - 4096 - 15 + 4 + 15 + 2 - + + 1 - 8192 - 15 + 8 + 15 + 2 - + + 2 - 16384 - 15 + 16 + 15 + 2 - + + 3 - 32768 - 15 + 32 + 15 + 2 - + + 4 - 65536 - 15 + 64 + 15 + 2 - + + 5 - 268435456 - 15 + 128 + 15 + 2 - + + 6 + 4096 + 15 + 2 + + + + + 7 + 8192 + 15 + 2 + + + + + 8 + 16384 + 0 + 0 + + + + + 9 + 32768 + 15 + 2 + + + + + 10 + 65536 + 50 + 2 + + + + + 11 + 268435456 + 15 + 2 + + + + + 12 536870912 - 15 + 15 + 2 \ No newline at end of file diff --git a/gamedir/Data/TableData/EnemyWeaponDrops.xml b/gamedir/Data/TableData/EnemyWeaponDrops.xml index 1bf4a0ee1..51bc286d9 100644 --- a/gamedir/Data/TableData/EnemyWeaponDrops.xml +++ b/gamedir/Data/TableData/EnemyWeaponDrops.xml @@ -7,63 +7,84 @@ Attribute Field Reference: uiIndex - the item index, number the items sequentially starting at 0 up to 199 uiType - the weapon type pointing to 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 + 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 (or militia) has this item in the inventory + - 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 --> + 0 0 - 15 + 15 + 2 + 1 1 - 15 + 15 + 2 + 2 2 - 15 + 15 + 2 + 3 3 - 15 + 15 + 2 + 4 4 - 15 + 15 + 2 + 5 5 - 15 + 15 + 2 + 6 6 - 15 + 15 + 2 + 7 7 - 15 + 15 + 2 + 8 8 - 15 + 15 + 2 \ No newline at end of file