Jump to content
News ticker
  • Bienvenue sur le nouveau forum VeryGames
  • Welcome to the new VeryGames forum
  • VeryNews

    Modification du gamemodes_server.txt a faire je n'y arrive pas.


    Recommended Posts

    Bonjour,

     

    J'aimerais rajouer dans mon gamemodes_server.txt les colonnes armes et nombre de kill mais je n'y arrive vraiment je modifie mon gamemodes_server.txt

    et je n'arrive plus a me connecté galère quoi, c'est la 10eme fois que j'essaye je n'y arrive vraiment pas comprend rien avec ces accolades lol^^

     

    voila mon gamemodes_server.txt

     

    http://lbiteam.free.fr/gamemodes_server.txt

     

    et j'aimerais y rajouter ceci:

     

    "weaponprogression_ct"
                       {
                           "glock"            { "kills"    "1" }
                           "hkp2000"        { "kills"    "1" }
                           "tec9"            { "kills"    "1" }
                           "p250"            { "kills"    "1" }
                           "deagle"        { "kills"    "1" }
                           "deagle"        { "kills"    "1" }
                           "fiveseven"        { "kills"    "1" }
                           "elite"            { "kills"    "1" }
                           "nova"            { "kills"    "1" }
                           "mag7"            { "kills"    "1" }
                           "xm1014"        { "kills"    "1" }
                           "sawedoff"        { "kills"    "1" }
                           "mp9"            { "kills"    "1" }
                           "mac10"            { "kills"    "1" }
                           "mp7"            { "kills"    "1" }
                           "bizon"            { "kills"    "1" }
                           "bizon"            { "kills"    "1" }
                           "ump45"            { "kills"    "1" }
                           "p90"            { "kills"    "1" }
                           "p90"            { "kills"    "1" }
                           "galilar"        { "kills"    "1" }
                           "galilar"        { "kills"    "1" }
                           "famas"            { "kills"    "1" }
                           "famas"            { "kills"    "1" }
                           "ak47"            { "kills"    "1" }
                           "ak47"            { "kills"    "1" }
                           "m4a1"            { "kills"    "1" }
                           "m4a1"            { "kills"    "1" }
                           "sg556"            { "kills"    "1" }
                           "aug"            { "kills"    "1" }
                           "awp"            { "kills"    "1" }
                           "awp"            { "kills"    "1" }
                           "m249"            { "kills"    "1" }
                           "negev"            { "kills"    "1" }
                           "knifegg"        { "kills"    "1" }
                           "deagle"        { "kills"    "1" }
                           "deagle"        { "kills"    "1" }
                           "knifegg"        { "kills"    "1" }
                       }
    
                       "weaponprogression_t"
                       {
                           "glock"            { "kills"    "1" }
                           "hkp2000"        { "kills"    "1" }
                           "tec9"            { "kills"    "1" }
                           "p250"            { "kills"    "1" }
                           "deagle"        { "kills"    "1" }
                           "deagle"        { "kills"    "1" }
                           "fiveseven"        { "kills"    "1" }
                           "elite"            { "kills"    "1" }
                           "nova"            { "kills"    "1" }
                           "mag7"            { "kills"    "1" }
                           "xm1014"        { "kills"    "1" }
                           "sawedoff"        { "kills"    "1" }
                           "mp9"            { "kills"    "1" }
                           "mac10"            { "kills"    "1" }
                           "mp7"            { "kills"    "1" }
                           "bizon"            { "kills"    "1" }
                           "bizon"            { "kills"    "1" }
                           "ump45"            { "kills"    "1" }
                           "p90"            { "kills"    "1" }
                           "p90"            { "kills"    "1" }
                           "galilar"        { "kills"    "1" }
                           "galilar"        { "kills"    "1" }
                           "famas"            { "kills"    "1" }
                           "famas"            { "kills"    "1" }
                           "ak47"            { "kills"    "1" }
                           "ak47"            { "kills"    "1" }
                           "m4a1"            { "kills"    "1" }
                           "m4a1"            { "kills"    "1" }
                           "sg556"            { "kills"    "1" }
                           "aug"            { "kills"    "1" }
                           "awp"            { "kills"    "1" }
                           "awp"            { "kills"    "1" }
                           "m249"            { "kills"    "1" }
                           "negev"            { "kills"    "1" }
                           "knifegg"        { "kills"    "1" }
                           "deagle"        { "kills"    "1" }
                           "deagle"        { "kills"    "1" }
                           "knifegg"        { "kills"    "1" }
                       }
                   }

     

     

     

    Merci D'avance

     

    Cordialement Jte One

    Edited by Phobie
    Ajout des balises codes.
    Link to comment
    Share on other sites

    Tu devrai normalement mettre comme ca dans ton fichier. La j'ai pris l'ordre de base des armes

    à toi de tester et modifier. Sinon pour tes convars tu peux aller voir le fichier gamemode_armsrace_server.cfg

     

     

    // To use this file, rename it to GameModes_Server.txt
       //
       // Values here override the default gamemodes.txt
    
       "GameModes_Server.txt"
       {
               "gameTypes"
               {
                       "classic"
                       {
                               "gameModes"
                               {
                                       "competitif"
                                       {
                                               "maxplayers"    "20"
    
    
                                               "convars"
                                               {
                               "sv_alltalk"                                    "1"
                               "sv_deadtalk"                                   "1"
                               "mp_friendlyfire"    "0"
                               "mp_timelimit" "45"
                               "mp_freezetime" "2"
                               "bot_difficulty"        "4"
                               "bot_join_after_player" "0"
                               "bot_prefix" ""
                               "mp_do_warmup_period" "0"
    
                                               }
    
                                               "mapgroupsMP"                                           // List of mapgroups valid for this game mode
                                               {
                                                       "mg_armsrace"           ""
                                               }
    
    [color=#ff0000]                                     "weaponprogression_ct"
                                               {
                                               "mp9"            { "kills"    "1" }
                                               "mac10"            { "kills"    "1" }
                                               "mp7"            { "kills"    "1" }
                                               "bizon"            { "kills"    "1" }
                                               "ump45"            { "kills"    "1" }
                                               "p90"            { "kills"    "1" }
                                               "nova"            { "kills"    "1" }
                                               "mag7"            { "kills"    "1" }
                                               "xm1014"        { "kills"    "1" }
                                               "sawedoff"        { "kills"    "1" }
                                               "galilar"        { "kills"    "1" }
                                               "famas"            { "kills"    "1" }
                                               "ak47"            { "kills"    "1" }
                                               "m4a1"            { "kills"    "1" }
                                               "sg556"            { "kills"    "1" }
                                               "aug"            { "kills"    "1" }
                                               "awp"            { "kills"    "1" }
                                               "m249"            { "kills"    "1" }
                                               "negev"            { "kills"    "1" }
                                               "glock"            { "kills"    "1" }
                                               "hkp2000"        { "kills"    "1" }
                                               "tec9"            { "kills"    "1" }
                                               "p250"            { "kills"    "1" }
                                               "deagle"        { "kills"    "1" }
                                               "fiveseven"        { "kills"    "1" }
                                               "elite"            { "kills"    "1" }
                                               "knifegg"            { "kills"    "1" }
                                               }
    
                                       "weaponprogression_t"
                                               {
                                               "mp9"            { "kills"    "1" }
                                               "mac10"            { "kills"    "1" }
                                               "mp7"            { "kills"    "1" }
                                               "bizon"            { "kills"    "1" }
                                               "ump45"            { "kills"    "1" }
                                               "p90"            { "kills"    "1" }
                                               "nova"            { "kills"    "1" }
                                               "mag7"            { "kills"    "1" }
                                               "xm1014"        { "kills"    "1" }
                                               "sawedoff"        { "kills"    "1" }
                                               "galilar"        { "kills"    "1" }
                                               "famas"            { "kills"    "1" }
                                               "ak47"            { "kills"    "1" }
                                               "m4a1"            { "kills"    "1" }
                                               "sg556"            { "kills"    "1" }
                                               "aug"            { "kills"    "1" }
                                               "awp"            { "kills"    "1" }
                                               "m249"            { "kills"    "1" }
                                               "negev"            { "kills"    "1" }
                                               "glock"            { "kills"    "1" }
                                               "hkp2000"        { "kills"    "1" }
                                               "tec9"            { "kills"    "1" }
                                               "p250"            { "kills"    "1" }
                                               "deagle"        { "kills"    "1" }
                                               "fiveseven"        { "kills"    "1" }
                                               "elite"            { "kills"    "1" }
                                               "knifegg"            { "kills"    "1" }
                                               }[/color]
                                       }
                               }
                       }
               }
    
               "mapgroups"
               {
                       "mg_armsrace"                                                                   // mapgroup definition
                       {
                               "name"                  "mg_armsrace"
                               "maps"
                               {
                                       "ar_babylon_b1"        ""
                                       "ar_deagle"        ""
                                       "ar_blood_anarchy"        ""
                                       "ar_giants_downtown"        ""
                                       "Ar_Legoland"         ""
                                       "ar_loungebar"         ""
                                       "ar_fight"        ""
                                       "ar_jungle"        ""
                                       "ar_simpsons_bridge"      ""
                                       "ar_italydown_v2"        ""
                                       "ar_deagle5"        ""
                                       "ar_warrig"         ""
                                       "ar_met_avengers"         ""
                                       "ar_shaft_pit"         ""
                                       "ar_aztec_towers"         ""
                                       "gg_portal_club_v2"        ""
                                       "ar_maplest"         ""
                                       "de_watertower"        ""
                                       "ar_pocu_aztec"       ""
                                       "ar_hatearena"       ""
                                       "ar_underpass_b3"      ""
                                       "ar_chaos"      ""
                                       "ar_twotowers"      ""
                                       "ar_pool_day_apt_b"      ""
                                       "ar_skyruin_v2b"      ""
                                       "ar_eeco_classic"     ""
                                       "ar_baggage"        ""
                                       "ar_shoots"        ""
                                       "ar_freeze_csgo"     ""
                                       "ar_iceworld_beta"      ""
                                       "ar_legolanda"       ""
                                       "ar_churches"      ""
                                       "ar_last_rain"      ""
                                       "ar_deserthouse"      ""
                                       "ar_dev_base"       ""
                                       "ar_spooky_a1"      ""
                                       "ar_crash_bandicoot"      ""
                                       "ar_zarnica"      ""
                                       "ar_skyruin"      ""
                                       "ar_iceworld_wip"     ""
                                       "gg_glassshort_go"       ""
                                       "ar_parking"       ""
                                       "ar_vort3x"       ""
                                       "ar_ravenholmsewers"       ""
                                       "gg_lego_spacetower2"       ""
                                       "ar_halo_gold"         ""
                                       "gg_summer"         ""
                                       "ar_White_v2"         ""
                                       "ar_outpost"         ""
                                       "gg_mini_dust_go"          ""
                                       "ar_Lego_World_Extended"         ""
                                       "ar_stonemaze"        ""
                                       "dm_warehouse"         ""
                                       "ar_aztec_ultimate"         ""
                                       "ar_nomercy"         ""
                                       "ar_monastery"        ""
                                       "random_ar"            ""
                                       ""              ""
                                       ""              ""
                               }
                       }
               }
       }

    Edited by Phobie
    Ajout des balises codes.
    Link to comment
    Share on other sites

    Merci bigboule c'est sympa ma ça fonctionne pas niveau des armes j'ai mis l'ordre de mes armes ca fonctionne pas y-a la config par default du gamemodes.txt

     

    Cordialement jte One

    Edited by Jte One
    je croyais que ca fonctionnais parceque dans mon gamemodes.txt j'avais mis l'ordre désiré
    Link to comment
    Share on other sites

    En fouinant un peu apparemment de base le changement d'armes dans le fichier gamemodes_server.txt n'est pas pris en compte c'est toujours le gamemodes.txt. Donc le seul moyen c'est de changer ce fichier mais on ne peut pas chez verygame.

     

    Je vais tester un truc sur mon serveur car j'ai quelquess carte qui sont en gungame et je voulais changer les armes.

     

    Sinon va voir sur l'autre poste ou je te parle du gungame non officiel.

     

    Je te tiendrai au courant si ma manip marche (en gros sur mon serveur suivant la carte qui est joué le mode change tout seul. Donc une carte ar_ est automatiquement mis en gungame tandis qu'une de_dust par exemple en compétitive, une de_lake en démolition, etc..... Donc je vais essayer de voir si on peu quand même forcer le choix des armes comme je force dèja le choix du mode)

    Edited by bigboule
    Link to comment
    Share on other sites

    Oui pour le fichier de base gamemodes.txt j'ai du faire une manip car je ne pouvais pas importer un nouveau fichier.

     

    Au cas ou j'ai utiliser cette méthode:

     

    Sur le ftp j'ai renommer le fichier gamemodes.txt directement en gamesmode.txt.OLD puis j'ai importer une copie modifier du fichier gamesmode.txt et la ca marche je peux le modifier en entier

    Link to comment
    Share on other sites

    Yop bigboule enfaite ont peut modifier le gamemodes.txt je l'est déjà fait et j'ai mis l'ordre des arme dessus seul soucis c'est que dès que tu feras une mise a jour cs:go les gamemodes.txt se mettre automatiquement par defaut donc ta modification d'arme fonctionneras plus faudra d'abord re transféré sur le ftp avant que ça re fonctionne, donc tout changement fait dans le gamemodes.txt seras éffacer automatiquement lors d'une mise a jour cs:go et en ce moment il y-a bien 1 mise a jour voir 2 par semaine donc sa sert a rien de modifié le gamemodes.txt.

     

    Cordialement Jte One

    Link to comment
    Share on other sites

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Reply to this topic...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

     Share

    ×
    ×
    • Create New...