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

[CS:GO] Only one map + RTV


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
SOBgaming
Senior Member
Join Date: Jul 2015
Old 08-01-2015 , 08:21   [CS:GO] Only one map + RTV
Reply With Quote #1

Hi everyone it's me again,

Basicly I'm trying to make sevral maps available through RTV but only one map in the mapcycle, is this doable?

Right now I'm running a script that changes nextmap at map end but right now it only works if we're playing a different map than the said map.

Thanks
__________________
SOBgaming is offline
hamilton5
Veteran Member
Join Date: Oct 2012
Location: USA
Old 08-02-2015 , 06:40   Re: [CS:GO] Only one map + RTV
Reply With Quote #2

anything is "doable"

sounds to me like your script is what is keeping the one map in "mapcycle" you just need to run RTV as normal... maybe you can explain what mapcycle and RTV mean to you. I can understand what your trying to do I think, I just can't understand how you cannot achieve it..
hamilton5 is offline
SOBgaming
Senior Member
Join Date: Jul 2015
Old 08-02-2015 , 10:11   Re: [CS:GO] Only one map + RTV
Reply With Quote #3

Quote:
Originally Posted by hamilton5 View Post
anything is "doable"

sounds to me like your script is what is keeping the one map in "mapcycle" you just need to run RTV as normal... maybe you can explain what mapcycle and RTV mean to you. I can understand what your trying to do I think, I just can't understand how you cannot achieve it..
Yeah well I basicly "achieved it" but example: If I want to keep map A and we are currently map A even if my scripts tells the server "sm_nextmap A" it's gonna go with the rotation. If we are playing map B,C,D,etc. it's gonna switch properly to map A at map end.
__________________
SOBgaming is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 08-03-2015 , 09:49   Re: [CS:GO] Only one map + RTV
Reply With Quote #4

Create a file with the maps you want in the RTV list.

Then, open SourceMod's addons/sourcemod/configs/maplists.cfg, find the "rockthevote" section, make sure it is set to "file" "rtv.txt" (where "rtv.txt" is whatever you named the file)

Note: SourceMod looks for this file first in cfg/ then in the main game directory.

You may also want to make sure you disable MapChoosers End of Map vote. MapChooser must be loaded for RTV to work as the main logic for map voting is located there.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
SOBgaming
Senior Member
Join Date: Jul 2015
Old 08-03-2015 , 17:10   Re: [CS:GO] Only one map + RTV
Reply With Quote #5

Quote:
Originally Posted by Powerlord View Post
Create a file with the maps you want in the RTV list.

Then, open SourceMod's addons/sourcemod/configs/maplists.cfg, find the "rockthevote" section, make sure it is set to "file" "rtv.txt" (where "rtv.txt" is whatever you named the file)

Note: SourceMod looks for this file first in cfg/ then in the main game directory.

You may also want to make sure you disable MapChoosers End of Map vote. MapChooser must be loaded for RTV to work as the main logic for map voting is located there.
Oh thanks a lot, I tried this but didn't know I had to set it to file so I guess that's why it wasn't working, I'll try it out and report back! And by rockthevote section you mean "nominations" and by disabling end of map vote you just mean the cvar mp_endmatch_votenextmap 0 right?

Quote:
/**
* Use this file to configure map lists.
*
* Each section is a map list that plugins can use. For example, the Admin Menu
* requests an "admin menu" map list, and you can control which maps appear via
* this file.
*
* Each section must have a property that explains where to read the maps from.
* There are two properties:
*
* target - Redirect the request to another section.
* file - Read a file of map names, in mapcycle.txt format.
*
* There is one section by default, called "mapcyclefile" - it is mapped to the
* mapcycle.txt file, or whatever the contents of your mapcyclefile cvar is.
*
* If a plugin requests a map list file which doesn't exist, or is empty, SourceMod
* tries the "default" section, and then the "mapcyclefile" section.
*/
"MapLists"
{
/**
* Default requests go right to the mapcyclefile.
*/
"default"
{
"target" "mapcyclefile"
}

/* Admin menu, map menu */
"sm_map menu"
{
"file" "addons/sourcemod/configs/adminmenu_maplist.ini"
}

/* Admin menu, map voting menu */
"sm_votemap menu"
{
"file" "addons/sourcemod/configs/adminmenu_maplist.ini"
}

/* For the "randomcycle" plugin */
"randomcycle"
{
"target" "default"
}

/* For the "mapchooser" plugin */
"mapchooser"
{
"target" "default"
}

/* For the "nominations" plugin */
"nominations"
{
"file" "maprtv.txt"
}
}
__________________

Last edited by SOBgaming; 08-03-2015 at 17:13.
SOBgaming is offline
SOBgaming
Senior Member
Join Date: Jul 2015
Old 08-03-2015 , 18:33   Re: [CS:GO] Only one map + RTV
Reply With Quote #6

Fixed!
__________________

Last edited by SOBgaming; 08-04-2015 at 14:35.
SOBgaming 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 19:07.


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