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

[CSS] Extra Guns


Post New Thread Reply   
 
Thread Tools Display Modes
Author
blodia
Veteran Member
Join Date: Sep 2009
Location: UK
Plugin ID:
1854
Plugin Version:
1.1
Plugin Category:
Fun Stuff
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Lets players carry extra guns
    Old 08-03-2010 , 16:09   [CSS] Extra Guns
    Reply With Quote #1

    Requires SourceMod 1.3 or later and SDK Hooks

    Description
    Lets players carry an extra primary gun and/or an extra secondary gun. Please read the notes regarding some issues.

    ConVars
    extraguns_enable -- 0 disables plugin, 1 allows extra primary only, 2 allows extra secondary only, 3 allows extra primary and secondary. (default 3)

    Notes
    -- Weapon selection is done clientside and the weapon selection menu does not support multiple weapons in slot 1 and 2.
    -- To switch between different weapons in the same slot you have to use a mixture of keyboard binds (1/2 key bound to slot1/slot2) and the mouse wheel binds (invprev and invnext).
    -- I tried many different methods for weapon switching to overcome the above problems but they caused more issues so i left it as it is.

    Changelog
    1.1
    -- Just fixed a small error i noticed after all this time...

    1.0
    -- Initial release.
    Attached Files
    File Type: sp Get Plugin or Get Source (extraguns.sp - 1636 views - 7.8 KB)
    File Type: smx extraguns.smx (5.2 KB, 1825 views)

    Last edited by blodia; 01-15-2011 at 15:49.
    blodia is offline
    gaissi
    Senior Member
    Join Date: Sep 2009
    Old 08-24-2010 , 14:30   Re: [CSS] Extra Guns
    Reply With Quote #2

    Hey,

    Can you add a function for admins only?
    gaissi is offline
    blodia
    Veteran Member
    Join Date: Sep 2009
    Location: UK
    Old 08-24-2010 , 15:01   Re: [CSS] Extra Guns
    Reply With Quote #3

    sorry i try not to do admin only features as i think its unfair on the rest of the players.
    blodia is offline
    gaissi
    Senior Member
    Join Date: Sep 2009
    Old 08-25-2010 , 03:31   Re: [CSS] Extra Guns
    Reply With Quote #4

    Quote:
    Originally Posted by blodia View Post
    sorry i try not to do admin only features as i think its unfair on the rest of the players.
    Ok thank you anyway for the nice plugin...

    I will try it by myself...
    gaissi is offline
    timetofly
    Member
    Join Date: Sep 2010
    Old 09-06-2010 , 03:02   Re: [CSS] Extra Guns
    Reply With Quote #5

    I'm new to Sourcemod plugins, but I've gotten other plugins to work. I'm not sure though where to put the convar extraguns_enable 1

    I've tried putting it in the server.cfg file, but I still can't seem to buy more than one primary weapon.
    timetofly is offline
    NoS
    Senior Member
    Join Date: Nov 2006
    Old 09-06-2010 , 11:07   Re: [CSS] Extra Guns
    Reply With Quote #6

    Quote:
    Originally Posted by timetofly View Post
    I'm new to Sourcemod plugins, but I've gotten other plugins to work. I'm not sure though where to put the convar extraguns_enable 1

    I've tried putting it in the server.cfg file, but I still can't seem to buy more than one primary weapon.
    You need to edit it in the config file in the /cfg/sourcemod/ folder, if there is one.
    NoS is offline
    timetofly
    Member
    Join Date: Sep 2010
    Old 09-06-2010 , 14:36   Re: [CSS] Extra Guns
    Reply With Quote #7

    Quote:
    Originally Posted by NoS View Post
    You need to edit it in the config file in the /cfg/sourcemod/ folder, if there is one.
    All I can download is the .smx file.
    timetofly is offline
    blodia
    Veteran Member
    Join Date: Sep 2009
    Location: UK
    Old 09-06-2010 , 16:04   Re: [CSS] Extra Guns
    Reply With Quote #8

    do you get any errors in your console? do you have sdkhooks installed?
    blodia is offline
    timetofly
    Member
    Join Date: Sep 2010
    Old 09-06-2010 , 17:20   Re: [CSS] Extra Guns
    Reply With Quote #9

    No errors, but I don't have SDK hooks. So I'll get that and install it. Still though it would seem you're going to need more than just the .smx file. The plugins that have worked have also had a config file where you could set the CVAR as well as other options.
    timetofly is offline
    sinblaster
    Grim Reaper
    Join Date: Feb 2010
    Location: Australia
    Old 09-08-2010 , 08:17   Re: [CSS] Extra Guns
    Reply With Quote #10

    No son you place this in your cfg/server.cfg file

    Place all of what ive typed below between >>> <<< into server.cfg so you know for future adjustments

    >>>
    //EXTRA GUNS
    //0 disables plugin,
    //1 allows extra primary only,
    //2 allows extra secondary only,
    //3 allows extra primary and secondary. (default 3)
    //replace the default (3) with your choice number from above or leave it at default (3)
    extraguns_enable 3
    <<<

    EXAMPLE:
    Code:
    // server name 
    hostname "" 
    
    // Server password 
    sv_password "" 
    
    // rcon passsword 
    rcon_password "" 
    
    
    mapcyclefile "mapcycle.txt" 
    
    // Physics 
    sv_gravity 800 
    sv_friction 4 
    sv_accelerate 5 
    sv_airaccelerate 100 
    sv_stopspeed "" 
    sv_stepsize 18 
    sv_maxspeed "320" 
    phys_timescale 1 
    phys_pushscale 40 
    
    //EXTRA GUNS
    //0 disables plugin, 
    //1 allows extra primary only, 
    //2 allows extra secondary only, 
    //3 allows extra primary and secondary. (default 3)
    //replace the default (3) with your choice number from above or leave it at default (3)
    extraguns_enable 3
    Nice idea but the thing with binds is having to repeat yourself every time a new player joins your server, doing this causes bleeding from the ears for regular players. I remember having to explain healthkits on death, regulars were so sick of hearing it it became a problem.

    Last edited by sinblaster; 09-08-2010 at 08:29.
    sinblaster 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 17:08.


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