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

[CS:GO] Mixed Modes V1.1 (07/02/12)Update


Post New Thread Reply   
 
Thread Tools Display Modes
Author
musashiwook
Member
Join Date: Feb 2011
Plugin ID:
3057
Plugin Version:
v1.1
Plugin Category:
Server Management
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Basic plugin randomly set gamemode for CS:GO
    Unapprover:
    Reason for Unapproving:
    author deferred to: https://forums.alliedmods.net/showthread.php?t=199865
    Old 07-01-2012 , 12:45   [CS:GO] Mixed Modes V1.1 (07/02/12)Update
    Reply With Quote #1

    [CS:GO] Mixed Modes




    Description:

    Basic plugin randomly set gamemode for CS:GO.

    Set next game mode on map start and apply it on map end.

    Defuse map will set to Classic Casual, ArmsRace or Demolition.

    Check if the nextmap is Arms Race or Hostage map and set game_type and game_mode.
    - ArmsRace map will automaticatly set to ArmsRace mode.
    - Hostage rescue maps will randomly set to Classic Casual or ArmsRace mode


    Commands:

    say !nextmode : Next map mode chat message.


    Cvars:
    sm_game_mode : Get server game mode
    sm_nextgamemode : Set next game mode
    sm_modesmessages : Enable or Disable messages

    Game modes list for Cvars :

    - 1 Classic Casual
    - 2 Arms Race
    - 3 Demolition

    Installation:

    Simple copy plugin to your sourcemod plugin directory

    Other :

    I'm a pawn novice, so if you have any optimisations


    [Edit] My ingame name is ShoGun|KmKz.


    Changelog:

    • v1.1.0 (7/2/12)
      • Added "HookConVarChange" on "sm_nextmap" cvar to refire game mode choice on nextmap change.
      • Added "sm_modesmessages" to enable or disable server and in game messages
    • v1.0.0 (7/1/12)
      • Initial release
    Attached Files
    File Type: sp Get Plugin or Get Source (mixedmod.sp - 1577 views - 5.4 KB)
    File Type: zip CSGO Mixed Modes.zip (7.1 KB, 841 views)

    Last edited by musashiwook; 09-05-2012 at 17:34.
    musashiwook is offline
    away000
    Veteran Member
    Join Date: Sep 2010
    Old 07-01-2012 , 20:40   Re: [CS:GO] Mixed Modes V1.0 (07/01/12)
    Reply With Quote #2

    Any chance to put a Vote for Next GameMode like a RTV? I know csgo have ingame mapvote but would be nicely to make a console/chat comando to get a vote. . .

    Do u know how i can made (and i guess u can implement this on ur plugin) my server to be a Map 4 Ever, like Dust2 4 Ever or AWP (various AWP maps) 4 Ever?
    I don't know much about maplist and mapcycle things on csgo. . .
    __________________
    away000 is offline
    TnTSCS
    AlliedModders Donor
    Join Date: Oct 2010
    Location: Undisclosed...
    Old 07-01-2012 , 21:21   Re: [CS:GO] Mixed Modes V1.0 (07/01/12)
    Reply With Quote #3

    anything that involves SM menus best wait until SM has a solution for the non-working menuselect 0... and hopefully valve fixes the 'not able to vote while dead' issue (with SM menus)
    __________________
    View my Plugins | Donate
    TnTSCS is offline
    away000
    Veteran Member
    Join Date: Sep 2010
    Old 07-01-2012 , 21:36   Re: [CS:GO] Mixed Modes V1.0 (07/01/12)
    Reply With Quote #4

    U have any hint about how to make a Only one Map or Pack of Maps 4 Ever server on CSGO?
    __________________
    away000 is offline
    shavit
    AlliedModders Donor
    Join Date: Dec 2011
    Location: Israel
    Old 07-02-2012 , 01:22   Re: [CS:GO] Mixed Modes V1.0 (07/01/12)
    Reply With Quote #5

    PHP Code:
        RegConsoleCmd("say nextmode"NextModeCmd); 
        
    RegConsoleCmd("say_team nextmode"NextModeCmd); 
    HUH?
    __________________
    retired
    shavit is offline
    musashiwook
    Member
    Join Date: Feb 2011
    Old 07-02-2012 , 01:44   Re: [CS:GO] Mixed Modes V1.0 (07/01/12)
    Reply With Quote #6

    Quote:
    Originally Posted by away000 View Post
    Any chance to put a Vote for Next GameMode like a RTV? I know csgo have ingame mapvote but would be nicely to make a console/chat comando to get a vote. . .
    I will see how work "vote mode".
    My scrpting "skill" is low

    Quote:
    Originally Posted by away000 View Post
    Do u know how i can made (and i guess u can implement this on ur plugin) my server to be a Map 4 Ever, like Dust2 4 Ever or AWP (various AWP maps) 4 Ever?
    I don't know much about maplist and mapcycle things on csgo. . .
    mapcycle work
    musashiwook is offline
    musashiwook
    Member
    Join Date: Feb 2011
    Old 07-02-2012 , 01:46   Re: [CS:GO] Mixed Modes V1.0 (07/01/12)
    Reply With Quote #7

    Quote:
    Originally Posted by TnTSCS View Post
    anything that involves SM menus best wait until SM has a solution for the non-working menuselect 0... and hopefully valve fixes the 'not able to vote while dead' issue (with SM menus)
    +1

    Quote:
    Originally Posted by shavit View Post
    PHP Code:
        RegConsoleCmd("say nextmode"NextModeCmd); 
        
    RegConsoleCmd("say_team nextmode"NextModeCmd); 
    HUH?
    its just to be sure to have all possibility, if you write !nextmode in chat, team chat or console, you will get the nextmap mode

    Last edited by musashiwook; 07-02-2012 at 01:53.
    musashiwook is offline
    away000
    Veteran Member
    Join Date: Sep 2010
    Old 07-02-2012 , 05:54   Re: [CS:GO] Mixed Modes V1.0 (07/01/12)
    Reply With Quote #8

    Ok, thanks, i will test mapcycle thing for my new server. . . i hope u guys find a fix for menu thing =D
    __________________
    away000 is offline
    TnTSCS
    AlliedModders Donor
    Join Date: Oct 2010
    Location: Undisclosed...
    Old 07-02-2012 , 10:48   Re: [CS:GO] Mixed Modes V1.0 (07/01/12)
    Reply With Quote #9

    Quote:
    Originally Posted by musashiwook View Post
    Quote:
    Originally Posted by shavit View Post
    PHP Code:
        RegConsoleCmd("say nextmode"NextModeCmd); 
        
    RegConsoleCmd("say_team nextmode"NextModeCmd); 
    its just to be sure to have all possibility, if you write !nextmode in chat, team chat or console, you will get the nextmap mode
    You should be able to just use:
    PHP Code:
    RegConsoleCmd("sm_nextmode"NextModeCmd); 
    __________________
    View my Plugins | Donate

    Last edited by TnTSCS; 07-02-2012 at 10:51.
    TnTSCS is offline
    musashiwook
    Member
    Join Date: Feb 2011
    Old 07-02-2012 , 11:41   Re: [CS:GO] Mixed Modes V1.0 (07/01/12)
    Reply With Quote #10

    Quote:
    Originally Posted by TnTSCS View Post
    You should be able to just use:
    PHP Code:
    RegConsoleCmd("sm_nextmode"NextModeCmd); 
    Yep thx

    Updated
    musashiwook 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 16:14.


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