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

Extend Map


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Aizek
Member
Join Date: May 2009
Plugin ID:
1039
Plugin Version:
1.2
Plugin Category:
Admin Commands
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Admin can extend a map
    Old 07-25-2009 , 15:05   Extend Map
    Reply With Quote #1

    Plugin based on this request.

    Admin or voting can extend a map use following command:
    ver. 1.0
    sm_extend_round Adds round to mp_maxrounds for current map
    sm_extend_frag Adds frag limit to mp_fraglimit for current map
    sm_extend_win Adds win limit to mp_winlimit for current map
    sm_extend_time Adds time limit to mp_timelimit for current map
    sm_extend_capture Adds capture limit per round to tf_flag_caps_per_round for current map
    sm_extend_max Maximum extensions per map.
    ver 1.1
    sm_extend_roundtime Add the additional time to team round timer
    ver 1.2
    fix bug for koth_ map
    ver 1.3
    fix this bug


    plugin contains only mechanism of extend a map
    if u need voting u must use other plugin for make vote and my plugin for extend map
    Attached Files
    File Type: sp Get Plugin or Get Source (extend.sp - 5219 views - 6.9 KB)

    Last edited by Aizek; 04-15-2011 at 01:38.
    Aizek is offline
    Sexual Harassment Panda
    Veteran Member
    Join Date: Dec 2008
    Location: San Diego, CA
    Old 07-25-2009 , 15:27   Re: Extend Map
    Reply With Quote #2

    awesome plugin, have been looking for this (in working form, as the one that existed before this didn't work) for a long time. How would you make these votes? custom votes?
    __________________
    Sexual Harassment Panda is offline
    Aizek
    Member
    Join Date: May 2009
    Old 07-25-2009 , 15:43   Re: Extend Map
    Reply With Quote #3

    for custom votes plugin for example u mast use this code in core.vote.cfg file
    Code:
    "Votes"
    {
    	"extend"
    	{
    		"title"			"Extend current map 20 minutes?"
    		"type"			"confirm"
    		"admin"			"sm_admin"
    		"trigger"
    		{
    			"command"	"voteextend"
    			"delay"		"300"
    		}
    		"command"		"sm_extend_time 20"
    	}
    }

    Last edited by Aizek; 07-25-2009 at 15:45.
    Aizek is offline
    Sexual Harassment Panda
    Veteran Member
    Join Date: Dec 2008
    Location: San Diego, CA
    Old 07-26-2009 , 00:30   Re: Extend Map
    Reply With Quote #4

    Well i was just asking that since you listed voting, is it included in the plugin, or do you need custom votes to do it?
    Edit: error 017: undefined symbol "PLUGIN_VERSION" when i downloaded it and tried to compile, it won't compile on the web compiler at all.
    __________________

    Last edited by Sexual Harassment Panda; 07-26-2009 at 00:32.
    Sexual Harassment Panda is offline
    Johnny_Napalm
    Member
    Join Date: Apr 2009
    Old 07-26-2009 , 02:30   Re: Extend Map
    Reply With Quote #5

    Kinda have to wonder why this just isn't a part of SourceMod anyway, given how many times I've had people ask me to extend a map.
    Johnny_Napalm is offline
    Aizek
    Member
    Join Date: May 2009
    Old 07-26-2009 , 03:29   Re: Extend Map
    Reply With Quote #6

    i'm fix the bag.
    for voting need custom votes plugin
    this plugin contains only mechanism of extend a map
    Aizek is offline
    HARRY
    Junior Member
    Join Date: Apr 2009
    Old 07-26-2009 , 04:50   Re: Extend Map
    Reply With Quote #7

    How does this Plugin work???Do i get an pop up , and the players on the server have to hit a button (1 for example) and the map will be extended??
    How do i install this plugin??Just putting the smx-file into the plugins folder.Thats all and the cfg.-files will created automatically???
    I always looking for a plugin which gives just the possibility to chhose extend or not , with no map option

    best regards Harry
    HARRY is offline
    scopesp
    Senior Member
    Join Date: Jan 2009
    Location: Munich
    Old 07-26-2009 , 06:03   Re: Extend Map
    Reply With Quote #8

    hiii ..
    possible to add in admin menu ;)?


    thx
    scopesp is offline
    Wazz
    SourceMod Donor
    Join Date: Mar 2009
    Old 07-26-2009 , 12:30   Re: Extend Map
    Reply With Quote #9

    Just add code similar to this into your configs/adminmenu_custom.txt
    Code:
    "Extend Map (time)"
            {
                "cmd"            "sm_extend_time #1"
                "admin"            "sm_map"
                "execute"        "server"
                "1"
                {
                    "type"         "list"
                    "title"        "Extend Current Map:"
                    "1"        "10"
                    "1."        "10 Minutes"
                    "2"        "20"
                    "2."        "20 Minutes"
                    "3"        "30"                
                    "3."        "30 Minutes"
                }
     
            }
    You'll need to do that for each command.
    Wazz is offline
    scopesp
    Senior Member
    Join Date: Jan 2009
    Location: Munich
    Old 07-26-2009 , 12:51   Re: Extend Map
    Reply With Quote #10

    thx wazz

    Plugin failed to compile! Please try contacting the author.
    scopesp 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 12:21.


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