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

Custom Menu: help with mapcycle


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Jérémie
Member
Join Date: Feb 2008
Old 07-15-2008 , 06:32   Custom Menu: help with mapcycle
Reply With Quote #1

I'm trying to do a simple thing, but I can't get it to work.

Code:
        "Changer la prochaine carte"
        {
            "cmd"                                "sm_setnextmap #1"
            "admin"                            "sm_kick"
            "execute"                        "server"
            "1"
            {
                "type"                        "mapcycle"
                "path"                        "/addons/sourcemod/configs/rtv_maplist.ini"
                "title"                        "Choisi la prochaine carte, ô modo"
            }
        }
I've tried with and without the initial slash (it should be without, but all the examples in the forum and the wiki have it)... and yes, the file do exist.

Any ideas why it's not working (the sub menu just refuses to open)?
Jérémie is offline
Jérémie
Member
Join Date: Feb 2008
Old 07-15-2008 , 13:12   Re: Custom Menu: help with mapcycle
Reply With Quote #2

No one ?
Jérémie is offline
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 07-15-2008 , 15:20   Re: Custom Menu: help with mapcycle
Reply With Quote #3

Paste the whole file and look, I have the same entry but its from my mapcycle.
__________________

DontWannaName is offline
Jérémie
Member
Join Date: Feb 2008
Old 07-15-2008 , 16:35   Re: Custom Menu: help with mapcycle
Reply With Quote #4

Quote:
Originally Posted by DontWannaName View Post
Paste the whole file and look, I have the same entry but its from my mapcycle.
Here's the whole file:
Code:
"Commands"
{
    "JoL spécial"
    {
        "Auteur d’un spray"
        {
            "cmd"                                "sm_tracespray"
            "admin"                            "sm_kick"
        }
        "Ban temporaire"
        {
            "cmd"                                "sm_ban #1 60 #2"
            "admin"                            "sm_kick"
            "execute"                        "player"
            "1"
            {
                "type"                        "player"
                "method"                    "name"
                "title"                        "Nom du gros lourd à bannir"
            }
            "2"
            {
                "type"                        "list"
                "title"                        "Raison : "
                "1"                                "Abus vocal"
                "2"                                "Abus texte"
                "3"                                "Anti fair-play"
                "4"                                "Anti TeamPlay"
                "5"                                "Exploitation de bug"
                "6"                                "Triche grave avérée"
                "7"                                "Autre, gros lourd générique"
            }
        }
        "Vote changer prochaine carte"
        {
            "cmd"                                "sm_vote \"On change la prochaine carte ?\""
            "admin"                            "sm_kick"
            "execute"                        "server"
        }
        "Changer la prochaine carte"
        {
            "cmd"                                "sm_setnextmap #1"
            "admin"                            "sm_kick"
            "execute"                        "server"
            "1"
            {
                "type"                        "mapcycle"
                "path"                        "/addons/sourcemod/configs/rtv_maplist.ini"
                "title"                        "Choisi la prochaine carte, ô modo"
            }
        }
        "Supprimer le AllTalk"
        {
            "cmd"                                "sm_svalltalk 0"
            "admin"                            "sm_kick"
            "execute"                        "server"
        }
    }
}
Everything works fine except this "path" attribute.
Jérémie is offline
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 07-15-2008 , 19:14   Re: Custom Menu: help with mapcycle
Reply With Quote #5

So all the other menu options work? Im thinking that you cant change the name of the menu since translations arent done.
__________________

DontWannaName is offline
Jérémie
Member
Join Date: Feb 2008
Old 07-15-2008 , 22:33   Re: Custom Menu: help with mapcycle
Reply With Quote #6

Yes everything works fine except the path attribute (the setnextmap works also fine without it, i.e. with its default of mapcycle.txt).

Its not the translation, since its custom it has no original value of anything, they're mine, my menus.
Jérémie is offline
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 07-15-2008 , 23:30   Re: Custom Menu: help with mapcycle
Reply With Quote #7

Did you try make a random txt file with the maps in it and just setting it to that in the root folder, so just "rtvmaps.txt"
__________________

DontWannaName 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 17:20.


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