View Single Post
Author Message
bullet28
Member
Join Date: Apr 2012
Old 04-05-2020 , 10:19   [L4D2] Upgrade Pack Fixes
Reply With Quote #1

The reason why I am posting this plugin is that Upgrade packs BUG FIX plugin that we all always used has a critical bug related to the character change. It allows some characters to use the upgrade boxes without limits (more than one time), as well as take all the "ammo uses" before someone else has time to take them (the box disappears and you are the only who took upgrade, but 4x times). To reproduce this bug, you must install one of the plugins that allow you to change the character (for example, CSM) and install a model of Francis, Bill or Louis. Video demonstration of bug: https://youtu.be/7EtEDTKrcFs

Cvars:
upgrade_denied_sound "1" - Play sound when ammo already used
upgrade_block_glauncher "1" - "Block use of special ammo with grenade launcher (0 - Allow | 1 - Block any | 2 - Block incendiary | 3 - Block explosive)
upgrade_incendiary_multi "1.0" - Incendiary ammo multiplier on pickup
upgrade_explosive_multi "1.0" - Explosive ammo multiplier on pickup

Notice:
- By default grenade launcher upgrades is blocked, set upgrade_block_glauncher cvar to 0 if you won't block it.
- If you just want to block grenade launcher, but you don't have model changer (CSM) - use this instead.
- Boxes doesn't have proper glow indicating if it's used, and for some characters, i guess, we will never find way to do it. Anyway, players don't bother about it.

Credits:
V10 - original plugin, on which this is based
Silvers - all the brilliant stuff he bring for L4D

Installation:
1. Put .smx file into plugins folder
2. Remove l4d2_upgradepackfix.smx if it's exists
2. Put the .txt file into gamedata folder
Attached Files
File Type: sp Get Plugin or Get Source (lfd_both_fixUpgradePack.sp - 1268 views - 6.8 KB)
File Type: txt upgradepackfix.txt (805 Bytes, 720 views)

Last edited by bullet28; 04-05-2020 at 13:42.
bullet28 is offline