Raised This Month: $32 Target: $400
 8% 

[L4D2] Multi-Clip Grenade Launcher


Post New Thread Reply   
 
Thread Tools Display Modes
Author
panxiaohai
Senior Member
Join Date: Mar 2010
Plugin ID:
2393
Plugin Version:
Plugin Category:
Fun Stuff
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Grenade launcher have multi-clip and reload more than one bullet.
    Old 06-24-2011 , 10:37   [L4D2] Multi-Clip Grenade Launcher
    Reply With Quote #1

    Descriptions
    You can load more than one bullet for a grenade launcher (Press reload button).
    Convars:
    "l4d_gl_clips", "5", " max clips for grenade launcher, 0 disable "
    "l4d_gl_msg", "3", "how many times to display usage information ,0 disable "
    "l4d_gl_count", "2", "increase the number
    of every reloading, must >0"

    ChangLog:
    version 1.1 add a cvar to allow the reload clipsize to be variable

    version 1.2 support sdk hooks 1.3-2.1, support "multiple equipment"

    Requirement: SDK Hooks
    Attached Thumbnails
    Click image for larger version

Name:	c2m1_highway0019.jpg
Views:	6772
Size:	80.8 KB
ID:	87961  
    Attached Files
    File Type: smx l4d_grenade_launcher.smx (7.6 KB, 3573 views)
    File Type: sp Get Plugin or Get Source (l4d_grenade_launcher.sp - 2168 views - 9.9 KB)

    Last edited by panxiaohai; 11-10-2011 at 11:33.
    panxiaohai is offline
    xbatista
    Veteran Member
    Join Date: Mar 2008
    Location: Lithuania
    Old 06-24-2011 , 10:45   Re: a plugin for grenade launcher
    Reply With Quote #2

    Want to toilet?
    aa

    EDIT: Why you created thread and text inside was 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaa'.
    __________________

    Last edited by xbatista; 06-24-2011 at 11:57.
    xbatista is offline
    Send a message via Skype™ to xbatista
    panxiaohai
    Senior Member
    Join Date: Mar 2010
    Old 06-24-2011 , 12:32   Re: a plugin for grenade launcher
    Reply With Quote #3

    Quote:
    Originally Posted by xbatista View Post
    Want to toilet?
    aa

    EDIT: Why you created thread and text inside was 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaa'.

    Because I am thinking how to describe my plugin.
    panxiaohai is offline
    paul92
    Senior Member
    Join Date: Sep 2010
    Old 06-24-2011 , 17:22   Re: a plugin for grenade launcher
    Reply With Quote #4

    Ehi! I like it!

    Only 1 suggestion, can you simply make it that every "reload" button add 1 granade (instead of pressing mouse2 and switch button) ?

    I have the switch button on mouse wheel up, so i can't press both together!

    Oh, and can you put also a cvar in the .cfg file which can disable the Hint_Instructor? I don't like my server to be spammed by those hints.

    Hope you can 2 this little things, it will improve it!

    Last edited by paul92; 06-24-2011 at 17:27.
    paul92 is offline
    panxiaohai
    Senior Member
    Join Date: Mar 2010
    Old 06-24-2011 , 22:42   Re: a plugin for grenade launcher
    Reply With Quote #5

    Quote:
    Originally Posted by paul92 View Post
    Ehi! I like it!

    Only 1 suggestion, can you simply make it that every "reload" button add 1 granade (instead of pressing mouse2 and switch button) ?

    I have the switch button on mouse wheel up, so i can't press both together!

    Oh, and can you put also a cvar in the .cfg file which can disable the Hint_Instructor? I don't like my server to be spammed by those hints.

    Hope you can 2 this little things, it will improve it!
    Thank you, why choice to use switch button because I think it will cause minimum cpu consumption, when choice reload button, it must use OnGameFrame or OnPlayerRunCmd, it is more simple and convenient but need more cpu consumption.
    I will modify a new version (use reload button)for you.
    panxiaohai is offline
    alexip121093
    Senior Member
    Join Date: Dec 2009
    Location: Hong Kong
    Old 06-25-2011 , 07:41   Re: [L4D2] A plugin for grenade launcher
    Reply With Quote #6

    why not change the gun script...
    __________________
    alexip121093 is offline
    Send a message via MSN to alexip121093
    panxiaohai
    Senior Member
    Join Date: Mar 2010
    Old 06-25-2011 , 08:32   Re: [L4D2] A plugin for grenade launcher
    Reply With Quote #7

    Quote:
    Originally Posted by alexip121093 View Post
    why not change the gun script...
    How to change script and let all player have more than one grenade?
    panxiaohai is offline
    Ulrich
    Member
    Join Date: Mar 2010
    Location: In a box
    Old 06-26-2011 , 21:14   Re: [L4D2] A plugin for grenade launcher
    Reply With Quote #8

    Could you make it so that when the Grenade Launcher is at l4d_gl_clips and a player is holding the grenade Launcher, it blocks the reload command?
    This way, players won't reload a now-full weapon.

    Then there's a small bug. When a player picks up the grenade launcher, they have to change weapons beofre they can add the extra grenades.
    __________________
    Ulrich is offline
    BrianGriffin
    Senior Member
    Join Date: Oct 2008
    Old 06-26-2011 , 22:32   Re: [L4D2] A plugin for grenade launcher
    Reply With Quote #9

    Another cool plugin from you, thanks
    BrianGriffin is offline
    paul92
    Senior Member
    Join Date: Sep 2010
    Old 06-27-2011 , 05:14   Re: [L4D2] A plugin for grenade launcher
    Reply With Quote #10

    Thank you panxiaohai! I really like this new version!
    paul92 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 21:47.


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