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

[L4D & L4D2] Multiple Equipments


Post New Thread Reply   
 
Thread Tools Display Modes
Author
panxiaohai
Senior Member
Join Date: Mar 2010
Plugin ID:
2542
Plugin Version:
Plugin Category:
All
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Survivors can carry two item in one slot.
    Old 09-05-2011 , 08:40   [L4D & L4D2] Multiple Equipments
    Reply With Quote #1

    Survivors can carry two item in one slot.

    How to Use:
    Switch Item:
    Mode 1: 1,2,3,4,5;
    Mode 2: double switch (e.g. double Q, double 1, 2, 3, 4, 5) ;
    or
    command : sm_s0
    Restore Item:shove .

    Command:
    !me: select control mode;
    !s0: switch item;

    Convars:
    ("l4d_me_mode", "0", "0:show mode select menu, 1:mode 1 for every one, 2, mode 2 for every one");
    ("l4d_me_msg", "2", "0:disable message, 1, show in chat, 2, show in hintbox");

    ("l4d_me_slot0", "1", "0:
    disable slot 0 (primary ), 1,enable ");
    ("l4d_me_slot1", "1", "0:
    disable slot 1 (secondary ), 1,enable");
    ("l4d_me_slot2", "1", "0:
    disable slot 2 (pipebomb ), 1,enable");
    ("l4d_me_slot3", "1", "0:
    disable slot 3 (medkits ), 1,enable");
    ("l4d_me_slot4", "1", "0:
    disable slot 4 (painpills), 1,enable");

    ChangeLog:

    version 1.3fix the dual pistol problem.
    add command sm_s0.


    version 1.4
    The new operation system : Double switch

    version 1.5
    type: !me to select operation mode;

    version 1.6
    Add support for shield ;

    version 1.7
    Add support for knife;
    Fix the porblem of infinite molotov

    version 1.8
    add some convars;
    The unknown weapon will not be switched.

    Click image for larger version

Name:	l4d_smalltown01_caves0232.jpg
Views:	6861
Size:	93.3 KB
ID:	94259 Click image for larger version

Name:	c2m3_coaster0007.jpg
Views:	6307
Size:	66.7 KB
ID:	94258


    Requirement: SDK Hook.
    Attached Thumbnails
    Click image for larger version

Name:	l4d_smalltown01_caves0013.jpg
Views:	5004
Size:	62.1 KB
ID:	91985   Click image for larger version

Name:	c2m1_highway0053.jpg
Views:	4918
Size:	82.9 KB
ID:	91988  
    Attached Files
    File Type: smx l4d_multiple_equipment_all.smx (23.5 KB, 5755 views)
    File Type: sp Get Plugin or Get Source (l4d_multiple_equipment_all.sp - 4300 views - 48.9 KB)

    Last edited by panxiaohai; 01-10-2012 at 02:00.
    panxiaohai is offline
    TheSuggestioner
    Member
    Join Date: Aug 2011
    Location: USA, Connecticut
    Old 09-05-2011 , 09:33   Re: [L4D & L4D2] Multiple Equipments
    Reply With Quote #2

    You think you can add a preview of your secondary weapon as well? I mean in the GUI.
    __________________
    Roses are Red
    Violets are blue,
    Not a big surprise
    If a Tank kills you!
    TheSuggestioner is offline
    BrianGriffin
    Senior Member
    Join Date: Oct 2008
    Old 09-05-2011 , 11:41   Re: [L4D & L4D2] Multiple Equipments
    Reply With Quote #3

    This was requested on my server ages ago!! Thanks for sharing .
    BrianGriffin is offline
    TheJokerx
    Junior Member
    Join Date: Jul 2011
    Old 09-05-2011 , 12:21   Re: [L4D & L4D2] Multiple Equipments
    Reply With Quote #4

    If I change weapon with shove+q i lose the lasersight of the weapon
    TheJokerx is offline
    siangc
    Senior Member
    Join Date: Mar 2010
    Old 09-05-2011 , 12:47   Re: [L4D & L4D2] Multiple Equipments
    Reply With Quote #5

    Its pretty buggy when changing weapons, sometimes it works, but most times nothing happens, but when i did it really fast 2-3 times it worked. Had a bug (i guess?) in c1m1_hotel, the real players started with uzi's, showed it had full ammo, but after one clip and reload, it just had 1 bullet left. Otherwise good job
    __________________
    siangc is offline
    panxiaohai
    Senior Member
    Join Date: Mar 2010
    Old 09-05-2011 , 13:45   Re: [L4D & L4D2] Multiple Equipments
    Reply With Quote #6

    Quote:
    Originally Posted by siangc View Post
    Its pretty buggy when changing weapons, sometimes it works, but most times nothing happens, but when i did it really fast 2-3 times it worked. Had a bug (i guess?) in c1m1_hotel, the real players started with uzi's, showed it had full ammo, but after one clip and reload, it just had 1 bullet left. Otherwise good job
    You need first hold a primary weapon , then hold right mouse button and press Q, there is no probability in this plugin.
    At first ,every have two weapon, the second weapon was smg, only have 1 bullet.
    I will test it more, thank you.

    Last edited by panxiaohai; 09-05-2011 at 13:50.
    panxiaohai is offline
    AtomicStryker
    Veteran Member
    Join Date: Apr 2009
    Location: Teutonia!!
    Old 09-05-2011 , 17:02   Re: [L4D & L4D2] Multiple Equipments
    Reply With Quote #7

    Very cool
    AtomicStryker is offline
    SseRDG
    Junior Member
    Join Date: Jul 2011
    Old 09-06-2011 , 03:33   Re: [L4D & L4D2] Multiple Equipments
    Reply With Quote #8

    Very useful plugin!

    Last edited by SseRDG; 09-07-2011 at 10:31.
    SseRDG is offline
    dunkin84
    Junior Member
    Join Date: Sep 2010
    Old 09-07-2011 , 19:28   Re: [L4D & L4D2] Multiple Equipments
    Reply With Quote #9

    how to show both weapon like the screenshot u show? i have 2 primary weapon after i switch to pistol or melee i can only see 1 primary weapon on my back ,or issit just me? ^^
    dunkin84 is offline
    panxiaohai
    Senior Member
    Join Date: Mar 2010
    Old 09-07-2011 , 19:37   Re: [L4D & L4D2] Multiple Equipments
    Reply With Quote #10

    Quote:
    Originally Posted by dunkin84 View Post
    how to show both weapon like the screenshot u show? i have 2 primary weapon after i switch to pistol or melee i can only see 1 primary weapon on my back ,or issit just me? ^^
    You can not see your weapon, but others can see it.
    panxiaohai is offline
    Reply


    Thread Tools
    Display Modes

    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 16:53.


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