View Single Post
Author Message
MasterMind420
BANNED
Join Date: Nov 2010
Old 05-20-2017 , 19:39   [L4D2] Oshroth's Backpack
Reply With Quote #1

Oshroth's Backpack
by MasterMind420

Players are given a backpack to store extra items.
Full credit for the idea goes to the original author Oshroth.
You can find his thread here - https://forums.alliedmods.net/showthread.php?t=121373

Features:
Code:
Backpack Slot Limits - Limit the amount of items u can carry.
Incap Item Pickup - Press Use key while incap to pickup items.
Drop Items - Hold Reload key to drop items in front of you.
Starting Items - Configure players first spawn items.
Death Drop - Enable/Disable dropping items on death.
Changelog:
Code:
v0.8
Items automatically refill empty slots.
Limit backpack contents added. (Optional)
Pickup items while incap added. (Optional)
Display a backpack on players backs added. (Optional)
Configure players starting backpack contents added. (Optional)

v0.9
Removed some useless code snippets.
Added DeathDrop option - players drop or don't drop items on death.
Updated IsSurvivorThirdPerson bool, thanks Lux.

v1.0
Major rewrite fixed many bugs and did many optimizations.
Recreated the admin backpack menu to work much better.
Item switching can now be done pressing number keys(NGBUCKWANGS).
Added ability to drop items holding your RELOAD button(NGBUCKWANGS).
Added single tap and double tap option for item switching.
Added ThirdpersonShoulder Detect Plugin support.

v1.1
Fixed -
	Quantities not subtracting from player passing pills
	Item pickup not always working and needing to be pressed several times
Feature -
	Added incap pickup option again
	Modified item limit to use slot limit instead
	Added ability to pass multiple pills/adrenaline

v1.2
Fixed -
	Fixed broken qty hints system
	Fixed after throwing grenade switching to another
Feature -
        Made items more visible when swapping/dropping them

v1.3
Fixed -
	Fixed broken grenade replenish after dropping one
PLEASE REPORT ANY BUGS OR BROKEN FEATURES YOU FIND

Last edited by DarkDeviL; 10-18-2021 at 09:04. Reason: Restore to previous version.
MasterMind420 is offline