About:
Backpack gives survivors the ability to store extra items in their backpacks.
There is a known issue with the pills not being passed correctly.
Any plugins that blocks access to the give command for normal users will break this plugin.
Version Notes:
Later Versions will feature the most popular choices in the above poll, depending on my ability to implement them.
Intermittent versions will contain bug fixes and other minor fixes.
Cvars:
l4d_backpack_version - Plugin Version
l4d_backpack_help_mode - (default 1) Controls how backpack help is displayed. 0 disables the help messages, 1 displays the messages in normal chat window, 2 displays the messages in hint text, 3 displays the messages in center text
l4d_backpack_start_mols - Starting no. of molotovs in each player's backpack
l4d_backpack_start_pipes - Starting no. of pipe bombs in each player's backpack
l4d_backpack_start_biles - Starting no. of bile jars in each player's backpack *L4D2 Only*
l4d_backpack_start_kits - Starting no. of medkits in each player's backpack
l4d_backpack_start_defibs - Starting no. of defibs in each player's backpack *L4D2 Only*
l4d_backpack_start_firepacks - Starting no. of incendiary ammo packs in each player's backpack *L4D2 Only*
l4d_backpack_start_explodepacks - Starting no. of explosive ammo packs in each player's backpack *L4D2 Only*
l4d_backpack_start_pills - Starting no. of pills in each player's backpack
l4d_backpack_start_adrens - Starting no. of adrenalines in each player's backpack *L4D2 Only*
Commands:
pack - Allows survivors to view backpack contents and change current slot selections
pack <1-9> - Allows survivors to view backpack contents and change current slot selections. Using a number after the command skips showing the pack menu and instead quick-selects that item.
pack_view - (Requires Admin Generic Flag) Allows admins to view the contents of clients 1-8's backpacks
Known Issues:- Players can only pass pills to other players if they are looking directly at them, otherwise the pills just go back into their backpack and they'll need to reselect them. *L4D2 Only*
- Possible incompatibility with plugins which change clientids
- Players are able to pick up unlimited grenades in certain cases
- Backpack is incompatible with any plugins that hook the give command and block access unless certain conditions are met. i.e. Admin Cheats, Build Enabler
- No current way to prevent survivor stealing items before other players can get them
- Grenades don't pick up correctly *L4D1 Only*
Incompatible Plugins:
Left 4 Dead Build Enabler (v.1.3.0+) - Blocks access to Give command which is core part of Backpack
Changelog:- 1.0 - 460 views
- Initial version
- Changed public cvar to l4d_backpack_version
- 1.0.5 - 100 views
- Added beta admin view command
- Added quick-select options
- Partial support for Co-op
- 1.0.6 - 106 views
- Added a world entity check
1.1 - 35 views Version Rollback to 1.0.7
- Full Co-op Support
- Quick Select Commands
- Admin View Command BETA
- Cvars to control starting backpack contents
- Cvar to control help message display
- L4D1 Support
- 1.1.1 - L4D1:63/L4D2:186 views
- Starting backpack contents now get given correctly in Coop
- 1.0.7
- Full Co-op Support
- Quick Select Commands
- Admin View Command BETA
- Cvar to control help message display
- L4D1 Support
To Do:- Add support for Slot 0 & Slot 1(Primary & Secondary)
- Add support for Carryables
- Add Weight/Amount limits
- Add Encumbrance slowdown
- Add Unrecoverable items on death
- Improve Backpack Logic
- Add Drop command
- Add Admin View/Give Commands
Install
There is multiple versions of Backpack.
l4d2_backpack.smx is the latest L4D2 version (1.1.1), which is apparently causing problems with certain servers.
l4d_backpack.smx is the latest L4D1 version (1.1.1), which may cause the same problems as the L4D2 version.
l4d2_backpack1.0.7.smx is the rolled back L4D2 version.
l4d_backpack1.0.7.smx is the rolled back L4D1 version.
l4d2_backpack1.0.6.smx is the legacy L4D2 version for those having problems with later versions.
Place one of the above versions in sourcemod/plugins.
Make sure you don't have more then one active at the same time or it will cause server problems