Skip to content

Commit dde898d

Browse files
authored
Merge pull request #111 from Psykotikism/v8.98
v8.98
2 parents dbe7d18 + 8394fce commit dde898d

File tree

21 files changed

+1018
-160
lines changed

21 files changed

+1018
-160
lines changed

CHANGELOG.md

Lines changed: 98 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,68 +1,161 @@
11
# Changelog
22

3+
## Version 8.98 (August 10, 2023)
4+
5+
### Bug Fixes
6+
7+
#### Core Plugin
8+
- Fixed the `Health` and `Refill` rewards not rewarding recipients with health properly. (Thanks to `xcd222` for reporting!) [Fixed in `v8.97`.]
9+
10+
#### Config Files
11+
- Fixed custom config Mutant Tank types overlapping with main config Mutant Tank types. (Thanks to `xcd222` for reporting!)
12+
13+
#### Settings
14+
- Fixed the `Reward Visual` setting's limit. (Thanks to `swofleswof` for testing and reporting!)
15+
16+
#### Abilities
17+
- Gunner: Fixed an error that caused the server to crash. (Thanks to `Mi.Cura` for testing and reporting!)
18+
- 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`.]
19+
- Throw: Fixed Mutant Tank types not being able to throw cars and special infected. (Thanks to `xcd222` for reporting!) [Fixed in `v8.97`.]
20+
21+
### Changes
22+
23+
#### Core Plugin
24+
- The godmode reward now prevents recipients from being pinned by any special infected.
25+
26+
#### ConVars
27+
- Added the `mt_configfile` convar. (Requested by `zonbarbar`.)
28+
- Added a lock mechanism to enforce temporary values across maps for the core plugin's convars. (Thanks to `NgBUCKWANGS` for the code!)
29+
- Use `-l-` in front of the new value to enforce that value for the convar. (Example: `mt_configfile "-l-myconfig.cfg"`)
30+
- Use `-u-` in front of the new value to allow the convar to accept new values. (Example: `mt_configfile "-u-myconfig.cfg"`)
31+
32+
#### Game Data
33+
- Added signatures for the following functions:
34+
- `CTerrorPlayer::GrabVictimWithTongue`
35+
- `CTerrorPlayer::OnLeptOnSurvivor`
36+
- `CTerrorPlayer::OnPouncedOnSurvivor`
37+
- `CTerrorPlayer::OnStartCarryingVictim`
38+
- `CTerrorPlayer::QueuePummelVictim`
39+
40+
#### Settings
41+
- Added the `Prioritize Throws` setting under the `Plugin Settings->Competitive` and `Tank #->Competitive` sections. (Requested by `xcd222`.) [Thanks to `Silvers` for the help!]
42+
43+
### Files
44+
45+
#### General
46+
- The pre-compiled plugins included in the package are:
47+
- Compiled without any of the optional dependencies.
48+
- Compiled with the `SourceMod 1.12.0.6985` compiler.
49+
50+
#### Updates
51+
- Updated config files.
52+
- Updated gamedata file.
53+
- Updated include file.
54+
- Updated translation files.
55+
- Updated updater file.
56+
357
## Version 8.97 (May 21, 2023)
58+
<details>
59+
<summary>Click to expand!</summary>
460

561
### Bug Fixes
62+
<details>
63+
<summary>General</summary>
664

765
#### General
866
- Fixed an issue where some RNG-based events happen too often. (Thanks to `ddd123` for reporting!)
967
- Fixed an issue where Witches take a long time to die from fires. (Thanks to `ddd123` for reporting!)
1068
- Fixed rare array index errors.
69+
</details>
70+
<details>
71+
<summary>Core Plugin</summary>
1172

1273
#### Core Plugin
1374
- Fixed Tank death messages not appearing when a survivor solos a Tank.
75+
</details>
76+
<details>
77+
<summary>Config Files</summary>
1478

1579
#### Config Files
1680
- Fixed Mutant Tank type settings not being read properly under combined sections.
81+
</details>
82+
<details>
83+
<summary>Abilities</summary>
1784

