With cordite in the air, splintered steel, shell casings and powder burns, there’s only one explanation...
If you have any trouble with SG, this is the place to ask.

Moderator: Pardner

Need help setting up dedicated team deathmatch LAN server.

Postby dwidel » Wed Apr 18, 2012 11:51 pm

I downloaded 1.1 RC1. On a Win7 box I started the dedicated server and got DM, I can get BankRobbery by changing g_gametype to 5 and changing to exec server_bank_robbery.cfg. But when I change to 3 I just seem to get deathmatch. Is there something else I need to change from the default server.cfg other than the g_gametype to get TeamDM? I don't see a server type for it.

Thanks,
Dave
dwidel
Newcomer
 
Posts: 3
Joined: Wed Apr 18, 2012 11:38 pm



Re: Need help setting up dedicated team deathmatch LAN serve

Postby dwidel » Thu Apr 19, 2012 11:49 am

Looks like you have to change the 0 to 3 in this line.

set dm_config "g_gametype 3 ; kickbots ; g_spskill 1 ; bot_minplayers 6"
dwidel
Newcomer
 
Posts: 3
Joined: Wed Apr 18, 2012 11:38 pm



Re: Need help setting up dedicated team deathmatch LAN serve

Postby Joe Kari » Thu Apr 19, 2012 2:18 pm

If you really want to set bot_minplayers, have a look to the file "server_deathmatch.cfg", and adjust the onEvent_* cvar.

Code: Select all
exec clear_event.cfg
set onEvent_playerDownTo0_do "bot_minplayers 0 ; kickbots ; bot_nochat 1"       // save server resources: when no human player are online, bots are removed
set onEvent_playerUpTo1_do "bot_minplayers 3 ; bot_nochat 0"
set onEvent_playerDownTo1_do "bot_nochat 0"     // bot chat when there is only one human player online
set onEvent_playerUpTo2_do "bot_nochat 1"
set onEvent_playerDownTo3_do "set auto_mapcycle vstr mapcycle_small_dm ; set mapcycle vstr auto_mapcycle ; fraglimit 20"
set onEvent_playerUpTo5_do "set auto_mapcycle vstr mapcycle_medium_dm ; fraglimit 25"
set onEvent_playerDownTo6_do "set auto_mapcycle vstr mapcycle_medium_dm ; fraglimit 25"
set onEvent_playerUpTo8_do "set auto_mapcycle vstr mapcycle_big_dm ; fraglimit 30"


As you can see, there is an adaptative config.
You may want to replace this line:
set onEvent_playerUpTo1_do "bot_minplayers 3 ; bot_nochat 0"
by:
set onEvent_playerUpTo1_do "bot_minplayers 6 ; bot_nochat 0"

... or it will interfere with your own config.
User avatar
Joe Kari
SG Team
 
Posts: 879
Joined: Sun Sep 16, 2007 8:44 pm
Location: France



Re: Need help setting up dedicated team deathmatch LAN serve

Postby dwidel » Fri Apr 20, 2012 1:57 am

OK, thanks. Is there a way to set all the bots on one team and humans on another?
dwidel
Newcomer
 
Posts: 3
Joined: Wed Apr 18, 2012 11:38 pm



Re: Need help setting up dedicated team deathmatch LAN serve

Postby /dev/random » Sat Apr 21, 2012 3:33 pm

You'd have to add bots manually for this.

Code: Select all
/addbot <botname> [skill 1-5] [team] [msec delay] [altname]
/addbot clint 3 red


You can get a list of the botnames with /botlist.

Or manually force the team for all bots

Code: Select all
/forceteam clint red
User avatar
/dev/random
Smokin' Amigo!
 
Posts: 410
Joined: Thu Jan 22, 2009 1:58 pm




Return to Doc's Office

Show Sidebar
Show Sidebar

User Control Panel

cron