반응형
매치섭은 의외로 만들기가 쉽습니다..
간단하게 워모드라는 애드온을 설치만 하면.. 전반적인 세팅은 모두 끝나니요..
(워모드 설치법이 궁금하다면 http://jsmall.tistory.com/266)

다른 일반섭에 비해서.. 꽤나 편한축에 속하죠..
단점이 있다면..

매치를 시작하기 위해서는.. 서버 알콘을 누군가 알아야 하거나.. 혹은 매치를 진행하는 모두가 .r 를 쳐서.. 시작을 할수가 있습니다.
문제는.. 워낙 사람이 잠수를 자주 타고.. 그냥 멍때리는 경우가 있거나.. 초보의 경우엔.. 이해를 못하는 경우가..있어서..

물론 알콘을 알면 쉽기는 하지만..
알콘을 모두다 알고 있게 되면.. 알콘이 악용되는 경우가 있어서.. 누군 가르쳐주고.. 누군 안갈쳐주고 하는게 글터군요..

그래서 .. 알콘을 없애버리곤..
.R 로 매치를 시작하게 세팅을 해놓았는데...



맵 변경이 자동으로 안되더군요...
전... rtv 라는 명령어가.. 워모드 기본인줄 알았는데 아니였나봐요..

그래서 오늘 한번 세팅을 해보았습니다.



워모드를 사용중이라면 따로 받아야 할것은 없습니다... 워모드에 포함된 sourcemod 에 모두 들어가 있는터라...

지금 소개할 플러그인은.. Extra Plugins 으로..
"addons/sourcemod/plugins/disabled" 에 보면 기본적으로 저장이 되어 있습니다.

만약 활성화를 하고 싶다면.. 이곳에서 끄집어 내시기만 하면 됩니다.
그리고 이 Plugin 을 설정파일은 "cfg/sourcemod" 이곳에 놓으시면 되구요.

자 그럼... 실제로 한번 적용을 해보도록 해보죠..



카스 서버가 세팅되어 있는곳인
Srcds -> orangebox -> cstrike -> addons -> sourcemod -> plugins -> disabled 를 순차적으로 들어가면..

위와 같이 파일들이 존재합니다.
폴더 명을 보시면 알겠지만... 애들은.. Disabled 된.. 녀석들이지요..

그런데 지금 하려는 작업은 rockthevote 인데.. 왜 mapchooser 까지 선택이 되었는지.. 조금 의아스러워하시는분들이 있을지 몰라
살짝 설명을 하자면..

단순하게 .. rockthevote plugin은 mapchooser plugin 이 있어야 작동을 합니다.
그래서.. 두개를 잘라내기를 한후...

상위 폴더인
Srcds -> orangebox -> cstrike -> addons -> sourcemod -> plugins 에 옴겨줍니다.  이렇게요.



아까도 설명을 했지만.. rockthevote plugin이 mapchooser-plugin에 종속이 되는터라...
약간 수정해줘야 할 파일이 있습니다..

addons/sourcemod/configs/maplist.cfg 에 있는 파일을..
아래 처럼 붉은색과 푸른색 부분을 같게 수정을 해줍니다..

/**
 * 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"
	{
		"file"			"maplist.txt"
	}
	
	/* For the "nominations" plugin */
	"nominations"
	{
		"target"		"mapchooser"
	}
	
}

(위내용은 https://forums.alliedmods.net/showthread.php?t=136900 를 참조했음)

이제 rockthevote 에서 사용할 맵리스트는 카스서버 루트에 있는 mapcycle.txt 를 수정해주시면 됩니다.

그리고 이제.. rockthevote의 설정 파일을 만들어주면됩니다.
이상하게 전 설정파일이 만들어지지 않았더라구요..



이곳에 rtv.cfg 파일이 존재하지 않는다면..

// This file was auto-generated by SourceMod (v1.0.0.1946)
// ConVars for plugin "rockthevote.smx"


// Number of maps to be voted on. 2 to 6. (Def 4)
// -
// Default: "4"
// Minimum: "2.000000"
// Maximum: "6.000000"
sm_rtv_maps "6"

// Number of players required before RTV will be enabled.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "64.000000"
sm_rtv_minplayers "0"

// Percentage of players needed to rockthevote (Def 60%)
// -
// Default: "0.60"
// Minimum: "0.050000"
// Maximum: "1.000000"
sm_rtv_needed "0.60"

// Enables nomination system.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_rtv_nominate "1"
(위내용은 http://forums.gameservers.com/viewtopic.php?p=173343 를 참조함)

위의 내용을 복사해서 rtv.cfg 파일로 만들어주시면 됩니다.

이것으로 워모드에 포함된 rtv 활성화 하는 방법을 알아봤습니다.



만약에
http://forums.alliedmods.net/showthread.php?t=57106 페이지에서 좀더 최신 버전을 받으신다면..

plugin.rockthevote.txt 파일은 srcds/orangebox/cstrike/addons/sourcemod/translations/plugin.rockthevote.txt 에 넣어주시고..
rockthevote.smx 파일은.. 구버전과 교체 하시면 됩니다.

반응형