Skip to content

Commit

Permalink
Added initial changes for v8.93
Browse files Browse the repository at this point in the history
- Fixed the refill reward not working properly.
- Fixed an issue where the `Combo Set` setting was being formatted incorrectly, resulting in strange behavior.
- Drop: Fixed an issue where weapons attached to Tanks are not affected by the `Ghost` ability's fade feature.
- Ghost: Fixed main ability not activating in combinations when secondary ability is enabled.
- Gravity: Fixed main ability not activating in combinations when secondary ability is enabled.
- Heal: Fixed main ability not activating in combinations when secondary ability is enabled.
- Jump: Fixed main ability not activating in combinations when secondary ability is enabled.
- Warp:
	- Fixed main ability not activating in combinations when secondary ability is enabled.
	- Fixed an issue with choosing a random survivor or Tank to warp to.
- Mutant Tanks and its sub-plugins now check for duplicate plugins and several old versions (including `Super Tanks++`) before loading.
- Forwards are now registered before the plugin loads.
- Removed the following commands (No longer used.):
	- `sm_mt_config2` - Same function as `sm_mt_config`
	- `sm_mt_list2` - Same function as `sm_mt_list`
	- `sm_mt_tank2`/`sm_tank2` - Same function as `sm_mt_tank`/`sm_tank`
	- `sm_mt_version2` - Same function as `sm_mt_version`
- Changed the default values of the following settings to `0.0`:
	- `Close Areas Only`
	- `Open Areas Only`
- Ghost: The `Ghost Fade Delay` setting can now be substituted by the `Combo Duration` setting when combined with other abilities.
- Updated config files.
- Updated include file.
- Updated updater file.
  • Loading branch information
Psykotikism committed Jun 21, 2022
1 parent c7623cc commit 15b5bff
Show file tree
Hide file tree
Showing 83 changed files with 407 additions and 509 deletions.
44 changes: 44 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,49 @@
# Changelog

## Version 8.93 (June 20, 2022)

### Bug Fixes

#### Core Plugin
- Fixed the refill reward not working properly. (Thanks to `Mi.Cura` for testing and reporting!)

#### Abilities
- Fixed an issue where the `Combo Set` setting was being formatted incorrectly, resulting in strange behavior. (Thanks to `ddd123` for reporting!)
- Drop: Fixed an issue where weapons attached to Tanks are not affected by the `Ghost` ability's fade feature.
- Ghost: Fixed main ability not activating in combinations when secondary ability is enabled.
- Gravity: Fixed main ability not activating in combinations when secondary ability is enabled.
- Heal: Fixed main ability not activating in combinations when secondary ability is enabled.
- Jump: Fixed main ability not activating in combinations when secondary ability is enabled.
- Warp:
- Fixed main ability not activating in combinations when secondary ability is enabled.
- Fixed an issue with choosing a random survivor or Tank to warp to.

### Changes

#### General
- Mutant Tanks and its sub-plugins now check for duplicate plugins and several old versions (including `Super Tanks++`) before loading.

#### Core Plugin
- Forwards are now registered before the plugin loads.

#### Commands
- Removed the following commands (No longer used.):
- `sm_mt_config2` - Same function as `sm_mt_config`
- `sm_mt_list2` - Same function as `sm_mt_list`
- `sm_mt_tank2`/`sm_tank2` - Same function as `sm_mt_tank`/`sm_tank`
- `sm_mt_version2` - Same function as `sm_mt_version`

#### Abilities
- Changed the default values of the following settings to `0.0`:
- `Close Areas Only`
- `Open Areas Only`
- Ghost: The `Ghost Fade Delay` setting can now be substituted by the `Combo Duration` setting when combined with other abilities.

#### Updates
- Updated config files.
- Updated include file.
- Updated updater file.

## Version 8.92 (June 1, 2022)

