Skip to content

Commit fe90d79

Browse files
v8.99 (#115)
* Update README_RU.md * fix ed * Update mutant_tanks.phrases.txt * Added initial changes for v8.92 * Fixed ability cooldowns not being applied * Updated mutant_tanks_signatures.cfg * Fixed client index error from the Fly ability * Added more changes for v8.92 - The bunny hop reward now allows better control with movement keys. - Updated config files. * Added more changes for v8.92 - Warp: Fixed the Tank teleporting inside solid objects. - Warp: Removed non-working code. - Zombie: Removed non-working code. - Removed "Updater" as an optional dependency for the "mt_abilities2.sp" file. * some fixes * Update mutant_tanks.phrases.txt * Added initial changes for v8.95 - Quiet: The ability now silences footsteps. - Yell - Added the `Yell Mode` setting. - Re-added the deafen feature. - Updated config files. - Updated gamedata file. - Updated include file. - Updated updater file. * Added more changes for v8.95 - Changed the minimum value of the `* Damage` setting for several abilities from `1`/`1.0` to `0`/`0.0`. - Updated .md files. - Updated updater file. * Update README_RU.md * update russian translation * Test build for hit reg * Test build for hit reg * Added changes for v8.99 - Fixed array index errors. - Fixed some props being created multiple times and crashing the server. - Fixed cooldowns not being applied properly. - Fixed the config parser not reading specified sections. - Fixed custom config Mutant Tank types not overriding main config Mutant Tank types. - Fixed settings not being read properly for human-controlled infected in competitive modes. - Fixed some incorrect offsets for Linux. - Fixed the `Close Areas Only` setting not working for several abilities. - Clone: Fixed an issue with the ability cloning the same type in some scenarios. - Fragile: Fixed the `Fragile Speed Boost` setting not working. - Track: Fixed the `Combo Speed` setting not overriding the `Track Speed` setting. - Most of Mutant Tanks' features can now be applied to the other special infected. - The mutation continues to adapt to accommodate different strains of the virus... - Mutant Tanks and its sub-plugins now properly support the `[L4D2] Tank Rush 2` plugin. - Added the following target filters to let admins target Mutant Tanks: - `@msmokers` - `@psysmokers` - `@mboomers` - `@psyboomers` - `@mhunters` - `@psyhunters` - `@mspitters` - `@psyspitters` - `@mjockeys` - `@psyjockeys` - `@mchargers` - `@psychargers` - The `@mutants` target filter can now target all types of Mutant Infected. - Players can no longer see healthbars of Mutant Infected through solid objects. - Added the `sm_mt_edit` command to allow admins to temporarily modify settings in-game. - Added signatures for the following functions: - `CBaseAbility::CreateForPlayer` - `CClaw::OnSwingEnd` - `CCSPlayer::State_Transition` - `CTerrorPlayer::BecomeGhost` - `CTerrorPlayer::OnRevived` - `CTerrorPlayer::PlayerZombieAbortControl` - `CTerrorPlayer::SetClass` - `CTerrorWeapon::StartAttackTimer` - `ZombieManager::SpawnBoomer<Vector>` (L4D1) - `ZombieManager::SpawnHunter<Vector>` (L4D1) - `ZombieManager::SpawnSmoker<Vector>` (L4D1) - `ZombieManager::SpawnSpecial<Vector>` (L4D2) - Added signatures and offsets for the following functions: - `CTerrorPlayer::FireBullet` (L4D2) - `CTraceBulletEntityEnumerator::PerformMultiTrace` - Added offsets for the `CBasePlayer::Weapon_ShootPosition` function. - Replaced the `CThrow::ActivateAbility` function with the `CBaseAbility::ActivateAbility` function. - Changed the minimum value of every setting from `0/0.0/0.1/1.0` to `-1/-1.0`. - Use `-1/-1.0` to allow overrides for Mutant Special Infected. - Use `0/0.0` to disable the setting for Mutant Special Infected. - Added the `Ghost Bullets Reward` setting under the `Plugin Settings->Rewards`, `Tank #->Rewards`, and `STEAM_ID->Rewards` sections. - Added the `Boss Effects` setting under the `Tank #->Boss` and `STEAM_ID->Boss` sections. - Added the `Bullet Fix` setting under the `Plugin Settings->General` section. - Added the `Intangible Body` setting under the `Plugin Settings->Enhancements`, `Tank #->Enhancements`, and `STEAM_ID->Enhancements` sections. - Added the `Throw Rock` setting under the `Plugin Settings->Enhancements`, `Tank #->Enhancements`, and `STEAM_ID->Enhancements` sections. - Added the `Rush` section under the `Plugin Settings` section which allows to configure settings for the `Tank Rush 2` mode. - Updated English translations. - Updated Simplified Chinese translations. - Updated Hungarian translations. - Updated Russian translations. - The `MT_OnConfigsLoaded` forward now has two more parameters. - The following natives now each have a second parameter: - `MT_CanTypeSpawn` - `MT_DoesTypeRequireHumans` - `MT_HasChanceToSpawn` - `MT_IsFinaleType` - `MT_IsNonFinaleType` - `MT_IsTypeEnabled` - Added the `Ability Sight` setting for several abilities. - Changed the minimum value of every setting for every ability from `0/0.0/0.1/1.0` to `-1/-1.0`. - Use `-1/-1.0` to allow overrides for Mutant Special Infected. - Use `0/0.0` to disable the setting for Mutant Special Infected. - Added the `Recall` ability. - Absorb: Added the `Absorb Convert Percentage` setting. - Aimless: Added the `Aimless Gunshots` setting. - Ammo - Added the `Ammo Type` setting to add more flexibility. - Increased the maximum limit of the `Ammo Count` setting from `25` to `100`. - Reworked the `Ammo Count` setting to take away a specified amount of ammunition from survivors instead of setting survivors' ammunition to a specified amount. - Bury: Optimized the code for preventing survivors from attacking while buried. - Choke: Optimized the code for preventing survivors from attacking while being choked. - Drop: Added the `Drop Count` setting. - Electric: Added the `Electric Stun Speed` setting. - Ghost: Added the `Ghost Fade Phase` setting. - Gravity: Added the `Gravity Flags` setting. - Hit: Added sound effect. - Hypno - Added the `Hypno Color` setting. - Added the `Hypno View` setting. - Ice: Survivor victims can no longer move or attack while frozen. - Kamikaze: Added the `Kamikaze Mode` setting. - Leech: Added visual effect. - Medic - Added the `Human Rock Cooldown` setting. - Added the `Medic Rock Break` setting. - Added the `Medic Rock Chance` setting. - Added the `Medic Rock Cooldown` setting. - Necro: Added visual and sound effects. - Omni: Added visual and sound effects. - Pimp: Added visual effect. - Pyro: Added the `Pyro Fire Divisor` setting. - Respawn: Added sound effect. - Restart: Added visual and sound effects. - Rocket: Added the `Rocket Mode` setting. - Shield: Added the `Shield Convert Percentage` setting. - Smash: Added the `Smash Mode` setting. - Smite: Added the `Smite Mode` setting. - Splash: Added visual effect. - Undead - The Tank now gets extinguished and has the vomit effect removed when its health resets. - Added sound effect. - Updated config files. - Updated gamedata file. - Updated include file. - Updated translation files. - Updated updater file. --------- Co-authored-by: Blueberryy <36592509+Blueberryy@users.noreply.github.com>
1 parent dde898d commit fe90d79

File tree

107 files changed

+101450
-20627
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+101450
-20627
lines changed

CHANGELOG.md

Lines changed: 202 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,211 @@
11
# Changelog
22

3+
## Version 8.99 (October 10, 2023)
4+
5+
### Bug Fixes
6+
7+
#### General
8+
- Fixed array index errors.
9+
- Fixed some props being created multiple times and crashing the server.
10+
- Fixed cooldowns not being applied properly.
11+
12+
#### Config Files
13+
- Fixed the config parser not reading specified sections.
14+
- Fixed custom config Mutant Tank types not overriding main config Mutant Tank types. (Thanks to `xcd222` for reporting!)
15+
- Fixed settings not being read properly for human-controlled infected in competitive modes.
16+
17+
#### Game Data
18+
- Fixed some incorrect offsets for Linux. (Thanks to `Krufftys Killers` for reporting!)
19+
20+
#### Abilities
21+
- Fixed the `Close Areas Only` setting not working for several abilities.
22+
- Clone: Fixed an issue with the ability cloning the same type in some scenarios. (Thanks to `SpannerV2` for testing and reporting!)
23+
- Fragile: Fixed the `Fragile Speed Boost` setting not working. (Thanks to `PVNDV` for testing and reporting!)
24+
- Track: Fixed the `Combo Speed` setting not overriding the `Track Speed` setting. (Thanks to `PVNDV` for testing and reporting!)
25+
26+
### Changes
27+
28+
#### General
29+
- Most of Mutant Tanks' features can now be applied to the other special infected. (Requested by several people over the years.)
30+
- The mutation continues to adapt to accommodate different strains of the virus...
31+
- Mutant Tanks and its sub-plugins now properly support the [`[L4D2] Tank Rush 2`](https://forums.alliedmods.net/showthread.php?t=234840) plugin. (Requested by `Tank Rush`.) [Thanks to `Carl Sagan` for the code!]
32+
33+
#### Core Plugin
34+
- Added the following target filters to let admins target Mutant Tanks:
35+
- `@msmokers`
36+
- `@psysmokers`
37+
- `@mboomers`
38+
- `@psyboomers`
39+
- `@mhunters`
40+
- `@psyhunters`
41+
- `@mspitters`
42+
- `@psyspitters`
43+
- `@mjockeys`
44+
- `@psyjockeys`
45+
- `@mchargers`
46+
- `@psychargers`
47+
- The `@mutants` target filter can now target all types of Mutant Infected.
48+
- Players can no longer see healthbars of Mutant Infected through solid objects.
49+
50+
#### Commands
51+
- Added the `sm_mt_edit` command to allow admins to temporarily modify settings in-game.
52+
53+
#### Game Data
54+
- Added signatures for the following functions:
55+
- `CBaseAbility::CreateForPlayer`
56+
- `CClaw::OnSwingEnd`
57+
- `CCSPlayer::State_Transition`
58+
- `CTerrorPlayer::BecomeGhost`
59+
- `CTerrorPlayer::OnRevived`
60+
- `CTerrorPlayer::PlayerZombieAbortControl`
61+
- `CTerrorPlayer::SetClass`
62+
- `CTerrorWeapon::StartAttackTimer`
63+
- `ZombieManager::SpawnBoomer<Vector>` (L4D1)
64+
- `ZombieManager::SpawnHunter<Vector>` (L4D1)
65+
- `ZombieManager::SpawnSmoker<Vector>` (L4D1)
66+
- `ZombieManager::SpawnSpecial<Vector>` (L4D2)
67+
- Added signatures and offsets for the following functions:
68+
- `CTerrorPlayer::FireBullet` (L4D2)
69+
- `CTraceBulletEntityEnumerator::PerformMultiTrace`
70+
- Added offsets for the `CBasePlayer::Weapon_ShootPosition` function.
71+
- Replaced the `CThrow::ActivateAbility` function with the `CBaseAbility::ActivateAbility` function.
72+
73+
#### Settings
74+
- Changed the minimum value of every setting from `0/0.0/0.1/1.0` to `-1/-1.0`.
75+
- Use `-1/-1.0` to allow overrides for Mutant Special Infected.
76+
- Use `0/0.0` to disable the setting for Mutant Special Infected.
77+
- Added the `Ghost Bullets Reward` setting under the `Plugin Settings->Rewards`, `Tank #->Rewards`, and `STEAM_ID->Rewards` sections. (Thanks to `epzminion` for the code!)
78+
- Added the `Boss Effects` setting under the `Tank #->Boss` and `STEAM_ID->Boss` sections. (Requested by `SpannerV2`.)
79+
- Added the `Bullet Fix` setting under the `Plugin Settings->General` section. (Thanks to `Xutax_Kamay` for the code!)
80+
- Added the `Intangible Body` setting under the `Plugin Settings->Enhancements`, `Tank #->Enhancements`, and `STEAM_ID->Enhancements` sections. (Requested by `Tank Rush`.)
81+
- Added the `Throw Rock` setting under the `Plugin Settings->Enhancements`, `Tank #->Enhancements`, and `STEAM_ID->Enhancements` sections.
82+
- Added the `Rush` section under the `Plugin Settings` section which allows to configure settings for the `Tank Rush 2` mode. (Requested by `Tank Rush`.) [Thanks to `Carl Sagan` for the code!]
83+
84+
#### Translations
85+
- Updated English translations.
86+
- Updated Simplified Chinese translations. (Thanks to `yuzumi`!)
87+
- Updated Hungarian translations. (Thanks to `KasperH`/`Ladis`!)
88+
- Updated Russian translations. (Thanks to `Blueberry`/`Kleiner`!)
89+
90+
#### Natives & Forwards
91+
- The `MT_OnConfigsLoaded` forward now has two more parameters.
92+
- The following natives now each have a second parameter:
93+
- `MT_CanTypeSpawn`
94+
- `MT_DoesTypeRequireHumans`
95+
- `MT_HasChanceToSpawn`
96+
- `MT_IsFinaleType`
97+
- `MT_IsNonFinaleType`
98+
- `MT_IsTypeEnabled`
99+
100+
#### Abilities
101+
- Added the `Ability Sight` setting for several abilities.
102+
- Changed the minimum value of every setting for every ability from `0/0.0/0.1/1.0` to `-1/-1.0`.
103+
- Use `-1/-1.0` to allow overrides for Mutant Special Infected.
104+
- Use `0/0.0` to disable the setting for Mutant Special Infected.
105+
- Added the `Recall` ability. (Thanks to `Lux` and `Silvers` for helping with some of the code!)
106+
- Absorb: Added the `Absorb Convert Percentage` setting. (Thanks to `Angelace113` for suggesting and testing!)
107+
- Aimless: Added the `Aimless Gunshots` setting. (Thanks to `Angelace113` for suggesting and testing!)
108+
- Ammo
109+
- Added the `Ammo Type` setting to add more flexibility.
110+
- Increased the maximum limit of the `Ammo Count` setting from `25` to `100`.
111+
- Reworked the `Ammo Count` setting to take away a specified amount of ammunition from survivors instead of setting survivors' ammunition to a specified amount.
112+
- Bury: Optimized the code for preventing survivors from attacking while buried.
113+
- Choke: Optimized the code for preventing survivors from attacking while being choked.
114+
- Drop: Added the `Drop Count` setting.
115+
- Electric: Added the `Electric Stun Speed` setting.
116+
- Ghost: Added the `Ghost Fade Phase` setting.
117+
- Gravity: Added the `Gravity Flags` setting.
118+
- Hit: Added sound effect.
119+
- Hypno
120+
- Added the `Hypno Color` setting.
121+
- Added the `Hypno View` setting.
122+
- Ice: Survivor victims can no longer move or attack while frozen.
123+
- Kamikaze: Added the `Kamikaze Mode` setting. (Thanks to `Angelace113` for suggesting and testing!)
124+
- Leech: Added visual effect.
125+
- Medic
126+
- Added the `Human Rock Cooldown` setting. (Thanks to `Angelace113` for suggesting and testing!)
127+
- Added the `Medic Rock Break` setting. (Thanks to `Angelace113` for suggesting and testing!)
128+
- Added the `Medic Rock Chance` setting. (Thanks to `Angelace113` for suggesting and testing!)
129+
- Added the `Medic Rock Cooldown` setting. (Thanks to `Angelace113` for suggesting and testing!)
130+
- Necro: Added visual and sound effects.
131+
- Omni: Added visual and sound effects.
132+
- Pimp: Added visual effect.
133+
- Pyro: Added the `Pyro Fire Divisor` setting.
134+
- Respawn: Added sound effect.
135+
- Restart: Added visual and sound effects.
136+
- Rocket: Added the `Rocket Mode` setting. (Thanks to `Angelace113` for suggesting and testing!)
137+
- Shield: Added the `Shield Convert Percentage` setting.
138+
- Smash: Added the `Smash Mode` setting. (Thanks to `Angelace113` for suggesting and testing!)
139+
- Smite: Added the `Smite Mode` setting. (Thanks to `Angelace113` for suggesting and testing!)
140+
- Splash: Added visual effect.
141+
- Undead
142+
- The Tank now gets extinguished and has the vomit effect removed when its health resets.
143+
- Added sound effect.
144+
145+
### Files
146+
147+
#### General
148+
- The pre-compiled plugins included in the package are:
149+
- Compiled without any of the optional dependencies.
150+
- Compiled with the `SourceMod 1.12.0.6985` compiler.
151+
152+
#### Updates
153+
- Updated config files.
154+
- Updated gamedata file.
155+
- Updated include file.
156+
- Updated translation files.
157+
- Updated updater file.
158+
3159
## Version 8.98 (August 10, 2023)
160+
<details>
161+
<summary>Click to expand!</summary>
4162

5163
### Bug Fixes
164+
<details>
165+
<summary>Core Plugin</summary>
6166

7167
#### Core Plugin
8168
- Fixed the `Health` and `Refill` rewards not rewarding recipients with health properly. (Thanks to `xcd222` for reporting!) [Fixed in `v8.97`.]
169+
</details>
170+
<details>
171+
<summary>Config Files</summary>
9172

10173
#### Config Files
11174
- Fixed custom config Mutant Tank types overlapping with main config Mutant Tank types. (Thanks to `xcd222` for reporting!)
175+
</details>
176+
<details>
177+
<summary>Settings</summary>
12178

13179
#### Settings
14180
- Fixed the `Reward Visual` setting's limit. (Thanks to `swofleswof` for testing and reporting!)
181+
</details>
182+
<details>
183+
<summary>Abilities</summary>
15184

16185
#### Abilities
17186
- Gunner: Fixed an error that caused the server to crash. (Thanks to `Mi.Cura` for testing and reporting!)
18187
- Item, Kamikaze, Rocket, Smash, Smite: Fixed survivor ragdolls being erased by all Mutant Tank types. (Thanks to `George Rex` for reporting!) [Fixed in `v8.97`.]
19188
- Throw: Fixed Mutant Tank types not being able to throw cars and special infected. (Thanks to `xcd222` for reporting!) [Fixed in `v8.97`.]
189+
</details>
20190

21191
### Changes
192+
<details>
193+
<summary>Core Plugin</summary>
22194

23195
#### Core Plugin
24196
- The godmode reward now prevents recipients from being pinned by any special infected.
197+
</details>
198+
<details>
199+
<summary>ConVars</summary>
25200

26201
#### ConVars
27202
- Added the `mt_configfile` convar. (Requested by `zonbarbar`.)
28203
- Added a lock mechanism to enforce temporary values across maps for the core plugin's convars. (Thanks to `NgBUCKWANGS` for the code!)
29204
- Use `-l-` in front of the new value to enforce that value for the convar. (Example: `mt_configfile "-l-myconfig.cfg"`)
30205
- Use `-u-` in front of the new value to allow the convar to accept new values. (Example: `mt_configfile "-u-myconfig.cfg"`)
206+
</details>
207+
<details>
208+
<summary>Game Data</summary>
31209

32210
#### Game Data
33211
- Added signatures for the following functions:
@@ -36,23 +214,34 @@
36214
- `CTerrorPlayer::OnPouncedOnSurvivor`
37215
- `CTerrorPlayer::OnStartCarryingVictim`
38216
- `CTerrorPlayer::QueuePummelVictim`
217+
</details>
218+
<details>
219+
<summary>Settings</summary>
39220

40221
#### Settings
41222
- Added the `Prioritize Throws` setting under the `Plugin Settings->Competitive` and `Tank #->Competitive` sections. (Requested by `xcd222`.) [Thanks to `Silvers` for the help!]
223+
</details>
42224

43225
### Files
226+
<details>
227+
<summary>General</summary>
44228

45229
#### General
46230
- The pre-compiled plugins included in the package are:
47231
- Compiled without any of the optional dependencies.
48232
- Compiled with the `SourceMod 1.12.0.6985` compiler.
233+
</details>
234+
<details>
235+
<summary>Updates</summary>
49236

50237
#### Updates
51238
- Updated config files.
52239
- Updated gamedata file.
53240
- Updated include file.
54241
- Updated translation files.
55242
- Updated updater file.
243+
</details>
244+
</details>
56245

57246
## Version 8.97 (May 21, 2023)
58247
<details>
@@ -117,15 +306,6 @@
117306
- Added the `Refill Percent Reward` setting under the `Plugin Settings->Rewards`, `Tank #->Rewards`, and `STEAM_ID->Rewards` sections. (Thanks to `DARG367` for suggesting!)
118307
- Updated the `Stack Limits` setting to accept an `8th` value.
119308
</details>
120-
<details>
121-
<summary>Abilities</summary>
122-
123-
#### Abilities
124-
- Gravity
125-
- Added the `Gravity Radius` setting.
126-
- Added the `Gravity Rock Break` setting. (Thanks to `JustMadMan` for the idea!)
127-
- Added the `Gravity Rock Chance` setting. (Thanks to `JustMadMan` for the idea!)
128-
</details>
129309
<details>
130310
<summary>Translations</summary>
131311

@@ -135,6 +315,15 @@
135315
- Updated Hungarian translations.
136316
- Updated Russian translations.
137317
</details>
318+
<details>
319+
<summary>Abilities</summary>
320+
321+
#### Abilities
322+
- Gravity
323+
- Added the `Gravity Radius` setting.
324+
- Added the `Gravity Rock Break` setting. (Thanks to `JustMadMan` for the idea!)
325+
- Added the `Gravity Rock Chance` setting. (Thanks to `JustMadMan` for the idea!)
326+
</details>
138327

139328
### Files
140329
<details>
@@ -3531,7 +3720,7 @@
35313720

35323721
1. The output of the `sm_st_config` command is now printed in chat instead of console to avoid overloading the buffer.
35333722
2. Added the `Omni`, `Xiphos`, and `Yell` abilities.
3534-
3. The `ST_GetTankName()` native now has a third argument.
3723+
3. The `ST_GetTankName()` native now has a third parameter.
35353724
4. Added the `Regular Type` and `Finale Types` settings under the `Plugin Settings->Waves` section.
35363725
5. Added the `Detect Plugins` setting under the `Plugin Settings->General` section.
35373726
6. Added the `Display Health Type` setting under the `Plugin Settings->General` section.
@@ -3593,12 +3782,12 @@
35933782
1. All `Ability Effect` and `Ability Message` settings now take in bit flags instead of strings.
35943783
2. Several settings now take in bit flags instead of strings.
35953784
3. All global variables are now initialized after the `AskPluginLoad2()` forward.
3596-
4. The `ST_IsTankSupported()` native's second argument now takes in bit flags instead of strings.
3785+
4. The `ST_IsTankSupported()` native's second parameter now takes in bit flags instead of strings.
35973786
5. Renamed the `Flash` ability to `Fast` ability.
35983787
6. Renamed the `Stun` ability to `Slow` ability.
35993788
7. Renamed the `ST_OnPreset()` forward to `ST_OnPostTankSpawn()`.
36003789
8. Added the `sm_st_config` command.
3601-
9. Added a second argument to the `ST_OnChangeType()` forward.
3790+
9. Added a second parameter to the `ST_OnChangeType()` forward.
36023791
10. Added the `ST_IsFinaleTank()` native.
36033792
11. Added the `Ultimate` ability. (Requested by `foquaxticity`.)
36043793
12. The Medic ability now allows Super Tanks to heal other Tanks. (Requested by `FatalOE71`.)
@@ -4940,7 +5129,7 @@
49405129
<summary>Click to expand!</summary>
49415130

49425131
1. Added the `Hypno Mode` KeyValue to decide whether hypnotized survivors can only hurt themselves or other teammates.
4943-
2. The `Hypno` ability now uses OnTakeDamage instead of TraceAttack and supports multiple damage types.
5132+
2. The `Hypno` ability now uses `OnTakeDamage` instead of `TraceAttack` and supports multiple damage types.
49445133
3. The `Hypno` ability's effect only activates when hypnotized survivors hurts/kills the Super Tank that hypnotized them.
49455134
4. The `Hypno` ability no longer kills hypnotized survivors when they kill the Super Tank that hypnotized them.
49465135
5. The bullet (gunshot) damage done onto a Super Tank by its hypnotized victim will now have `1`/`10` of it inflicted upon the hypnotized victim.

0 commit comments

Comments
 (0)