From 9958807f54be5a2f6e6e3e39a4aed7d419509d0d Mon Sep 17 00:00:00 2001 From: Flugente Date: Sat, 6 Oct 2018 17:54:01 +0000 Subject: [PATCH] Ammo colour in AmmoTypes.xml is now set using // tags instead of ///. For more information, see http://thepit.ja-galaxy-forum.com/index.php?t=msg&th=20659&goto=355255&#msg_355255 git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2449 4f8fa57e-7814-0410-bad4-adc449f26b7c --- .../Data-1.13/TableData/Items/AmmoTypes.xml | 246 ++++++++---------- gamedir/Data/TableData/Items/AmmoTypes.xml | 197 ++++++-------- 2 files changed, 191 insertions(+), 252 deletions(-) diff --git a/gamedir/Data-1.13/TableData/Items/AmmoTypes.xml b/gamedir/Data-1.13/TableData/Items/AmmoTypes.xml index a67e8754e..178de865a 100644 --- a/gamedir/Data-1.13/TableData/Items/AmmoTypes.xml +++ b/gamedir/Data-1.13/TableData/Items/AmmoTypes.xml @@ -3,11 +3,11 @@ This xml defines the properties of different ammo types. ammotype number. Referred to with in Magazines.xml - Colour used when displaying ammo count, taken from FONTS\\TINYFONT1.sti - determines what picture to use for the ammo button (no, this doesn't make a lot of sense) - - + RGB colour values (0-255) when displaying ammo count + + + / modifies how much bullet damage is reduced when hitting a structure. @@ -56,10 +56,9 @@ 0 Ball - 136 - 4 - 1 - 3 + 137 + 137 + 137 1 1 1 @@ -97,10 +96,9 @@ 1 HP - 24 - 12 - 9 - 11 + 57 + 79 + 225 2 1 3 @@ -138,10 +136,9 @@ 2 AP/FMJ - 218 - 8 - 5 - 7 + 178 + 15 + 15 1 2 3 @@ -179,10 +176,9 @@ 3 SAP - 163 - 8 - 5 - 7 + 255 + 0 + 0 1 2 1 @@ -220,10 +216,9 @@ 4 Buckshot - 125 - 4 - 1 - 3 + 190 + 157 + 103 1 1 1 @@ -261,10 +256,9 @@ 5 Flechette - 218 - 8 - 5 - 7 + 178 + 15 + 15 4 5 4 @@ -302,10 +296,9 @@ 6 Grenade - 75 - 4 - 1 - 3 + 255 + 206 + 30 1 1 1 @@ -343,10 +336,9 @@ 7 Monster - 136 - 4 - 1 - 3 + 137 + 137 + 137 1 1 1 @@ -384,10 +376,9 @@ 8 Knife - 136 - 4 - 1 - 3 + 137 + 137 + 137 1 1 1 @@ -425,10 +416,9 @@ 9 HE - 75 - 4 - 1 - 3 + 255 + 206 + 30 1 1 1 @@ -466,10 +456,9 @@ 10 HEAT - 76 - 4 - 1 - 3 + 240 + 116 + 45 3 4 3 @@ -507,10 +496,9 @@ 11 Dart - 136 - 4 - 1 - 3 + 137 + 137 + 137 1 1 1 @@ -548,10 +536,9 @@ 12 Flame - 136 - 4 - 1 - 3 + 137 + 137 + 137 1 1 1 @@ -589,10 +576,9 @@ 13 AET - 160 - 8 - 25 - 27 + 195 + 0 + 193 3 4 3 @@ -630,10 +616,9 @@ 14 Glaser - 185 - 12 - 21 - 23 + 0 + 121 + 0 4 1 3 @@ -671,10 +656,9 @@ 15 Tracer Ball - 144 - 4 - 17 - 19 + 255 + 215 + 63 1 1 1 @@ -712,10 +696,9 @@ 16 Tracer FMJ - 144 - 4 - 17 - 19 + 255 + 215 + 63 1 2 3 @@ -753,10 +736,9 @@ 17 Match Ball - 133 - 4 - 13 - 15 + 217 + 217 + 217 1 1 1 @@ -794,10 +776,9 @@ 18 Match FMJ - 133 - 4 - 13 - 15 + 217 + 217 + 217 1 2 3 @@ -835,10 +816,9 @@ 19 Cold Ball - 135 - 4 - 1 - 3 + 164 + 164 + 164 1 1 1 @@ -876,10 +856,9 @@ 20 Cold HP - 71 - 12 - 9 - 11 + 17 + 178 + 216 2 1 3 @@ -917,10 +896,9 @@ 21 Cold AP/FMJ - 161 - 8 - 5 - 7 + 255 + 129 + 129 3 4 3 @@ -958,10 +936,9 @@ 22 Cold SAP - 163 - 8 - 5 - 7 + 255 + 0 + 0 1 2 1 @@ -999,10 +976,9 @@ 23 Cold Glaser Ball - 184 - 12 - 21 - 23 + 0 + 206 + 0 4 1 3 @@ -1040,10 +1016,9 @@ 24 Cold Glaser FMJ - 184 - 12 - 21 - 23 + 0 + 206 + 0 4 1 3 @@ -1081,10 +1056,9 @@ 25 Lock Buster - 133 - 4 - 13 - 15 + 217 + 217 + 217 1 1 1 @@ -1122,10 +1096,9 @@ 26 Depleted Uranium - 186 - 8 - 21 - 23 + 0 + 72 + 0 1 4 1 @@ -1163,10 +1136,9 @@ 27 Duplex Ball - 136 - 4 - 1 - 3 + 137 + 137 + 137 1 1 1 @@ -1204,10 +1176,9 @@ 28 HP Solid - 160 - 8 - 25 - 27 + 195 + 0 + 193 9 10 9 @@ -1245,10 +1216,9 @@ 29 Neurotoxin Dart - 186 - 4 - 1 - 3 + 0 + 72 + 0 1 1 1 @@ -1285,10 +1255,9 @@ 30 Pepper Spray - 166 - 4 - 1 - 3 + 104 + 0 + 0 0 1 0 @@ -1326,10 +1295,9 @@ 31 SAP, anti-material - 163 - 8 - 5 - 7 + 255 + 0 + 0 1 2 1 @@ -1367,10 +1335,9 @@ 32 Rubber - 155 - 4 - 1 - 3 + 140 + 213 + 0 5 1 5 @@ -1408,10 +1375,9 @@ 33 Cryo - 134 - 4 - 1 - 3 + 190 + 190 + 190 1 1 1 diff --git a/gamedir/Data/TableData/Items/AmmoTypes.xml b/gamedir/Data/TableData/Items/AmmoTypes.xml index 75432cc29..fe1febe48 100644 --- a/gamedir/Data/TableData/Items/AmmoTypes.xml +++ b/gamedir/Data/TableData/Items/AmmoTypes.xml @@ -3,11 +3,11 @@ This xml defines the properties of different ammo types. ammotype number. Referred to with in Magazines.xml - Colour used when displaying ammo count, taken from FONTS\\TINYFONT1.sti - determines what picture to use for the ammo button (no, this doesn't make a lot of sense) - - + RGB colour values (0-255) when displaying ammo count + + + / modifies how much bullet damage is reduced when hitting a structure. @@ -56,10 +56,9 @@ 0 Ball - 136 - 4 - 1 - 3 + 137 + 137 + 137 1 1 1 @@ -97,10 +96,9 @@ 1 HP - 24 - 12 - 9 - 11 + 57 + 79 + 225 2 1 3 @@ -138,10 +136,9 @@ 2 AP/FMJ - 218 - 8 - 5 - 7 + 178 + 15 + 15 3 4 3 @@ -179,10 +176,9 @@ 3 SAP - 163 - 8 - 5 - 7 + 255 + 0 + 0 1 2 1 @@ -220,10 +216,9 @@ 4 Buckshot - 125 - 4 - 1 - 3 + 190 + 157 + 103 1 1 1 @@ -261,10 +256,9 @@ 5 Flechette - 218 - 8 - 5 - 7 + 178 + 15 + 15 4 5 4 @@ -302,10 +296,9 @@ 6 Grenade - 75 - 4 - 1 - 3 + 255 + 206 + 30 1 1 1 @@ -343,10 +336,9 @@ 7 Monster - 136 - 4 - 1 - 3 + 137 + 137 + 137 1 1 1 @@ -384,10 +376,9 @@ 8 Knife - 136 - 4 - 1 - 3 + 137 + 137 + 137 1 1 1 @@ -425,10 +416,9 @@ 9 HE - 75 - 4 - 1 - 3 + 255 + 206 + 30 1 1 1 @@ -466,10 +456,9 @@ 10 HEAT - 76 - 4 - 1 - 3 + 240 + 116 + 45 3 4 3 @@ -507,10 +496,9 @@ 11 Dart - 136 - 4 - 1 - 3 + 137 + 137 + 137 1 1 1 @@ -548,10 +536,9 @@ 12 Flame - 136 - 4 - 1 - 3 + 137 + 137 + 137 1 1 1 @@ -589,10 +576,9 @@ 13 AET - 160 - 8 - 25 - 27 + 195 + 0 + 193 3 4 3 @@ -630,10 +616,9 @@ 14 Glaser - 185 - 12 - 21 - 23 + 0 + 121 + 0 4 1 3 @@ -671,10 +656,9 @@ 15 Tracer Ball - 144 - 4 - 17 - 19 + 255 + 215 + 63 1 1 1 @@ -712,10 +696,9 @@ 16 Tracer FMJ - 144 - 4 - 17 - 19 + 255 + 215 + 63 3 4 3 @@ -753,10 +736,9 @@ 17 Match Ball - 133 - 4 - 13 - 15 + 217 + 217 + 217 1 1 1 @@ -794,10 +776,9 @@ 18 Match FMJ - 133 - 4 - 13 - 15 + 217 + 217 + 217 3 4 3 @@ -835,10 +816,9 @@ 19 Cold Ball - 135 - 4 - 1 - 3 + 164 + 164 + 164 1 1 1 @@ -876,10 +856,9 @@ 20 Cold HP - 71 - 12 - 9 - 11 + 17 + 178 + 216 2 1 3 @@ -917,10 +896,9 @@ 21 Cold AP/FMJ - 161 - 8 - 5 - 7 + 255 + 129 + 129 3 4 3 @@ -958,10 +936,9 @@ 22 Cold SAP - 163 - 8 - 5 - 7 + 255 + 0 + 0 1 2 1 @@ -999,10 +976,9 @@ 23 Cold Glaser Ball - 184 - 12 - 21 - 23 + 0 + 206 + 0 4 1 3 @@ -1040,10 +1016,9 @@ 24 Cold Glaser FMJ - 184 - 12 - 21 - 23 + 0 + 206 + 0 4 1 3 @@ -1081,10 +1056,9 @@ 25 Lock Buster - 133 - 4 - 13 - 15 + 217 + 217 + 217 1 1 1 @@ -1122,10 +1096,9 @@ 26 Depleted Uranium - 186 - 8 - 21 - 23 + 0 + 72 + 0 1 4 1