### Bug Fixes
Expand Down
40 changes: 22 additions & 18 deletions INFORMATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,8 @@
}
"Colors"
{
// You can create color presets here with unique nicknames that you can use in any of the following settings:
// Color presets can be created with unique nicknames that can be used in several color settings.
// --
// - "Body Color Visual"
// - "Glow Color Visual"
// - "Light Color Visual"
Expand All @@ -508,11 +509,13 @@
// - "Propane Tank Color"
// - "Flashlight Color"
// - "Crown Color"
// --
// Each time the config file is read, the presets in this section will be stored with their associated values.
// A nickname must be unique and cannot be used more than once.
// Any duplicates will overwrite the previous one.
// Any duplicates will overwrite previous entries.
// This is just a shortcut method for changing colors.
// Here are some examples:
// --
// Examples:

// All Tanks will be red.
"all_tank_skins" "255,0,0,255" // See "Skin Color" below.
Expand Down Expand Up @@ -7587,7 +7590,7 @@
// Keywords:
// "disabled"/"false"/"off"/"no" - 0.0 range
// "farthest" - 99999.0 range
"Open Areas Only" "500.0"
"Open Areas Only" "0.0"

// The ability is only effective toward human survivors.
// Note: This setting can be overridden for specific players.
Expand Down Expand Up @@ -8102,7 +8105,7 @@
// Keywords:
// "disabled"/"false"/"off"/"no" - 0.0 range
// "farthest" - 99999.0 range
"Open Areas Only" "150.0"
"Open Areas Only" "0.0"

// The ability is only effective toward human survivors.
// Note: This setting can be overridden for specific players.
Expand Down Expand Up @@ -8272,7 +8275,7 @@
// Keywords:
// "disabled"/"false"/"off"/"no" - 0.0 range
// "farthest" - 99999.0 range
"Close Areas Only" "150.0"
"Close Areas Only" "0.0"

// Use this ability in conjunction with other abilities.
// Note: Only use this when "Spawn Type" is set to "4" for the Mutant Tank.
Expand Down Expand Up @@ -9865,7 +9868,7 @@
// Keywords:
// "disabled"/"false"/"off"/"no" - 0.0 range
// "farthest" - 99999.0 range
"Open Areas Only" "150.0"
"Open Areas Only" "0.0"

// The ability is only effective toward human survivors.
// Note: This setting can be overridden for specific players.
Expand Down Expand Up @@ -9995,7 +9998,7 @@
// Keywords:
// "disabled"/"false"/"off"/"no" - 0.0 range
// "farthest" - 99999.0 range
"Close Areas Only" "150.0"
"Close Areas Only" "0.0"

// Use this ability in conjunction with other abilities.
// Note: Only use this when "Spawn Type" is set to "4" for the Mutant Tank.
Expand Down Expand Up @@ -10720,7 +10723,7 @@
// Keywords:
// "disabled"/"false"/"off"/"no" - 0.0 range
// "farthest" - 99999.0 range
"Open Areas Only" "500.0"
"Open Areas Only" "0.0"

// The ability is only effective toward human survivors.
// Note: This setting can be overridden for specific players.
Expand Down Expand Up @@ -11307,6 +11310,7 @@
"Ghost Fade Alpha" "2"

// The Mutant Tank's ghost fade effect starts all over after this many seconds passes upon reaching the limit set by the "Ghost Fade Limit" setting.
// Note: This is ignored when the "Combo Ability" setting is set to "1".
// Note: This setting can be overridden for specific players.
// --
// Minimum: 1
Expand Down Expand Up @@ -11661,7 +11665,7 @@
// Keywords:
// "disabled"/"false"/"off"/"no" - 0.0 range
// "farthest" - 99999.0 range
"Close Areas Only" "150.0"
"Close Areas Only" "0.0"

// Use this ability in conjunction with other abilities.
// Note: Only use this when "Spawn Type" is set to "4" for the Mutant Tank.
Expand Down Expand Up @@ -15446,7 +15450,7 @@
// Keywords:
// "disabled"/"false"/"off"/"no" - 0.0 range
// "farthest" - 99999.0 range
"Close Areas Only" "150.0"
"Close Areas Only" "0.0"

// Use this ability in conjunction with other abilities.
// Note: Only use this when "Spawn Type" is set to "4" for the Mutant Tank.
Expand Down Expand Up @@ -15936,7 +15940,7 @@
// Keywords:
// "disabled"/"false"/"off"/"no" - 0.0 range
// "farthest" - 99999.0 range
"Open Areas Only" "500.0"
"Open Areas Only" "0.0"

// The ability is only effective toward human survivors.
// Note: This setting can be overridden for specific players.
Expand Down Expand Up @@ -16144,7 +16148,7 @@
// Keywords:
// "disabled"/"false"/"off"/"no" - 0.0 range
// "farthest" - 99999.0 range
"Open Areas Only" "150.0"
"Open Areas Only" "0.0"

// The ability is only effective toward human survivors.
// Note: This setting can be overridden for specific players.
Expand Down Expand Up @@ -19142,7 +19146,7 @@
// Keywords:
// "disabled"/"false"/"off"/"no" - 0.0 range
// "farthest" - 99999.0 range
"Open Areas Only" "500.0"
"Open Areas Only" "0.0"

// The ability is only effective toward human survivors.
// Note: This setting can be overridden for specific players.
Expand Down Expand Up @@ -21426,7 +21430,7 @@
// Keywords:
// "disabled"/"false"/"off"/"no" - 0.0 range
// "farthest" - 99999.0 range
"Open Areas Only" "150.0"
"Open Areas Only" "0.0"

// The ability is only effective toward human survivors.
// Note: This setting can be overridden for specific players.
Expand Down Expand Up @@ -21554,7 +21558,7 @@
// Keywords:
// "disabled"/"false"/"off"/"no" - 0.0 range
// "farthest" - 99999.0 range
"Close Areas Only" "150.0"
"Close Areas Only" "0.0"

// Use this ability in conjunction with other abilities.
// Note: Only use this when "Spawn Type" is set to "4" for the Mutant Tank.
Expand Down Expand Up @@ -22011,7 +22015,7 @@
// Keywords:
// "disabled"/"false"/"off"/"no" - 0.0 range
// "farthest" - 99999.0 range
"Open Areas Only" "500.0"
"Open Areas Only" "0.0"

// The ability is only effective toward human survivors.
// Note: This setting can be overridden for specific players.
Expand Down Expand Up @@ -22297,7 +22301,7 @@
// Keywords:
// "disabled"/"false"/"off"/"no" - 0.0 range
// "farthest" - 99999.0 range
"Open Areas Only" "500.0"
"Open Areas Only" "0.0"

// The ability is only effective toward human survivors.
// Note: This setting can be overridden for specific players.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Originally an extended version of Super Tanks, Mutant Tanks combines Last Boss,
## Requirements
1. `SourceMod 1.11.0.6806` or higher
2. [`DHooks 2.2.0-detours15` or higher](https://forums.alliedmods.net/showpost.php?p=2588686&postcount=589)
3. Recommended:
3. Recommended (Optional):
- [`AutoExecConfig`](https://forums.alliedmods.net/showthread.php?t=204254)
- [`Explosive Chains Credit`](https://forums.alliedmods.net/showthread.php?t=334655)
- [`ThirdPersonShoulder_Detect`](https://forums.alliedmods.net/showthread.php?t=298649)
Expand Down
2 changes: 1 addition & 1 deletion README_RU.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
## Требования
1. `SourceMod 1.11.0.6806` или выше
2. [`DHooks 2.2.0-detours15` или выше](https://forums.alliedmods.net/showpost.php?p=2588686&postcount=589)
3. Рекомендуется:
3. Рекомендуется (Необязательно):
- [`AutoExecConfig`](https://forums.alliedmods.net/showthread.php?t=204254)
- [`Explosive Chains Credit`](https://forums.alliedmods.net/showthread.php?t=334655)
- [`ThirdPersonShoulder_Detect`](https://forums.alliedmods.net/showthread.php?t=298649)
Expand Down
98 changes: 27 additions & 71 deletions addons/sourcemod/mutant_tanks_updater.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,90 +4,46 @@
{
"Version"
{
"Latest" "8.92"
"Previous" "8.91"
"Latest" "8.93"
"Previous" "8.92"
}

"Notes" "AlliedModders forum thread: https://forums.alliedmods.net/showthread.php?t=302140"
"Notes" "GitHub repository: https://github.com/Psykotikism/Mutant_Tanks"
"Notes" "Release date: 6-1-2022"
"Notes" "Changes in v8.92:"
"Notes" "Release date: 6-20-2022"
"Notes" "Changes in v8.93:"
"Notes" "Bug Fixes:"
"Notes" "Commands:"
"Notes" "- Fixed the \"sm_mt_ability\" and \"sm_mt_ability2\" commands not displaying a menu for several abilities."
"Notes" "Core Plugin:"
"Notes" "- Fixed the refill reward not working properly. (Thanks to \"Mi.Cura\" for testing and reporting!)"
"Notes" "Abilities:"
"Notes" "- Fixed an issue where several claw/melee abilities will fail to activate when a human-controlled Tank uses up all their ammunition for their range abilities."
"Notes" "- Warp: Fixed the Tank teleporting inside solid objects."
"Notes" "- Fixed an issue where the \"Combo Set\" setting was being formatted incorrectly, resulting in strange behavior. (Thanks to \"ddd123\" for reporting!)"
"Notes" "- Drop: Fixed an issue where weapons attached to Tanks are not affected by the \"Ghost\" ability's fade feature."
"Notes" "- Ghost: Fixed main ability not activating in combinations when secondary ability is enabled."
"Notes" "- Gravity: Fixed main ability not activating in combinations when secondary ability is enabled."
"Notes" "- Heal: Fixed main ability not activating in combinations when secondary ability is enabled."
"Notes" "- Jump: Fixed main ability not activating in combinations when secondary ability is enabled."
"Notes" "- Warp:"
"Notes" " - Fixed main ability not activating in combinations when secondary ability is enabled."
"Notes" " - Fixed an issue with choosing a random survivor or Tank to warp to."
"Notes" "Changes:"
"Notes" "General:"
"Notes" "- Improved plugin load speed on server startup."
"Notes" "- Mutant Tanks and its sub-plugins now check for duplicate plugins and several old versions (including \"Super Tanks++\") before loading."
"Notes" "Core Plugin:"
"Notes" "- The speed boost reward now allows recipients to burst open doors by running into them. (Thanks to \"Silvers\" for the code!)"
"Notes" "- The bunny hop reward now allows better control with movement keys."
"Notes" "Game Data:"
"Notes" "- L4D2: Removed signatures for \"CTerrorGameRules::IsGenericCooperativeMode\"."
"Notes" "- L4D2: Added signatures for the following functions:"
"Notes" " - \"CTerrorGameRules::IsCoopMode\""
"Notes" " - \"CTerrorGameRules::IsRealismMode\""
"Notes" "- The following functions' signatures are now dynamically generated (Thanks to \"Silvers\" for the code!):"
"Notes" " - \"CDirector::IsFirstMapInScenario\" (L4D2)"
"Notes" " - \"CSpitterProjectile::Create\" (L4D2)"
"Notes" " - \"CTerrorGameRules::GetMissionFirstMap\""
"Notes" " - \"CTerrorGameRules::IsCoopMode\""
"Notes" " - \"CTerrorGameRules::IsMissionFinalMap\""
"Notes" " - \"CTerrorGameRules::IsHoldoutMode\" (L4D1)"
"Notes" " - \"CTerrorGameRules::IsRealismMode\" (L4D2)"
"Notes" " - \"CTerrorGameRules::IsVersusMode\" (L4D1)"
"Notes" " - \"CTerrorPlayer::MaterializeFromGhost\""
"Notes" "Settings:"
"Notes" "- Added the \"Burst Doors Reward\" setting under the \"Plugin Settings->Rewards\", \"Tank #->Rewards\", and \"STEAM_ID->Rewards\" sections."
"Notes" "- Added the \"Close Areas Only\" setting to determine which types or abilities are only for close areas. (Thanks to \"Angelace113\" for the idea!)"
"Notes" "- Added the following settings under the \"Tank #->Combo\" and \"STEAM_ID->Combo\" sections:"
"Notes" " - \"Combo Range Cooldown\""
"Notes" " - \"Combo Rock Cooldown\""
"Notes" "- The \"Combo Cooldown\" setting under the \"Tank #->Combo\" and \"STEAM_ID->Combo\" sections is now enabled."
"Notes" "Translations:"
"Notes" "- Updated English translations."
"Notes" "- Updated Simplified Chinese translations."
"Notes" "- Updated Hungarian translations."
"Notes" "- Updated Russian translations. (Thanks to \"Blueberry\"/\"Kleiner\"!)"
"Notes" "Natives & Forwards:"
"Notes" "- Updated the documentation for the \"MT_GetCombinationSetting\" native."
"Notes" "- Forwards are now registered before the plugin loads."
"Notes" "Commands:"
"Notes" "- Removed the following commands (No longer used.):"
"Notes" " - \"sm_mt_config2\" - Same function as \"sm_mt_config\""
"Notes" " - \"sm_mt_list2\" - Same function as \"sm_mt_list\""
"Notes" " - \"sm_mt_tank2\"/\"sm_tank2\" - Same function as \"sm_mt_tank\"/\"sm_tank\""
"Notes" " - \"sm_mt_version2\" - Same function as \"sm_mt_version\""
"Notes" "Abilities:"
"Notes" "- Changed the default value of the \"Human Cooldown\" setting from \"30\" to \"0\"."
"Notes" "- Improved the code execution of several abilities' \"Combo\" logic."
"Notes" "- Added the following settings for several abilities (Requested by \"Shao\".):"
"Notes" " - \"Human Range Cooldown\""
"Notes" " - \"Human Rock Cooldown\""
"Notes" " - \"* Cooldown\""
"Notes" " - \"* Range Cooldown\""
"Notes" " - \"* Rock Cooldown\""
"Notes" "- Acid"
"Notes" " - Added the \"Human Rock Cooldown\" setting. (Requested by \"Shao\".)"
"Notes" " - Added the \"Acid Rock Cooldown\" setting. (Requested by \"Shao\".)"
"Notes" "- Bomb"
"Notes" " - Added the \"Human Rock Cooldown\" setting. (Requested by \"Shao\".)"
"Notes" " - Added the \"Bomb Rock Cooldown\" setting. (Requested by \"Shao\".)"
"Notes" "- Fast: Changed the default value of the \"Open Areas Only\" setting from \"0.0\" to \"150.0\"."
"Notes" "- Fire"
"Notes" " - Added the \"Human Rock Cooldown\" setting. (Requested by \"Shao\".)"
"Notes" " - Added the \"Fire Rock Cooldown\" setting. (Requested by \"Shao\".)"
"Notes" "- Track: Changed the default value of the \"Open Areas Only\" setting from \"0.0\" to \"500.0\"."
"Notes" "- Warp"
"Notes" " - Added the \"Human Rock Cooldown\" setting. (Requested by \"Shao\".)"
"Notes" " - Added the \"Warp Rock Cooldown\" setting. (Requested by \"Shao\".)"
"Notes" " - Removed non-working code."
"Notes" "- Zombie: Removed non-working code."
"Notes" "Files:"
"Notes" "General:"
"Notes" "- The pre-compiled plugins included in the package are:"
"Notes" " - Compiled without any of the optional dependencies."
"Notes" " - Compiled with the \"SourceMod 1.11.0.6806\" compiler."
"Notes" "- Changed the default values of the following settings to \"0.0\":"
"Notes" " - \"Close Areas Only\""
"Notes" " - \"Open Areas Only\""
"Notes" "- Ghost: The \"Ghost Fade Delay\" setting can now be substituted by the \"Combo Duration\" setting when combined with other abilities."
"Notes" "Updates:"
"Notes" "- Updated config files."
"Notes" "- Updated gamedata file."
"Notes" "- Updated include file."
"Notes" "- Updated translation files."
"Notes" "- Updated updater file."
}

Expand Down
Binary file modified addons/sourcemod/plugins/mutant_tanks/mt_abilities.smx
Binary file not shown.
Binary file modified addons/sourcemod/plugins/mutant_tanks/mt_abilities2.smx
Binary file not shown.
Binary file modified addons/sourcemod/plugins/mutant_tanks/mutant_tanks.smx
Binary file not shown.
Loading

0 comments on commit 15b5bff

Please sign in to comment.