- Bug fixes:
- Fixed compilation errors on
SM 1.10
regardingLeft 4 DHooks Direct
. - Fixed
OnMapEnd
not triggering due to a typo. - Added notification flag to the
nff_disabledgamemodes
convar. - Added notification flag to the
nff_enabledgamemodes
convar.
- Changes:
- The
nff_saferoomonly
convar is now only available whenLeft 4 DHooks Direct
is installed.
- Bug fixes:
- Fixed issues where certain special infected cannot suicide because of the friendly-fire block. (Thanks to
WhatsAnName
for testing and reporting!)
- Bug fixes:
- Fixed game mode changes not being hooked and cached.
- Changes:
- Added notification flags to each convar.
- Made the
nff_pluginversion
convar unchangeable outside of the source code.
- Bug fixes:
- Fixed late-load error regarding invalid entities. (Thanks to
Kr3m
for reporting!)
- Changes:
- Improved logic to catch possible exploits with gascan friendly-fire.
- Bug fixes:
- Fixed damage from infected to survivors being blocked due to team check even if attacker was never on survivor team.
- Changes:
- Added the
nff_saferoomonly
convar. (Requested bylunatixxx
.)
- Changes:
- Added multiple settings to determine which damage types to block and which teams to block friendly-fire for.
- Changes:
- No longer relies on convars to block friendly-fire.
- Fire damage is now blocked without blocking all fires. (Thanks to
Silvers
for the code!) - Blocked idle/spectator team change and player disconnect exploits. (Thanks to
Silvers
for the code!) - Added the
nff_gamemodetypes
convar. (Thanks toSilvers
for the code!)
- Changes:
- Optimized code a bit.
- Bug fixes:
- Fixed the
nff_enabledgamemodes
andnff_disabledgamemodes
convars not working properly.
- Bug fixes:
- Fixed the
nff_enabledgamemodes
andnff_disabledgamemodes
convars not working properly.
- Major code optimization.
- Hid the
nff_pluginversion
convar.
- Added support for other game modes.
- Code optimization.
- Renamed the source code and
.cfg
files.
- Used a completely different code.
- Added a check for game mode.
- Implemented cravenge's entity reference check and explosive barrel check.
- Removed cvar
l4d_friendlyfire_fire
. - Hid cvar
l4d_friendlyfire_version
and renamed it tol4d_nff_version
. - Renamed cvar
l4d_friendlyfire
tol4d_nff
. - Fire from explosive barrels no longer damage players (but the explosion still does).
- Molotovs thrown by players that then switch teams or disconnect no longer do damage.
Initial Release.