1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Hey Guest, is it this your first time on the forums?

    Visit the Beginner's Box

    Introduce yourself, read some of the ins and outs of the community, access to useful links and information.

    Dismiss Notice

how to change Gamemode

Discussion in 'Game modes' started by gamerrjames, May 24, 2012.

  1. gamerrjames

    gamerrjames Horde Gibber

    Messages:
    22
    how does one change the gamemode to another on their server?
     
  2. WarrFork

    WarrFork フォーク Donator Tester

    Messages:
    1,412
    Open: dedicated_autostart.gm, find this line: //set autostartswitch

    Set autostartswitch for what you want:
    //0 for CTF
    //1 for TDM
    //2 for Sandbox
    //3 for Zombies
    //4 for RTDM
    // 10 for TEST

    Also, if i'm right, this section is about game modes in Single Player, not Multiplayer in servers.
     
  3. bilbs

    bilbs KAG Guard Tester

    Messages:
    128
    Is there no way to do it without a server restart?
     
  4. JacKD

    JacKD Ballista Bolt Thrower

    Messages:
    496
    I *think* you can LoadRules("MyMagicPath/gamemode");

    Use the same syntax that's on the dedicated_autostart.gm file and see if it works. It works for some other stuff I believe so go and try :)
     
  5. Rayne

    Rayne ༼ つ ◕_◕ ༽つ Administrator Global Moderator Forum Moderator Tester

    Messages:
    1,916
    No, quotes do not work in rcon.

    use this:

    \rcon LoadRules(`MyMagicPath/gamemode`);
     
    themangokid and JacKD like this.