Pages: [1]
  Print  
Author Topic: Setting Up a Capture the Flag Server  (Read 8420 times)
tofuconfetti
Ok i've posted twice!


Cakes 0
Posts: 2


« on: November 23, 2007, 10:02:18 PM »

I'm very new at setting up an Open Arena server.  I'm experienced with Linux, but new at this.  I have a working version of the "default" server configuration as described by the wiki.  However, I'd like to set up a capture the flag server.  In the configuration file, it gives you the option of changing the type of game to "4", however when I start it in that mode, the start up freezes, I presume because the map descriptions don't match.

Where can I get a list of the maps names for capture the flag and how do I describe them in the server.cfg file?

Any help would be greatly appreciated.

Thanks.
Logged
tofuconfetti
Ok i've posted twice!


Cakes 0
Posts: 2


« Reply #1 on: November 23, 2007, 10:30:05 PM »

I partially answered my own question.  I went into the game and set up a lan server.  I noted the level names and put them in the fields and modified the startup script so that the first map was the first capture the flag  level cbctf1.  It loaded into that level.  Then I changed the default server.cfg file from this ...

Code:
    //Gametypes
    // 0 = Free For All
    // 1 = Tourney
    // 3 = Team Deathmatch
    // 4 = Capture The Flag
    g_gametype 0

    set d1 "map aggressor; set nextmap vstr d2"
    set d2 "map oa_dm1; set nextmap vstr d3"
    set d3 "map oa_dm2; set nextmap vstr d4"
    set d4 "map oa_dm3; set nextmap vstr d5"
    set d5 "map oa_dm4; set nextmap vstr d6"
    set d6 "map kaos2; set nextmap vstr d7"
    set d7 "map oa_dm5; set nextmap vstr d8"
    set d8 "map oa_rpg3dm2;set nextmap vstr d9"
    set d9 "map oa_shouse; set nextmap vstr d1"

to this ...

Code:
    //Gametypes
    // 0 = Free For All
    // 1 = Tourney
    // 3 = Team Deathmatch
    // 4 = Capture The Flag
    g_gametype 4

    set d1 "map cbctf1; set nextmap vstr d2"
    set d2 "map hydronex; set nextmap vstr d3"
    set d3 "map oa_bases5; set nextmap vstr d1"

btw, my startup script is ...

Code:
#!/bin/sh
cd /usr/games
./openarena-server +set dedicated 2 +set net_port 27960 +exec server.cfg +map cbctf1

One remaining problem is that when the capturelimit of 8 is reached, the game keeps on going and does not change levels.

Any further suggestions?
« Last Edit: November 24, 2007, 10:23:27 AM by tofuconfetti » Logged
sago007
Posts a lot
*

Cakes 62
Posts: 1664


Open Arena Developer


WWW
« Reply #2 on: November 24, 2007, 02:58:32 PM »

One remaining problem is that when the capturelimit of 8 is reached, the game keeps on going and does not change levels.

Game will not change levels if there are less than 2 players in the game.
Logged

There are nothing offending in my posts.
Pages: [1]
  Print  
 
Jump to: