It is currently Wed Apr 23, 2014 6:43 pm




Post new topic Reply to topic  [ 5 posts ] 
 setting gametype on the server boot commands 
Author Message

Joined: Sun May 23, 2010 1:34 pm
Posts: 2
Post setting gametype on the server boot commands
Hello all,

First off let me preface this by saying that by now I am WELL aware of the fact that this is a "user managed server."

All I want to know is in the "Edit Call of Duty 4" commands:

server_exec="cod4_lnxded-bin"
game_directory="cod4"
server_mod_directory="mods/rotu"
server_port="28960"
rcon_password="myrconhere"
server_log_name=""
server_vm=""
server_dedicated="2"
server_ip="208.43.101.37"
server_sv_maxclients="64"
server_logfile="3"
server_sv_pure="1"
server_sv_punkbuster="0"
+set g_gametype="surv"
server_config1="prerotu.cfg"
start_map="mp_surv_village"
username="dcvitt_1"

Is there a way to get the server to also load a gametype by default?

i.e. can I add a line similar to set g_gametype="mygametype" or the like so that when the server boots it boots this gametype

When the server restarts every morning, it changes to a game mode that is not compatible with my mod.


Mon May 24, 2010 1:15 pm
Profile

Joined: Sun May 23, 2010 1:34 pm
Posts: 2
Post Re: setting gametype on the server boot commands
Allow me to clarify-

The server is not loading the default gametype specified by the .cfg file it should, is there any way to add a command to that "boot" sequence above so that along with the start map it loads a start gametype?

Thanks for the help.


Wed May 26, 2010 4:43 pm
Profile

Joined: Sun May 16, 2010 12:44 am
Posts: 21
Post Re: setting gametype on the server boot commands
i think if you set it in your config file for the server it will start as that,usually it says war ,try changing that,only advice i can give sorry.


Tue Jun 01, 2010 12:44 pm
Profile

Joined: Wed May 17, 2006 8:06 pm
Posts: 47
Location: Richmond, VA
Post Re: setting gametype on the server boot commands
In your config you should have...
Code:
set g_gametype ""


Set this to your preferred default.
Code:
// "dm"   - free for all deathmatch
// "war"  - team deathmatch
// "dom"  - domination
// "koth" - headquarters
// "sab"  - sabotage
// "sd"   - search & destroy
// "ctf"  - capture the flag


Next you need to set you map rotation.
* Note the gametype war
Code:
set sv_mapRotation "gametype war map mp_farm map mp_overgrown map mp_creek"


You can do a mixed rotation.
Code:
set sv_mapRotation "gametype war map mp_farm map mp_overgrown gametype dom map mp_creek"


Mon Jul 11, 2011 1:18 pm
Profile

Joined: Fri Oct 09, 2009 5:00 pm
Posts: 26
Post Re: setting gametype on the server boot commands
I had trouble with it as well while trying to get ROTU to work.

I don't have the config on this PC but from what I remember, the only way I got it to work was set the rotation like normal but put

Code:
set g_gametype "dm"


In the time settings for certain gametypes, I added the dm round to be 1 minute or 5 as round score.

Something along those lines.


Tue Jul 12, 2011 2:24 am
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB | Based on the theme by Vjacheslav Trushkin