diff --git a/CHANGELOG.md b/CHANGELOG.md index 46fdc02c84..3e108a4b6f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,17 @@ # Changelog -## Version 8.61 (April 12, 2019) +## Version 8.61 (May 2, 2019) Bug fixes: 1. Fixed the Track ability spamming errors. -2. Fixed the core plugin returning errors when `plugins` directory is not found. +2. Fixed the core plugin returning errors when `plugins` directory is not found. (Thanks to Marttt for pointing them out and making a pull request!) +3. Fixed the translation file using the wrong phrases for certain Mutant Tanks. (Thanks to Mi.Cura for reporting!) +4. Fixed some entities by using their references instead of indices. (Thanks to Lux for pointing them out and making a pull request!) +5. Fixed the custom config files resetting to the main one when admins join. +6. Fixed the config file not being read when using custom SM folder paths. (Thanks to Marttt for pointing them out and making a pull request!) +7. Fixed some errors reported by Mi.Cura. +8. Fixed Mutant Tanks with no abilities not showing up. Changes: @@ -13,10 +19,12 @@ Changes: 2. The `MT_IsTypeEnabled()` native now checks if abilities for Mutant Tanks are available. 3. Added the `Regular Mode` setting under the `Plugin Settings/Waves` section. 4. The core plugin now detects custom sourcemod directories when checking for the `plugins` folder. +5. Mutant Tanks no longer have a glow outline when biled. (Thanks to Marttt for the pull request!) Files: 1. Updated include file. +2. Updated translation file. ## Version 8.60 (March 21, 2019) diff --git a/README.md b/README.md index ebbe0529e6..5fcae473bd 100644 --- a/README.md +++ b/README.md @@ -739,15 +739,6 @@ Natives: **/ native bool MT_CanTankSpawn(int type); -/** - * Returns the status of an ability for a certain Mutant Tank type. - * - * @param type Mutant Tank type. - * @param order Ability order starting from 0. - * @param status True if the type has the ability, false otherwise. - **/ -native void MT_FindAbility(int type, int order, bool status); - /** * Returns the current access flags set by the core plugin. * @@ -1512,7 +1503,7 @@ Examples: **FatalOE71** - For suggesting ideas. -**Marttt** - For convincing me the effectiveness and usefulness of convar flags. +**Marttt** - For convincing me the effectiveness and usefulness of convar flags, and the pull requests. **AngelAce113** - For the default colors (before v8.12), testing each Tank type, suggesting ideas, and overall support. diff --git a/addons/sourcemod/data/mutant_tanks/backup_config/format1/mutant_tanks.cfg b/addons/sourcemod/data/mutant_tanks/backup_config/format1/mutant_tanks.cfg index 6080b87a3d..a32a83ac8a 100644 --- a/addons/sourcemod/data/mutant_tanks/backup_config/format1/mutant_tanks.cfg +++ b/addons/sourcemod/data/mutant_tanks/backup_config/format1/mutant_tanks.cfg @@ -39,7 +39,6 @@ { "Regular Amount" "2" "Regular Interval" "300.0" - "Regular Mode" "0" "Regular Type" "0" "Regular Wave" "0" "Finale Types" "0,0,0" @@ -74,6 +73,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "50,90,150,255" + "Glow Enabled" "1" "Glow Color" "50,90,150" } "Props" @@ -113,6 +113,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "0,255,125,255" + "Glow Enabled" "1" "Glow Color" "0,255,125" } "Props" @@ -159,6 +160,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "255,255,150,255" + "Glow Enabled" "1" "Glow Color" "150,255,255" } "Props" @@ -199,6 +201,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "170,200,210,255" + "Glow Enabled" "1" "Glow Color" "170,200,210" } "Props" @@ -239,6 +242,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "5,0,105,255" + "Glow Enabled" "1" "Glow Color" "5,0,105" } "Props" @@ -280,6 +284,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "100,0,0,255" + "Glow Enabled" "1" "Glow Color" "100,0,0" } "Props" @@ -326,6 +331,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "65,105,0,255" + "Glow Enabled" "1" "Glow Color" "65,105,0" } "Props" @@ -378,6 +384,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "135,0,85,255" + "Glow Enabled" "1" "Glow Color" "135,0,85" } "Props" @@ -407,6 +414,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "255,170,0,255" + "Glow Enabled" "1" "Glow Color" "255,170,0" } "Props" @@ -448,6 +456,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "255,120,75,255" + "Glow Enabled" "1" "Glow Color" "255,120,75" } "Props" @@ -496,6 +505,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "95,140,80,255" + "Glow Enabled" "1" "Glow Color" "95,140,80" } "Props" @@ -543,6 +553,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "180,0,180,255" + "Glow Enabled" "1" "Glow Color" "0,180,180" } "Props" @@ -586,6 +597,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "10,25,205,255" + "Glow Enabled" "1" "Glow Color" "10,25,205" } "Props" @@ -634,6 +646,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "175,100,125,255" + "Glow Enabled" "1" "Glow Color" "100,200,120" } "Props" @@ -670,6 +683,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "200,100,0,255" + "Glow Enabled" "1" "Glow Color" "200,100,0" } "Props" @@ -705,6 +719,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "255,245,0,255" + "Glow Enabled" "1" "Glow Color" "255,245,0" } "Props" @@ -750,6 +765,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "150,255,50,255" + "Glow Enabled" "1" "Glow Color" "50,155,150" } "Props" @@ -792,6 +808,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "100,165,255,255" + "Glow Enabled" "1" "Glow Color" "100,165,255" } "Props" @@ -843,6 +860,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "200,150,50,255" + "Glow Enabled" "1" "Glow Color" "200,150,50" } "Props" @@ -884,6 +902,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "255,0,0,150" + "Glow Enabled" "1" "Glow Color" "255,255,0" } "Props" @@ -933,6 +952,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "150,0,0,255" + "Glow Enabled" "1" "Glow Color" "150,0,0" } "Props" @@ -983,6 +1003,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "160,225,65,255" + "Glow Enabled" "1" "Glow Color" "160,225,65" } "Props" @@ -1023,6 +1044,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "255,150,50,255" + "Glow Enabled" "1" "Glow Color" "50,150,50" } "Props" @@ -1111,6 +1133,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "50,25,150,255" + "Glow Enabled" "1" "Glow Color" "50,25,150" } "Props" @@ -1146,6 +1169,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "25,25,25,255" + "Glow Enabled" "1" "Glow Color" "25,25,25" } "Props" @@ -1188,6 +1212,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "75,200,75,255" + "Glow Enabled" "1" "Glow Color" "75,200,75" } "Props" @@ -1234,6 +1259,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "125,110,255,255" + "Glow Enabled" "1" "Glow Color" "255,110,125" } "Props" @@ -1266,6 +1292,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "0,80,140,255" + "Glow Enabled" "1" "Glow Color" "0,80,140" } "Props" @@ -1313,6 +1340,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "80,255,255,255" + "Glow Enabled" "1" "Glow Color" "80,255,255" } "Props" @@ -1355,6 +1383,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "110,0,130,255" + "Glow Enabled" "1" "Glow Color" "110,0,130" } "Props" @@ -1400,6 +1429,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "0,155,255,200" + "Glow Enabled" "1" "Glow Color" "0,155,255" } "Props" @@ -1444,6 +1474,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "225,235,255,255" + "Glow Enabled" "1" "Glow Color" "225,235,255" } "Props" @@ -1483,6 +1514,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "0,235,220,255" + "Glow Enabled" "1" "Glow Color" "0,235,220" } "Props" @@ -1523,6 +1555,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "0,105,255,255" + "Glow Enabled" "1" "Glow Color" "0,105,255" } "Props" @@ -1557,6 +1590,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "255,235,235,255" + "Glow Enabled" "1" "Glow Color" "255,235,235" } "Props" @@ -1604,6 +1638,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "225,215,0,255" + "Glow Enabled" "1" "Glow Color" "225,215,0" } "Props" @@ -1647,6 +1682,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "50,50,50,255" + "Glow Enabled" "1" "Glow Color" "0,165,95" } "Props" @@ -1685,6 +1721,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "255,150,0,255" + "Glow Enabled" "1" "Glow Color" "190,150,255" } "Props" @@ -1725,6 +1762,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "0,50,255,255" + "Glow Enabled" "1" "Glow Color" "255,50,0" } "Props" @@ -1766,6 +1804,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "255,0,50,255" + "Glow Enabled" "1" "Glow Color" "255,0,50" } "Props" @@ -1805,6 +1844,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "120,20,10,255" + "Glow Enabled" "1" "Glow Color" "120,20,10" } "Props" @@ -1851,6 +1891,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "165,100,165,255" + "Glow Enabled" "1" "Glow Color" "165,100,165" } "Props" @@ -1887,6 +1928,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "255,255,140,255" + "Glow Enabled" "1" "Glow Color" "255,255,140" } "Props" @@ -1931,6 +1973,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "45,35,175,255" + "Glow Enabled" "1" "Glow Color" "175,35,35" } "Props" @@ -1969,6 +2012,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "0,0,255,255" + "Glow Enabled" "1" "Glow Color" "255,100,0" } "Props" @@ -2005,6 +2049,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "255,0,255,255" + "Glow Enabled" "1" "Glow Color" "0,255,0" } "Props" @@ -2047,6 +2092,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "110,175,255,255" + "Glow Enabled" "1" "Glow Color" "110,50,255" } "Props" @@ -2076,6 +2122,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "170,180,45,255" + "Glow Enabled" "1" "Glow Color" "170,180,45" } "Props" @@ -2120,6 +2167,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "255,35,0,255" + "Glow Enabled" "1" "Glow Color" "255,35,0" } "Props" @@ -2164,6 +2212,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "0,150,65,255" + "Glow Enabled" "1" "Glow Color" "0,150,65" } "Props" @@ -2204,6 +2253,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "255,50,100,255" + "Glow Enabled" "1" "Glow Color" "255,50,100" } "Props" @@ -2244,6 +2294,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "50,25,0,255" + "Glow Enabled" "1" "Glow Color" "50,25,0" } "Props" @@ -2282,6 +2333,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "55,125,70,255" + "Glow Enabled" "1" "Glow Color" "55,125,70" } "Props" @@ -2318,6 +2370,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "10,40,15,255" + "Glow Enabled" "1" "Glow Color" "225,235,0" } "Props" @@ -2359,6 +2412,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "75,25,25,255" + "Glow Enabled" "1" "Glow Color" "75,25,25" } "Props" @@ -2396,6 +2450,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "250,110,0,255" + "Glow Enabled" "1" "Glow Color" "250,110,0" } "Props" @@ -2436,6 +2491,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "90,55,25,255" + "Glow Enabled" "1" "Glow Color" "90,55,25" } "Props" @@ -2470,6 +2526,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "100,25,25,255" + "Glow Enabled" "1" "Glow Color" "100,25,25" } "Props" @@ -2511,6 +2568,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "135,205,255,255" + "Glow Enabled" "1" "Glow Color" "135,205,255" } "Props" @@ -2548,6 +2606,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "10,100,0,255" + "Glow Enabled" "1" "Glow Color" "10,100,0" } "Props" @@ -2589,6 +2648,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "80,130,255,255" + "Glow Enabled" "1" "Glow Color" "80,130,255" } "Props" @@ -2630,6 +2690,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "70,80,100,255" + "Glow Enabled" "1" "Glow Color" "70,80,100" } "Props" @@ -2670,6 +2731,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "0,230,230,255" + "Glow Enabled" "1" "Glow Color" "0,230,230" } "Props" @@ -2710,6 +2772,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "150,0,150,255" + "Glow Enabled" "1" "Glow Color" "150,0,150" } "Props" @@ -2761,6 +2824,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "175,75,75,255" + "Glow Enabled" "1" "Glow Color" "175,75,75" } "Props" @@ -2796,6 +2860,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "0,175,125,255" + "Glow Enabled" "1" "Glow Color" "0,175,125" } "Props" @@ -2843,6 +2908,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "0,200,0,255" + "Glow Enabled" "1" "Glow Color" "0,200,0" } "Props" @@ -2895,6 +2961,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "75,50,75,255" + "Glow Enabled" "1" "Glow Color" "75,50,75" } "Props" @@ -2933,6 +3000,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "100,130,225,255" + "Glow Enabled" "1" "Glow Color" "70,70,55" } "Props" @@ -2970,6 +3038,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "150,50,0,255" + "Glow Enabled" "1" "Glow Color" "150,50,0" } "Props" @@ -3007,6 +3076,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "35,0,0,255" + "Glow Enabled" "1" "Glow Color" "35,0,0" } "Props" @@ -3046,6 +3116,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "0,75,55,255" + "Glow Enabled" "1" "Glow Color" "100,75,90" } "Props" @@ -3082,6 +3153,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "180,0,70,255" + "Glow Enabled" "1" "Glow Color" "180,0,70" } "Props" @@ -3120,6 +3192,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "175,25,205,255" + "Glow Enabled" "1" "Glow Color" "175,25,205" } "Props" @@ -3161,6 +3234,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "130,130,255,255" + "Glow Enabled" "1" "Glow Color" "130,130,255" } "Props" @@ -3208,6 +3282,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "0,200,255,255" + "Glow Enabled" "1" "Glow Color" "255,200,0" } "Props" @@ -3250,6 +3325,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "255,145,255,255" + "Glow Enabled" "1" "Glow Color" "255,145,255" } "Props" @@ -3301,6 +3377,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "95,70,85,255" + "Glow Enabled" "1" "Glow Color" "40,70,55" } "Props" @@ -3335,6 +3412,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "210,140,55,255" + "Glow Enabled" "1" "Glow Color" "55,140,110" } "Props" @@ -3372,6 +3450,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "165,205,175,255" + "Glow Enabled" "1" "Glow Color" "165,205,175" } "Props" @@ -3413,6 +3492,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "75,0,0,255" + "Glow Enabled" "1" "Glow Color" "75,0,0" } "Props" @@ -3458,6 +3538,7 @@ "Tank Chance" "100.0" "Tank Note" "1" "Skin Color" "0,0,50,255" + "Glow Enabled" "1" "Glow Color" "0,175,255" } "Props" @@ -3590,6 +3671,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "0,105,255,150" + "Glow Enabled" "1" "Glow Color" "0,105,255" } "Props" @@ -3633,6 +3715,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "225,225,0,255" + "Glow Enabled" "1" "Glow Color" "225,225,0" } "Props" @@ -3687,6 +3770,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "90,60,90,255" + "Glow Enabled" "1" "Glow Color" "90,60,90" } "Props" @@ -3726,6 +3810,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "150,0,0,150" + "Glow Enabled" "1" "Glow Color" "255,100,0" } "Props" @@ -3812,6 +3897,7 @@ "Tank Chance" "100.0" "Tank Note" "1" "Skin Color" "0,0,100,255" + "Glow Enabled" "1" "Glow Color" "0,0,100" } "Props" @@ -3924,6 +4010,7 @@ "Tank Chance" "100.0" "Tank Note" "1" "Skin Color" "0,255,0,255" + "Glow Enabled" "1" "Glow Color" "0,255,0" } "Props" @@ -4055,6 +4142,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "25,40,25,255" + "Glow Enabled" "1" "Glow Color" "25,40,25" } "Props" @@ -4169,6 +4257,7 @@ "Tank Chance" "100.0" "Tank Note" "1" "Skin Color" "0,0,0,255" + "Glow Enabled" "1" "Glow Color" "255,0,0" } "Props" @@ -4248,6 +4337,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "255,255,0,150" + "Glow Enabled" "1" "Glow Color" "255,0,0" } "Props" @@ -4307,6 +4397,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "75,95,105,255" + "Glow Enabled" "1" "Glow Color" "75,95,105" } "Props" @@ -4348,6 +4439,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "45,45,45,150" + "Glow Enabled" "1" "Glow Color" "65,135,245" } "Props" @@ -4411,6 +4503,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "90,90,90,255" + "Glow Enabled" "1" "Glow Color" "90,90,90" } "Props" @@ -4454,6 +4547,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "175,50,95,255" + "Glow Enabled" "1" "Glow Color" "175,50,95" } "Props" @@ -4501,6 +4595,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "130,65,0,255" + "Glow Enabled" "1" "Glow Color" "130,65,0" } "Props" @@ -4551,6 +4646,7 @@ "Tank Chance" "100.0" "Tank Note" "1" "Skin Color" "0,170,255,150" + "Glow Enabled" "1" "Glow Color" "255,0,0" } "Props" @@ -4658,6 +4754,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "15,15,15,255" + "Glow Enabled" "1" "Glow Color" "100,15,15" } "Props" @@ -4724,6 +4821,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "0,0,0,255" + "Glow Enabled" "1" "Glow Color" "255,0,0" } "Props" @@ -4860,6 +4958,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "100,100,15,255" + "Glow Enabled" "1" "Glow Color" "200,50,15" } "Props" @@ -5110,6 +5209,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "255,150,255,255" + "Glow Enabled" "1" "Glow Color" "255,150,255" } "Props" @@ -5402,6 +5502,7 @@ "Tank Note" "1" "Human Support" "1" "Skin Color" "0,0,255,255" + "Glow Enabled" "1" "Glow Color" "255,255,255" } "Props" diff --git a/addons/sourcemod/data/mutant_tanks/backup_config/format2/mutant_tanks.cfg b/addons/sourcemod/data/mutant_tanks/backup_config/format2/mutant_tanks.cfg index 8c2e780788..abf09da7fb 100644 --- a/addons/sourcemod/data/mutant_tanks/backup_config/format2/mutant_tanks.cfg +++ b/addons/sourcemod/data/mutant_tanks/backup_config/format2/mutant_tanks.cfg @@ -74,6 +74,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 50,90,150,255 + GlowEnabled 1 GlowColor 50,90,150 } Props @@ -113,6 +114,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 0,255,125,255 + GlowEnabled 1 GlowColor 0,255,125 } Props @@ -159,6 +161,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 255,255,150,255 + GlowEnabled 1 GlowColor 150,255,255 } Props @@ -199,6 +202,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 170,200,210,255 + GlowEnabled 1 GlowColor 170,200,210 } Props @@ -239,6 +243,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 5,0,105,255 + GlowEnabled 1 GlowColor 5,0,105 } Props @@ -280,6 +285,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 100,0,0,255 + GlowEnabled 1 GlowColor 100,0,0 } Props @@ -326,6 +332,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 65,105,0,255 + GlowEnabled 1 GlowColor 65,105,0 } Props @@ -378,6 +385,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 135,0,85,255 + GlowEnabled 1 GlowColor 135,0,85 } Props @@ -407,6 +415,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 255,170,0,255 + GlowEnabled 1 GlowColor 255,170,0 } Props @@ -448,6 +457,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 255,120,75,255 + GlowEnabled 1 GlowColor 255,120,75 } Props @@ -496,6 +506,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 95,140,80,255 + GlowEnabled 1 GlowColor 95,140,80 } Props @@ -543,6 +554,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 180,0,180,255 + GlowEnabled 1 GlowColor 0,180,180 } Props @@ -586,6 +598,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 10,25,205,255 + GlowEnabled 1 GlowColor 10,25,205 } Props @@ -634,6 +647,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 175,100,125,255 + GlowEnabled 1 GlowColor 100,200,120 } Props @@ -670,6 +684,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 200,100,0,255 + GlowEnabled 1 GlowColor 200,100,0 } Props @@ -705,6 +720,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 255,245,0,255 + GlowEnabled 1 GlowColor 255,245,0 } Props @@ -750,6 +766,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 150,255,50,255 + GlowEnabled 1 GlowColor 50,155,150 } Props @@ -792,6 +809,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 100,165,255,255 + GlowEnabled 1 GlowColor 100,165,255 } Props @@ -843,6 +861,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 200,150,50,255 + GlowEnabled 1 GlowColor 200,150,50 } Props @@ -884,6 +903,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 255,0,0,150 + GlowEnabled 1 GlowColor 255,255,0 } Props @@ -933,6 +953,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 150,0,0,255 + GlowEnabled 1 GlowColor 150,0,0 } Props @@ -983,6 +1004,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 160,225,65,255 + GlowEnabled 1 GlowColor 160,225,65 } Props @@ -1023,6 +1045,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 255,150,50,255 + GlowEnabled 1 GlowColor 50,150,50 } Props @@ -1111,6 +1134,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 50,25,150,255 + GlowEnabled 1 GlowColor 50,25,150 } Props @@ -1146,6 +1170,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 25,25,25,255 + GlowEnabled 1 GlowColor 25,25,25 } Props @@ -1188,6 +1213,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 75,200,75,255 + GlowEnabled 1 GlowColor 75,200,75 } Props @@ -1234,6 +1260,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 125,110,255,255 + GlowEnabled 1 GlowColor 255,110,125 } Props @@ -1266,6 +1293,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 0,80,140,255 + GlowEnabled 1 GlowColor 0,80,140 } Props @@ -1313,6 +1341,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 80,255,255,255 + GlowEnabled 1 GlowColor 80,255,255 } Props @@ -1355,6 +1384,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 110,0,130,255 + GlowEnabled 1 GlowColor 110,0,130 } Props @@ -1400,6 +1430,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 0,155,255,200 + GlowEnabled 1 GlowColor 0,155,255 } Props @@ -1444,6 +1475,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 225,235,255,255 + GlowEnabled 1 GlowColor 225,235,255 } Props @@ -1483,6 +1515,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 0,235,220,255 + GlowEnabled 1 GlowColor 0,235,220 } Props @@ -1523,6 +1556,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 0,105,255,255 + GlowEnabled 1 GlowColor 0,105,255 } Props @@ -1557,6 +1591,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 255,235,235,255 + GlowEnabled 1 GlowColor 255,235,235 } Props @@ -1604,6 +1639,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 225,215,0,255 + GlowEnabled 1 GlowColor 225,215,0 } Props @@ -1647,6 +1683,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 50,50,50,255 + GlowEnabled 1 GlowColor 0,165,95 } Props @@ -1685,6 +1722,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 255,150,0,255 + GlowEnabled 1 GlowColor 190,150,255 } Props @@ -1725,6 +1763,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 0,50,255,255 + GlowEnabled 1 GlowColor 255,50,0 } Props @@ -1766,6 +1805,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 255,0,50,255 + GlowEnabled 1 GlowColor 255,0,50 } Props @@ -1805,6 +1845,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 120,20,10,255 + GlowEnabled 1 GlowColor 120,20,10 } Props @@ -1851,6 +1892,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 165,100,165,255 + GlowEnabled 1 GlowColor 165,100,165 } Props @@ -1887,6 +1929,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 255,255,140,255 + GlowEnabled 1 GlowColor 255,255,140 } Props @@ -1931,6 +1974,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 45,35,175,255 + GlowEnabled 1 GlowColor 175,35,35 } Props @@ -1969,6 +2013,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 0,0,255,255 + GlowEnabled 1 GlowColor 255,100,0 } Props @@ -2005,6 +2050,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 255,0,255,255 + GlowEnabled 1 GlowColor 0,255,0 } Props @@ -2047,6 +2093,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 110,175,255,255 + GlowEnabled 1 GlowColor 110,50,255 } Props @@ -2076,6 +2123,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 170,180,45,255 + GlowEnabled 1 GlowColor 170,180,45 } Props @@ -2120,6 +2168,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 255,35,0,255 + GlowEnabled 1 GlowColor 255,35,0 } Props @@ -2164,6 +2213,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 0,150,65,255 + GlowEnabled 1 GlowColor 0,150,65 } Props @@ -2204,6 +2254,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 255,50,100,255 + GlowEnabled 1 GlowColor 255,50,100 } Props @@ -2244,6 +2295,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 50,25,0,255 + GlowEnabled 1 GlowColor 50,25,0 } Props @@ -2282,6 +2334,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 55,125,70,255 + GlowEnabled 1 GlowColor 55,125,70 } Props @@ -2318,6 +2371,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 10,40,15,255 + GlowEnabled 1 GlowColor 225,235,0 } Props @@ -2359,6 +2413,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 75,25,25,255 + GlowEnabled 1 GlowColor 75,25,25 } Props @@ -2396,6 +2451,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 250,110,0,255 + GlowEnabled 1 GlowColor 250,110,0 } Props @@ -2436,6 +2492,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 90,55,25,255 + GlowEnabled 1 GlowColor 90,55,25 } Props @@ -2470,6 +2527,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 100,25,25,255 + GlowEnabled 1 GlowColor 100,25,25 } Props @@ -2511,6 +2569,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 135,205,255,255 + GlowEnabled 1 GlowColor 135,205,255 } Props @@ -2548,6 +2607,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 10,100,0,255 + GlowEnabled 1 GlowColor 10,100,0 } Props @@ -2589,6 +2649,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 80,130,255,255 + GlowEnabled 1 GlowColor 80,130,255 } Props @@ -2630,6 +2691,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 70,80,100,255 + GlowEnabled 1 GlowColor 70,80,100 } Props @@ -2670,6 +2732,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 0,230,230,255 + GlowEnabled 1 GlowColor 0,230,230 } Props @@ -2710,6 +2773,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 150,0,150,255 + GlowEnabled 1 GlowColor 150,0,150 } Props @@ -2761,6 +2825,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 175,75,75,255 + GlowEnabled 1 GlowColor 175,75,75 } Props @@ -2796,6 +2861,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 0,175,125,255 + GlowEnabled 1 GlowColor 0,175,125 } Props @@ -2843,6 +2909,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 0,200,0,255 + GlowEnabled 1 GlowColor 0,200,0 } Props @@ -2895,6 +2962,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 75,50,75,255 + GlowEnabled 1 GlowColor 75,50,75 } Props @@ -2933,6 +3001,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 100,130,225,255 + GlowEnabled 1 GlowColor 70,70,55 } Props @@ -2970,6 +3039,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 150,50,0,255 + GlowEnabled 1 GlowColor 150,50,0 } Props @@ -3007,6 +3077,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 35,0,0,255 + GlowEnabled 1 GlowColor 35,0,0 } Props @@ -3046,6 +3117,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 0,75,55,255 + GlowEnabled 1 GlowColor 100,75,90 } Props @@ -3082,6 +3154,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 180,0,70,255 + GlowEnabled 1 GlowColor 180,0,70 } Props @@ -3120,6 +3193,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 175,25,205,255 + GlowEnabled 1 GlowColor 175,25,205 } Props @@ -3161,6 +3235,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 130,130,255,255 + GlowEnabled 1 GlowColor 130,130,255 } Props @@ -3208,6 +3283,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 0,200,255,255 + GlowEnabled 1 GlowColor 255,200,0 } Props @@ -3250,6 +3326,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 255,145,255,255 + GlowEnabled 1 GlowColor 255,145,255 } Props @@ -3301,6 +3378,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 95,70,85,255 + GlowEnabled 1 GlowColor 40,70,55 } Props @@ -3335,6 +3413,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 210,140,55,255 + GlowEnabled 1 GlowColor 55,140,110 } Props @@ -3372,6 +3451,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 165,205,175,255 + GlowEnabled 1 GlowColor 165,205,175 } Props @@ -3413,6 +3493,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 75,0,0,255 + GlowEnabled 1 GlowColor 75,0,0 } Props @@ -3458,6 +3539,7 @@ MutantTanks TankChance 100.0 TankNote 1 SkinColor 0,0,50,255 + GlowEnabled 1 GlowColor 0,175,255 } Props @@ -3590,6 +3672,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 0,105,255,150 + GlowEnabled 1 GlowColor 0,105,255 } Props @@ -3633,6 +3716,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 225,225,0,255 + GlowEnabled 1 GlowColor 225,225,0 } Props @@ -3687,6 +3771,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 90,60,90,255 + GlowEnabled 1 GlowColor 90,60,90 } Props @@ -3726,6 +3811,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 150,0,0,150 + GlowEnabled 1 GlowColor 255,100,0 } Props @@ -3812,6 +3898,7 @@ MutantTanks TankChance 100.0 TankNote 1 SkinColor 0,0,100,255 + GlowEnabled 1 GlowColor 0,0,100 } Props @@ -3924,6 +4011,7 @@ MutantTanks TankChance 100.0 TankNote 1 SkinColor 0,255,0,255 + GlowEnabled 1 GlowColor 0,255,0 } Props @@ -4055,6 +4143,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 25,40,25,255 + GlowEnabled 1 GlowColor 25,40,25 } Props @@ -4169,6 +4258,7 @@ MutantTanks TankChance 100.0 TankNote 1 SkinColor 0,0,0,255 + GlowEnabled 1 GlowColor 255,0,0 } Props @@ -4248,6 +4338,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 255,255,0,150 + GlowEnabled 1 GlowColor 255,0,0 } Props @@ -4307,6 +4398,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 75,95,105,255 + GlowEnabled 1 GlowColor 75,95,105 } Props @@ -4348,6 +4440,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 45,45,45,150 + GlowEnabled 1 GlowColor 65,135,245 } Props @@ -4411,6 +4504,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 90,90,90,255 + GlowEnabled 1 GlowColor 90,90,90 } Props @@ -4454,6 +4548,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 175,50,95,255 + GlowEnabled 1 GlowColor 175,50,95 } Props @@ -4501,6 +4596,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 130,65,0,255 + GlowEnabled 1 GlowColor 130,65,0 } Props @@ -4551,6 +4647,7 @@ MutantTanks TankChance 100.0 TankNote 1 SkinColor 0,170,255,150 + GlowEnabled 1 GlowColor 255,0,0 } Props @@ -4658,6 +4755,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 15,15,15,255 + GlowEnabled 1 GlowColor 100,15,15 } Props @@ -4724,6 +4822,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 0,0,0,255 + GlowEnabled 1 GlowColor 255,0,0 } Props @@ -4860,6 +4959,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 100,100,15,255 + GlowEnabled 1 GlowColor 200,50,15 } Props @@ -5110,6 +5210,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 255,150,255,255 + GlowEnabled 1 GlowColor 255,150,255 } Props @@ -5402,6 +5503,7 @@ MutantTanks TankNote 1 HumanSupport 1 SkinColor 0,0,255,255 + GlowEnabled 1 GlowColor 255,255,255 } Props diff --git a/addons/sourcemod/data/mutant_tanks/backup_config/format3/mutant_tanks.cfg b/addons/sourcemod/data/mutant_tanks/backup_config/format3/mutant_tanks.cfg index 0c7107f280..ef1c5d36d3 100644 --- a/addons/sourcemod/data/mutant_tanks/backup_config/format3/mutant_tanks.cfg +++ b/addons/sourcemod/data/mutant_tanks/backup_config/format3/mutant_tanks.cfg @@ -74,6 +74,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 50,90,150,255 + Glow_Enabled 1 Glow_Color 50,90,150 } Props @@ -113,6 +114,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 0,255,125,255 + Glow_Enabled 1 Glow_Color 0,255,125 } Props @@ -159,6 +161,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 255,255,150,255 + Glow_Enabled 1 Glow_Color 150,255,255 } Props @@ -199,6 +202,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 170,200,210,255 + Glow_Enabled 1 Glow_Color 170,200,210 } Props @@ -239,6 +243,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 5,0,105,255 + Glow_Enabled 1 Glow_Color 5,0,105 } Props @@ -280,6 +285,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 100,0,0,255 + Glow_Enabled 1 Glow_Color 100,0,0 } Props @@ -326,6 +332,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 65,105,0,255 + Glow_Enabled 1 Glow_Color 65,105,0 } Props @@ -378,6 +385,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 135,0,85,255 + Glow_Enabled 1 Glow_Color 135,0,85 } Props @@ -407,6 +415,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 255,170,0,255 + Glow_Enabled 1 Glow_Color 255,170,0 } Props @@ -448,6 +457,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 255,120,75,255 + Glow_Enabled 1 Glow_Color 255,120,75 } Props @@ -496,6 +506,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 95,140,80,255 + Glow_Enabled 1 Glow_Color 95,140,80 } Props @@ -543,6 +554,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 180,0,180,255 + Glow_Enabled 1 Glow_Color 0,180,180 } Props @@ -586,6 +598,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 10,25,205,255 + Glow_Enabled 1 Glow_Color 10,25,205 } Props @@ -634,6 +647,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 175,100,125,255 + Glow_Enabled 1 Glow_Color 100,200,120 } Props @@ -670,6 +684,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 200,100,0,255 + Glow_Enabled 1 Glow_Color 200,100,0 } Props @@ -705,6 +720,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 255,245,0,255 + Glow_Enabled 1 Glow_Color 255,245,0 } Props @@ -750,6 +766,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 150,255,50,255 + Glow_Enabled 1 Glow_Color 50,155,150 } Props @@ -792,6 +809,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 100,165,255,255 + Glow_Enabled 1 Glow_Color 100,165,255 } Props @@ -843,6 +861,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 200,150,50,255 + Glow_Enabled 1 Glow_Color 200,150,50 } Props @@ -884,6 +903,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 255,0,0,150 + Glow_Enabled 1 Glow_Color 255,255,0 } Props @@ -933,6 +953,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 150,0,0,255 + Glow_Enabled 1 Glow_Color 150,0,0 } Props @@ -983,6 +1004,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 160,225,65,255 + Glow_Enabled 1 Glow_Color 160,225,65 } Props @@ -1023,6 +1045,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 255,150,50,255 + Glow_Enabled 1 Glow_Color 50,150,50 } Props @@ -1111,6 +1134,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 50,25,150,255 + Glow_Enabled 1 Glow_Color 50,25,150 } Props @@ -1146,6 +1170,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 25,25,25,255 + Glow_Enabled 1 Glow_Color 25,25,25 } Props @@ -1188,6 +1213,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 75,200,75,255 + Glow_Enabled 1 Glow_Color 75,200,75 } Props @@ -1234,6 +1260,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 125,110,255,255 + Glow_Enabled 1 Glow_Color 255,110,125 } Props @@ -1266,6 +1293,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 0,80,140,255 + Glow_Enabled 1 Glow_Color 0,80,140 } Props @@ -1313,6 +1341,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 80,255,255,255 + Glow_Enabled 1 Glow_Color 80,255,255 } Props @@ -1355,6 +1384,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 110,0,130,255 + Glow_Enabled 1 Glow_Color 110,0,130 } Props @@ -1400,6 +1430,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 0,155,255,200 + Glow_Enabled 1 Glow_Color 0,155,255 } Props @@ -1444,6 +1475,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 225,235,255,255 + Glow_Enabled 1 Glow_Color 225,235,255 } Props @@ -1483,6 +1515,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 0,235,220,255 + Glow_Enabled 1 Glow_Color 0,235,220 } Props @@ -1523,6 +1556,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 0,105,255,255 + Glow_Enabled 1 Glow_Color 0,105,255 } Props @@ -1557,6 +1591,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 255,235,235,255 + Glow_Enabled 1 Glow_Color 255,235,235 } Props @@ -1604,6 +1639,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 225,215,0,255 + Glow_Enabled 1 Glow_Color 225,215,0 } Props @@ -1647,6 +1683,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 50,50,50,255 + Glow_Enabled 1 Glow_Color 0,165,95 } Props @@ -1685,6 +1722,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 255,150,0,255 + Glow_Enabled 1 Glow_Color 190,150,255 } Props @@ -1725,6 +1763,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 0,50,255,255 + Glow_Enabled 1 Glow_Color 255,50,0 } Props @@ -1766,6 +1805,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 255,0,50,255 + Glow_Enabled 1 Glow_Color 255,0,50 } Props @@ -1805,6 +1845,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 120,20,10,255 + Glow_Enabled 1 Glow_Color 120,20,10 } Props @@ -1851,6 +1892,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 165,100,165,255 + Glow_Enabled 1 Glow_Color 165,100,165 } Props @@ -1887,6 +1929,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 255,255,140,255 + Glow_Enabled 1 Glow_Color 255,255,140 } Props @@ -1931,6 +1974,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 45,35,175,255 + Glow_Enabled 1 Glow_Color 175,35,35 } Props @@ -1969,6 +2013,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 0,0,255,255 + Glow_Enabled 1 Glow_Color 255,100,0 } Props @@ -2005,6 +2050,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 255,0,255,255 + Glow_Enabled 1 Glow_Color 0,255,0 } Props @@ -2047,6 +2093,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 110,175,255,255 + Glow_Enabled 1 Glow_Color 110,50,255 } Props @@ -2076,6 +2123,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 170,180,45,255 + Glow_Enabled 1 Glow_Color 170,180,45 } Props @@ -2120,6 +2168,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 255,35,0,255 + Glow_Enabled 1 Glow_Color 255,35,0 } Props @@ -2164,6 +2213,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 0,150,65,255 + Glow_Enabled 1 Glow_Color 0,150,65 } Props @@ -2204,6 +2254,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 255,50,100,255 + Glow_Enabled 1 Glow_Color 255,50,100 } Props @@ -2244,6 +2295,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 50,25,0,255 + Glow_Enabled 1 Glow_Color 50,25,0 } Props @@ -2282,6 +2334,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 55,125,70,255 + Glow_Enabled 1 Glow_Color 55,125,70 } Props @@ -2318,6 +2371,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 10,40,15,255 + Glow_Enabled 1 Glow_Color 225,235,0 } Props @@ -2359,6 +2413,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 75,25,25,255 + Glow_Enabled 1 Glow_Color 75,25,25 } Props @@ -2396,6 +2451,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 250,110,0,255 + Glow_Enabled 1 Glow_Color 250,110,0 } Props @@ -2436,6 +2492,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 90,55,25,255 + Glow_Enabled 1 Glow_Color 90,55,25 } Props @@ -2470,6 +2527,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 100,25,25,255 + Glow_Enabled 1 Glow_Color 100,25,25 } Props @@ -2511,6 +2569,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 135,205,255,255 + Glow_Enabled 1 Glow_Color 135,205,255 } Props @@ -2548,6 +2607,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 10,100,0,255 + Glow_Enabled 1 Glow_Color 10,100,0 } Props @@ -2589,6 +2649,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 80,130,255,255 + Glow_Enabled 1 Glow_Color 80,130,255 } Props @@ -2630,6 +2691,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 70,80,100,255 + Glow_Enabled 1 Glow_Color 70,80,100 } Props @@ -2670,6 +2732,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 0,230,230,255 + Glow_Enabled 1 Glow_Color 0,230,230 } Props @@ -2710,6 +2773,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 150,0,150,255 + Glow_Enabled 1 Glow_Color 150,0,150 } Props @@ -2761,6 +2825,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 175,75,75,255 + Glow_Enabled 1 Glow_Color 175,75,75 } Props @@ -2796,6 +2861,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 0,175,125,255 + Glow_Enabled 1 Glow_Color 0,175,125 } Props @@ -2843,6 +2909,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 0,200,0,255 + Glow_Enabled 1 Glow_Color 0,200,0 } Props @@ -2895,6 +2962,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 75,50,75,255 + Glow_Enabled 1 Glow_Color 75,50,75 } Props @@ -2933,6 +3001,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 100,130,225,255 + Glow_Enabled 1 Glow_Color 70,70,55 } Props @@ -2970,6 +3039,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 150,50,0,255 + Glow_Enabled 1 Glow_Color 150,50,0 } Props @@ -3007,6 +3077,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 35,0,0,255 + Glow_Enabled 1 Glow_Color 35,0,0 } Props @@ -3046,6 +3117,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 0,75,55,255 + Glow_Enabled 1 Glow_Color 100,75,90 } Props @@ -3082,6 +3154,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 180,0,70,255 + Glow_Enabled 1 Glow_Color 180,0,70 } Props @@ -3120,6 +3193,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 175,25,205,255 + Glow_Enabled 1 Glow_Color 175,25,205 } Props @@ -3161,6 +3235,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 130,130,255,255 + Glow_Enabled 1 Glow_Color 130,130,255 } Props @@ -3208,6 +3283,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 0,200,255,255 + Glow_Enabled 1 Glow_Color 255,200,0 } Props @@ -3250,6 +3326,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 255,145,255,255 + Glow_Enabled 1 Glow_Color 255,145,255 } Props @@ -3301,6 +3378,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 95,70,85,255 + Glow_Enabled 1 Glow_Color 40,70,55 } Props @@ -3335,6 +3413,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 210,140,55,255 + Glow_Enabled 1 Glow_Color 55,140,110 } Props @@ -3372,6 +3451,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 165,205,175,255 + Glow_Enabled 1 Glow_Color 165,205,175 } Props @@ -3413,6 +3493,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 75,0,0,255 + Glow_Enabled 1 Glow_Color 75,0,0 } Props @@ -3458,6 +3539,7 @@ Mutant_Tanks Tank_Chance 100.0 Tank_Note 1 Skin_Color 0,0,50,255 + Glow_Enabled 1 Glow_Color 0,175,255 } Props @@ -3590,6 +3672,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 0,105,255,150 + Glow_Enabled 1 Glow_Color 0,105,255 } Props @@ -3633,6 +3716,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 225,225,0,255 + Glow_Enabled 1 Glow_Color 225,225,0 } Props @@ -3687,6 +3771,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 90,60,90,255 + Glow_Enabled 1 Glow_Color 90,60,90 } Props @@ -3726,6 +3811,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 150,0,0,150 + Glow_Enabled 1 Glow_Color 255,100,0 } Props @@ -3812,6 +3898,7 @@ Mutant_Tanks Tank_Chance 100.0 Tank_Note 1 Skin_Color 0,0,100,255 + Glow_Enabled 1 Glow_Color 0,0,100 } Props @@ -3924,6 +4011,7 @@ Mutant_Tanks Tank_Chance 100.0 Tank_Note 1 Skin_Color 0,255,0,255 + Glow_Enabled 1 Glow_Color 0,255,0 } Props @@ -4055,6 +4143,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 25,40,25,255 + Glow_Enabled 1 Glow_Color 25,40,25 } Props @@ -4169,6 +4258,7 @@ Mutant_Tanks Tank_Chance 100.0 Tank_Note 1 Skin_Color 0,0,0,255 + Glow_Enabled 1 Glow_Color 255,0,0 } Props @@ -4248,6 +4338,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 255,255,0,150 + Glow_Enabled 1 Glow_Color 255,0,0 } Props @@ -4307,6 +4398,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 75,95,105,255 + Glow_Enabled 1 Glow_Color 75,95,105 } Props @@ -4348,6 +4440,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 45,45,45,150 + Glow_Enabled 1 Glow_Color 65,135,245 } Props @@ -4411,6 +4504,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 90,90,90,255 + Glow_Enabled 1 Glow_Color 90,90,90 } Props @@ -4454,6 +4548,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 175,50,95,255 + Glow_Enabled 1 Glow_Color 175,50,95 } Props @@ -4501,6 +4596,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 130,65,0,255 + Glow_Enabled 1 Glow_Color 130,65,0 } Props @@ -4551,6 +4647,7 @@ Mutant_Tanks Tank_Chance 100.0 Tank_Note 1 Skin_Color 0,170,255,150 + Glow_Enabled 1 Glow_Color 255,0,0 } Props @@ -4658,6 +4755,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 15,15,15,255 + Glow_Enabled 1 Glow_Color 100,15,15 } Props @@ -4724,6 +4822,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 0,0,0,255 + Glow_Enabled 1 Glow_Color 255,0,0 } Props @@ -4860,6 +4959,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 100,100,15,255 + Glow_Enabled 1 Glow_Color 200,50,15 } Props @@ -5110,6 +5210,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 255,150,255,255 + Glow_Enabled 1 Glow_Color 255,150,255 } Props @@ -5402,6 +5503,7 @@ Mutant_Tanks Tank_Note 1 Human_Support 1 Skin_Color 0,0,255,255 + Glow_Enabled 1 Glow_Color 255,255,255 } Props diff --git a/addons/sourcemod/data/mutant_tanks/backup_config/format4/mutant_tanks.cfg b/addons/sourcemod/data/mutant_tanks/backup_config/format4/mutant_tanks.cfg index 0431da6e20..43d4cd9c0e 100644 --- a/addons/sourcemod/data/mutant_tanks/backup_config/format4/mutant_tanks.cfg +++ b/addons/sourcemod/data/mutant_tanks/backup_config/format4/mutant_tanks.cfg @@ -74,6 +74,7 @@ mt note 1 human 1 skin 50,90,150,255 + glow 1 glowcolor 50,90,150 } props @@ -113,6 +114,7 @@ mt note 1 human 1 skin 0,255,125,255 + glow 1 glowcolor 0,255,125 } props @@ -159,6 +161,7 @@ mt note 1 human 1 skin 255,255,150,255 + glow 1 glowcolor 150,255,255 } props @@ -199,6 +202,7 @@ mt note 1 human 1 skin 170,200,210,255 + glow 1 glowcolor 170,200,210 } props @@ -239,6 +243,7 @@ mt note 1 human 1 skin 5,0,105,255 + glow 1 glowcolor 5,0,105 } props @@ -280,6 +285,7 @@ mt note 1 human 1 skin 100,0,0,255 + glow 1 glowcolor 100,0,0 } props @@ -326,6 +332,7 @@ mt note 1 human 1 skin 65,105,0,255 + glow 1 glowcolor 65,105,0 } props @@ -378,6 +385,7 @@ mt note 1 human 1 skin 135,0,85,255 + glow 1 glowcolor 135,0,85 } props @@ -407,6 +415,7 @@ mt note 1 human 1 skin 255,170,0,255 + glow 1 glowcolor 255,170,0 } props @@ -448,6 +457,7 @@ mt note 1 human 1 skin 255,120,75,255 + glow 1 glowcolor 255,120,75 } props @@ -496,6 +506,7 @@ mt note 1 human 1 skin 95,140,80,255 + glow 1 glowcolor 95,140,80 } props @@ -543,6 +554,7 @@ mt note 1 human 1 skin 180,0,180,255 + glow 1 glowcolor 0,180,180 } props @@ -586,6 +598,7 @@ mt note 1 human 1 skin 10,25,205,255 + glow 1 glowcolor 10,25,205 } props @@ -634,6 +647,7 @@ mt note 1 human 1 skin 175,100,125,255 + glow 1 glowcolor 100,200,120 } props @@ -670,6 +684,7 @@ mt note 1 human 1 skin 200,100,0,255 + glow 1 glowcolor 200,100,0 } props @@ -705,6 +720,7 @@ mt note 1 human 1 skin 255,245,0,255 + glow 1 glowcolor 255,245,0 } props @@ -750,6 +766,7 @@ mt note 1 human 1 skin 150,255,50,255 + glow 1 glowcolor 50,155,150 } props @@ -792,6 +809,7 @@ mt note 1 human 1 skin 100,165,255,255 + glow 1 glowcolor 100,165,255 } props @@ -843,6 +861,7 @@ mt note 1 human 1 skin 200,150,50,255 + glow 1 glowcolor 200,150,50 } props @@ -884,6 +903,7 @@ mt note 1 human 1 skin 255,0,0,150 + glow 1 glowcolor 255,255,0 } props @@ -933,6 +953,7 @@ mt note 1 human 1 skin 150,0,0,255 + glow 1 glowcolor 150,0,0 } props @@ -983,6 +1004,7 @@ mt note 1 human 1 skin 160,225,65,255 + glow 1 glowcolor 160,225,65 } props @@ -1023,6 +1045,7 @@ mt note 1 human 1 skin 255,150,50,255 + glow 1 glowcolor 50,150,50 } props @@ -1111,6 +1134,7 @@ mt note 1 human 1 skin 50,25,150,255 + glow 1 glowcolor 50,25,150 } props @@ -1146,6 +1170,7 @@ mt note 1 human 1 skin 25,25,25,255 + glow 1 glowcolor 25,25,25 } props @@ -1188,6 +1213,7 @@ mt note 1 human 1 skin 75,200,75,255 + glow 1 glowcolor 75,200,75 } props @@ -1234,6 +1260,7 @@ mt note 1 human 1 skin 125,110,255,255 + glow 1 glowcolor 255,110,125 } props @@ -1266,6 +1293,7 @@ mt note 1 human 1 skin 0,80,140,255 + glow 1 glowcolor 0,80,140 } props @@ -1313,6 +1341,7 @@ mt note 1 human 1 skin 80,255,255,255 + glow 1 glowcolor 80,255,255 } props @@ -1355,6 +1384,7 @@ mt note 1 human 1 skin 110,0,130,255 + glow 1 glowcolor 110,0,130 } props @@ -1400,6 +1430,7 @@ mt note 1 human 1 skin 0,155,255,200 + glow 1 glowcolor 0,155,255 } props @@ -1444,6 +1475,7 @@ mt note 1 human 1 skin 225,235,255,255 + glow 1 glowcolor 225,235,255 } props @@ -1483,6 +1515,7 @@ mt note 1 human 1 skin 0,235,220,255 + glow 1 glowcolor 0,235,220 } props @@ -1523,6 +1556,7 @@ mt note 1 human 1 skin 0,105,255,255 + glow 1 glowcolor 0,105,255 } props @@ -1557,6 +1591,7 @@ mt note 1 human 1 skin 255,235,235,255 + glow 1 glowcolor 255,235,235 } props @@ -1604,6 +1639,7 @@ mt note 1 human 1 skin 225,215,0,255 + glow 1 glowcolor 225,215,0 } props @@ -1647,6 +1683,7 @@ mt note 1 human 1 skin 50,50,50,255 + glow 1 glowcolor 0,165,95 } props @@ -1685,6 +1722,7 @@ mt note 1 human 1 skin 255,150,0,255 + glow 1 glowcolor 190,150,255 } props @@ -1725,6 +1763,7 @@ mt note 1 human 1 skin 0,50,255,255 + glow 1 glowcolor 255,50,0 } props @@ -1766,6 +1805,7 @@ mt note 1 human 1 skin 255,0,50,255 + glow 1 glowcolor 255,0,50 } props @@ -1805,6 +1845,7 @@ mt note 1 human 1 skin 120,20,10,255 + glow 1 glowcolor 120,20,10 } props @@ -1851,6 +1892,7 @@ mt note 1 human 1 skin 165,100,165,255 + glow 1 glowcolor 165,100,165 } props @@ -1887,6 +1929,7 @@ mt note 1 human 1 skin 255,255,140,255 + glow 1 glowcolor 255,255,140 } props @@ -1931,6 +1974,7 @@ mt note 1 human 1 skin 45,35,175,255 + glow 1 glowcolor 175,35,35 } props @@ -1969,6 +2013,7 @@ mt note 1 human 1 skin 0,0,255,255 + glow 1 glowcolor 255,100,0 } props @@ -2005,6 +2050,7 @@ mt note 1 human 1 skin 255,0,255,255 + glow 1 glowcolor 0,255,0 } props @@ -2047,6 +2093,7 @@ mt note 1 human 1 skin 110,175,255,255 + glow 1 glowcolor 110,50,255 } props @@ -2076,6 +2123,7 @@ mt note 1 human 1 skin 170,180,45,255 + glow 1 glowcolor 170,180,45 } props @@ -2120,6 +2168,7 @@ mt note 1 human 1 skin 255,35,0,255 + glow 1 glowcolor 255,35,0 } props @@ -2164,6 +2213,7 @@ mt note 1 human 1 skin 0,150,65,255 + glow 1 glowcolor 0,150,65 } props @@ -2204,6 +2254,7 @@ mt note 1 human 1 skin 255,50,100,255 + glow 1 glowcolor 255,50,100 } props @@ -2244,6 +2295,7 @@ mt note 1 human 1 skin 50,25,0,255 + glow 1 glowcolor 50,25,0 } props @@ -2282,6 +2334,7 @@ mt note 1 human 1 skin 55,125,70,255 + glow 1 glowcolor 55,125,70 } props @@ -2318,6 +2371,7 @@ mt note 1 human 1 skin 10,40,15,255 + glow 1 glowcolor 225,235,0 } props @@ -2359,6 +2413,7 @@ mt note 1 human 1 skin 75,25,25,255 + glow 1 glowcolor 75,25,25 } props @@ -2396,6 +2451,7 @@ mt note 1 human 1 skin 250,110,0,255 + glow 1 glowcolor 250,110,0 } props @@ -2436,6 +2492,7 @@ mt note 1 human 1 skin 90,55,25,255 + glow 1 glowcolor 90,55,25 } props @@ -2470,6 +2527,7 @@ mt note 1 human 1 skin 100,25,25,255 + glow 1 glowcolor 100,25,25 } props @@ -2511,6 +2569,7 @@ mt note 1 human 1 skin 135,205,255,255 + glow 1 glowcolor 135,205,255 } props @@ -2548,6 +2607,7 @@ mt note 1 human 1 skin 10,100,0,255 + glow 1 glowcolor 10,100,0 } props @@ -2589,6 +2649,7 @@ mt note 1 human 1 skin 80,130,255,255 + glow 1 glowcolor 80,130,255 } props @@ -2630,6 +2691,7 @@ mt note 1 human 1 skin 70,80,100,255 + glow 1 glowcolor 70,80,100 } props @@ -2670,6 +2732,7 @@ mt note 1 human 1 skin 0,230,230,255 + glow 1 glowcolor 0,230,230 } props @@ -2710,6 +2773,7 @@ mt note 1 human 1 skin 150,0,150,255 + glow 1 glowcolor 150,0,150 } props @@ -2761,6 +2825,7 @@ mt note 1 human 1 skin 175,75,75,255 + glow 1 glowcolor 175,75,75 } props @@ -2796,6 +2861,7 @@ mt note 1 human 1 skin 0,175,125,255 + glow 1 glowcolor 0,175,125 } props @@ -2843,6 +2909,7 @@ mt note 1 human 1 skin 0,200,0,255 + glow 1 glowcolor 0,200,0 } props @@ -2895,6 +2962,7 @@ mt note 1 human 1 skin 75,50,75,255 + glow 1 glowcolor 75,50,75 } props @@ -2933,6 +3001,7 @@ mt note 1 human 1 skin 100,130,225,255 + glow 1 glowcolor 70,70,55 } props @@ -2970,6 +3039,7 @@ mt note 1 human 1 skin 150,50,0,255 + glow 1 glowcolor 150,50,0 } props @@ -3007,6 +3077,7 @@ mt note 1 human 1 skin 35,0,0,255 + glow 1 glowcolor 35,0,0 } props @@ -3046,6 +3117,7 @@ mt note 1 human 1 skin 0,75,55,255 + glow 1 glowcolor 100,75,90 } props @@ -3082,6 +3154,7 @@ mt note 1 human 1 skin 180,0,70,255 + glow 1 glowcolor 180,0,70 } props @@ -3120,6 +3193,7 @@ mt note 1 human 1 skin 175,25,205,255 + glow 1 glowcolor 175,25,205 } props @@ -3161,6 +3235,7 @@ mt note 1 human 1 skin 130,130,255,255 + glow 1 glowcolor 130,130,255 } props @@ -3208,6 +3283,7 @@ mt note 1 human 1 skin 0,200,255,255 + glow 1 glowcolor 255,200,0 } props @@ -3250,6 +3326,7 @@ mt note 1 human 1 skin 255,145,255,255 + glow 1 glowcolor 255,145,255 } props @@ -3301,6 +3378,7 @@ mt note 1 human 1 skin 95,70,85,255 + glow 1 glowcolor 40,70,55 } props @@ -3335,6 +3413,7 @@ mt note 1 human 1 skin 210,140,55,255 + glow 1 glowcolor 55,140,110 } props @@ -3372,6 +3451,7 @@ mt note 1 human 1 skin 165,205,175,255 + glow 1 glowcolor 165,205,175 } props @@ -3413,6 +3493,7 @@ mt note 1 human 1 skin 75,0,0,255 + glow 1 glowcolor 75,0,0 } props @@ -3458,6 +3539,7 @@ mt chance 100.0 note 1 skin 0,0,50,255 + glow 1 glowcolor 0,175,255 } props @@ -3590,6 +3672,7 @@ mt note 1 human 1 skin 0,105,255,150 + glow 1 glowcolor 0,105,255 } props @@ -3633,6 +3716,7 @@ mt note 1 human 1 skin 225,225,0,255 + glow 1 glowcolor 225,225,0 } props @@ -3687,6 +3771,7 @@ mt note 1 human 1 skin 90,60,90,255 + glow 1 glowcolor 90,60,90 } props @@ -3726,6 +3811,7 @@ mt note 1 human 1 skin 150,0,0,150 + glow 1 glowcolor 255,100,0 } props @@ -3812,6 +3898,7 @@ mt chance 100.0 note 1 skin 0,0,100,255 + glow 1 glowcolor 0,0,100 } props @@ -3924,6 +4011,7 @@ mt chance 100.0 note 1 skin 0,255,0,255 + glow 1 glowcolor 0,255,0 } props @@ -4055,6 +4143,7 @@ mt note 1 human 1 skin 25,40,25,255 + glow 1 glowcolor 25,40,25 } props @@ -4169,6 +4258,7 @@ mt chance 100.0 note 1 skin 0,0,0,255 + glow 1 glowcolor 255,0,0 } props @@ -4248,6 +4338,7 @@ mt note 1 human 1 skin 255,255,0,150 + glow 1 glowcolor 255,0,0 } props @@ -4307,6 +4398,7 @@ mt note 1 human 1 skin 75,95,105,255 + glow 1 glowcolor 75,95,105 } props @@ -4348,6 +4440,7 @@ mt note 1 human 1 skin 45,45,45,150 + glow 1 glowcolor 65,135,245 } props @@ -4411,6 +4504,7 @@ mt note 1 human 1 skin 90,90,90,255 + glow 1 glowcolor 90,90,90 } props @@ -4454,6 +4548,7 @@ mt note 1 human 1 skin 175,50,95,255 + glow 1 glowcolor 175,50,95 } props @@ -4501,6 +4596,7 @@ mt note 1 human 1 skin 130,65,0,255 + glow 1 glowcolor 130,65,0 } props @@ -4551,6 +4647,7 @@ mt chance 100.0 note 1 skin 0,170,255,150 + glow 1 glowcolor 255,0,0 } props @@ -4658,6 +4755,7 @@ mt note 1 human 1 skin 15,15,15,255 + glow 1 glowcolor 100,15,15 } props @@ -4724,6 +4822,7 @@ mt note 1 human 1 skin 0,0,0,255 + glow 1 glowcolor 255,0,0 } props @@ -4860,6 +4959,7 @@ mt note 1 human 1 skin 100,100,15,255 + glow 1 glowcolor 200,50,15 } props @@ -5110,6 +5210,7 @@ mt note 1 human 1 skin 255,150,255,255 + glow 1 glowcolor 255,150,255 } props @@ -5402,6 +5503,7 @@ mt note 1 human 1 skin 0,0,255,255 + glow 1 glowcolor 255,255,255 } props diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_absorb.smx b/addons/sourcemod/plugins/mutant_tanks/mt_absorb.smx index 646aac8f16..0051eb2b52 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_absorb.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_absorb.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_acid.smx b/addons/sourcemod/plugins/mutant_tanks/mt_acid.smx index e2a9e34ebe..bb2e070aff 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_acid.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_acid.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_aimless.smx b/addons/sourcemod/plugins/mutant_tanks/mt_aimless.smx index 0cdc0210f2..39c4ac84d5 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_aimless.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_aimless.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_ammo.smx b/addons/sourcemod/plugins/mutant_tanks/mt_ammo.smx index 5519204e13..4ac4451ce6 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_ammo.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_ammo.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_blind.smx b/addons/sourcemod/plugins/mutant_tanks/mt_blind.smx index 9e885754d1..ba37fb1a8e 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_blind.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_blind.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_bomb.smx b/addons/sourcemod/plugins/mutant_tanks/mt_bomb.smx index dff81d1c14..9edf556658 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_bomb.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_bomb.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_bury.smx b/addons/sourcemod/plugins/mutant_tanks/mt_bury.smx index 3c111a7cbd..c2d512d542 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_bury.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_bury.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_car.smx b/addons/sourcemod/plugins/mutant_tanks/mt_car.smx index 32ce8e056e..7e7c23281d 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_car.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_car.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_choke.smx b/addons/sourcemod/plugins/mutant_tanks/mt_choke.smx index 1e32f7322d..c84929ae04 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_choke.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_choke.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_clone.smx b/addons/sourcemod/plugins/mutant_tanks/mt_clone.smx index d54ddcf7ec..f6f5cf26e2 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_clone.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_clone.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_cloud.smx b/addons/sourcemod/plugins/mutant_tanks/mt_cloud.smx index 13908f65f6..becdb579b1 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_cloud.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_cloud.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_drop.smx b/addons/sourcemod/plugins/mutant_tanks/mt_drop.smx index a2f26966cb..5f7b534106 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_drop.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_drop.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_drug.smx b/addons/sourcemod/plugins/mutant_tanks/mt_drug.smx index 7fc35acb41..d4a6200e6f 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_drug.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_drug.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_drunk.smx b/addons/sourcemod/plugins/mutant_tanks/mt_drunk.smx index 62c0e74c2e..45dfec13b2 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_drunk.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_drunk.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_electric.smx b/addons/sourcemod/plugins/mutant_tanks/mt_electric.smx index 5ff19e3cd0..8e6b8f7366 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_electric.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_electric.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_enforce.smx b/addons/sourcemod/plugins/mutant_tanks/mt_enforce.smx index 409183caa5..dbcdfe7b7a 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_enforce.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_enforce.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_fast.smx b/addons/sourcemod/plugins/mutant_tanks/mt_fast.smx index 86eb479f65..6c38394606 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_fast.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_fast.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_fire.smx b/addons/sourcemod/plugins/mutant_tanks/mt_fire.smx index 5ff6be884f..12d30902cb 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_fire.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_fire.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_fling.smx b/addons/sourcemod/plugins/mutant_tanks/mt_fling.smx index b18799ca17..59d639102f 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_fling.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_fling.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_fragile.smx b/addons/sourcemod/plugins/mutant_tanks/mt_fragile.smx index 826a8711c9..c58cfb5a10 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_fragile.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_fragile.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_ghost.smx b/addons/sourcemod/plugins/mutant_tanks/mt_ghost.smx index 94ebf3aff9..e2274684ae 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_ghost.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_ghost.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_god.smx b/addons/sourcemod/plugins/mutant_tanks/mt_god.smx index a47bd2a64a..8f2cea6f1c 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_god.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_god.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_gravity.smx b/addons/sourcemod/plugins/mutant_tanks/mt_gravity.smx index 9ee27dffc3..07488aa8e9 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_gravity.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_gravity.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_heal.smx b/addons/sourcemod/plugins/mutant_tanks/mt_heal.smx index 0961a1865a..07f72eb7e6 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_heal.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_heal.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_hit.smx b/addons/sourcemod/plugins/mutant_tanks/mt_hit.smx index dfd290f692..c3595a0ec4 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_hit.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_hit.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_hurt.smx b/addons/sourcemod/plugins/mutant_tanks/mt_hurt.smx index af1e0b2b4b..f63dc730f7 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_hurt.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_hurt.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_hypno.smx b/addons/sourcemod/plugins/mutant_tanks/mt_hypno.smx index 3d2131c12e..60ee203dab 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_hypno.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_hypno.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_ice.smx b/addons/sourcemod/plugins/mutant_tanks/mt_ice.smx index b5fd0c3d08..29051ee400 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_ice.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_ice.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_idle.smx b/addons/sourcemod/plugins/mutant_tanks/mt_idle.smx index a9b29a02cf..a549d1756e 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_idle.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_idle.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_invert.smx b/addons/sourcemod/plugins/mutant_tanks/mt_invert.smx index bd7a571b46..7be443f23d 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_invert.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_invert.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_item.smx b/addons/sourcemod/plugins/mutant_tanks/mt_item.smx index 4a4dcbe01c..351c687d68 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_item.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_item.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_jump.smx b/addons/sourcemod/plugins/mutant_tanks/mt_jump.smx index 4103358495..f285c6c092 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_jump.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_jump.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_kamikaze.smx b/addons/sourcemod/plugins/mutant_tanks/mt_kamikaze.smx index d5ea734ae6..52a0d4e939 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_kamikaze.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_kamikaze.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_lag.smx b/addons/sourcemod/plugins/mutant_tanks/mt_lag.smx index 1998d96e33..585b4b528f 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_lag.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_lag.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_leech.smx b/addons/sourcemod/plugins/mutant_tanks/mt_leech.smx index 86219380bd..93ff2dacb7 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_leech.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_leech.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_medic.smx b/addons/sourcemod/plugins/mutant_tanks/mt_medic.smx index be15e6baf7..1281235253 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_medic.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_medic.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_meteor.smx b/addons/sourcemod/plugins/mutant_tanks/mt_meteor.smx index 999781220c..cafc297ba4 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_meteor.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_meteor.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_minion.smx b/addons/sourcemod/plugins/mutant_tanks/mt_minion.smx index ef284c718b..98f24e3b3a 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_minion.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_minion.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_necro.smx b/addons/sourcemod/plugins/mutant_tanks/mt_necro.smx index 9abdca60f5..3172be2d98 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_necro.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_necro.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_nullify.smx b/addons/sourcemod/plugins/mutant_tanks/mt_nullify.smx index b38956cb62..9200fe6ea6 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_nullify.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_nullify.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_omni.smx b/addons/sourcemod/plugins/mutant_tanks/mt_omni.smx index cb74918fe9..643780222d 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_omni.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_omni.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_panic.smx b/addons/sourcemod/plugins/mutant_tanks/mt_panic.smx index e9861c0851..dbadcd75f3 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_panic.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_panic.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_pimp.smx b/addons/sourcemod/plugins/mutant_tanks/mt_pimp.smx index 7d436a96d8..87a3ae5380 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_pimp.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_pimp.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_puke.smx b/addons/sourcemod/plugins/mutant_tanks/mt_puke.smx index 65a7c59ade..f9601aa640 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_puke.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_puke.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_pyro.smx b/addons/sourcemod/plugins/mutant_tanks/mt_pyro.smx index 3a95a5bc72..4a777d3e1a 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_pyro.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_pyro.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_quiet.smx b/addons/sourcemod/plugins/mutant_tanks/mt_quiet.smx index 027b41ffdf..c51c634d8e 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_quiet.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_quiet.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_recoil.smx b/addons/sourcemod/plugins/mutant_tanks/mt_recoil.smx index 3b362a37bd..d7a60ada02 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_recoil.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_recoil.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_regen.smx b/addons/sourcemod/plugins/mutant_tanks/mt_regen.smx index 5bc98d8b04..6c8d3f8e14 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_regen.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_regen.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_respawn.smx b/addons/sourcemod/plugins/mutant_tanks/mt_respawn.smx index 64d47f57e3..096bffa906 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_respawn.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_respawn.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_restart.smx b/addons/sourcemod/plugins/mutant_tanks/mt_restart.smx index bbc98be228..5ba097ec8c 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_restart.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_restart.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_rock.smx b/addons/sourcemod/plugins/mutant_tanks/mt_rock.smx index 1fe28fd68c..4eaba44b24 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_rock.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_rock.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_rocket.smx b/addons/sourcemod/plugins/mutant_tanks/mt_rocket.smx index 6aa0301cd5..3d38807b0e 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_rocket.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_rocket.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_shake.smx b/addons/sourcemod/plugins/mutant_tanks/mt_shake.smx index 55c34a6e5f..345fbc1568 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_shake.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_shake.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_shield.smx b/addons/sourcemod/plugins/mutant_tanks/mt_shield.smx index 08484bbdf6..30d45158de 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_shield.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_shield.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_shove.smx b/addons/sourcemod/plugins/mutant_tanks/mt_shove.smx index 8ae1ab2a8d..de76191d18 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_shove.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_shove.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_slow.smx b/addons/sourcemod/plugins/mutant_tanks/mt_slow.smx index 189557c9e1..aa5a505a4d 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_slow.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_slow.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_smash.smx b/addons/sourcemod/plugins/mutant_tanks/mt_smash.smx index 7ccfebdf9a..c0ced54909 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_smash.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_smash.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_smite.smx b/addons/sourcemod/plugins/mutant_tanks/mt_smite.smx index f9ad70a45f..45a012cb66 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_smite.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_smite.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_spam.smx b/addons/sourcemod/plugins/mutant_tanks/mt_spam.smx index bbbc7f2eb4..015e72ef7d 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_spam.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_spam.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_splash.smx b/addons/sourcemod/plugins/mutant_tanks/mt_splash.smx index cd53feae9b..e8f1fe6b66 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_splash.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_splash.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_throw.smx b/addons/sourcemod/plugins/mutant_tanks/mt_throw.smx index 245d82051c..080891e0aa 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_throw.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_throw.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_track.smx b/addons/sourcemod/plugins/mutant_tanks/mt_track.smx index 98901af309..f1c26d0279 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_track.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_track.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_ultimate.smx b/addons/sourcemod/plugins/mutant_tanks/mt_ultimate.smx index 9c87b5de49..f3ea0ee715 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_ultimate.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_ultimate.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_undead.smx b/addons/sourcemod/plugins/mutant_tanks/mt_undead.smx index 0f5cc22dc6..fafe1a2259 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_undead.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_undead.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_vampire.smx b/addons/sourcemod/plugins/mutant_tanks/mt_vampire.smx index 6b4fe06208..04ab7201a8 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_vampire.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_vampire.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_vision.smx b/addons/sourcemod/plugins/mutant_tanks/mt_vision.smx index 8455cd8542..abf7b2586e 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_vision.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_vision.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_warp.smx b/addons/sourcemod/plugins/mutant_tanks/mt_warp.smx index bacfe0b929..d7091659b2 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_warp.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_warp.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_whirl.smx b/addons/sourcemod/plugins/mutant_tanks/mt_whirl.smx index 5e56bdcfc8..0f64abdb91 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_whirl.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_whirl.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_witch.smx b/addons/sourcemod/plugins/mutant_tanks/mt_witch.smx index 50feaa35c4..3ae6cf9391 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_witch.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_witch.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_xiphos.smx b/addons/sourcemod/plugins/mutant_tanks/mt_xiphos.smx index bd4dc2aa1a..a29e40b51d 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_xiphos.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_xiphos.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_yell.smx b/addons/sourcemod/plugins/mutant_tanks/mt_yell.smx index 943ae47bb9..93a5f10772 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_yell.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_yell.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mt_zombie.smx b/addons/sourcemod/plugins/mutant_tanks/mt_zombie.smx index 8c5c00a8c3..2a5b94d106 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mt_zombie.smx and b/addons/sourcemod/plugins/mutant_tanks/mt_zombie.smx differ diff --git a/addons/sourcemod/plugins/mutant_tanks/mutant_tanks.smx b/addons/sourcemod/plugins/mutant_tanks/mutant_tanks.smx index 644de41db9..fe803dd312 100644 Binary files a/addons/sourcemod/plugins/mutant_tanks/mutant_tanks.smx and b/addons/sourcemod/plugins/mutant_tanks/mutant_tanks.smx differ diff --git a/addons/sourcemod/scripting/include/mutant_tanks.inc b/addons/sourcemod/scripting/include/mutant_tanks.inc index 8de9f039f7..23398b62c4 100644 --- a/addons/sourcemod/scripting/include/mutant_tanks.inc +++ b/addons/sourcemod/scripting/include/mutant_tanks.inc @@ -187,15 +187,6 @@ forward void MT_OnRockThrow(int tank, int rock); **/ native bool MT_CanTankSpawn(int type); -/** - * Returns the status of an ability for a certain Mutant Tank type. - * - * @param type Mutant Tank type. - * @param order Ability order starting from 0. - * @param status True if the type has the ability, false otherwise. - **/ -native void MT_FindAbility(int type, int order, bool status); - /** * Returns the current access flags set by the core plugin. * @@ -952,16 +943,6 @@ stock void MT_PrintToChatAll(char[] message, any ...) } // Checks -stock bool bHasAbilities(const char[] subsection, const char[] sub1, const char[] sub2, const char[] sub3, const char[] sub4) -{ - if (StrEqual(subsection, sub1, false) || StrEqual(subsection, sub2, false) || StrEqual(subsection, sub3, false) || StrEqual(subsection, sub4, false)) - { - return true; - } - - return false; -} - stock bool bHasIdlePlayer(int survivor) { char sClassname[32]; @@ -1700,7 +1681,6 @@ public SharedPlugin __pl_mutanttanks = public void __pl_mutanttanks_SetNTVOptional() { MarkNativeAsOptional("MT_CanTankSpawn"); - MarkNativeAsOptional("MT_FindAbility"); MarkNativeAsOptional("MT_GetAccessFlags"); MarkNativeAsOptional("MT_GetCurrentFinaleWave"); MarkNativeAsOptional("MT_GetImmunityFlags"); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_absorb.sp b/addons/sourcemod/scripting/mutant_tanks/mt_absorb.sp index 8884c3d50a..f63c681962 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_absorb.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_absorb.sp @@ -333,7 +333,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 0, bHasAbilities(subsection, "absorbability", "absorb ability", "absorb_ability", "absorb")); g_iHumanAbility[type] = iGetValue(subsection, "absorbability", "absorb ability", "absorb_ability", "absorb", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "absorbability", "absorb ability", "absorb_ability", "absorb", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "absorbability", "absorb ability", "absorb_ability", "absorb", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_acid.sp b/addons/sourcemod/scripting/mutant_tanks/mt_acid.sp index 35a1cfbcba..a2bdc5417d 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_acid.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_acid.sp @@ -371,7 +371,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 1, bHasAbilities(subsection, "acidability", "acid ability", "acid_ability", "acid")); g_iHumanAbility[type] = iGetValue(subsection, "acidability", "acid ability", "acid_ability", "acid", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "acidability", "acid ability", "acid_ability", "acid", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "acidability", "acid ability", "acid_ability", "acid", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_aimless.sp b/addons/sourcemod/scripting/mutant_tanks/mt_aimless.sp index c73bb1f885..2b5d3ec7d2 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_aimless.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_aimless.sp @@ -341,7 +341,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 2, bHasAbilities(subsection, "aimlessability", "aimless ability", "aimless_ability", "aimless")); g_iHumanAbility[type] = iGetValue(subsection, "aimlessability", "aimless ability", "aimless_ability", "aimless", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "aimlessability", "aimless ability", "aimless_ability", "aimless", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "aimlessability", "aimless ability", "aimless_ability", "aimless", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_ammo.sp b/addons/sourcemod/scripting/mutant_tanks/mt_ammo.sp index bfbc4614bf..a5ee6f42c2 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_ammo.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_ammo.sp @@ -319,7 +319,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 3, bHasAbilities(subsection, "ammoability", "ammo ability", "ammo_ability", "ammo")); g_iHumanAbility[type] = iGetValue(subsection, "ammoability", "ammo ability", "ammo_ability", "ammo", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "ammoability", "ammo ability", "ammo_ability", "ammo", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "ammoability", "ammo ability", "ammo_ability", "ammo", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_blind.sp b/addons/sourcemod/scripting/mutant_tanks/mt_blind.sp index 504f0d2444..c640feaac6 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_blind.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_blind.sp @@ -331,7 +331,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 4, bHasAbilities(subsection, "blindability", "blind ability", "blind_ability", "blind")); g_iHumanAbility[type] = iGetValue(subsection, "blindability", "blind ability", "blind_ability", "blind", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "blindability", "blind ability", "blind_ability", "blind", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "blindability", "blind ability", "blind_ability", "blind", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_bomb.sp b/addons/sourcemod/scripting/mutant_tanks/mt_bomb.sp index 2033f0258d..6edd702f5e 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_bomb.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_bomb.sp @@ -324,7 +324,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 5, bHasAbilities(subsection, "bombability", "bomb ability", "bomb_ability", "bomb")); g_iHumanAbility[type] = iGetValue(subsection, "bombability", "bomb ability", "bomb_ability", "bomb", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "bombability", "bomb ability", "bomb_ability", "bomb", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "bombability", "bomb ability", "bomb_ability", "bomb", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_bury.sp b/addons/sourcemod/scripting/mutant_tanks/mt_bury.sp index 3c65c81707..63c42b86a6 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_bury.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_bury.sp @@ -327,7 +327,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 6, bHasAbilities(subsection, "buryability", "bury ability", "bury_ability", "bury")); g_iHumanAbility[type] = iGetValue(subsection, "buryability", "bury ability", "bury_ability", "bury", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "buryability", "bury ability", "bury_ability", "bury", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "buryability", "bury ability", "bury_ability", "bury", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_car.sp b/addons/sourcemod/scripting/mutant_tanks/mt_car.sp index 8fbb305524..a2cb437e1b 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_car.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_car.sp @@ -279,7 +279,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 7, bHasAbilities(subsection, "carability", "car ability", "car_ability", "car")); g_iHumanAbility[type] = iGetValue(subsection, "carability", "car ability", "car_ability", "car", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "carability", "car ability", "car_ability", "car", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "carability", "car ability", "car_ability", "car", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); @@ -672,9 +671,8 @@ public Action tTimerCar(Handle timer, DataPack pack) DispatchSpawn(iCar); TeleportEntity(iCar, flHitpos, flAngles2, flVelocity); - CreateTimer(6.0, tTimerSetCarVelocity, EntIndexToEntRef(iCar), TIMER_FLAG_NO_MAPCHANGE); - iCar = EntIndexToEntRef(iCar); + CreateTimer(6.0, tTimerSetCarVelocity, iCar, TIMER_FLAG_NO_MAPCHANGE); vDeleteEntity(iCar, 30.0); } } diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_choke.sp b/addons/sourcemod/scripting/mutant_tanks/mt_choke.sp index 7c4b98b0a0..1b720a59ba 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_choke.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_choke.sp @@ -329,7 +329,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 8, bHasAbilities(subsection, "chokeability", "choke ability", "choke_ability", "choke")); g_iHumanAbility[type] = iGetValue(subsection, "chokeability", "choke ability", "choke_ability", "choke", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "chokeability", "choke ability", "choke_ability", "choke", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "chokeability", "choke ability", "choke_ability", "choke", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_clone.sp b/addons/sourcemod/scripting/mutant_tanks/mt_clone.sp index 7e07cdf0eb..2759b26d90 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_clone.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_clone.sp @@ -252,7 +252,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 9, bHasAbilities(subsection, "cloneability", "clone ability", "clone_ability", "clone")); g_iHumanAbility[type] = iGetValue(subsection, "cloneability", "clone ability", "clone_ability", "clone", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "cloneability", "clone ability", "clone_ability", "clone", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "cloneability", "clone ability", "clone_ability", "clone", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_cloud.sp b/addons/sourcemod/scripting/mutant_tanks/mt_cloud.sp index b614832531..9bdf69f91d 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_cloud.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_cloud.sp @@ -279,7 +279,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 10, bHasAbilities(subsection, "cloudability", "cloud ability", "cloud_ability", "cloud")); g_iHumanAbility[type] = iGetValue(subsection, "cloudability", "cloud ability", "cloud_ability", "cloud", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "cloudability", "cloud ability", "cloud_ability", "cloud", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "cloudability", "cloud ability", "cloud_ability", "cloud", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_drop.sp b/addons/sourcemod/scripting/mutant_tanks/mt_drop.sp index e422f0cccc..93eded9e16 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_drop.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_drop.sp @@ -489,7 +489,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 11, bHasAbilities(subsection, "dropability", "drop ability", "drop_ability", "drop")); g_iHumanAbility[type] = iGetValue(subsection, "dropability", "drop ability", "drop_ability", "drop", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iDropAbility[type] = iGetValue(subsection, "dropability", "drop ability", "drop_ability", "drop", key, "AbilityEnabled", "Ability Enabled", "Ability_Enabled", "enabled", g_iDropAbility[type], value, 0, 1); g_iDropMessage[type] = iGetValue(subsection, "dropability", "drop ability", "drop_ability", "drop", key, "AbilityMessage", "Ability Message", "Ability_Message", "message", g_iDropMessage[type], value, 0, 1); @@ -604,7 +603,7 @@ public void MT_OnChangeType(int tank, bool revert) static void vDropWeapon(int tank) { - if (MT_IsTankSupported(tank, MT_CHECK_INDEX|MT_CHECK_INGAME|MT_CHECK_KICKQUEUE) && bIsCloneAllowed(tank, g_bCloneInstalled) && g_iDropAbility[MT_GetTankType(tank)] == 1 && GetRandomFloat(0.1, 100.0) <= g_flDropChance[MT_GetTankType(tank)] && bIsValidEntity(g_iDrop[tank])) + if (MT_IsTankSupported(tank, MT_CHECK_INDEX|MT_CHECK_INGAME|MT_CHECK_KICKQUEUE) && bIsCloneAllowed(tank, g_bCloneInstalled) && g_iDropAbility[MT_GetTankType(tank)] == 1 && GetRandomFloat(0.1, 100.0) <= g_flDropChance[MT_GetTankType(tank)] && bIsValidEntRef(g_iDrop[tank])) { if (!MT_HasAdminAccess(tank) && !bHasAdminAccess(tank)) { @@ -706,7 +705,7 @@ static void vDropWeapon(int tank) static void vRemoveDrop(int tank) { - if (bIsValidEntity(g_iDrop[tank])) + if (bIsValidEntRef(g_iDrop[tank])) { MT_HideEntity(g_iDrop[tank], false); RemoveEntity(g_iDrop[tank]); @@ -936,6 +935,7 @@ public Action tTimerDrop(Handle timer, int userid) g_iDropWeapon[iTank] = iWeapon; MT_HideEntity(g_iDrop[iTank], true); + g_iDrop[iTank] = EntIndexToEntRef(g_iDrop[iTank]); } return Plugin_Continue; diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_drug.sp b/addons/sourcemod/scripting/mutant_tanks/mt_drug.sp index a15e055e62..2c0968b5de 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_drug.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_drug.sp @@ -331,7 +331,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 12, bHasAbilities(subsection, "drugability", "drug ability", "drug_ability", "drug")); g_iHumanAbility[type] = iGetValue(subsection, "drugability", "drug ability", "drug_ability", "drug", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "drugability", "drug ability", "drug_ability", "drug", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "drugability", "drug ability", "drug_ability", "drug", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_drunk.sp b/addons/sourcemod/scripting/mutant_tanks/mt_drunk.sp index 16658d0494..af3aaff641 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_drunk.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_drunk.sp @@ -328,7 +328,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 13, bHasAbilities(subsection, "drunkability", "drunk ability", "drunk_ability", "drunk")); g_iHumanAbility[type] = iGetValue(subsection, "drunkability", "drunk ability", "drunk_ability", "drunk", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "drunkability", "drunk ability", "drunk_ability", "drunk", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "drunkability", "drunk ability", "drunk_ability", "drunk", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_electric.sp b/addons/sourcemod/scripting/mutant_tanks/mt_electric.sp index 365de40b32..eb5d2a63bf 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_electric.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_electric.sp @@ -338,7 +338,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 14, bHasAbilities(subsection, "electricability", "electric ability", "electric_ability", "electric")); g_iHumanAbility[type] = iGetValue(subsection, "electricability", "electric ability", "electric_ability", "electric", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "electricability", "electric ability", "electric_ability", "electric", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "electricability", "electric ability", "electric_ability", "electric", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_enforce.sp b/addons/sourcemod/scripting/mutant_tanks/mt_enforce.sp index aef60ab42b..2a48da0877 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_enforce.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_enforce.sp @@ -342,7 +342,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 15, bHasAbilities(subsection, "enforceability", "enforce ability", "enforce_ability", "enforce")); g_iHumanAbility[type] = iGetValue(subsection, "enforceability", "enforce ability", "enforce_ability", "enforce", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "enforceability", "enforce ability", "enforce_ability", "enforce", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "enforceability", "enforce ability", "enforce_ability", "enforce", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_fast.sp b/addons/sourcemod/scripting/mutant_tanks/mt_fast.sp index 58ca791469..6d844939a5 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_fast.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_fast.sp @@ -269,7 +269,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 16, bHasAbilities(subsection, "fastability", "fast ability", "famt_ability", "fast")); g_iHumanAbility[type] = iGetValue(subsection, "fastability", "fast ability", "famt_ability", "fast", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "fastability", "fast ability", "famt_ability", "fast", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "fastability", "fast ability", "famt_ability", "fast", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_fire.sp b/addons/sourcemod/scripting/mutant_tanks/mt_fire.sp index ef0d5cd64e..d816427ddf 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_fire.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_fire.sp @@ -324,7 +324,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 17, bHasAbilities(subsection, "fireability", "fire ability", "fire_ability", "fire")); g_iHumanAbility[type] = iGetValue(subsection, "fireability", "fire ability", "fire_ability", "fire", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "fireability", "fire ability", "fire_ability", "fire", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "fireability", "fire ability", "fire_ability", "fire", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_fling.sp b/addons/sourcemod/scripting/mutant_tanks/mt_fling.sp index 68cb07c102..d9edef3c26 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_fling.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_fling.sp @@ -367,7 +367,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 18, bHasAbilities(subsection, "flingability", "fling ability", "fling_ability", "fling")); g_iHumanAbility[type] = iGetValue(subsection, "flingability", "fling ability", "fling_ability", "fling", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "flingability", "fling ability", "fling_ability", "fling", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "flingability", "fling ability", "fling_ability", "fling", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_fragile.sp b/addons/sourcemod/scripting/mutant_tanks/mt_fragile.sp index 74943e6ef6..b9909c6b42 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_fragile.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_fragile.sp @@ -333,7 +333,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 19, bHasAbilities(subsection, "fragileability", "fragile ability", "fragile_ability", "fragile")); g_iHumanAbility[type] = iGetValue(subsection, "fragileability", "fragile ability", "fragile_ability", "fragile", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "fragileability", "fragile ability", "fragile_ability", "fragile", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "fragileability", "fragile ability", "fragile_ability", "fragile", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_ghost.sp b/addons/sourcemod/scripting/mutant_tanks/mt_ghost.sp index cbe33381ca..7eccbc9c1e 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_ghost.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_ghost.sp @@ -358,7 +358,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 20, bHasAbilities(subsection, "ghostability", "ghost ability", "ghomt_ability", "ghost")); g_iHumanAbility[type] = iGetValue(subsection, "ghostability", "ghost ability", "ghomt_ability", "ghost", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "ghostability", "ghost ability", "ghomt_ability", "ghost", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "ghostability", "ghost ability", "ghomt_ability", "ghost", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_god.sp b/addons/sourcemod/scripting/mutant_tanks/mt_god.sp index d8b1ae32ba..7216aa6b50 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_god.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_god.sp @@ -314,7 +314,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 21, bHasAbilities(subsection, "godability", "god ability", "god_ability", "god")); g_iHumanAbility[type] = iGetValue(subsection, "godability", "god ability", "god_ability", "god", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "godability", "god ability", "god_ability", "god", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "godability", "god ability", "god_ability", "god", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_gravity.sp b/addons/sourcemod/scripting/mutant_tanks/mt_gravity.sp index 466f83f351..10cffbb808 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_gravity.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_gravity.sp @@ -344,7 +344,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 22, bHasAbilities(subsection, "gravityability", "gravity ability", "gravity_ability", "gravity")); g_iHumanAbility[type] = iGetValue(subsection, "gravityability", "gravity ability", "gravity_ability", "gravity", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "gravityability", "gravity ability", "gravity_ability", "gravity", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "gravityability", "gravity ability", "gravity_ability", "gravity", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); @@ -560,6 +559,7 @@ static void vGravity(int tank) DispatchKeyValue(g_iGravity[tank], "spawnflags", "8"); vSetEntityParent(g_iGravity[tank], tank, true); AcceptEntityInput(g_iGravity[tank], "Enable"); + g_iGravity[tank] = EntIndexToEntRef(g_iGravity[tank]); } static void vGravityAbility(int tank, bool main) @@ -720,7 +720,7 @@ static void vGravityHit(int survivor, int tank, float chance, int enabled, int m static void vRemoveGravity(int tank) { - if (bIsValidEntity(g_iGravity[tank])) + if (bIsValidEntRef(g_iGravity[tank])) { RemoveEntity(g_iGravity[tank]); } @@ -775,7 +775,7 @@ static void vReset3(int tank) g_bGravity[tank] = false; g_bGravity3[tank] = true; - if (bIsValidEntity(g_iGravity[tank])) + if (bIsValidEntRef(g_iGravity[tank])) { RemoveEntity(g_iGravity[tank]); } @@ -925,7 +925,7 @@ public Action tTimerGravity(Handle timer, DataPack pack) { g_bGravity[iTank] = false; - if (bIsValidEntity(g_iGravity[iTank])) + if (bIsValidEntRef(g_iGravity[iTank])) { RemoveEntity(g_iGravity[iTank]); } diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_heal.sp b/addons/sourcemod/scripting/mutant_tanks/mt_heal.sp index 604257f1c8..893f3ad611 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_heal.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_heal.sp @@ -356,7 +356,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 23, bHasAbilities(subsection, "healability", "heal ability", "heal_ability", "heal")); g_iHumanAbility[type] = iGetValue(subsection, "healability", "heal ability", "heal_ability", "heal", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "healability", "heal ability", "heal_ability", "heal", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "healability", "heal ability", "heal_ability", "heal", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_hit.sp b/addons/sourcemod/scripting/mutant_tanks/mt_hit.sp index d52a60a66d..7cd970eb84 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_hit.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_hit.sp @@ -270,7 +270,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 24, bHasAbilities(subsection, "hitability", "hit ability", "hit_ability", "hit")); g_iHumanAbility[type] = iGetValue(subsection, "hitability", "hit ability", "hit_ability", "hit", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHitAbility[type] = iGetValue(subsection, "hitability", "hit ability", "hit_ability", "hit", key, "AbilityEnabled", "Ability Enabled", "Ability_Enabled", "enabled", g_iHitAbility[type], value, 0, 1); g_flHitDamageMultiplier[type] = flGetValue(subsection, "Hit Ability", "Hit Ability", "Hit_Ability", "hit", key, "HitDamageMultiplier", "Hit Damage Multiplier", "Hit_Damage_Multiplier", "dmgmulti", g_flHitDamageMultiplier[type], value, 1.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_hurt.sp b/addons/sourcemod/scripting/mutant_tanks/mt_hurt.sp index b368104f8e..d15954bac1 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_hurt.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_hurt.sp @@ -328,7 +328,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 25, bHasAbilities(subsection, "hurtability", "hurt ability", "hurt_ability", "hurt")); g_iHumanAbility[type] = iGetValue(subsection, "hurtability", "hurt ability", "hurt_ability", "hurt", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "hurtability", "hurt ability", "hurt_ability", "hurt", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "hurtability", "hurt ability", "hurt_ability", "hurt", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_hypno.sp b/addons/sourcemod/scripting/mutant_tanks/mt_hypno.sp index 2bd772b40c..692bba2af1 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_hypno.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_hypno.sp @@ -375,7 +375,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 26, bHasAbilities(subsection, "hypnoability", "hypno ability", "hypno_ability", "hypno")); g_iHumanAbility[type] = iGetValue(subsection, "hypnoability", "hypno ability", "hypno_ability", "hypno", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "hypnoability", "hypno ability", "hypno_ability", "hypno", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "hypnoability", "hypno ability", "hypno_ability", "hypno", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_ice.sp b/addons/sourcemod/scripting/mutant_tanks/mt_ice.sp index d4e3a7f6ef..ce3bb5b5f3 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_ice.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_ice.sp @@ -330,7 +330,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 27, bHasAbilities(subsection, "iceability", "ice ability", "ice_ability", "ice")); g_iHumanAbility[type] = iGetValue(subsection, "iceability", "ice ability", "ice_ability", "ice", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "iceability", "ice ability", "ice_ability", "ice", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "iceability", "ice ability", "ice_ability", "ice", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_idle.sp b/addons/sourcemod/scripting/mutant_tanks/mt_idle.sp index c8c1e7b706..9420b031fa 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_idle.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_idle.sp @@ -349,7 +349,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 28, bHasAbilities(subsection, "idleability", "idle ability", "idle_ability", "idle")); g_iHumanAbility[type] = iGetValue(subsection, "idleability", "idle ability", "idle_ability", "idle", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "idleability", "idle ability", "idle_ability", "idle", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "idleability", "idle ability", "idle_ability", "idle", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_invert.sp b/addons/sourcemod/scripting/mutant_tanks/mt_invert.sp index 74a885b5c6..bef08dbef6 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_invert.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_invert.sp @@ -365,7 +365,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 29, bHasAbilities(subsection, "invertability", "invert ability", "invert_ability", "invert")); g_iHumanAbility[type] = iGetValue(subsection, "invertability", "invert ability", "invert_ability", "invert", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "invertability", "invert ability", "invert_ability", "invert", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "invertability", "invert ability", "invert_ability", "invert", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_item.sp b/addons/sourcemod/scripting/mutant_tanks/mt_item.sp index da21b03680..8441df25fc 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_item.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_item.sp @@ -246,7 +246,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 30, bHasAbilities(subsection, "itemability", "item ability", "item_ability", "item")); g_iHumanAbility[type] = iGetValue(subsection, "itemability", "item ability", "item_ability", "item", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iItemAbility[type] = iGetValue(subsection, "itemability", "item ability", "item_ability", "item", key, "AbilityEnabled", "Ability Enabled", "Ability_Enabled", "enabled", g_iItemAbility[type], value, 0, 1); g_iItemMessage[type] = iGetValue(subsection, "itemability", "item ability", "item_ability", "item", key, "AbilityMessage", "Ability Message", "Ability_Message", "message", g_iItemMessage[type], value, 0, 1); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_jump.sp b/addons/sourcemod/scripting/mutant_tanks/mt_jump.sp index e0c3f0b377..b3dd966e02 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_jump.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_jump.sp @@ -347,7 +347,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 31, bHasAbilities(subsection, "jumpability", "jump ability", "jump_ability", "jump")); g_iHumanAbility[type] = iGetValue(subsection, "jumpability", "jump ability", "jump_ability", "jump", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "jumpability", "jump ability", "jump_ability", "jump", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "jumpability", "jump ability", "jump_ability", "jump", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_kamikaze.sp b/addons/sourcemod/scripting/mutant_tanks/mt_kamikaze.sp index 12a57186af..5c9e71d776 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_kamikaze.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_kamikaze.sp @@ -312,7 +312,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 32, bHasAbilities(subsection, "kamikazeability", "kamikaze ability", "kamikaze_ability", "kamikaze")); g_iHumanAbility[type] = iGetValue(subsection, "kamikazeability", "kamikaze ability", "kamikaze_ability", "kamikaze", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iKamikazeAbility[type] = iGetValue(subsection, "kamikazeability", "kamikaze ability", "kamikaze_ability", "kamikaze", key, "AbilityEnabled", "Ability Enabled", "Ability_Enabled", "enabled", g_iKamikazeAbility[type], value, 0, 1); g_iKamikazeEffect[type] = iGetValue(subsection, "kamikazeability", "kamikaze ability", "kamikaze_ability", "kamikaze", key, "AbilityEffect", "Ability Effect", "Ability_Effect", "effect", g_iKamikazeEffect[type], value, 0, 7); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_lag.sp b/addons/sourcemod/scripting/mutant_tanks/mt_lag.sp index c6782fe6b8..94dc56920c 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_lag.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_lag.sp @@ -326,7 +326,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 33, bHasAbilities(subsection, "lagability", "lag ability", "lag_ability", "lag")); g_iHumanAbility[type] = iGetValue(subsection, "lagability", "lag ability", "lag_ability", "lag", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "lagability", "lag ability", "lag_ability", "lag", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "lagability", "lag ability", "lag_ability", "lag", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_leech.sp b/addons/sourcemod/scripting/mutant_tanks/mt_leech.sp index 5abdbbe799..4ebefbfef9 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_leech.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_leech.sp @@ -327,7 +327,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 34, bHasAbilities(subsection, "leechability", "leech ability", "leech_ability", "leech")); g_iHumanAbility[type] = iGetValue(subsection, "leechability", "leech ability", "leech_ability", "leech", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "leechability", "leech ability", "leech_ability", "leech", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "leechability", "leech ability", "leech_ability", "leech", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_medic.sp b/addons/sourcemod/scripting/mutant_tanks/mt_medic.sp index bdbb5739d9..a8766b73c6 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_medic.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_medic.sp @@ -286,7 +286,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 35, bHasAbilities(subsection, "medicability", "medic ability", "medic_ability", "medic")); g_iHumanAbility[type] = iGetValue(subsection, "medicability", "medic ability", "medic_ability", "medic", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "medicability", "medic ability", "medic_ability", "medic", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "medicability", "medic ability", "medic_ability", "medic", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_meteor.sp b/addons/sourcemod/scripting/mutant_tanks/mt_meteor.sp index c7c0256e6c..215a7b62f0 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_meteor.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_meteor.sp @@ -289,7 +289,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 36, bHasAbilities(subsection, "meteorability", "meteor ability", "meteor_ability", "meteor")); g_iHumanAbility[type] = iGetValue(subsection, "meteorability", "meteor ability", "meteor_ability", "meteor", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "meteorability", "meteor ability", "meteor_ability", "meteor", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "meteorability", "meteor ability", "meteor_ability", "meteor", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_minion.sp b/addons/sourcemod/scripting/mutant_tanks/mt_minion.sp index a7e1540ac6..204aa304c7 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_minion.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_minion.sp @@ -255,7 +255,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 37, bHasAbilities(subsection, "minionability", "minion ability", "minion_ability", "minion")); g_iHumanAbility[type] = iGetValue(subsection, "minionability", "minion ability", "minion_ability", "minion", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "minionability", "minion ability", "minion_ability", "minion", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "minionability", "minion ability", "minion_ability", "minion", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_necro.sp b/addons/sourcemod/scripting/mutant_tanks/mt_necro.sp index e122a57fb3..8a040167e2 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_necro.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_necro.sp @@ -271,7 +271,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 38, bHasAbilities(subsection, "necroability", "necro ability", "necro_ability", "necro")); g_iHumanAbility[type] = iGetValue(subsection, "necroability", "necro ability", "necro_ability", "necro", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "necroability", "necro ability", "necro_ability", "necro", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "necroability", "necro ability", "necro_ability", "necro", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_nullify.sp b/addons/sourcemod/scripting/mutant_tanks/mt_nullify.sp index cdf605ae8d..b64f6f1e03 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_nullify.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_nullify.sp @@ -329,7 +329,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 39, bHasAbilities(subsection, "nullifyability", "nullify ability", "nullify_ability", "nullify")); g_iHumanAbility[type] = iGetValue(subsection, "nullifyability", "nullify ability", "nullify_ability", "nullify", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "nullifyability", "nullify ability", "nullify_ability", "nullify", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "nullifyability", "nullify ability", "nullify_ability", "nullify", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_omni.sp b/addons/sourcemod/scripting/mutant_tanks/mt_omni.sp index 405a428a78..22f0962f47 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_omni.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_omni.sp @@ -270,7 +270,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 40, bHasAbilities(subsection, "omniability", "omni ability", "omni_ability", "omni")); g_iHumanAbility[type] = iGetValue(subsection, "omniability", "omni ability", "omni_ability", "omni", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "omniability", "omni ability", "omni_ability", "omni", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "omniability", "omni ability", "omni_ability", "omni", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_panic.sp b/addons/sourcemod/scripting/mutant_tanks/mt_panic.sp index e10f7a0f11..f20b551b0c 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_panic.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_panic.sp @@ -270,7 +270,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 41, bHasAbilities(subsection, "panicability", "panic ability", "panic_ability", "panic")); g_iHumanAbility[type] = iGetValue(subsection, "panicability", "panic ability", "panic_ability", "panic", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "panicability", "panic ability", "panic_ability", "panic", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "panicability", "panic ability", "panic_ability", "panic", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_pimp.sp b/addons/sourcemod/scripting/mutant_tanks/mt_pimp.sp index 56fafe20ab..3684136948 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_pimp.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_pimp.sp @@ -328,7 +328,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 42, bHasAbilities(subsection, "pimpability", "pimp ability", "pimp_ability", "pimp")); g_iHumanAbility[type] = iGetValue(subsection, "pimpability", "pimp ability", "pimp_ability", "pimp", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "pimpability", "pimp ability", "pimp_ability", "pimp", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "pimpability", "pimp ability", "pimp_ability", "pimp", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_puke.sp b/addons/sourcemod/scripting/mutant_tanks/mt_puke.sp index b37fcc61b9..c47569b575 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_puke.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_puke.sp @@ -345,7 +345,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 43, bHasAbilities(subsection, "pukeability", "puke ability", "puke_ability", "puke")); g_iHumanAbility[type] = iGetValue(subsection, "pukeability", "puke ability", "puke_ability", "puke", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "pukeability", "puke ability", "puke_ability", "puke", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "pukeability", "puke ability", "puke_ability", "puke", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_pyro.sp b/addons/sourcemod/scripting/mutant_tanks/mt_pyro.sp index b18d642ce3..61a86faab9 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_pyro.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_pyro.sp @@ -363,7 +363,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 44, bHasAbilities(subsection, "pyroability", "pyro ability", "pyro_ability", "pyro")); g_iHumanAbility[type] = iGetValue(subsection, "pyroability", "pyro ability", "pyro_ability", "pyro", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "pyroability", "pyro ability", "pyro_ability", "pyro", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "pyroability", "pyro ability", "pyro_ability", "pyro", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_quiet.sp b/addons/sourcemod/scripting/mutant_tanks/mt_quiet.sp index 0f967dd5f5..1dc04b906a 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_quiet.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_quiet.sp @@ -354,7 +354,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 45, bHasAbilities(subsection, "quietability", "quiet ability", "quiet_ability", "quiet")); g_iHumanAbility[type] = iGetValue(subsection, "quietability", "quiet ability", "quiet_ability", "quiet", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "quietability", "quiet ability", "quiet_ability", "quiet", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "quietability", "quiet ability", "quiet_ability", "quiet", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_recoil.sp b/addons/sourcemod/scripting/mutant_tanks/mt_recoil.sp index c6abf10981..62ef637459 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_recoil.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_recoil.sp @@ -326,7 +326,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 46, bHasAbilities(subsection, "recoilability", "recoil ability", "recoil_ability", "recoil")); g_iHumanAbility[type] = iGetValue(subsection, "recoilability", "recoil ability", "recoil_ability", "recoil", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "recoilability", "recoil ability", "recoil_ability", "recoil", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "recoilability", "recoil ability", "recoil_ability", "recoil", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_regen.sp b/addons/sourcemod/scripting/mutant_tanks/mt_regen.sp index 5cba8998c6..8fdf3d739f 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_regen.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_regen.sp @@ -271,7 +271,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 47, bHasAbilities(subsection, "regenability", "regen ability", "regen_ability", "regen")); g_iHumanAbility[type] = iGetValue(subsection, "regenability", "regen ability", "regen_ability", "regen", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "regenability", "regen ability", "regen_ability", "regen", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "regenability", "regen ability", "regen_ability", "regen", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_respawn.sp b/addons/sourcemod/scripting/mutant_tanks/mt_respawn.sp index bd3a4163dc..2e5b70f964 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_respawn.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_respawn.sp @@ -247,7 +247,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 48, bHasAbilities(subsection, "respawnability", "respawn ability", "respawn_ability", "respawn")); g_iHumanAbility[type] = iGetValue(subsection, "respawnability", "respawn ability", "respawn_ability", "respawn", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "respawnability", "respawn ability", "respawn_ability", "respawn", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_iRespawnAbility[type] = iGetValue(subsection, "respawnability", "respawn ability", "respawn_ability", "respawn", key, "AbilityEnabled", "Ability Enabled", "Ability_Enabled", "enabled", g_iRespawnAbility[type], value, 0, 1); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_restart.sp b/addons/sourcemod/scripting/mutant_tanks/mt_restart.sp index 5c5bbfe594..5ea938b299 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_restart.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_restart.sp @@ -343,7 +343,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 49, bHasAbilities(subsection, "restartability", "restart ability", "restart_ability", "restart")); g_iHumanAbility[type] = iGetValue(subsection, "restartability", "restart ability", "restart_ability", "restart", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "restartability", "restart ability", "restart_ability", "restart", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "restartability", "restart ability", "restart_ability", "restart", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_rock.sp b/addons/sourcemod/scripting/mutant_tanks/mt_rock.sp index 415f3b9929..e5b0f10ac7 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_rock.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_rock.sp @@ -275,7 +275,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 50, bHasAbilities(subsection, "rockability", "rock ability", "rock_ability", "rock")); g_iHumanAbility[type] = iGetValue(subsection, "rockability", "rock ability", "rock_ability", "rock", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "rockability", "rock ability", "rock_ability", "rock", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "rockability", "rock ability", "rock_ability", "rock", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); @@ -438,7 +437,7 @@ static void vReset2(int tank) { g_bRock[tank] = false; - if (bIsValidEntity(g_iRock[tank])) + if (bIsValidEntRef(g_iRock[tank])) { RemoveEntity(g_iRock[tank]); } @@ -475,10 +474,11 @@ static void vRock(int tank) IntToString(g_iRockDamage[MT_GetTankType(tank)], sDamage, sizeof(sDamage)); DispatchSpawn(g_iRock[tank]); DispatchKeyValue(g_iRock[tank], "rockdamageoverride", sDamage); + g_iRock[tank] = EntIndexToEntRef(g_iRock[tank]); DataPack dpRock; CreateDataTimer(0.2, tTimerRock, dpRock, TIMER_FLAG_NO_MAPCHANGE|TIMER_REPEAT); - dpRock.WriteCell(EntIndexToEntRef(g_iRock[tank])); + dpRock.WriteCell(g_iRock[tank]); dpRock.WriteCell(GetClientUserId(tank)); dpRock.WriteCell(MT_GetTankType(tank)); dpRock.WriteFloat(GetEngineTime()); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_rocket.sp b/addons/sourcemod/scripting/mutant_tanks/mt_rocket.sp index af6e1817c4..0802e0feb0 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_rocket.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_rocket.sp @@ -331,7 +331,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 51, bHasAbilities(subsection, "rocketability", "rocket ability", "rocket_ability", "rocket")); g_iHumanAbility[type] = iGetValue(subsection, "rocketability", "rocket ability", "rocket_ability", "rocket", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "rocketability", "rocket ability", "rocket_ability", "rocket", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "rocketability", "rocket ability", "rocket_ability", "rocket", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_shake.sp b/addons/sourcemod/scripting/mutant_tanks/mt_shake.sp index 835d60b764..0ac6d11af6 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_shake.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_shake.sp @@ -327,7 +327,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 52, bHasAbilities(subsection, "shakeability", "shake ability", "shake_ability", "shake")); g_iHumanAbility[type] = iGetValue(subsection, "shakeability", "shake ability", "shake_ability", "shake", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "shakeability", "shake ability", "shake_ability", "shake", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "shakeability", "shake ability", "shake_ability", "shake", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_shield.sp b/addons/sourcemod/scripting/mutant_tanks/mt_shield.sp index f5753aa698..a973d78e10 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_shield.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_shield.sp @@ -388,7 +388,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 53, bHasAbilities(subsection, "shieldability", "shield ability", "shield_ability", "shield")); g_iHumanAbility[type] = iGetValue(subsection, "shieldability", "shield ability", "shield_ability", "shield", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "shieldability", "shield ability", "shield_ability", "shield", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "shieldability", "shield ability", "shield_ability", "shield", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); @@ -601,7 +600,7 @@ public void MT_OnRockThrow(int tank, int rock) static void vRemoveShield(int tank) { - if (bIsValidEntity(g_iShield[tank])) + if (bIsValidEntRef(g_iShield[tank])) { MT_HideEntity(g_iShield[tank], false); RemoveEntity(g_iShield[tank]); @@ -675,6 +674,7 @@ static void vShield(int tank) SetEntProp(g_iShield[tank], Prop_Send, "m_CollisionGroup", 1); MT_HideEntity(g_iShield[tank], true); + g_iShield[tank] = EntIndexToEntRef(g_iShield[tank]); } static void vShieldAbility(int tank, bool shield) diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_shove.sp b/addons/sourcemod/scripting/mutant_tanks/mt_shove.sp index 509de909f1..de0ef6eb39 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_shove.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_shove.sp @@ -350,7 +350,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 54, bHasAbilities(subsection, "shoveability", "shove ability", "shove_ability", "shove")); g_iHumanAbility[type] = iGetValue(subsection, "shoveability", "shove ability", "shove_ability", "shove", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "shoveability", "shove ability", "shove_ability", "shove", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "shoveability", "shove ability", "shove_ability", "shove", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_slow.sp b/addons/sourcemod/scripting/mutant_tanks/mt_slow.sp index 2420b4a953..b81640100a 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_slow.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_slow.sp @@ -325,7 +325,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 55, bHasAbilities(subsection, "slowability", "slow ability", "slow_ability", "slow")); g_iHumanAbility[type] = iGetValue(subsection, "slowability", "slow ability", "slow_ability", "slow", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "slowability", "slow ability", "slow_ability", "slow", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "slowability", "slow ability", "slow_ability", "slow", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_smash.sp b/addons/sourcemod/scripting/mutant_tanks/mt_smash.sp index 078224bcbd..873cccb08c 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_smash.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_smash.sp @@ -328,7 +328,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 56, bHasAbilities(subsection, "smashability", "smash ability", "smash_ability", "smash")); g_iHumanAbility[type] = iGetValue(subsection, "smashability", "smash ability", "smash_ability", "smash", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "smashability", "smash ability", "smash_ability", "smash", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "smashability", "smash ability", "smash_ability", "smash", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_smite.sp b/addons/sourcemod/scripting/mutant_tanks/mt_smite.sp index adba100038..5e27f3262e 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_smite.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_smite.sp @@ -326,7 +326,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 57, bHasAbilities(subsection, "smiteability", "smite ability", "smite_ability", "smite")); g_iHumanAbility[type] = iGetValue(subsection, "smiteability", "smite ability", "smite_ability", "smite", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "smiteability", "smite ability", "smite_ability", "smite", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "smiteability", "smite ability", "smite_ability", "smite", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_spam.sp b/addons/sourcemod/scripting/mutant_tanks/mt_spam.sp index 233c46a2ef..f8f3ead959 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_spam.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_spam.sp @@ -273,7 +273,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 58, bHasAbilities(subsection, "spamability", "spam ability", "spam_ability", "spam")); g_iHumanAbility[type] = iGetValue(subsection, "spamability", "spam ability", "spam_ability", "spam", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "spamability", "spam ability", "spam_ability", "spam", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "spamability", "spam ability", "spam_ability", "spam", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); @@ -425,7 +424,7 @@ static void vReset2(int tank) { g_bSpam[tank] = false; - if (bIsValidEntity(g_iSpam[tank])) + if (bIsValidEntRef(g_iSpam[tank])) { RemoveEntity(g_iSpam[tank]); } @@ -462,10 +461,11 @@ static void vSpam(int tank) IntToString(g_iSpamDamage[MT_GetTankType(tank)], sDamage, sizeof(sDamage)); DispatchSpawn(g_iSpam[tank]); DispatchKeyValue(g_iSpam[tank], "rockdamageoverride", sDamage); + g_iSpam[tank] = EntIndexToEntRef(g_iSpam[tank]); DataPack dpSpam; CreateDataTimer(0.5, tTimerSpam, dpSpam, TIMER_FLAG_NO_MAPCHANGE|TIMER_REPEAT); - dpSpam.WriteCell(EntIndexToEntRef(g_iSpam[tank])); + dpSpam.WriteCell(g_iSpam[tank]); dpSpam.WriteCell(GetClientUserId(tank)); dpSpam.WriteCell(MT_GetTankType(tank)); dpSpam.WriteFloat(GetEngineTime()); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_splash.sp b/addons/sourcemod/scripting/mutant_tanks/mt_splash.sp index 396be136c0..bc3c6a8d6c 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_splash.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_splash.sp @@ -277,7 +277,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 59, bHasAbilities(subsection, "splashability", "splash ability", "splash_ability", "splash")); g_iHumanAbility[type] = iGetValue(subsection, "splashability", "splash ability", "splash_ability", "splash", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "splashability", "splash ability", "splash_ability", "splash", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "splashability", "splash ability", "splash_ability", "splash", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_throw.sp b/addons/sourcemod/scripting/mutant_tanks/mt_throw.sp index 0f2d2ff660..92d420ed95 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_throw.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_throw.sp @@ -269,7 +269,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 60, bHasAbilities(subsection, "throwability", "throw ability", "throw_ability", "throw")); g_iHumanAbility[type] = iGetValue(subsection, "throwability", "throw ability", "throw_ability", "throw", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "throwability", "throw ability", "throw_ability", "throw", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "throwability", "throw ability", "throw_ability", "throw", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); @@ -541,9 +540,10 @@ public Action tTimerThrow(Handle timer, DataPack pack) DispatchSpawn(iCar); TeleportEntity(iCar, flPos, NULL_VECTOR, flVelocity); - + + CreateTimer(2.0, tTimerSetCarVelocity, EntIndexToEntRef(iCar), TIMER_FLAG_NO_MAPCHANGE); + iCar = EntIndexToEntRef(iCar); - CreateTimer(2.0, tTimerSetCarVelocity, iCar, TIMER_FLAG_NO_MAPCHANGE); vDeleteEntity(iCar, 10.0); if (g_iThrowMessage[MT_GetTankType(iTank)] & MT_MESSAGE_MELEE) diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_track.sp b/addons/sourcemod/scripting/mutant_tanks/mt_track.sp index 20b5697921..7e8abae640 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_track.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_track.sp @@ -270,7 +270,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 61, bHasAbilities(subsection, "trackability", "track ability", "track_ability", "track")); g_iHumanAbility[type] = iGetValue(subsection, "trackability", "track ability", "track_ability", "track", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "trackability", "track ability", "track_ability", "track", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "trackability", "track ability", "track_ability", "track", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_ultimate.sp b/addons/sourcemod/scripting/mutant_tanks/mt_ultimate.sp index eab024a4ba..c5b3b6c695 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_ultimate.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_ultimate.sp @@ -342,7 +342,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 62, bHasAbilities(subsection, "ultimateability", "ultimate ability", "ultimate_ability", "ultimate")); g_iHumanAbility[type] = iGetValue(subsection, "ultimateability", "ultimate ability", "ultimate_ability", "ultimate", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "ultimateability", "ultimate ability", "ultimate_ability", "ultimate", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "ultimateability", "ultimate ability", "ultimate_ability", "ultimate", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_undead.sp b/addons/sourcemod/scripting/mutant_tanks/mt_undead.sp index 0f17934e05..720842974d 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_undead.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_undead.sp @@ -321,7 +321,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 63, bHasAbilities(subsection, "undeadability", "undead ability", "undead_ability", "undead")); g_iHumanAbility[type] = iGetValue(subsection, "undeadability", "undead ability", "undead_ability", "undead", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "undeadability", "undead ability", "undead_ability", "undead", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "undeadability", "undead ability", "undead_ability", "undead", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_vampire.sp b/addons/sourcemod/scripting/mutant_tanks/mt_vampire.sp index 7b8f2970be..03b4409275 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_vampire.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_vampire.sp @@ -281,7 +281,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 64, bHasAbilities(subsection, "vampireability", "vampire ability", "vampire_ability", "vampire")); g_iHumanAbility[type] = iGetValue(subsection, "vampireability", "vampire ability", "vampire_ability", "vampire", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iVampireAbility[type] = iGetValue(subsection, "vampireability", "vampire ability", "vampire_ability", "vampire", key, "AbilityEnabled", "Ability Enabled", "Ability_Enabled", "enabled", g_iVampireAbility[type], value, 0, 1); g_iVampireEffect[type] = iGetValue(subsection, "vampireability", "vampire ability", "vampire_ability", "vampire", key, "AbilityEffect", "Ability Effect", "Ability_Effect", "effect", g_iVampireEffect[type], value, 0, 1); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_vision.sp b/addons/sourcemod/scripting/mutant_tanks/mt_vision.sp index 3517ffc7bb..0e80115f4c 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_vision.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_vision.sp @@ -327,7 +327,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 65, bHasAbilities(subsection, "visionability", "vision ability", "vision_ability", "vision")); g_iHumanAbility[type] = iGetValue(subsection, "visionability", "vision ability", "vision_ability", "vision", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "visionability", "vision ability", "vision_ability", "vision", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "visionability", "vision ability", "vision_ability", "vision", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_warp.sp b/addons/sourcemod/scripting/mutant_tanks/mt_warp.sp index d76407f986..249ef5a016 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_warp.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_warp.sp @@ -354,7 +354,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 66, bHasAbilities(subsection, "warpability", "warp ability", "warp_ability", "warp")); g_iHumanAbility[type] = iGetValue(subsection, "warpability", "warp ability", "warp_ability", "warp", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "warpability", "warp ability", "warp_ability", "warp", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "warpability", "warp ability", "warp_ability", "warp", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_whirl.sp b/addons/sourcemod/scripting/mutant_tanks/mt_whirl.sp index 70a9f8fe49..e96694caf5 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_whirl.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_whirl.sp @@ -332,7 +332,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 67, bHasAbilities(subsection, "whirlability", "whirl ability", "whirl_ability", "whirl")); g_iHumanAbility[type] = iGetValue(subsection, "whirlability", "whirl ability", "whirl_ability", "whirl", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "whirlability", "whirl ability", "whirl_ability", "whirl", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "whirlability", "whirl ability", "whirl_ability", "whirl", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_witch.sp b/addons/sourcemod/scripting/mutant_tanks/mt_witch.sp index b281b6a97d..2b2ff86619 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_witch.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_witch.sp @@ -310,7 +310,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 68, bHasAbilities(subsection, "witchability", "witch ability", "witch_ability", "witch")); g_iHumanAbility[type] = iGetValue(subsection, "witchability", "witch ability", "witch_ability", "witch", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "witchability", "witch ability", "witch_ability", "witch", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "witchability", "witch ability", "witch_ability", "witch", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_xiphos.sp b/addons/sourcemod/scripting/mutant_tanks/mt_xiphos.sp index 9cd46059bf..e9d0b36219 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_xiphos.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_xiphos.sp @@ -303,7 +303,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 69, bHasAbilities(subsection, "xiphosability", "xiphos ability", "xiphos_ability", "xiphos")); g_iHumanAbility[type] = iGetValue(subsection, "xiphosability", "xiphos ability", "xiphos_ability", "xiphos", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iXiphosAbility[type] = iGetValue(subsection, "xiphosability", "xiphos ability", "xiphos_ability", "xiphos", key, "AbilityEnabled", "Ability Enabled", "Ability_Enabled", "enabled", g_iXiphosAbility[type], value, 0, 1); g_iXiphosEffect[type] = iGetValue(subsection, "xiphosability", "xiphos ability", "xiphos_ability", "xiphos", key, "AbilityEffect", "Ability Effect", "Ability_Effect", "effect", g_iXiphosEffect[type], value, 0, 1); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_yell.sp b/addons/sourcemod/scripting/mutant_tanks/mt_yell.sp index 6931a96da0..4fa030c194 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_yell.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_yell.sp @@ -327,7 +327,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 70, bHasAbilities(subsection, "yellability", "yell ability", "yell_ability", "yell")); g_iHumanAbility[type] = iGetValue(subsection, "yellability", "yell ability", "yell_ability", "yell", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "yellability", "yell ability", "yell_ability", "yell", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "yellability", "yell ability", "yell_ability", "yell", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mt_zombie.sp b/addons/sourcemod/scripting/mutant_tanks/mt_zombie.sp index 5088b394a9..239b8f197e 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mt_zombie.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mt_zombie.sp @@ -271,7 +271,6 @@ public void MT_OnConfigsLoaded(const char[] subsection, const char[] key, const if (type > 0) { - MT_FindAbility(type, 71, bHasAbilities(subsection, "zombieability", "zombie ability", "zombie_ability", "zombie")); g_iHumanAbility[type] = iGetValue(subsection, "zombieability", "zombie ability", "zombie_ability", "zombie", key, "HumanAbility", "Human Ability", "Human_Ability", "human", g_iHumanAbility[type], value, 0, 1); g_iHumanAmmo[type] = iGetValue(subsection, "zombieability", "zombie ability", "zombie_ability", "zombie", key, "HumanAmmo", "Human Ammo", "Human_Ammo", "hammo", g_iHumanAmmo[type], value, 0, 9999999999); g_flHumanCooldown[type] = flGetValue(subsection, "zombieability", "zombie ability", "zombie_ability", "zombie", key, "HumanCooldown", "Human Cooldown", "Human_Cooldown", "hcooldown", g_flHumanCooldown[type], value, 0.0, 9999999999.0); diff --git a/addons/sourcemod/scripting/mutant_tanks/mutant_tanks.sp b/addons/sourcemod/scripting/mutant_tanks/mutant_tanks.sp index 1032ca857a..30ec0885d8 100644 --- a/addons/sourcemod/scripting/mutant_tanks/mutant_tanks.sp +++ b/addons/sourcemod/scripting/mutant_tanks/mutant_tanks.sp @@ -42,7 +42,6 @@ public APLRes AskPluginLoad2(Handle myself, bool late, char[] error, int err_max } CreateNative("MT_CanTankSpawn", aNative_CanTankSpawn); - CreateNative("MT_FindAbility", aNative_FindAbility); CreateNative("MT_GetAccessFlags", aNative_GetAccessFlags); CreateNative("MT_GetCurrentFinaleWave", aNative_GetCurrentFinaleWave); CreateNative("MT_GetImmunityFlags", aNative_GetImmunityFlags); @@ -136,7 +135,7 @@ enum ConfigState ArrayList g_alAdmins; bool g_bAbilityFound[MT_MAXTYPES + 1][MT_MAX_ABILITIES + 1], g_bAbilityPlugin[MT_MAX_ABILITIES + 1], g_bAdminMenu[MAXPLAYERS + 1], g_bBlood[MAXPLAYERS + 1], g_bBlur[MAXPLAYERS + 1], g_bBoss[MAXPLAYERS + 1], g_bChanged[MAXPLAYERS + 1], g_bCloneInstalled, g_bDying[MAXPLAYERS + 1], g_bElectric[MAXPLAYERS + 1], g_bFire[MAXPLAYERS + 1], - g_bFound[MT_MAX_ABILITIES + 1], g_bGeneralConfig, g_bIce[MAXPLAYERS + 1], g_bMeteor[MAXPLAYERS + 1], g_bNeedHealth[MAXPLAYERS + 1], g_bPluginEnabled, g_bRandomized[MAXPLAYERS + 1], g_bSettingsFound, g_bSmoke[MAXPLAYERS + 1], g_bSpit[MAXPLAYERS + 1], g_bThirdPerson[MAXPLAYERS + 1], g_bTransformed[MAXPLAYERS + 1], g_bUsedParser[MAXPLAYERS + 1]; + g_bFound[MT_MAX_ABILITIES + 1], g_bIce[MAXPLAYERS + 1], g_bMeteor[MAXPLAYERS + 1], g_bNeedHealth[MAXPLAYERS + 1], g_bPluginEnabled, g_bRandomized[MAXPLAYERS + 1], g_bSettingsFound, g_bSmoke[MAXPLAYERS + 1], g_bSpit[MAXPLAYERS + 1], g_bThirdPerson[MAXPLAYERS + 1], g_bTransformed[MAXPLAYERS + 1], g_bUsedParser[MAXPLAYERS + 1]; char g_sPluginFilenames[][] = { @@ -159,7 +158,7 @@ Handle g_hAbilityActivatedForward, g_hButtonPressedForward, g_hButtonReleasedFor int g_iAccessFlags, g_iAccessFlags2[MT_MAXTYPES + 1], g_iAccessFlags3[MAXPLAYERS + 1], g_iAccessFlags4[MT_MAXTYPES + 1][MAXPLAYERS + 1], g_iAllowDeveloper, g_iAnnounceArrival, g_iAnnounceArrival2[MT_MAXTYPES + 1], g_iAnnounceArrival3[MAXPLAYERS + 1], g_iAnnounceDeath, g_iAnnounceDeath2[MT_MAXTYPES + 1], g_iAnnounceDeath3[MAXPLAYERS + 1], g_iBaseHealth, g_iBodyEffects[MT_MAXTYPES + 1], g_iBodyEffects2[MAXPLAYERS + 1], g_iBossHealth[MT_MAXTYPES + 1][4], g_iBossHealth2[MAXPLAYERS + 1][4], g_iBossStageCount[MAXPLAYERS + 1], g_iBossStages[MT_MAXTYPES + 1], g_iBossStages2[MAXPLAYERS + 1], g_iBossType[MT_MAXTYPES + 1][4], g_iBossType2[MAXPLAYERS + 1][4], - g_iBulletImmunity[MT_MAXTYPES + 1], g_iBulletImmunity2[MAXPLAYERS + 1], g_iConfigCreate, g_iConfigEnable, g_iConfigExecute, g_iCooldown[MAXPLAYERS + 1], g_iDeathRevert, g_iDeathRevert2[MT_MAXTYPES + 1], g_iDeathRevert3[MAXPLAYERS + 1], g_iDetectPlugins, g_iDetectPlugins2[MT_MAXTYPES + 1], g_iDetectPlugins3[MAXPLAYERS + 1], + g_iBulletImmunity[MT_MAXTYPES + 1], g_iBulletImmunity2[MAXPLAYERS + 1], g_iConfigCreate, g_iConfigEnable, g_iConfigExecute, g_iConfigMode, g_iCooldown[MAXPLAYERS + 1], g_iDeathRevert, g_iDeathRevert2[MT_MAXTYPES + 1], g_iDeathRevert3[MAXPLAYERS + 1], g_iDetectPlugins, g_iDetectPlugins2[MT_MAXTYPES + 1], g_iDetectPlugins3[MAXPLAYERS + 1], g_iDisplayHealth, g_iDisplayHealth2[MT_MAXTYPES + 1], g_iDisplayHealth3[MAXPLAYERS + 1], g_iDisplayHealthType, g_iDisplayHealthType2[MT_MAXTYPES + 1], g_iDisplayHealthType3[MAXPLAYERS + 1], g_iExplosiveImmunity[MT_MAXTYPES + 1], g_iExplosiveImmunity2[MAXPLAYERS + 1], g_iExtraHealth[MT_MAXTYPES + 1], g_iExtraHealth2[MAXPLAYERS + 1], g_iFavoriteType[MAXPLAYERS + 1], g_iFileTimeOld[7], g_iFileTimeNew[7], g_iFinalesOnly, g_iFinaleTank[MT_MAXTYPES + 1], g_iFinaleType[4], g_iFinaleWave[4], g_iFireImmunity[MT_MAXTYPES + 1], g_iFireImmunity2[MAXPLAYERS + 1], g_iFlame[MAXPLAYERS + 1][3], g_iFlameColor[MT_MAXTYPES + 1][4], g_iFlameColor2[MAXPLAYERS + 1][4], g_iGameModeTypes, g_iGlowEnabled[MT_MAXTYPES + 1], g_iGlowEnabled2[MAXPLAYERS + 1], g_iGlowColor[MT_MAXTYPES + 1][3], g_iGlowColor2[MAXPLAYERS + 1][3], g_iHumanCooldown, g_iHumanSupport[MT_MAXTYPES + 1], g_iIgnoreLevel, g_iIgnoreLevel2[MAXPLAYERS + 1], g_iImmunityFlags, g_iImmunityFlags2[MT_MAXTYPES + 1], g_iImmunityFlags3[MAXPLAYERS + 1], @@ -182,11 +181,6 @@ public any aNative_CanTankSpawn(Handle plugin, int numParams) return false; } -public any aNative_FindAbility(Handle plugin, int numParams) -{ - g_bAbilityFound[GetNativeCell(1)][GetNativeCell(2)] = GetNativeCell(3); -} - public any aNative_GetAccessFlags(Handle plugin, int numParams) { int iMode = GetNativeCell(1), iType = GetNativeCell(2), iAdmin = GetNativeCell(3); @@ -513,10 +507,10 @@ public void OnPluginStart() g_cvMTDifficulty.AddChangeHook(vMTGameDifficultyCvar); char sSMPath[PLATFORM_MAX_PATH]; - BuildPath(Path_SM, sSMPath, sizeof(sSMPath), "data/mutant_tanks"); + BuildPath(Path_SM, sSMPath, sizeof(sSMPath), "data/mutant_tanks/"); CreateDirectory(sSMPath, 511); - Format(g_sSavePath, sizeof(g_sSavePath), "%s/mutant_tanks.cfg", sSMPath); - vLoadConfigs(g_sSavePath, true); + Format(g_sSavePath, sizeof(g_sSavePath), "%smutant_tanks.cfg", sSMPath); + vLoadConfigs(g_sSavePath, 1); g_iFileTimeOld[0] = GetFileTime(g_sSavePath, FileTime_LastChange); HookEvent("round_start", vEventHandler); @@ -580,7 +574,7 @@ public void OnClientPostAdminCheck(int client) { if (bIsValidClient(client, MT_CHECK_INDEX|MT_CHECK_INGAME|MT_CHECK_KICKQUEUE|MT_CHECK_FAKECLIENT)) { - vLoadConfigs(g_sSavePath, true); + vLoadConfigs(g_sSavePath, 3); } } @@ -593,7 +587,7 @@ public void OnConfigsExecuted() { g_iType = 0; - vLoadConfigs(g_sSavePath, true); + vLoadConfigs(g_sSavePath, 1); char sMapName[128]; GetCurrentMap(sMapName, sizeof(sMapName)); @@ -611,7 +605,7 @@ public void OnConfigsExecuted() if ((g_iConfigCreate & MT_CONFIG_DIFFICULTY) && g_iConfigEnable == 1) { char sSMPath[PLATFORM_MAX_PATH]; - BuildPath(Path_SM, sSMPath, sizeof(sSMPath), "data/mutant_tanks/difficulty_configs"); + BuildPath(Path_SM, sSMPath, sizeof(sSMPath), "data/mutant_tanks/difficulty_configs/"); CreateDirectory(sSMPath, 511); char sDifficulty[32]; @@ -678,7 +672,7 @@ public void OnConfigsExecuted() if ((g_iConfigCreate & MT_CONFIG_DAY) && g_iConfigEnable == 1) { char sSMPath[PLATFORM_MAX_PATH]; - BuildPath(Path_SM, sSMPath, sizeof(sSMPath), "data/mutant_tanks/daily_configs"); + BuildPath(Path_SM, sSMPath, sizeof(sSMPath), "data/mutant_tanks/daily_configs/"); CreateDirectory(sSMPath, 511); char sWeekday[32]; @@ -702,7 +696,7 @@ public void OnConfigsExecuted() if ((g_iConfigCreate & MT_CONFIG_COUNT) && g_iConfigEnable == 1) { char sSMPath[PLATFORM_MAX_PATH]; - BuildPath(Path_SM, sSMPath, sizeof(sSMPath), "data/mutant_tanks/playercount_configs"); + BuildPath(Path_SM, sSMPath, sizeof(sSMPath), "data/mutant_tanks/playercount_configs/"); CreateDirectory(sSMPath, 511); char sPlayerCount[32]; @@ -719,7 +713,7 @@ public void OnConfigsExecuted() g_cvMTDifficulty.GetString(sDifficulty, sizeof(sDifficulty)); BuildPath(Path_SM, sDifficultyConfig, sizeof(sDifficultyConfig), "data/mutant_tanks/difficulty_configs/%s.cfg", sDifficulty); - vLoadConfigs(sDifficultyConfig); + vLoadConfigs(sDifficultyConfig, 2); vPluginStatus(); g_iFileTimeOld[1] = GetFileTime(sDifficultyConfig, FileTime_LastChange); } @@ -730,7 +724,7 @@ public void OnConfigsExecuted() GetCurrentMap(sMap, sizeof(sMap)); BuildPath(Path_SM, sMapConfig, sizeof(sMapConfig), (bIsValidGame() ? "data/mutant_tanks/l4d2_map_configs/%s.cfg" : "data/mutant_tanks/l4d_map_configs/%s.cfg"), sMap); - vLoadConfigs(sMapConfig); + vLoadConfigs(sMapConfig, 2); vPluginStatus(); g_iFileTimeOld[2] = GetFileTime(sMapConfig, FileTime_LastChange); } @@ -741,7 +735,7 @@ public void OnConfigsExecuted() g_cvMTGameMode.GetString(sMode, sizeof(sMode)); BuildPath(Path_SM, sModeConfig, sizeof(sModeConfig), (bIsValidGame() ? "data/mutant_tanks/l4d2_gamemode_configs/%s.cfg" : "data/mutant_tanks/l4d_gamemode_configs/%s.cfg"), sMode); - vLoadConfigs(sModeConfig); + vLoadConfigs(sModeConfig, 2); vPluginStatus(); g_iFileTimeOld[3] = GetFileTime(sModeConfig, FileTime_LastChange); } @@ -764,7 +758,7 @@ public void OnConfigsExecuted() } BuildPath(Path_SM, sDayConfig, sizeof(sDayConfig), "data/mutant_tanks/daily_configs/%s.cfg", sDay); - vLoadConfigs(sDayConfig); + vLoadConfigs(sDayConfig, 2); vPluginStatus(); g_iFileTimeOld[4] = GetFileTime(sDayConfig, FileTime_LastChange); } @@ -774,7 +768,7 @@ public void OnConfigsExecuted() char sCountConfig[PLATFORM_MAX_PATH]; BuildPath(Path_SM, sCountConfig, sizeof(sCountConfig), "data/mutant_tanks/playercount_configs/%i.cfg", iGetPlayerCount()); - vLoadConfigs(sCountConfig); + vLoadConfigs(sCountConfig, 2); vPluginStatus(); g_iFileTimeOld[5] = GetFileTime(sCountConfig, FileTime_LastChange); } @@ -1140,11 +1134,14 @@ static void vConfigMenu(int admin, int item) mConfigMenu.AddItem(g_sTankName[iIndex], sMenuItem); } - for (int iPos = 0; iPos < GetArraySize(g_alAdmins); iPos++) + if (GetArraySize(g_alAdmins) > 0) { - char sAdmins[32]; - g_alAdmins.GetString(iPos, sAdmins, sizeof(sAdmins)); - mConfigMenu.AddItem(sAdmins, sAdmins); + for (int iPos = 0; iPos < GetArraySize(g_alAdmins); iPos++) + { + char sAdmins[32]; + g_alAdmins.GetString(iPos, sAdmins, sizeof(sAdmins)); + mConfigMenu.AddItem(sAdmins, sAdmins); + } } mConfigMenu.ExitBackButton = g_bAdminMenu[admin]; @@ -1322,15 +1319,18 @@ public Action cmdMTList(int client, int args) return Plugin_Handled; } - char sSteamID32[32], sSteam3ID[32]; - GetClientAuthId(client, AuthId_Steam2, sSteamID32, sizeof(sSteamID32)); - GetClientAuthId(client, AuthId_Steam3, sSteam3ID, sizeof(sSteam3ID)); - - if (!CheckCommandAccess(client, "sm_tank", ADMFLAG_ROOT) && (g_iAllowDeveloper == 1 && !StrEqual(sSteamID32, "STEAM_1:1:48199803", false) && !StrEqual(sSteam3ID, "[U:1:96399607]", false))) + if (bIsValidClient(client, MT_CHECK_INDEX|MT_CHECK_INGAME|MT_CHECK_KICKQUEUE|MT_CHECK_FAKECLIENT)) { - ReplyToCommand(client, "%s %t", MT_TAG2, "NoCommandAccess"); + char sSteamID32[32], sSteam3ID[32]; + GetClientAuthId(client, AuthId_Steam2, sSteamID32, sizeof(sSteamID32)); + GetClientAuthId(client, AuthId_Steam3, sSteam3ID, sizeof(sSteam3ID)); - return Plugin_Handled; + if (!CheckCommandAccess(client, "sm_tank", ADMFLAG_ROOT) && (g_iAllowDeveloper == 1 && !StrEqual(sSteamID32, "STEAM_1:1:48199803", false) && !StrEqual(sSteam3ID, "[U:1:96399607]", false))) + { + ReplyToCommand(client, "%s %t", MT_TAG2, "NoCommandAccess"); + + return Plugin_Handled; + } } if (!bIsValidClient(client, MT_CHECK_INDEX|MT_CHECK_INGAME|MT_CHECK_KICKQUEUE|MT_CHECK_FAKECLIENT)) @@ -2029,9 +2029,9 @@ public Action SetTransmit(int entity, int client) return Plugin_Continue; } -static void vLoadConfigs(const char[] savepath, bool main = false) +static void vLoadConfigs(const char[] savepath, int mode) { - g_bGeneralConfig = main; + g_iConfigMode = mode; g_bSettingsFound = false; strcopy(g_sUsedPath, sizeof(g_sUsedPath), savepath); @@ -2048,10 +2048,10 @@ static void vLoadConfigs(const char[] savepath, bool main = false) char sSmcError[64]; smcLoader.GetErrorString(smcError, sSmcError, sizeof(sSmcError)); - PrintToServer("Error while parsing \"%s\" file. Error Message: %s.", savepath, sSmcError); + PrintToServer("%s Error while parsing \"%s\" file. Error Message: %s.", MT_TAG, savepath, sSmcError); LogError("Error while parsing \"%s\" file. Error Message: %s.", savepath, sSmcError); } - + delete smcLoader; } @@ -2062,7 +2062,7 @@ public void SMCParseStart(SMCParser smc) g_sCurrentSection[0] = '\0'; g_sCurrentSubSection[0] = '\0'; - if (g_bGeneralConfig) + if (g_iConfigMode < 2) { g_iPluginEnabled = 0; g_iAnnounceArrival = 31; @@ -2366,7 +2366,7 @@ public SMCResult SMCKeyValues(SMCParser smc, const char[] key, const char[] valu if (g_csState == ConfigState_Specific) { - if (StrEqual(g_sCurrentSection, "PluginSettings", false) || StrEqual(g_sCurrentSection, "Plugin Settings", false) || StrEqual(g_sCurrentSection, "Plugin_Settings", false) || StrEqual(g_sCurrentSection, "settings", false)) + if (g_iConfigMode < 3 && (StrEqual(g_sCurrentSection, "PluginSettings", false) || StrEqual(g_sCurrentSection, "Plugin Settings", false) || StrEqual(g_sCurrentSection, "Plugin_Settings", false) || StrEqual(g_sCurrentSection, "settings", false))) { g_iPluginEnabled = iGetValue(g_sCurrentSubSection, "General", "General", "General", "General", key, "PluginEnabled", "Plugin Enabled", "Plugin_Enabled", "enabled", g_iPluginEnabled, value, 0, 1); g_iAnnounceArrival = iGetValue(g_sCurrentSubSection, "General", "General", "General", "General", key, "AnnounceArrival", "Announce Arrival", "Announce_Arrival", "arrival", g_iAnnounceArrival, value, 0, 31); @@ -2452,7 +2452,7 @@ public SMCResult SMCKeyValues(SMCParser smc, const char[] key, const char[] valu } } - if (g_bGeneralConfig) + if (g_iConfigMode < 2) { g_iGameModeTypes = iGetValue(g_sCurrentSubSection, "GameModes", "Game Modes", "Game_Modes", "modes", key, "GameModeTypes", "Game Mode Types", "Game_Mode_Types", "types", g_iGameModeTypes, value, 0, 15); g_iConfigEnable = iGetValue(g_sCurrentSubSection, "Custom", "Custom", "Custom", "Custom", key, "EnableCustomConfigs", "Enable Custom Configs", "Enable_Custom_Configs", "enabled", g_iConfigEnable, value, 0, 1); @@ -2480,7 +2480,7 @@ public SMCResult SMCKeyValues(SMCParser smc, const char[] key, const char[] valu Call_PushCell(-1); Call_Finish(); } - else if (StrContains(g_sCurrentSection, "Tank#", false) != -1 || StrContains(g_sCurrentSection, "Tank #", false) != -1 || StrContains(g_sCurrentSection, "Tank_#", false) != -1 || StrContains(g_sCurrentSection, "Tank", false) != -1 || g_sCurrentSection[0] == '#' || IsCharNumeric(g_sCurrentSection[0])) + else if (g_iConfigMode < 3 && (StrContains(g_sCurrentSection, "Tank#", false) != -1 || StrContains(g_sCurrentSection, "Tank #", false) != -1 || StrContains(g_sCurrentSection, "Tank_#", false) != -1 || StrContains(g_sCurrentSection, "Tank", false) != -1 || g_sCurrentSection[0] == '#' || IsCharNumeric(g_sCurrentSection[0]))) { for (int iIndex = g_iMinType; iIndex <= g_iMaxType; iIndex++) { @@ -2693,6 +2693,11 @@ public SMCResult SMCKeyValues(SMCParser smc, const char[] key, const char[] valu } } + for (int iPos = 0; iPos < MT_MAX_ABILITIES; iPos++) + { + g_bAbilityFound[iIndex][iPos] = bHasAbility(g_sCurrentSubSection, iPos); + } + Call_StartForward(g_hConfigsLoadedForward); Call_PushString(g_sCurrentSubSection); Call_PushString(key); @@ -3095,6 +3100,30 @@ public void vEventHandler(Event event, const char[] name, bool dontBroadcast) CreateTimer(0.5, tTimerKillStuckTank, iTankId, TIMER_FLAG_NO_MAPCHANGE); } } + else if (StrEqual(name, "player_now_it")) + { + int iTankId = event.GetInt("userid"), iTank = GetClientOfUserId(iTankId); + if (bIsTank(iTank, MT_CHECK_INDEX|MT_CHECK_INGAME|MT_CHECK_KICKQUEUE)) + { + SetEntProp(iTank, Prop_Send, "m_iGlowType", 0); + SetEntProp(iTank, Prop_Send, "m_glowColorOverride", 0); + } + } + else if (StrEqual(name, "player_no_longer_it")) + { + int iTankId = event.GetInt("userid"), iTank = GetClientOfUserId(iTankId); + if (bIsTank(iTank, MT_CHECK_INDEX|MT_CHECK_INGAME|MT_CHECK_KICKQUEUE)) + { + int iGlowColor[3]; + for (int iPos = 0; iPos < 3; iPos++) + { + iGlowColor[iPos] = (bIsTank(iTank, MT_CHECK_FAKECLIENT) && g_iGlowColor2[iTank][iPos] >= -2) ? g_iGlowColor2[iTank][iPos] : g_iGlowColor[g_iTankType[iTank]][iPos]; + } + + SetEntProp(iTank, Prop_Send, "m_iGlowType", 3); + SetEntProp(iTank, Prop_Send, "m_glowColorOverride", iGetRGBColor(iGlowColor[0], iGlowColor[1], iGlowColor[2])); + } + } else if (StrEqual(name, "player_spawn")) { int iTankId = event.GetInt("userid"), iTank = GetClientOfUserId(iTankId); @@ -3133,31 +3162,6 @@ public void vEventHandler(Event event, const char[] name, bool dontBroadcast) { g_iTankWave = 0; } - else if (StrEqual(name, "player_now_it")) - { - int iTankId = event.GetInt("userid"), iTank = GetClientOfUserId(iTankId); - - if (bIsTank(iTank)) - { - SetEntProp(iTank, Prop_Send, "m_iGlowType", 0); - SetEntProp(iTank, Prop_Send, "m_glowColorOverride", 0); - } - } - else if (StrEqual(name, "player_no_longer_it")) - { - int iTankId = event.GetInt("userid"), iTank = GetClientOfUserId(iTankId); - - if (bIsTank(iTank)) - { - int iGlowColor[3]; - for (int iPos = 0; iPos < 3; iPos++) - { - iGlowColor[iPos] = g_iGlowColor2[iTank][iPos]; - } - SetEntProp(iTank, Prop_Send, "m_iGlowType", 3); - SetEntProp(iTank, Prop_Send, "m_glowColorOverride", iGetRGBColor(iGlowColor[0], iGlowColor[1], iGlowColor[2])); - } - } Call_StartForward(g_hEventFiredForward); Call_PushCell(event); @@ -3205,8 +3209,11 @@ static void vFindInstalledAbilities(ArrayList list, const char[] directory, bool if (StrContains(sFilename, ".smx", false) == -1 && !StrEqual(sFilename, "disabled", false) && !StrEqual(sFilename, ".") && !StrEqual(sFilename, "..")) { Format(sFilename, sizeof(sFilename), "%s/%s", directory, sFilename); - if(DirExists(sFilename)) + + if (DirExists(sFilename)) + { vFindInstalledAbilities(list, sFilename, true); + } } else { @@ -3283,9 +3290,9 @@ static void vHookEvents(bool hook) HookEvent("player_bot_replace", vEventHandler); HookEvent("player_death", vEventHandler); HookEvent("player_incapacitated", vEventHandler); - HookEvent("player_spawn", vEventHandler); HookEvent("player_now_it", vEventHandler); HookEvent("player_no_longer_it", vEventHandler); + HookEvent("player_spawn", vEventHandler); vHookEventForward(true); } @@ -3302,9 +3309,9 @@ static void vHookEvents(bool hook) UnhookEvent("player_bot_replace", vEventHandler); UnhookEvent("player_death", vEventHandler); UnhookEvent("player_incapacitated", vEventHandler); - UnhookEvent("player_spawn", vEventHandler); UnhookEvent("player_now_it", vEventHandler); UnhookEvent("player_no_longer_it", vEventHandler); + UnhookEvent("player_spawn", vEventHandler); vHookEventForward(false); } @@ -3662,8 +3669,6 @@ static void vSetName(int tank, const char[] oldname, const char[] name, int mode g_iFlame[tank][iOzTank] = EntIndexToEntRef(g_iFlame[tank][iOzTank]); } } - - } } else if (bIsValidEntRef(g_iOzTank[tank][iOzTank])) @@ -4275,6 +4280,90 @@ static bool bHasAdminAccess(int admin, int type = 0) return true; } +static bool bHasAbility(const char[] subsection, int index = -1) +{ + if (index > -1) + { + switch (index) + { + case 0: if (StrEqual(subsection, "absorbability", false) || StrEqual(subsection, "absorb ability", false) || StrEqual(subsection, "absorb_ability", false) || StrEqual(subsection, "absorb", false)) return true; + case 1: if (StrEqual(subsection, "acidability", false) || StrEqual(subsection, "acid ability", false) || StrEqual(subsection, "acid_ability", false) || StrEqual(subsection, "acid", false)) return true; + case 2: if (StrEqual(subsection, "aimlessability", false) || StrEqual(subsection, "aimless ability", false) || StrEqual(subsection, "aimless_ability", false) || StrEqual(subsection, "aimless", false)) return true; + case 3: if (StrEqual(subsection, "ammoability", false) || StrEqual(subsection, "ammo ability", false) || StrEqual(subsection, "ammo_ability", false) || StrEqual(subsection, "ammo", false)) return true; + case 4: if (StrEqual(subsection, "blindability", false) || StrEqual(subsection, "blind ability", false) || StrEqual(subsection, "blind_ability", false) || StrEqual(subsection, "blind", false)) return true; + case 5: if (StrEqual(subsection, "bombability", false) || StrEqual(subsection, "bomb ability", false) || StrEqual(subsection, "bomb_ability", false) || StrEqual(subsection, "bomb", false)) return true; + case 6: if (StrEqual(subsection, "buryability", false) || StrEqual(subsection, "bury ability", false) || StrEqual(subsection, "bury_ability", false) || StrEqual(subsection, "bury", false)) return true; + case 7: if (StrEqual(subsection, "carability", false) || StrEqual(subsection, "car ability", false) || StrEqual(subsection, "car_ability", false) || StrEqual(subsection, "car", false)) return true; + case 8: if (StrEqual(subsection, "chokeability", false) || StrEqual(subsection, "choke ability", false) || StrEqual(subsection, "choke_ability", false) || StrEqual(subsection, "choke", false)) return true; + case 9: if (StrEqual(subsection, "cloneability", false) || StrEqual(subsection, "clone ability", false) || StrEqual(subsection, "clone_ability", false) || StrEqual(subsection, "clone", false)) return true; + case 10: if (StrEqual(subsection, "cloudability", false) || StrEqual(subsection, "cloud ability", false) || StrEqual(subsection, "cloud_ability", false) || StrEqual(subsection, "cloud", false)) return true; + case 11: if (StrEqual(subsection, "dropability", false) || StrEqual(subsection, "drop ability", false) || StrEqual(subsection, "drop_ability", false) || StrEqual(subsection, "drop", false)) return true; + case 12: if (StrEqual(subsection, "drugability", false) || StrEqual(subsection, "drug ability", false) || StrEqual(subsection, "drug_ability", false) || StrEqual(subsection, "drug", false)) return true; + case 13: if (StrEqual(subsection, "drunkability", false) || StrEqual(subsection, "drunk ability", false) || StrEqual(subsection, "drunk_ability", false) || StrEqual(subsection, "drunk", false)) return true; + case 14: if (StrEqual(subsection, "electricability", false) || StrEqual(subsection, "electric ability", false) || StrEqual(subsection, "electric_ability", false) || StrEqual(subsection, "electric", false)) return true; + case 15: if (StrEqual(subsection, "enforceability", false) || StrEqual(subsection, "enforce ability", false) || StrEqual(subsection, "enforce_ability", false) || StrEqual(subsection, "enforce", false)) return true; + case 16: if (StrEqual(subsection, "fastability", false) || StrEqual(subsection, "fast ability", false) || StrEqual(subsection, "fast_ability", false) || StrEqual(subsection, "fast", false)) return true; + case 17: if (StrEqual(subsection, "fireability", false) || StrEqual(subsection, "fire ability", false) || StrEqual(subsection, "fire_ability", false) || StrEqual(subsection, "fire", false)) return true; + case 18: if (StrEqual(subsection, "flingability", false) || StrEqual(subsection, "fling ability", false) || StrEqual(subsection, "fling_ability", false) || StrEqual(subsection, "fling", false)) return true; + case 19: if (StrEqual(subsection, "fragileability", false) || StrEqual(subsection, "fragile ability", false) || StrEqual(subsection, "fragile_ability", false) || StrEqual(subsection, "fragile", false)) return true; + case 20: if (StrEqual(subsection, "ghostability", false) || StrEqual(subsection, "ghost ability", false) || StrEqual(subsection, "ghost_ability", false) || StrEqual(subsection, "ghost", false)) return true; + case 21: if (StrEqual(subsection, "godability", false) || StrEqual(subsection, "god ability", false) || StrEqual(subsection, "god_ability", false) || StrEqual(subsection, "god", false)) return true; + case 22: if (StrEqual(subsection, "gravityability", false) || StrEqual(subsection, "gravity ability", false) || StrEqual(subsection, "gravity_ability", false) || StrEqual(subsection, "gravity", false)) return true; + case 23: if (StrEqual(subsection, "healability", false) || StrEqual(subsection, "heal ability", false) || StrEqual(subsection, "heal_ability", false) || StrEqual(subsection, "heal", false)) return true; + case 24: if (StrEqual(subsection, "hitability", false) || StrEqual(subsection, "hit ability", false) || StrEqual(subsection, "hit_ability", false) || StrEqual(subsection, "hit", false)) return true; + case 25: if (StrEqual(subsection, "hurtability", false) || StrEqual(subsection, "hurt ability", false) || StrEqual(subsection, "hurt_ability", false) || StrEqual(subsection, "hurt", false)) return true; + case 26: if (StrEqual(subsection, "hypnoability", false) || StrEqual(subsection, "hypno ability", false) || StrEqual(subsection, "hypno_ability", false) || StrEqual(subsection, "hypno", false)) return true; + case 27: if (StrEqual(subsection, "iceability", false) || StrEqual(subsection, "ice ability", false) || StrEqual(subsection, "ice_ability", false) || StrEqual(subsection, "ice", false)) return true; + case 28: if (StrEqual(subsection, "idleability", false) || StrEqual(subsection, "idle ability", false) || StrEqual(subsection, "idle_ability", false) || StrEqual(subsection, "idle", false)) return true; + case 29: if (StrEqual(subsection, "invertability", false) || StrEqual(subsection, "invert ability", false) || StrEqual(subsection, "invert_ability", false) || StrEqual(subsection, "invert", false)) return true; + case 30: if (StrEqual(subsection, "itemability", false) || StrEqual(subsection, "item ability", false) || StrEqual(subsection, "item_ability", false) || StrEqual(subsection, "item", false)) return true; + case 31: if (StrEqual(subsection, "jumpability", false) || StrEqual(subsection, "jump ability", false) || StrEqual(subsection, "jump_ability", false) || StrEqual(subsection, "jump", false)) return true; + case 32: if (StrEqual(subsection, "kamikazeability", false) || StrEqual(subsection, "kamikaze ability", false) || StrEqual(subsection, "kamikaze_ability", false) || StrEqual(subsection, "kamikaze", false)) return true; + case 33: if (StrEqual(subsection, "lagability", false) || StrEqual(subsection, "lag ability", false) || StrEqual(subsection, "lag_ability", false) || StrEqual(subsection, "lag", false)) return true; + case 34: if (StrEqual(subsection, "leechability", false) || StrEqual(subsection, "leech ability", false) || StrEqual(subsection, "leech_ability", false) || StrEqual(subsection, "leech", false)) return true; + case 35: if (StrEqual(subsection, "medicability", false) || StrEqual(subsection, "medic ability", false) || StrEqual(subsection, "medic_ability", false) || StrEqual(subsection, "medic", false)) return true; + case 36: if (StrEqual(subsection, "meteorability", false) || StrEqual(subsection, "meteor ability", false) || StrEqual(subsection, "meteor_ability", false) || StrEqual(subsection, "meteor", false)) return true; + case 37: if (StrEqual(subsection, "minionability", false) || StrEqual(subsection, "minion ability", false) || StrEqual(subsection, "minion_ability", false) || StrEqual(subsection, "minion", false)) return true; + case 38: if (StrEqual(subsection, "necroability", false) || StrEqual(subsection, "necro ability", false) || StrEqual(subsection, "necro_ability", false) || StrEqual(subsection, "necro", false)) return true; + case 39: if (StrEqual(subsection, "nullifyability", false) || StrEqual(subsection, "nullify ability", false) || StrEqual(subsection, "nullify_ability", false) || StrEqual(subsection, "nullify", false)) return true; + case 40: if (StrEqual(subsection, "omniability", false) || StrEqual(subsection, "omni ability", false) || StrEqual(subsection, "omni_ability", false) || StrEqual(subsection, "omni", false)) return true; + case 41: if (StrEqual(subsection, "panicability", false) || StrEqual(subsection, "panic ability", false) || StrEqual(subsection, "panic_ability", false) || StrEqual(subsection, "panic", false)) return true; + case 42: if (StrEqual(subsection, "pimpability", false) || StrEqual(subsection, "pimp ability", false) || StrEqual(subsection, "pimp_ability", false) || StrEqual(subsection, "pimp", false)) return true; + case 43: if (StrEqual(subsection, "pukeability", false) || StrEqual(subsection, "puke ability", false) || StrEqual(subsection, "puke_ability", false) || StrEqual(subsection, "puke", false)) return true; + case 44: if (StrEqual(subsection, "pyroability", false) || StrEqual(subsection, "pyro ability", false) || StrEqual(subsection, "pyro_ability", false) || StrEqual(subsection, "pyro", false)) return true; + case 45: if (StrEqual(subsection, "quietability", false) || StrEqual(subsection, "quiet ability", false) || StrEqual(subsection, "quiet_ability", false) || StrEqual(subsection, "quiet", false)) return true; + case 46: if (StrEqual(subsection, "recoilability", false) || StrEqual(subsection, "recoil ability", false) || StrEqual(subsection, "recoil_ability", false) || StrEqual(subsection, "recoil", false)) return true; + case 47: if (StrEqual(subsection, "regenability", false) || StrEqual(subsection, "regen ability", false) || StrEqual(subsection, "regen_ability", false) || StrEqual(subsection, "regen", false)) return true; + case 48: if (StrEqual(subsection, "respawnability", false) || StrEqual(subsection, "respawn ability", false) || StrEqual(subsection, "respawn_ability", false) || StrEqual(subsection, "respawn", false)) return true; + case 49: if (StrEqual(subsection, "restartability", false) || StrEqual(subsection, "restart ability", false) || StrEqual(subsection, "restart_ability", false) || StrEqual(subsection, "restart", false)) return true; + case 50: if (StrEqual(subsection, "rockability", false) || StrEqual(subsection, "rock ability", false) || StrEqual(subsection, "rock_ability", false) || StrEqual(subsection, "rock", false)) return true; + case 51: if (StrEqual(subsection, "rocketability", false) || StrEqual(subsection, "rocket ability", false) || StrEqual(subsection, "rocket_ability", false) || StrEqual(subsection, "rocket", false)) return true; + case 52: if (StrEqual(subsection, "shakeability", false) || StrEqual(subsection, "shake ability", false) || StrEqual(subsection, "shake_ability", false) || StrEqual(subsection, "shake", false)) return true; + case 53: if (StrEqual(subsection, "shieldability", false) || StrEqual(subsection, "shield ability", false) || StrEqual(subsection, "shield_ability", false) || StrEqual(subsection, "shield", false)) return true; + case 54: if (StrEqual(subsection, "shoveability", false) || StrEqual(subsection, "shove ability", false) || StrEqual(subsection, "shove_ability", false) || StrEqual(subsection, "shove", false)) return true; + case 55: if (StrEqual(subsection, "slowability", false) || StrEqual(subsection, "slow ability", false) || StrEqual(subsection, "slow_ability", false) || StrEqual(subsection, "slow", false)) return true; + case 56: if (StrEqual(subsection, "smashability", false) || StrEqual(subsection, "smash ability", false) || StrEqual(subsection, "smash_ability", false) || StrEqual(subsection, "smash", false)) return true; + case 57: if (StrEqual(subsection, "smiteability", false) || StrEqual(subsection, "smite ability", false) || StrEqual(subsection, "smite_ability", false) || StrEqual(subsection, "smite", false)) return true; + case 58: if (StrEqual(subsection, "spamability", false) || StrEqual(subsection, "spam ability", false) || StrEqual(subsection, "spam_ability", false) || StrEqual(subsection, "spam", false)) return true; + case 59: if (StrEqual(subsection, "splashability", false) || StrEqual(subsection, "splash ability", false) || StrEqual(subsection, "splash_ability", false) || StrEqual(subsection, "splash", false)) return true; + case 60: if (StrEqual(subsection, "throwability", false) || StrEqual(subsection, "throw ability", false) || StrEqual(subsection, "throw_ability", false) || StrEqual(subsection, "throw", false)) return true; + case 61: if (StrEqual(subsection, "trackability", false) || StrEqual(subsection, "track ability", false) || StrEqual(subsection, "track_ability", false) || StrEqual(subsection, "track", false)) return true; + case 62: if (StrEqual(subsection, "ultimateability", false) || StrEqual(subsection, "ultimate ability", false) || StrEqual(subsection, "ultimate_ability", false) || StrEqual(subsection, "ultimate", false)) return true; + case 63: if (StrEqual(subsection, "undeadability", false) || StrEqual(subsection, "undead ability", false) || StrEqual(subsection, "undead_ability", false) || StrEqual(subsection, "undead", false)) return true; + case 64: if (StrEqual(subsection, "vampireability", false) || StrEqual(subsection, "vampire ability", false) || StrEqual(subsection, "vampire_ability", false) || StrEqual(subsection, "vampire", false)) return true; + case 65: if (StrEqual(subsection, "visionability", false) || StrEqual(subsection, "vision ability", false) || StrEqual(subsection, "vision_ability", false) || StrEqual(subsection, "vision", false)) return true; + case 66: if (StrEqual(subsection, "warpability", false) || StrEqual(subsection, "warp ability", false) || StrEqual(subsection, "warp_ability", false) || StrEqual(subsection, "warp", false)) return true; + case 67: if (StrEqual(subsection, "whirlability", false) || StrEqual(subsection, "whirl ability", false) || StrEqual(subsection, "whirl_ability", false) || StrEqual(subsection, "whirl", false)) return true; + case 68: if (StrEqual(subsection, "witchability", false) || StrEqual(subsection, "witch ability", false) || StrEqual(subsection, "witch_ability", false) || StrEqual(subsection, "witch", false)) return true; + case 69: if (StrEqual(subsection, "xiphosability", false) || StrEqual(subsection, "xiphos ability", false) || StrEqual(subsection, "xiphos_ability", false) || StrEqual(subsection, "xiphos", false)) return true; + case 70: if (StrEqual(subsection, "yellability", false) || StrEqual(subsection, "yell ability", false) || StrEqual(subsection, "yell_ability", false) || StrEqual(subsection, "yell", false)) return true; + case 71: if (StrEqual(subsection, "zombieability", false) || StrEqual(subsection, "zombie ability", false) || StrEqual(subsection, "zombie_ability", false) || StrEqual(subsection, "zombie", false)) return true; + } + } + + return false; +} + static bool bIsAdminImmune(int survivor, int tank) { if (!bIsHumanSurvivor(survivor)) @@ -4348,7 +4437,7 @@ static bool bIsTankAllowed(int tank, int flags = MT_CHECK_INDEX|MT_CHECK_INGAME| static bool bIsTypeAvailable(int type, int tank = 0) { - if (g_iDetectPlugins == 0 && g_iDetectPlugins2[type] == 0 && g_iDetectPlugins3[tank] == 0) + if (g_iDetectPlugins == 0 && g_iDetectPlugins2[type] == 0 && bIsValidClient(tank, MT_CHECK_INDEX|MT_CHECK_INGAME|MT_CHECK_KICKQUEUE) && g_iDetectPlugins3[tank] == 0) { return true; } @@ -4378,13 +4467,13 @@ static bool bIsTypeAvailable(int type, int tank = 0) iPluginCount++; } - if (iPluginCount > 0) + if (iPluginCount == 0) { - return true; + return false; } } - return false; + return true; } static bool bTankChance(int value) @@ -4433,7 +4522,7 @@ public void vMTGameDifficultyCvar(ConVar convar, const char[] oldValue, const ch g_cvMTDifficulty.GetString(sDifficulty, sizeof(sDifficulty)); BuildPath(Path_SM, sDifficultyConfig, sizeof(sDifficultyConfig), "data/mutant_tanks/difficulty_configs/%s.cfg", sDifficulty); - vLoadConfigs(sDifficultyConfig); + vLoadConfigs(sDifficultyConfig, 2); vPluginStatus(); } } @@ -4750,7 +4839,7 @@ public Action tTimerUpdatePlayerCount(Handle timer) char sCountConfig[PLATFORM_MAX_PATH]; BuildPath(Path_SM, sCountConfig, sizeof(sCountConfig), "data/mutant_tanks/playercount_configs/%i.cfg", g_iPlayerCount[1]); - vLoadConfigs(sCountConfig); + vLoadConfigs(sCountConfig, 2); vPluginStatus(); g_iPlayerCount[0] = g_iPlayerCount[1]; @@ -5184,8 +5273,8 @@ public Action tTimerReloadConfigs(Handle timer) g_iFileTimeNew[0] = GetFileTime(g_sSavePath, FileTime_LastChange); if (g_iFileTimeOld[0] != g_iFileTimeNew[0]) { - PrintToServer("%s Reloading config file (%s)...", MT_TAG, g_sSavePath); - vLoadConfigs(g_sSavePath, true); + PrintToServer("%s Reloading config file \"%s\" file...", MT_TAG, g_sSavePath); + vLoadConfigs(g_sSavePath, 1); vPluginStatus(); g_iFileTimeOld[0] = g_iFileTimeNew[0]; } @@ -5198,8 +5287,8 @@ public Action tTimerReloadConfigs(Handle timer) g_iFileTimeNew[1] = GetFileTime(sDifficultyConfig, FileTime_LastChange); if (g_iFileTimeOld[1] != g_iFileTimeNew[1]) { - PrintToServer("%s Reloading config file (%s)...", MT_TAG, sDifficultyConfig); - vLoadConfigs(sDifficultyConfig); + PrintToServer("%s Reloading config file \"%s\" file...", MT_TAG, sDifficultyConfig); + vLoadConfigs(sDifficultyConfig, 2); vPluginStatus(); g_iFileTimeOld[1] = g_iFileTimeNew[1]; } @@ -5213,8 +5302,8 @@ public Action tTimerReloadConfigs(Handle timer) g_iFileTimeNew[2] = GetFileTime(sMapConfig, FileTime_LastChange); if (g_iFileTimeOld[2] != g_iFileTimeNew[2]) { - PrintToServer("%s Reloading config file (%s)...", MT_TAG, sMapConfig); - vLoadConfigs(sMapConfig); + PrintToServer("%s Reloading config file \"%s\" file...", MT_TAG, sMapConfig); + vLoadConfigs(sMapConfig, 2); vPluginStatus(); g_iFileTimeOld[2] = g_iFileTimeNew[2]; } @@ -5228,8 +5317,8 @@ public Action tTimerReloadConfigs(Handle timer) g_iFileTimeNew[3] = GetFileTime(sModeConfig, FileTime_LastChange); if (g_iFileTimeOld[3] != g_iFileTimeNew[3]) { - PrintToServer("%s Reloading config file (%s)...", MT_TAG, sModeConfig); - vLoadConfigs(sModeConfig); + PrintToServer("%s Reloading config file \"%s\" file...", MT_TAG, sModeConfig); + vLoadConfigs(sModeConfig, 2); vPluginStatus(); g_iFileTimeOld[3] = g_iFileTimeNew[3]; } @@ -5255,8 +5344,8 @@ public Action tTimerReloadConfigs(Handle timer) g_iFileTimeNew[4] = GetFileTime(sDayConfig, FileTime_LastChange); if (g_iFileTimeOld[4] != g_iFileTimeNew[4]) { - PrintToServer("%s Reloading config file (%s)...", MT_TAG, sDayConfig); - vLoadConfigs(sDayConfig); + PrintToServer("%s Reloading config file \"%s\" file...", MT_TAG, sDayConfig); + vLoadConfigs(sDayConfig, 2); vPluginStatus(); g_iFileTimeOld[4] = g_iFileTimeNew[4]; } @@ -5269,8 +5358,8 @@ public Action tTimerReloadConfigs(Handle timer) g_iFileTimeNew[5] = GetFileTime(sCountConfig, FileTime_LastChange); if (g_iFileTimeOld[5] != g_iFileTimeNew[5]) { - PrintToServer("%s Reloading config file (%s)...", MT_TAG, sCountConfig); - vLoadConfigs(sCountConfig); + PrintToServer("%s Reloading config file \"%s\" file...", MT_TAG, sCountConfig); + vLoadConfigs(sCountConfig, 2); vPluginStatus(); g_iFileTimeOld[5] = g_iFileTimeNew[5]; } diff --git a/addons/sourcemod/translations/mutant_tanks.phrases.txt b/addons/sourcemod/translations/mutant_tanks.phrases.txt index 4df2862069..37de1109ef 100644 --- a/addons/sourcemod/translations/mutant_tanks.phrases.txt +++ b/addons/sourcemod/translations/mutant_tanks.phrases.txt @@ -4001,83 +4001,83 @@ } "Tank #87" { - "en" "{mint}Fire immunity, moves slowly, give survivors temporary health, absorbs health from nearby infected, spawns with a shield, and smites survivors." + "en" "{mint}This Tank can run really fast like the Flash and create speed mirages (clones) of itself." } "Tank #88" { - "en" "{mint}Fire immunity, cloaks itself, and warps to survivors." + "en" "{mint}Fire immunity, moves slowly, give survivors temporary health, absorbs health from nearby infected, spawns with a shield, and smites survivors." } "Tank #89" { - "en" "{mint}Fire immunity, absorbs damage, runs fast, cloaks itself, pulls survivors in and changes their gravity, jumps high, starts meteor showers, smites survivors, spams rocks, warps to survivors, and spawns Witches/zombies." + "en" "{mint}Fire immunity, cloaks itself, and warps to survivors." } "Tank #90" { - "en" "{mint}This Tank is immune to fire damage, runs fast, and warps to survivors." + "en" "{mint}Fire immunity, absorbs damage, runs fast, cloaks itself, pulls survivors in and changes their gravity, jumps high, starts meteor showers, smites survivors, spams rocks, warps to survivors, and spawns Witches/zombies." } "Tank #91" { - "en" "{mint}This Tank is immune to fire damage, runs fast, cloaks itself, and warps to survivors." + "en" "{mint}This Tank is immune to fire damage, runs fast, and warps to survivors." } "Tank #92" { - "en" "{mint}This Tank can give survivors temporary health, absorb health from nearby infected, jump really high, start meteor showers, spawn with a shield, and warp to survivors." + "en" "{mint}This Tank is immune to fire damage, runs fast, cloaks itself, and warps to survivors." } "Tank #93" { - "en" "{mint}This Tank is immune to fire damage, runs really fast, and warps to survivors." + "en" "{mint}This Tank can give survivors temporary health, absorb health from nearby infected, jump really high, start meteor showers, spawn with a shield, and warp to survivors." } "Tank #94" { - "en" "{mint}This Tank spawns zombies behind clouds of smoke within the area." + "en" "{mint}This Tank is immune to fire damage, runs really fast, and warps to survivors." } "Tank #95" { - "en" "{mint}This Tank is immune to fire damage, runs really fast, and warps to survivors." + "en" "{mint}This Tank spawns zombies behind clouds of smoke within the area." } "Tank #96" { - "en" "{mint}This Tank can partially blind and drug survivors." + "en" "{mint}This Tank is immune to fire damage, runs really fast, and warps to survivors." } "Tank #97" { - "en" "{mint}This Tank can partially drug and hurt survivors." + "en" "{mint}This Tank can partially blind and drug survivors." } "Tank #98" { - "en" "{mint}This Tank can start rock showers and spam rocks at survivors." + "en" "{mint}This Tank can partially drug and hurt survivors." } "Tank #99" { - "en" "{mint}This Tank does extra damage, runs really fast, clones itself, creates acid puddles, explosions, and fires, cloaks itself, starts rock showers, spams rocks at survivors, and throws rocks that track nearby survivors." + "en" "{mint}This Tank can start rock showers and spam rocks at survivors." } "Tank #100" { - "en" "{mint}This Tank is immune to fire damage, runs a little faster, starts meteor showers, panic events, and rock showers." + "en" "{mint}This Tank does extra damage, runs really fast, clones itself, creates acid puddles, explosions, and fires, cloaks itself, starts rock showers, spams rocks at survivors, and throws rocks that track nearby survivors." } "Tank #101" { - "en" "{mint}It's Darth Vader... And he is... A Mutant Tank with the Force!" + "en" "{mint}This Tank is immune to fire damage, runs a little faster, starts meteor showers, panic events, and rock showers." } "Tank #102" { - "en" "{mint}This Tank runs a little faster, buries survivors, cloaks itself, and warps to survivors." + "en" "{mint}It's Darth Vader... And he is... A Mutant Tank with the Force!" } "Tank #103" { - "en" "{mint}This Tank can start panic events and spawn Boomers to help prolong them." + "en" "{mint}This Tank runs a little faster, buries survivors, cloaks itself, and warps to survivors." } "Tank #104" { - "en" "{mint}Meet the Incredible Hulk! This Tank has most of the abilities of the Hulk!" + "en" "{mint}This Tank can start panic events and spawn Boomers to help prolong them." } "Tank #105" { - "en" "{mint}This Tank can teleport, move around silently, and cloak itself. Be very careful!" + "en" "{mint}Meet the Incredible Hulk! This Tank has most of the abilities of the Hulk!" } "Tank #106" { - "en" "{mint}This Tank can run really fast like the Flash and create speed mirages (clones) of itself." + "en" "{mint}This Tank can teleport, move around silently, and cloak itself. Be very careful!" } "Tank #107" {