1885
#### Abilities
1986
- Gunner
2087
- Fixed one of the messages not showing up when the ability activates. (Thanks to `thewintersoldier97` for reporting!)
2188
- Fixed the ability targeting the Tank itself.
2289
- Quiet: Fixed the sound hook blocking other sound hooks.
2390
- Rocket: Fixed an issue where survivor ragdolls will not disappear if the player goes afk and is replaced by a survivor bot. (Thanks to `Slaven555` for testing and reporting!)
91+
</details>
2492

2593
### Changes
94+
<details>
95+
<summary>General</summary>
2696

2797
#### General
2898
- Mutant Tanks and its sub-plugins now properly support the [`[L4D & L4D2] Lagged Movement - Plugin Conflict Resolver`](https://forums.alliedmods.net/showthread.php?t=340345) plugin.
99+
</details>
100+
<details>
101+
<summary>Commands</summary>
29102

30103
#### Commands
31104
- Added a 4th parameter for the `sm_tank` command. (Usage: `sm_tank <1-500> <amount: 1-32> <0: spawn on crosshair|1: spawn automatically> <0: not blind|1: blind>`)
105+
</details>
106+
<details>
107+
<summary>Game Data</summary>
32108

33109
#### Game Data
34110
- L4D2: Updated some signatures and offsets for the `2.2.2.7` update.
111+
</details>
112+
<details>
113+
<summary>Settings</summary>
114+
115+
#### Settings
116+
- Added the `Footstep Shake` setting under the `Plugin Settings->Enhancements`, `Tank #->Enhancements`, and `STEAM_ID->Enhancements` sections. (Thanks to `Silvers` for the code!)
117+
- Added the `Refill Percent Reward` setting under the `Plugin Settings->Rewards`, `Tank #->Rewards`, and `STEAM_ID->Rewards` sections. (Thanks to `DARG367` for suggesting!)
118+
- Updated the `Stack Limits` setting to accept an `8th` value.
119+
</details>
120+
<details>
121+
<summary>Abilities</summary>
35122

36123
#### Abilities
37124
- Gravity
38125
- Added the `Gravity Radius` setting.
39126
- Added the `Gravity Rock Break` setting. (Thanks to `JustMadMan` for the idea!)
40127
- Added the `Gravity Rock Chance` setting. (Thanks to `JustMadMan` for the idea!)
41-
42-
#### Settings
43-
- Added the `Footstep Shake` setting under the `Plugin Settings->Enhancements`, `Tank #->Enhancements`, and `STEAM_ID->Enhancements` sections. (Thanks to `Silvers` for the code!)
44-
- Added the `Refill Percent Reward` setting under the `Plugin Settings->Rewards`, `Tank #->Rewards`, and `STEAM_ID->Rewards` sections. (Thanks to `DARG367` for suggesting!)
45-
- Updated the `Stack Limits` setting to accept an `8th` value.
128+
</details>
129+
<details>
130+
<summary>Translations</summary>
46131

47132
#### Translations
48133
- Updated English translations.
49134
- Updated Simplified Chinese translations.
50135
- Updated Hungarian translations.
51136
- Updated Russian translations.
137+
</details>
52138

53139
### Files
140+
<details>
141+
<summary>General</summary>
54142

55143
#### General
56144
- The pre-compiled plugins included in the package are:
57145
- Compiled without any of the optional dependencies.
58146
- Compiled with the `SourceMod 1.12.0.6985` compiler.
147+
</details>
148+
<details>
149+
<summary>Updates</summary>
59150

60151
#### Updates
61152
- Updated config files.
62153
- Updated gamedata file.
63154
- Updated include file.
64155
- Updated translation files.
65156
- Updated updater file.
157+
</details>
158+
</details>
66159

67160
## Version 8.96 (December 25, 2022)
68161
<details>

INFORMATION.md

Lines changed: 34 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@
631631
// 32: Item reward
632632
// - Receive up to five items.
633633
// 64: God mode reward (temporary)
634-
// - Automatically kill all special infected attackers.
634+
// - Automatically prevent attacks from and kill all special infected attackers.
635635
// - Immune to all types of damage.
636636
// - Cannot be flung away by Chargers.
637637
// - Cannot be pushed around.
@@ -733,7 +733,7 @@
733733
// 32: Item reward
734734
// - Receive up to five items.
735735
// 64: God mode reward (temporary)
736-
// - Automatically kill all special infected attackers.
736+
// - Automatically prevent attacks from and kill all special infected attackers.
737737
// - Immune to all types of damage.
738738
// - Cannot be flung away by Chargers.
739739
// - Cannot be pushed around.
@@ -874,21 +874,22 @@
874874
// Add up numbers together for different results.
875875
// --
876876
// Minimum value for each: 0
877-
// Maximum value for each: 63
877+
// Maximum value for each: 127
878878
// --
879879
// 0: OFF
880880
// 1: Screen color
881881
// 2: Particle effect
882882
// 4: Looping voiceline
883-
// 8: Light color
884-
// 16: Body color
885-
// 32: Glow outline (Only available in Left 4 Dead 2.)
883+
// 8: Voice pitch
884+
// 16: Light color
885+
// 32: Body color
886+
// 64: Glow outline (Only available in Left 4 Dead 2.)
886887
// --
887888
// 1st number = Visual effect for killers.
888889
// 2nd number = Visual effect for assistants.
889890
// 3rd number = Visual effect for teammates.
890891
// 4th number = Visual effect for assistant killers.
891-
"Reward Visual" "63,63,63,63"
892+
"Reward Visual" "127,127,127,127" // Default is "63" on Left 4 Dead 1.
892893

893894
// Enable the "sm_mt_prefs" command and notify players about it.
894895
// Note: This setting can be used for standard Tanks.
@@ -1896,6 +1897,16 @@
18961897
// Maximum: 99999.0
18971898
"Force Spawn" "0.0"
18981899

1900+
// (Co-Op modes only) Mutant Tanks should prioritize throwing rocks.
1901+
// Note: Tanks only prioritize throwing rocks on Advanced and Expert modes by default.
1902+
// Note: Do not change this setting if you are unsure of how it works.
1903+
// Note: This setting can be used for standard Tanks.
1904+
// Note: This setting can be overridden for each Mutant Tank under the "Competitive" section of their settings.
1905+
// --
1906+
// 0/"disabled"/"false"/"off"/"no": OFF, let the game determine Mutant Tanks' attack.
1907+
// 1/"enabled"/"true"/"on"/"yes": ON, force Mutant Tanks to prioritize throwing rocks.
1908+
"Prioritize Throws" "0"
1909+
18991910
// The stasis mode of Mutant Tanks when spawning.
19001911
// Note: Do not change this setting if you are unsure of how it works.
19011912
// Note: This setting can be used for standard Tanks.
@@ -3013,7 +3024,7 @@
30133024
// 32: Item reward
30143025
// - Receive up to five items.
30153026
// 64: God mode reward (temporary)
3016-
// - Automatically kill all special infected attackers.
3027+
// - Automatically prevent attacks from and kill all special infected attackers.
30173028
// - Immune to all types of damage.
30183029
// - Cannot be flung away by Chargers.
30193030
// - Cannot be pushed around.
@@ -3115,7 +3126,7 @@
31153126
// 32: Item reward
31163127
// - Receive up to five items.
31173128
// 64: God mode reward (temporary)
3118-
// - Automatically kill all special infected attackers.
3129+
// - Automatically prevent attacks from and kill all special infected attackers.
31193130
// - Immune to all types of damage.
31203131
// - Cannot be flung away by Chargers.
31213132
// - Cannot be pushed around.
@@ -3256,15 +3267,16 @@
32563267
// Add up numbers together for different results.
32573268
// --
32583269
// Minimum value for each: 0
3259-
// Maximum value for each: 63
3270+
// Maximum value for each: 127
32603271
// --
32613272
// 0: OFF
32623273
// 1: Screen color
32633274
// 2: Particle effect
32643275
// 4: Looping voiceline
3265-
// 8: Light color
3266-
// 16: Body color
3267-
// 32: Glow outline (Only available in Left 4 Dead 2.)
3276+
// 8: Voice pitch
3277+
// 16: Light color
3278+
// 32: Body color
3279+
// 64: Glow outline (Only available in Left 4 Dead 2.)
32683280
// --
32693281
// 1st number = Visual effect for killers.
32703282
// 2nd number = Visual effect for assistants.
@@ -4260,6 +4272,15 @@
42604272
// 0/"disabled"/"false"/"off"/"no": OFF, let the game determine the Mutant Tank's initial behavior.
42614273
// 1/"enabled"/"true"/"on"/"yes": ON, force the Mutant Tank to attack immediately.
42624274
"Auto Aggravate" "0"
4275+
4276+
// (Co-Op modes only) The Mutant Tank should prioritize throwing rocks.
4277+
// Note: Tanks only prioritize throwing rocks on Advanced and Expert modes by default.
4278+
// Note: Do not change this setting if you are unsure of how it works.
4279+
// Note: This setting overrides the same setting under the "Plugin Settings/Competitive" section.
4280+
// --
4281+
// 0/"disabled"/"false"/"off"/"no": OFF, let the game determine Mutant Tanks' attack.
4282+
// 1/"enabled"/"true"/"on"/"yes": ON, force Mutant Tanks to prioritize throwing rocks.
4283+
"Prioritize Throws" "0"
42634284
}
42644285
"Glow"
42654286
{

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,13 @@ sm_mt_zombie - View information about the Zombie ability.
202202
// Maximum: "1.000000"
203203
mt_autoupdate "0"
204204
205+
// The config filename used by Mutant Tanks to read settings from.
206+
// Empty: None
207+
// Not empty: The custom config filename to use.
208+
// -
209+
// Default: "mutant_tanks.cfg"
210+
mt_configfile "mutant_tanks.cfg"
211+
205212
// Disable Mutant Tanks in these game modes.
206213
// Separate by commas.
207214
// Empty: None
@@ -2754,9 +2761,9 @@ Set the values in `Execute Config Types`.
27542761

27552762
**ReCreator, SilentBr, Neptunia, Zytheus, huwong, Tank Rush, Tonblader, TheStarRocker, Maku, Shadowart, saberQAQ, Shao, xcd222** - For reporting issues and suggesting ideas.
27562763

2757-
**Princess LadyRain, Nekrob, fig101, BloodyBlade, user2000, MedicDTI, ben12398, AK978, ricksfishin, Voevoda, ur5efj, What, moekai, weffer, AlexAlcala, ddd123, GL_INS, Slaven555, Neki93, kot4404, KadabraZz, Krufftys Killers, thewintersoldier97, Balloons, George Rex** - For reporting issues.
2764+
**Princess LadyRain, Nekrob, fig101, BloodyBlade, user2000, MedicDTI, ben12398, AK978, ricksfishin, Voevoda, ur5efj, What, moekai, weffer, AlexAlcala, ddd123, GL_INS, Slaven555, Neki93, kot4404, KadabraZz, Krufftys Killers, thewintersoldier97, Balloons, George Rex, swofleswof** - For reporting issues.
27582765

2759-
**Electr000999, foquaxticity, foxhound27, sxslmk, FatalOE71, zaviier, RDiver, BHaType, HarryPotter, jeremyvillanueva, DonProof, XXrevoltadoXX, XYZC, moschinovac, JustMadMan, DARG367** - For suggesting ideas.
2766+
**Electr000999, foquaxticity, foxhound27, sxslmk, FatalOE71, zaviier, RDiver, BHaType, HarryPotter, jeremyvillanueva, DonProof, XXrevoltadoXX, XYZC, moschinovac, JustMadMan, DARG367, zonbarbar** - For suggesting ideas.
27602767

27612768
**Marttt** - For helping with many things and the pull requests.
27622769

README_RU.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,13 @@ sm_mt_zombie - Просмотр информации о способности
202202
// Максимум: "1.000000"
203203
mt_autoupdate "0"
204204
205+
// Имя файла конфигурации, из которого плагин считывает настройки.
206+
// Пусто: нет
207+
// Не пусто: Имя файла пользовательской конфигурации для использования.
208+
// -
209+
// По умолчанию: "mutant_tanks.cfg"
210+
mt_configfile "mutant_tanks.cfg"
211+
205212
// Отключить Танков-мутантов в этих режимах игры.
206213
// Через запятую.
207214
// Пусто: Нет
@@ -2754,9 +2761,9 @@ Overrides
27542761

27552762
**ReCreator, SilentBr, Neptunia, Zytheus, huwong, Tank Rush, Tonblader, TheStarRocker, Maku, Shadowart, saberQAQ, Shao, xcd222** - За сообщения о проблемах и предложения идей.
27562763

2757-
**Princess LadyRain, Nekrob, fig101, BloodyBlade, user2000, MedicDTI, ben12398, AK978, ricksfishin, Voevoda, ur5efj, What, moekai, weffer, AlexAlcala, ddd123, GL_INS, Slaven555, Neki93, kot4404, KadabraZz, Krufftys Killers, thewintersoldier97, Balloons, George Rex** - За сообщения о проблемах.
2764+
**Princess LadyRain, Nekrob, fig101, BloodyBlade, user2000, MedicDTI, ben12398, AK978, ricksfishin, Voevoda, ur5efj, What, moekai, weffer, AlexAlcala, ddd123, GL_INS, Slaven555, Neki93, kot4404, KadabraZz, Krufftys Killers, thewintersoldier97, Balloons, George Rex, swofleswof** - За сообщения о проблемах.
27582765

2759-
**Electr000999, foquaxticity, foxhound27, sxslmk, FatalOE71, zaviier, RDiver, BHaType, HarryPotter, jeremyvillanueva, DonProof, XXrevoltadoXX, XYZC, moschinovac, JustMadMan, DARG367** - За предложения идей.
2766+
**Electr000999, foquaxticity, foxhound27, sxslmk, FatalOE71, zaviier, RDiver, BHaType, HarryPotter, jeremyvillanueva, DonProof, XXrevoltadoXX, XYZC, moschinovac, JustMadMan, DARG367, zonbarbar** - За предложения идей.
27602767

27612768
**Marttt** - За помощь во многих вещах и pull request'ы.
27622769

addons/sourcemod/data/mutant_tanks/backup_config/format1/mutant_tanks.cfg

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"Reward Effect" "15,15,15,15"
6161
"Reward Notify" "3,3,3,3"
6262
"Reward Percentage" "10.0,10.0,10.0,10.0"
63-
"Reward Visual" "63,63,63,63"
63+
"Reward Visual" "127,127,127,127"
6464
"Prefs Notify" "1,1,1,1"
6565
"Share Rewards" "0,0,0,0"
6666
"Teammate Limit" "0"
@@ -117,12 +117,13 @@
117117
"Auto Aggravate" "Enabled"
118118
"Credit Igniters" "True"
119119
"Force Spawn" "Min"
120-
"Stasis Mode" "No"
120+
"Prioritize Throws" "No"
121+
"Stasis Mode" "Off"
121122
"Survival Delay" "Min"
122123
}
123124
"Difficulty"
124125
{
125-
"Scale Damage" "Off"
126+
"Scale Damage" "Disabled"
126127
"Difficulty Damage" "0.0,0.0,0.0,0.0"
127128
}
128129
"Health"
@@ -165,7 +166,7 @@
165166
"Human Support"
166167
{
167168
"Human Cooldown" "600"
168-
"Master Control" "Disabled"
169+
"Master Control" "False"
169170
"Spawn Mode" "Yes"
170171
}
171172
"Waves"
@@ -177,7 +178,7 @@
177178
"Regular Interval" "300.0"
178179
"Regular Limit" "99999"
179180
"Regular Type" "1-127"
180-
"Regular Wave" "False"
181+
"Regular Wave" "No"
181182
"Finale Amount" "Min"
182183
"Finale Types" "1-127,1-127,1-127,1-127,1-127,1-127,1-127,1-127,1-127,1-127,1-127"
183184
"Finale Waves" "0,0,0,0,0,0,0,0,0,0,0"
@@ -198,7 +199,7 @@
198199
}
199200
"Custom"
200201
{
201-
"Enable Custom Configs" "No"
202+
"Enable Custom Configs" "Off"
202203
"Create Config Types" "Min"
203204
"Execute Config Delay" "5.0"
204205
"Execute Config Types" "Min"

0 commit comments

Comments
 (0)