Raised This Month: $51 Target: $400
 12% 

View Poll Results: What features should I work on for next version?
Add support for Primary & Secondary Weapons 68 51.52%
Add Weight/Amount limits 69 52.27%
Add Encumberance slowdown 30 22.73%
Add Unrecoverable items on death 24 18.18%
Add Drop Command 44 33.33%
Add Admin View/Give Commands 37 28.03%
Make L4D1 Compatible 31 23.48%
Multiple Choice Poll. Voters: 132. You may not vote on this poll

Hiatus


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Oshroth
Senior Member
Join Date: Dec 2009
Plugin ID:
1526
Plugin Version:
1.0.7
Plugin Category:
Fun Stuff
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Allows you to store extra items in your backpack
    Unapprover:
    Reason for Unapproving:
    Check the cvars
    Old 03-15-2010 , 00:07   Hiatus
    Reply With Quote #1

    Backpack
    by Oshroth
    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
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d2_backpack.sp - 2940 views - 43.9 KB)
    File Type: sp Get Plugin or Get Source (l4d_backpack.sp - 2079 views - 19.7 KB)
    File Type: sp Get Plugin or Get Source (l4d2_backpack1.0.7.sp - 3768 views - 45.0 KB)
    File Type: sp Get Plugin or Get Source (l4d_backpack1.0.7.sp - 1934 views - 18.9 KB)
    File Type: sp Get Plugin or Get Source (l4d2_backpack1.0.6.sp - 2235 views - 42.5 KB)

    Last edited by Oshroth; 08-20-2011 at 04:04. Reason: Version Rollback
    Oshroth is offline
    dani1341
    BANNED
    Join Date: Feb 2010
    Old 03-15-2010 , 00:45   Re: [L4D2] Backpack
    Reply With Quote #2

    Good idea and nice work I will test it soon as I come back from school
    dani1341 is offline
    alexip121093
    Senior Member
    Join Date: Dec 2009
    Location: Hong Kong
    Old 03-15-2010 , 02:18   Re: [L4D2] Backpack
    Reply With Quote #3

    good!!! it works great

    But people will steal all the medkit
    alexip121093 is offline
    Send a message via MSN to alexip121093
    HowGentle
    Member
    Join Date: Feb 2010
    Old 03-15-2010 , 10:00   Re: [L4D2] Backpack
    Reply With Quote #4

    good.
    expect update
    HowGentle is offline
    Oshroth
    Senior Member
    Join Date: Dec 2009
    Old 03-15-2010 , 10:20   Re: [L4D2] Backpack
    Reply With Quote #5

    Don't worry, I will. I put the basic version up to find any obscure bugs that I missed in my testing.
    __________________
    Oshroth is offline
    gamemann
    Veteran Member
    Join Date: Sep 2009
    Location: Mullica Hill, New Jersey
    Old 03-15-2010 , 15:13   Re: [L4D2] Backpack
    Reply With Quote #6

    Awesome idea. Like it!
    __________________
    Software/network engineer. I often work on a neat project called The Modding Community.

    Check out my GitHub here!
    gamemann is offline
    Send a message via Skype™ to gamemann
    Herokim
    Senior Member
    Join Date: Mar 2010
    Location: In Fag-o-land
    Old 03-16-2010 , 17:22  
    Reply With Quote #7

    Hey Man! When you are supposed to support Primary and Secondary? I love this. And when you also make carry over maps heh? Its so cool
    Herokim is offline
    Ulrich
    Member
    Join Date: Mar 2010
    Location: In a box
    Old 03-16-2010 , 21:51   Re: [L4D2] Backpack
    Reply With Quote #8

    A great plugin. The only thing it needs asap is the Admin View/Give Command. With that, an admin (like myself) could view a persons backpack before the map change, then give the items they lost as a temporary fix to the loss of items on map change. Also, when the weight limit and encumberance updates are added, please add a config variable for them if you weren't already planing to do so. That could help a lot.
    Ulrich is offline
    Herokim
    Senior Member
    Join Date: Mar 2010
    Location: In Fag-o-land
    Old 03-17-2010 , 07:52  
    Reply With Quote #9

    Quote:
    Originally Posted by Ulrich View Post
    A great plugin. The only thing it needs asap is the Admin View/Give Command. With that, an admin (like myself) could view a persons backpack before the map change, then give the items they lost as a temporary fix to the loss of items on map change. Also, when the weight limit and encumberance updates are added, please add a config variable for them if you weren't already planing to do so. That could help a lot.

    Agree very much. BTW how you will make the slow down? Force injured walking? Cause that would be funny
    Herokim is offline
    Oshroth
    Senior Member
    Join Date: Dec 2009
    Old 03-17-2010 , 08:04   Re: [L4D2] Backpack
    Reply With Quote #10

    I think I was going to have a look at Perkmod and see how it did individual survivor speeds
    __________________
    Oshroth is offline
    Reply



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 03:14.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode