Pages: [1]
  Print  
Author Topic: How to make random FFA games  (Read 5397 times)
tosk1
Nub


Cakes 1
Posts: 20



« on: February 22, 2010, 05:23:06 AM »

I have a nice stash of maps, but don't like having to set up a new game every time I want to change the map.
Is there a command line phrase I can either run in console, or open OA with, that will set up a game with 5 or 6 random bots on a random map and rotate the maps after every game?
Logged

Dreamcast at car boot sale - £4
Quake 3 disc from 2nd hand shop - £3
Dreamcast Keyboard and mouse - £8
42" LCD TV - £400

Having an awesome old school Q3 gaming rig - Priceless
RMF
Member


Cakes 12
Posts: 694



« Reply #1 on: February 22, 2010, 02:01:15 PM »

random won't be possible (afaik), but you can make a map rotation. Put something like this in maps.cfg (in the baseoa directory)
Code:
bots_enable 1 // not sure if this is the right variable! could also be bot_enable or bots_enabled
bot_minplayers 5
set m1 "map oasago2; set nextmap m2;"
set m2 "map pul1ctf; set nextmap m3"
set m3 "map ps37ctf; set nextmap m4"
set m4 "map speedyctf; set nextmap m5"
set m5 "map pul1ctf; set nextmap m6";
set m6 "map ctf_gate1; set nextmap m7";
set m7 "map speedyctf; set nextmap m1";

vstr m1;
then when openarena is open put this in the console: /exec maps.cfg

this can be expanded a lot (could give some examples if you need) but the basic idea should be working Smiley
Logged
RMF
Member


Cakes 12
Posts: 694



« Reply #2 on: February 22, 2010, 05:22:48 PM »

Ups (no editbutton on cell), replace the mapnames with ffa maps Tongue And maybe put g_gametype 0 in to make sure it is ffa
Logged
tosk1
Nub


Cakes 1
Posts: 20



« Reply #3 on: February 23, 2010, 04:20:26 AM »

Cheers dude Smiley I'll have a tinker with that later
Logged

Dreamcast at car boot sale - £4
Quake 3 disc from 2nd hand shop - £3
Dreamcast Keyboard and mouse - £8
42" LCD TV - £400

Having an awesome old school Q3 gaming rig - Priceless
Pages: [1]
  Print  
 
Jump to: