Raised This Month: $248 Target: $400
 62% 

[CS:S] mp_halftime (v2.0.0 - August 6, 2020)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
GabenNewell
Member
Join Date: May 2013
Plugin ID:
4240
Plugin Version:
2.0.0
Plugin Category:
Gameplay
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
    10 
    Plugin Description:
    Basic mp_halftime convar for Counter-Strike: Source.
    Old 06-08-2014 , 05:41   [CS:S] mp_halftime (v2.0.0 - August 6, 2020)
    Reply With Quote #1

    Description:
    • This is a basic SourceMod plugin that adds the mp_halftime cvar to Counter-Strike: Source.
    • mp_halftime automatically switches player teams/scores upon halftime and then sets up a pistol round with the proper player equipment.
    • Based on Counter-Strike: Global Offensive's mp_halftime cvar... halftime the way it's meant to be.

    Cvar:
    • mp_halftime [0/1]


    Sample Usage:
    • MR15
    Code:
    mp_startmoney 800
    mp_timelimit 0
    mp_fraglimit 0
    mp_winlimit 16
    mp_maxrounds 30
    mp_halftime 1

    Changelog:
    Spoiler

    Note:
    • This plugin makes use of team scores to determine halftime and may conflict with other plugins that manipulate team scores.
    Attached Files
    File Type: sp Get Plugin or Get Source (mp_halftime.sp - 36 views - 2.9 KB)

    Last edited by GabenNewell; 08-05-2020 at 23:54. Reason: Updated plugin after another 3 years...
    GabenNewell is offline
    Neuro Toxin
    Veteran Member
    Join Date: Oct 2013
    Location: { closing the void; }
    Old 06-10-2014 , 19:32   Re: [CS:S] mp_halftime (v1.0.0 - June 8, 2014)
    Reply With Quote #2

    Any chance of having the plugin work with mp_timelimit if mp_maxrounds is 0?

    Last edited by Neuro Toxin; 06-10-2014 at 19:40.
    Neuro Toxin is offline
    wpkidd
    Junior Member
    Join Date: May 2007
    Old 06-15-2014 , 01:11   Re: [CS:S] mp_halftime (v1.0.0 - June 8, 2014)
    Reply With Quote #3

    What's the command to get a map vote for next map instead of using rotation
    wpkidd is offline
    GabenNewell
    Member
    Join Date: May 2013
    Old 06-16-2014 , 02:51   Re: [CS:S] mp_halftime (v1.0.0 - June 8, 2014)
    Reply With Quote #4

    Quote:
    Originally Posted by Neuro Toxin View Post
    Any chance of having the plugin work with mp_timelimit if mp_maxrounds is 0?
    Sure, I'll do that on the next update. I just got lazy after the forum bugs and data breach.
    Added on v1.1.0. I made it so mp_maxrounds does not need to be 0. It can make use of both cvars (maxrounds or timelimit) and execute only on the halftime that comes first.

    Quote:
    Originally Posted by wpkidd View Post
    What's the command to get a map vote for next map instead of using rotation
    sm_mapvote_endvote 1

    Last edited by GabenNewell; 06-16-2014 at 14:17.
    GabenNewell is offline
    Neuro Toxin
    Veteran Member
    Join Date: Oct 2013
    Location: { closing the void; }
    Old 06-16-2014 , 21:32   Re: [CS:S] mp_halftime (v1.1.0 - June 17, 2014)
    Reply With Quote #5



    I'll be testing shortly on my casual comp server.

    Thanking you.
    Neuro Toxin is offline
    Neuro Toxin
    Veteran Member
    Join Date: Oct 2013
    Location: { closing the void; }
    Old 06-16-2014 , 22:55   Re: [CS:S] mp_halftime (v1.1.0 - June 17, 2014)
    Reply With Quote #6

    *** edit stupid post ***

    Last edited by Neuro Toxin; 06-16-2014 at 22:57.
    Neuro Toxin is offline
    Neuro Toxin
    Veteran Member
    Join Date: Oct 2013
    Location: { closing the void; }
    Old 06-16-2014 , 23:10   Re: [CS:S] mp_halftime (v1.1.0 - June 17, 2014)
    Reply With Quote #7

    Hey GabenNewell,

    Your plugin is working good. Although I do require one more tweak.

    Can you please make the weapons that are provided for pistol rounds use cvar's mp_ct_default_secondary and mp_t_default_secondary instead of being hard coded to glock and usp?

    I'm actually running this on CSGO as mp_halftime is broken when you use mp_timelimit. So the spawning of usp's is crashing my server.
    Neuro Toxin is offline
    GabenNewell
    Member
    Join Date: May 2013
    Old 06-18-2014 , 17:28   Re: [CS:S] mp_halftime (v1.1.0 - June 17, 2014)
    Reply With Quote #8

    Quote:
    Originally Posted by Neuro Toxin View Post
    Hey GabenNewell,

    Your plugin is working good. Although I do require one more tweak.

    Can you please make the weapons that are provided for pistol rounds use cvar's mp_ct_default_secondary and mp_t_default_secondary instead of being hard coded to glock and usp?

    I'm actually running this on CSGO as mp_halftime is broken when you use mp_timelimit. So the spawning of usp's is crashing my server.
    How is it broken? You could just report the bug to Valve devs if you could explain how to replicate it. Having the game fixed would be much better than finding 3rd party plugins to fix it.

    The idea of this plugin is for CS:Source pub servers to be able to copy a competitive config without having to use all the features of a scrim plugin such as WarMod.

    Making use of mp_ct_default_secondary will just be giving all CTs a P2000. It won't actually give them their equipped inventory item. If you really need this plugin for CS:GO, you can edit the code to use weapon_usp_silencer instead of weapon_usp. Although, this will force all CTs to use the USP-S and not the P2000 (weapon_hkp2000) for the pistol round of the second half.
    GabenNewell is offline
    musosoft
    Senior Member
    Join Date: Dec 2008
    Location: Czech Republic
    Old 07-09-2014 , 11:07   Re: [CS:S] mp_halftime (v1.1.0 - June 17, 2014)
    Reply With Quote #9

    Very nice plugin. If I can, I have some feature requests
    • make it compatible with Start Weapon (it's not giving weapons first round after swap)
    • make it compatible with SlayLosers (players are moved before slaylosers takes action, so bad team is slayed)
    • make impossible to get 800$ by going to spect before swap and returning to team after swap
    Thanks so much
    __________________
    Rivals.cz - Last Czech/Slovak CS:S server.

    Last edited by musosoft; 07-12-2014 at 11:01. Reason: some points were mistake
    musosoft 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 04:42.


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