PDA

View Full Version : HOW TO CREATE CALLVOTE CUSTOM CFG


WarTech
03-08-2003, 07:54 PM
From <TWZ>Clan. Currently running at <TWZ>FragZone I

Well here it is for those that need help with modifying their CALLVOTE.CFG.

// callvote options script
//-------------------------
// This is a server-side file that is used to specify what things can be voted for,
// and what the valid voting options for them are. The options clients are allowed
// to do a callvote on are determined by the settings in this file on the server.

// the format is as follows:
// "Option Name" "Command" <Type>
// {
// "Choice Name 1" "VoteString1"
// "Choice Name 2" "VoteString2"
// ...
// }

// "Option Name" is the name that will be displayed for that voting option.
// Command is the command that a change will be voted for.
// <Type> is an optional parameter specifying what kind of option it is
// Valid option types are:
// - "nochoices" : Provides no additional choices are info entry, it just is. (default)
// - "list" : Provides a list of choices for the option
// - "text" : Pops up a text entry window for the option
// - "integer" : Pops up an integer number entry window for the option
// - "float" : Pops up a floating point number entry window for the option
// - "client" : Pops up a list of players in the game for the option
// - "clientnotself" : Pops up a list of other players in the game for the option
// { and } specify the begining and end of a list of choices for a voting
// option. No list should be specified for any type besides list.


">ROTATION< TWZ's Custom Maps" "set" list
{
"On" "g_gametype 2; exec team.cfg" //hereI create it a cfg file with my server map rotations to be ran on one request.
"Off" "vote n"
}

"> Pick TWZ Custom Map" "g_gametype" list //here you pick one map and whe it finish playing the game returns to the previous map rotation or game type.
{
"Doomed City - dm/doomed" "2; map dm/doomed"
"Normandybridge_v1 - dm/normandybridge_v1" "2; map dm/normandybridge_v1"
"Tunisian Village FE - dm/tunisian_fe" "2; map dm/tunisian_fe"
"Village of Despair - dm/despair" "2; map dm/despair"
"Winter Base V2 - dm/winterbase2" "2; map dm/winterbase2"
"Arnhem - dm/arnhem" "2; map dm/arnhem"
"Canal Town - dm/canaltown" "2; map dm/canaltown"
"Egypt Team Temple - dm/teamtemple_mohaa" "2; map dm/teamtemple_mohaa"
"La Route du Nord - dm/dm_routenord" "1; map dm/dm_routenord"
"Osiedle - dm/osiedle" "2; map dm/osiedle"
"Urban Sprawl - dm/urbansprawl" "2; map dm/urbansprawl"
"Le Ville - dm/dmleville" "2; map dm/dmleville"
"The Canal - dm/canal" "2; map dm/canal"
"Riverside v1.5 - dm/riversidedm2" "2; map dm/riversidedm2"
"Island Assault - dm/dm_island_assault" "2; map dm/dm_island_assault"
"Close Combat - dm/closecombat" "2; map dm/closecombat"
"Sterben Fost - dm/uberfistdm1" "2; map dm/uberfistdm1"
"The Digima Castle - dm/mohcastle1" "2; map dm/mohcastle1"
"Russia - dm/russia" "2; map dm/russia"
"Nazi State final - dm/nestate2" "2; map dm/nestate2"
"Thunder 2 - dm/dm_thunder-2" "2; map dm/dm_thunder-2"
"Winter Compound - dm/winter_compound" "2; map dm/winter_compound"
"Buzzbomb Raiders - dm/buzzbomb_raiders" "2; map dm/buzzbomb_raiders"
"Crossfire Courtyard - dm/dmxfire" "2; map dm/dmxfire"
"Anubis - dm/anubis" "2; map dm/anubis"
"Duenkirchen - dm/duenkirchen" "2; map dm/duenkirchen"
"Southern France 2 Final - dm/southern_france_2_final" "2; map dm/southern_france_2_final"
"Fort Wreck - dm/fortwreck" "2; map dm/fortwreck"
}

">ROTATION< Spearhead Stock Maps" "set" list
{
"On" "g_gametype 2; exec team2.cfg" //I create a cfg with the stock game maps and can ran them on a rotation, same as explained above.
"Off" "vote n"
}

"> Pick Spearhead Stock Map" "g_gametype" list //here you pick one map and whe it finish playing the game returns to the previous map rotation or game type.

{
"Bahnhof - dm/MP_Bahnhof_DM" "2; map dm/MP_Bahnhof_DM"
"Bazaar - dm/MP_Bazaar_DM" "2; map dm/MP_Bazaar_DM"
"Brest - dm/MP_Brest_DM" "2; map dm/MP_Brest_DM"
"Holland - dm/MP_Holland_DM" "2; map dm/MP_Holland_DM"
"Stadt - dm/MP_Stadt_DM" "2; map dm/MP_Stadt_DM"
"Gewitter - dm/MP_Gewitter_DM" "2; map dm/MP_Gewitter_DM"
"Unterseite - dm/MP_Unterseite_DM" "2; map dm/MP_Unterseite_DM"
"Verschneit - dm/MP_Verschneit_DM" "2; map dm/MP_Verschneit_DM"
"Malta - dm/MP_Malta_DM" "1; map dm/MP_Malta_DM"
"Southern France - dm/mohdm1" "2; map dm/mohdm1"
"Destroyed Village - dm/mohdm2" "2; map dm/mohdm2"
"Remagen - dm/mohdm3" "2; map dm/mohdm3"
"The Crossroads - dm/mohdm4" "2; map dm/mohdm4"
"Snowy Park - dm/mohdm5" "2; map dm/mohdm5"
"Stalingrad - dm/mohdm6" "2; map dm/mohdm6"
"Algiers - dm/mohdm7" "2; map dm/mohdm7"
"Ardennes - obj/MP_Ardennes_TOW" "2;map obj/MP_Ardennes_TOW"
"Berlin - obj/MP_Berlin_TOW" "2;map obj/MP_Berlin_TOW"
"Druckkammern - obj/MP_Druckkammern_TOW" "2;map obj/MP_Druckkammern_TOW"
"Flughafen - obj/MP_Flughafen_TOW" "2;map obj/MP_Flughafen_TOW"
}
"Score Limit" "fraglimit" integer // sets the frag limits

"Time Limit" "timelimit" integer //sets the time per maps

"Kick Client" "clientkick" clientnotself //kick player out

"Friendly Fire" "set" list // sets Frendly Fire on or off ,,,doh
{
"On" "g_teamdamage 1"
"Off" "g_teamdamage 0"
}


If you all notice with this example you can run a PICK A MAP or an entire server map list. One more thing when you are running a map rotation on your server you will need to add this like ot your server.cfg (team, obj what ever cfg you are running) the line is:: ui_maplist_team "dm/buzzbomb_raiders dm/tunisian_fe dm/southern_france_2_final dm/nestate2 dm/dmxfire dm/dmleville dm/teamtemple_mohaa dm/dm_routenord dm/winter_compound dm/russia dm/riversidedm2 dm/doomed dm/dm_island_assault dm/arnhem dm/dm_thunder-2 dm/urbansprawl dm/uberfistdm1 dm/normandybridge_v1 dm/closecombat dm/despair dm/canaltown dm/mohcastle1 dm/duenkirchen dm/winterbase2 dm/uberfistdm1"

This line needs to match whatever your cfg server maplist is so when someone call a vote on a single map and the map its finished the game reverts back to that cfg map rotation you have the game running.

Any Questions please refer them to twzfragzone@hotmail.com

Keep on fraging <TWZ>WarTech

Nocturnal
03-09-2003, 04:57 AM
tell me if im doing this wrong, i removed all the options i dont want and i left the ones i do want to use in my voting, so this is what i m doing and it dosnt work (yes i do know how to put in new map options but lets worry bout that later) for now i want this to just show up on my server *to see if it works. so try what im bout to post here and tell me if it works for you ok? this is what i want for a vote cfg for right now below this line so test this cfg and see if it works for you or tell me what im doing wrong and yes im running a team server only...
__________________________________________________ ___________

// callvote options script
//-------------------------
// This is a server-side file that is used to specify what things can be voted for,
// and what the valid voting options for them are. The options clients are allowed
// to do a callvote on are determined by the settings in this file on the server.

// the format is as follows:
// "Option Name" "Command" <Type>
// {
// "Choice Name 1" "VoteString1"
// "Choice Name 2" "VoteString2"
// ...
// }

// "Option Name" is the name that will be displayed for that voting option.
// Command is the command that a change will be voted for.
// <Type> is an optional parameter specifying what kind of option it is
// Valid option types are:
// - "nochoices" : Provides no additional choices are info entry, it just is. (default)
// - "list" : Provides a list of choices for the option
// - "text" : Pops up a text entry window for the option
// - "integer" : Pops up an integer number entry window for the option
// - "float" : Pops up a floating point number entry window for the option
// - "client" : Pops up a list of players in the game for the option
// - "clientnotself" : Pops up a list of other players in the game for the option
// { and } specify the begining and end of a list of choices for a voting
// option. No list should be specified for any type besides list.


"Team-Match Map" "g_gametype" list

{

"Bahnhof - dm/MP_Bahnhof_DM" "2; map dm/MP_Bahnhof_DM"
"Bazaar - dm/MP_Bazaar_DM" "2; map dm/MP_Bazaar_DM"
"Brest - dm/MP_Brest_DM" "2; map dm/MP_Brest_DM"
"Holland - dm/MP_Holland_DM" "2; map dm/MP_Holland_DM"
"Stadt - dm/MP_Stadt_DM" "2; map dm/MP_Stadt_DM"
"Gewitter - dm/MP_Gewitter_DM" "2; map dm/MP_Gewitter_DM"
"Unterseite - dm/MP_Unterseite_DM" "2; map dm/MP_Unterseite_DM"
"Verschneit - dm/MP_Verschneit_DM" "2; map dm/MP_Verschneit_DM"
"Malta - dm/MP_Malta_DM" "1; map dm/MP_Malta_DM"
"Southern France - dm/mohdm1" "2; map dm/mohdm1"
"Destroyed Village - dm/mohdm2" "2; map dm/mohdm2"
"Remagen - dm/mohdm3" "2; map dm/mohdm3"
"The Crossroads - dm/mohdm4" "2; map dm/mohdm4"
"Snowy Park - dm/mohdm5" "2; map dm/mohdm5"
"Stalingrad - dm/mohdm6" "2; map dm/mohdm6"
"Algiers - dm/mohdm7" "2; map dm/mohdm7"
"Ardennes - obj/MP_Ardennes_TOW" "2;map obj/MP_Ardennes_TOW"
"Berlin - obj/MP_Berlin_TOW" "2;map obj/MP_Berlin_TOW"
"Druckkammern - obj/MP_Druckkammern_TOW" "2;map obj/MP_Druckkammern_TOW"
"Flughafen - obj/MP_Flughafen_TOW" "2;map obj/MP_Flughafen_TOW"
}


//"Next Map" "nextmap" nochoices

"Friendly Fire" "set" list
{
}


"Time Limit" "timelimit" integer
{
}
"Allow Spectator Chat To All" "set" list
{
"On" "g_spectate_allow_full_chat 1"
"Off" "g_spectate_allow_full_chat 0"
}

"Kick Client" "clientkick" clientnotself
{
}

WarTech
03-09-2003, 10:28 AM
tell me if im doing this wrong, i removed all the options i dont want and i left the ones i do want to use in my voting, so this is what i m doing and it dosnt work (yes i do know how to put in new map options but lets worry bout that later) for now i want this to just show up on my server *to see if it works. so try what im bout to post here and tell me if it works for you ok? this is what i want for a vote cfg for right now below this line so test this cfg and see if it works for you or tell me what im doing wrong and yes im running a team server only...
__________________________________________________ ___________

// callvote options script
//-------------------------
// This is a server-side file that is used to specify what things can be voted for,
// and what the valid voting options for them are. The options clients are allowed
// to do a callvote on are determined by the settings in this file on the server.

// the format is as follows:
// "Option Name" "Command" <Type>
// {
// "Choice Name 1" "VoteString1"
// "Choice Name 2" "VoteString2"
// ...
// }

// "Option Name" is the name that will be displayed for that voting option.
// Command is the command that a change will be voted for.
// <Type> is an optional parameter specifying what kind of option it is
// Valid option types are:
// - "nochoices" : Provides no additional choices are info entry, it just is. (default)
// - "list" : Provides a list of choices for the option
// - "text" : Pops up a text entry window for the option
// - "integer" : Pops up an integer number entry window for the option
// - "float" : Pops up a floating point number entry window for the option
// - "client" : Pops up a list of players in the game for the option
// - "clientnotself" : Pops up a list of other players in the game for the option
// { and } specify the begining and end of a list of choices for a voting
// option. No list should be specified for any type besides list.


"Team-Match Map" "g_gametype" list

{

"Bahnhof - dm/MP_Bahnhof_DM" "2; map dm/MP_Bahnhof_DM"
"Bazaar - dm/MP_Bazaar_DM" "2; map dm/MP_Bazaar_DM"
"Brest - dm/MP_Brest_DM" "2; map dm/MP_Brest_DM"
"Holland - dm/MP_Holland_DM" "2; map dm/MP_Holland_DM"
"Stadt - dm/MP_Stadt_DM" "2; map dm/MP_Stadt_DM"
"Gewitter - dm/MP_Gewitter_DM" "2; map dm/MP_Gewitter_DM"
"Unterseite - dm/MP_Unterseite_DM" "2; map dm/MP_Unterseite_DM"
"Verschneit - dm/MP_Verschneit_DM" "2; map dm/MP_Verschneit_DM"
"Malta - dm/MP_Malta_DM" "1; map dm/MP_Malta_DM"
"Southern France - dm/mohdm1" "2; map dm/mohdm1"
"Destroyed Village - dm/mohdm2" "2; map dm/mohdm2"
"Remagen - dm/mohdm3" "2; map dm/mohdm3"
"The Crossroads - dm/mohdm4" "2; map dm/mohdm4"
"Snowy Park - dm/mohdm5" "2; map dm/mohdm5"
"Stalingrad - dm/mohdm6" "2; map dm/mohdm6"
"Algiers - dm/mohdm7" "2; map dm/mohdm7"
"Ardennes - obj/MP_Ardennes_TOW" "2;map obj/MP_Ardennes_TOW"
"Berlin - obj/MP_Berlin_TOW" "2;map obj/MP_Berlin_TOW"
"Druckkammern - obj/MP_Druckkammern_TOW" "2;map obj/MP_Druckkammern_TOW"
"Flughafen - obj/MP_Flughafen_TOW" "2;map obj/MP_Flughafen_TOW"
}


//"Next Map" "nextmap" nochoices

"Friendly Fire" "set" list
{
}


"Time Limit" "timelimit" integer
{
}
"Allow Spectator Chat To All" "set" list
{
"On" "g_spectate_allow_full_chat 1"
"Off" "g_spectate_allow_full_chat 0"
}

"Kick Client" "clientkick" clientnotself
{
}

Hi:
You have it correct. Now all you have to do is put the CFG in a PK3 file say User-Callvote.Pk3 and place it in you mainta and your server will see it when you restart the game. You can check it out on my server <TWZ>FragZone I , Ip 66.68.171.117. I did notice you have the next map option three and its remarked so it will not show that one.. Anything with the two // in front of it will not show up in the menu. I apoligize if I sound condesending, but I dont know how much you know about this coding stuff. (not that I no any better LOL). Ps: I have not been able to get the next map option to work YET or the Weapons option. However, I did learn that what ever I put in a separate CFG it will execut it by telling iif I put it in the voting and link to it much like doing it at the console. Thats how I got the Rotations to work. It goes and execute the Team.cfg i tell it to.

Sitting_Duck
03-09-2003, 04:30 PM
Thanks for the post Wartech. I will give this a shot when I get the time. I've got other projects to work on right now. As for the next map and the wpns restrictions....last I heard these options were removed from the game. So we have the commands but the code is not in place within the game.... :( The wpns option is something I was looking forward to.

WarTech
03-09-2003, 04:55 PM
Thanks for the post Wartech. I will give this a shot when I get the time. I've got other projects to work on right now. As for the next map and the wpns restrictions....last I heard these options were removed from the game. So we have the commands but the code is not in place within the game.... :( The wpns option is something I was looking forward to.

I think we can pull it off by finding out more about the dmflags. If some how we could find out all the flags available then we could use that to enable or disable the weapons and vitually creating a weapons mod on the fly using the Voting opiton within the game. Or we can create a weapons mod for each weapon and them execute them on the fly via voting. BTW I need info on how to create map scripts where I can start adding items to the maps using the coord and spawn commands. If you want send me your callvote.cfg and ill send it back to you ready to be use. Cya arround.

ClickBouyow
03-10-2003, 04:21 PM
Hmm. I get a server crash after a map selection. Everything else works fine.

Can you guys take a look at this and tell me what is broken?

"Team-Match Map" "g_gametype" list

{

"Bahnhof - dm/MP_Bahnhof_DM" "2; map dm/MP_Bahnhof_DM"
"Bazaar - dm/MP_Bazaar_DM" "2; map dm/MP_Bazaar_DM"
"Brest - dm/MP_Brest_DM" "2; map dm/MP_Brest_DM"
"Holland - dm/MP_Holland_DM" "2; map dm/MP_Holland_DM"
"Stadt - dm/MP_Stadt_DM" "2; map dm/MP_Stadt_DM"
"Gewitter - dm/MP_Gewitter_DM" "2; map dm/MP_Gewitter_DM"
"Unterseite - dm/MP_Unterseite_DM" "2; map dm/MP_Unterseite_DM"
"Verschneit - dm/MP_Verschneit_DM" "2; map dm/MP_Verschneit_DM"
"Malta - dm/MP_Malta_DM" "1; map dm/MP_Malta_DM"
"Southern France - dm/mohdm1" "2; map dm/mohdm1"
"Destroyed Village - dm/mohdm2" "2; map dm/mohdm2"
"Remagen - dm/mohdm3" "2; map dm/mohdm3"
"The Crossroads - dm/mohdm4" "2; map dm/mohdm4"
"Snowy Park - dm/mohdm5" "2; map dm/mohdm5"
"Stalingrad - dm/mohdm6" "2; map dm/mohdm6"
"Algiers - dm/mohdm7" "2; map dm/mohdm7"
"Ardennes - obj/MP_Ardennes_TOW" "2;map obj/MP_Ardennes_TOW"
"Berlin - obj/MP_Berlin_TOW" "2;map obj/MP_Berlin_TOW"
"Druckkammern - obj/MP_Druckkammern_TOW" "2;map obj/MP_Druckkammern_TOW"
"Flughafen - obj/MP_Flughafen_TOW" "2;map obj/MP_Flughafen_TOW"
}

"Friendly Fire" "set" list
{
"On" "g_teamdamage 1"
"Off" "g_teamdamage 0"
}

"Allow Spectator Chat To All" "set" list
{
"On" "g_spectate_allow_full_chat 1"
"Off" "g_spectate_allow_full_chat 0"
}
"Kick Client" "clientkick" clientnotself

WarTech
03-10-2003, 04:53 PM
Hmm. I get a server crash after a map selection. Everything else works fine.

Can you guys take a look at this and tell me what is broken?

"Team-Match Map" "g_gametype" list

{

"Bahnhof - dm/MP_Bahnhof_DM" "2; map dm/MP_Bahnhof_DM"
"Bazaar - dm/MP_Bazaar_DM" "2; map dm/MP_Bazaar_DM"
"Brest - dm/MP_Brest_DM" "2; map dm/MP_Brest_DM"
"Holland - dm/MP_Holland_DM" "2; map dm/MP_Holland_DM"
"Stadt - dm/MP_Stadt_DM" "2; map dm/MP_Stadt_DM"
"Gewitter - dm/MP_Gewitter_DM" "2; map dm/MP_Gewitter_DM"
"Unterseite - dm/MP_Unterseite_DM" "2; map dm/MP_Unterseite_DM"
"Verschneit - dm/MP_Verschneit_DM" "2; map dm/MP_Verschneit_DM"
"Malta - dm/MP_Malta_DM" "1; map dm/MP_Malta_DM"
"Southern France - dm/mohdm1" "2; map dm/mohdm1"
"Destroyed Village - dm/mohdm2" "2; map dm/mohdm2"
"Remagen - dm/mohdm3" "2; map dm/mohdm3"
"The Crossroads - dm/mohdm4" "2; map dm/mohdm4"
"Snowy Park - dm/mohdm5" "2; map dm/mohdm5"
"Stalingrad - dm/mohdm6" "2; map dm/mohdm6"
"Algiers - dm/mohdm7" "2; map dm/mohdm7"
"Ardennes - obj/MP_Ardennes_TOW" "2;map obj/MP_Ardennes_TOW"
"Berlin - obj/MP_Berlin_TOW" "2;map obj/MP_Berlin_TOW"
"Druckkammern - obj/MP_Druckkammern_TOW" "2;map obj/MP_Druckkammern_TOW"
"Flughafen - obj/MP_Flughafen_TOW" "2;map obj/MP_Flughafen_TOW"
}

"Friendly Fire" "set" list
{
"On" "g_teamdamage 1"
"Off" "g_teamdamage 0"
}

"Allow Spectator Chat To All" "set" list
{
"On" "g_spectate_allow_full_chat 1"
"Off" "g_spectate_allow_full_chat 0"
}
"Kick Client" "clientkick" clientnotself


Try removing the extra line you have here,,,no space between the { and the map name or just copy mine here.


"Team-Match Map" "g_gametype" list

{

"Bahnhof - dm/MP_Bahnhof_DM" "2; map dm/MP_Bahnhof_DM"


LOOK AT MINE BELOW..


"Team-Match Map" "g_gametype" list
{
"Bahnhof - dm/MP_Bahnhof_DM" "2; map dm/MP_Bahnhof_DM"
"Bazaar - dm/MP_Bazaar_DM" "2; map dm/MP_Bazaar_DM"
"Brest - dm/MP_Brest_DM" "2; map dm/MP_Brest_DM"
"Holland - dm/MP_Holland_DM" "2; map dm/MP_Holland_DM"
"Stadt - dm/MP_Stadt_DM" "2; map dm/MP_Stadt_DM"
"Gewitter - dm/MP_Gewitter_DM" "2; map dm/MP_Gewitter_DM"
"Unterseite - dm/MP_Unterseite_DM" "2; map dm/MP_Unterseite_DM"
"Verschneit - dm/MP_Verschneit_DM" "2; map dm/MP_Verschneit_DM"
"Southern France - dm/mohdm1" "2; map dm/mohdm1"
"Destroyed Village - dm/mohdm2" "2; map dm/mohdm2"
"Remagen - dm/mohdm3" "2; map dm/mohdm3"
"The Crossroads - dm/mohdm4" "2; map dm/mohdm4"
"Snowy Park - dm/mohdm5" "2; map dm/mohdm5"
"Stalingrad - dm/mohdm6" "2; map dm/mohdm6"
"Algiers - dm/mohdm7" "2; map dm/mohdm7"
"Ardennes - obj/MP_Ardennes_TOW" "2;map obj/MP_Ardennes_TOW"
"Berlin - obj/MP_Berlin_TOW" "2;map obj/MP_Berlin_TOW"
"Druckkammern - obj/MP_Druckkammern_TOW" "2;map obj/MP_Druckkammern_TOW"
"Flughafen - obj/MP_Flughafen_TOW" "2;map obj/MP_Flughafen_TOW"
}

ClickBouyow
03-10-2003, 06:40 PM
WooHooo! That did the trick. Thanks! That is EXACTLY what I want.

Nocturnal
03-11-2003, 04:32 AM
:evil: :evil: @#$%^ daaaaaaaaaaaaaaaaamn it the free for all options still show up and evrey thing else that is defult this really sux!!!!!!!!!!!!!

GaSplat
03-11-2003, 02:32 PM
I thought the dmflags were documented in the tow.cfg, obj.cfg, etc. The only weapon related one I remember was giving the germans the shotgun instead of the rifle grenade.

Weapon stats are set in the tik files, which I believe are read and set on server start up. Don't believe there is a way to alter them with a cvar or some other in game command. Sure would be handy.

WarTech
03-12-2003, 08:15 AM
:evil: :evil: @#$%^ daaaaaaaaaaaaaaaaamn it the free for all options still show up and evrey thing else that is defult this really sux!!!!!!!!!!!!!

Just remove this from your voting cfg and it will be gone

"Friendly Fire" "set" list
{
"On" "g_teamdamage 1"
"Off" "g_teamdamage 0"
}

ClickBouyow
03-12-2003, 11:11 AM
:evil: :evil: @#$%^ daaaaaaaaaaaaaaaaamn it the free for all options still show up and evrey thing else that is defult this really sux!!!!!!!!!!!!!

Just remove this from your voting cfg and it will be gone

"Friendly Fire" "set" list
{
"On" "g_teamdamage 1"
"Off" "g_teamdamage 0"
}

Man! You are good! I had to read that about 15 times before I could begin to translate it into english. Was he REALLY asking about team damage?

WarTech
03-12-2003, 03:32 PM
:evil: :evil: @#$%^ daaaaaaaaaaaaaaaaamn it the free for all options still show up and evrey thing else that is defult this really sux!!!!!!!!!!!!!

Just remove this from your voting cfg and it will be gone

"Friendly Fire" "set" list
{
"On" "g_teamdamage 1"
"Off" "g_teamdamage 0"
}

Man! You are good! I had to read that about 15 times before I could begin to translate it into english. Was he REALLY asking about team damage?

Thats the only line that handles the FF On or Off. If he removes it or remark it, the Friendly Fire will be gone from the Voting Menu.

Ps: I need me some feedback on my weapons mod. Anyone care to check it out its running at IP 66.68.171.117 server name is <TWZ>FragZone I. It Opens at 3:30 pm CST. I have it capped at 130 pins to access and 180pings to auto kick. Server sitting in Texas. All feed back sould be send to twzfragzone@hotmail.com

Sitting_Duck can I get your map script for mp_verschneit_dm. I like what you guys did to the map. I would like to implement it to my server.

Cya around.

<TWZ>WarTech

ClickBouyow
03-12-2003, 04:43 PM
I routinely get an info string overflow and shutdown. I changed the config file like it was suggested. Can you take another look?

"Team-Match Map" "g_gametype" list
{
"Bahnhof - dm/MP_Bahnhof_DM" "2; map dm/MP_Bahnhof_DM"
"Bazaar - dm/MP_Bazaar_DM" "2; map dm/MP_Bazaar_DM"
"Brest - dm/MP_Brest_DM" "2; map dm/MP_Brest_DM"
"Holland - dm/MP_Holland_DM" "2; map dm/MP_Holland_DM"
"Stadt - dm/MP_Stadt_DM" "2; map dm/MP_Stadt_DM"
"Gewitter - dm/MP_Gewitter_DM" "2; map dm/MP_Gewitter_DM"
"Unterseite - dm/MP_Unterseite_DM" "2; map dm/MP_Unterseite_DM"
"Verschneit - dm/MP_Verschneit_DM" "2; map dm/MP_Verschneit_DM"
"Malta - dm/MP_Malta_DM" "1; map dm/MP_Malta_DM"
"Southern France - dm/mohdm1" "2; map dm/mohdm1"
"Destroyed Village - dm/mohdm2" "2; map dm/mohdm2"
"Remagen - dm/mohdm3" "2; map dm/mohdm3"
"The Crossroads - dm/mohdm4" "2; map dm/mohdm4"
"Snowy Park - dm/mohdm5" "2; map dm/mohdm5"
"Stalingrad - dm/mohdm6" "2; map dm/mohdm6"
"Algiers - dm/mohdm7" "2; map dm/mohdm7"
"Ardennes - obj/MP_Ardennes_TOW" "2;map obj/MP_Ardennes_TOW"
"Berlin - obj/MP_Berlin_TOW" "2;map obj/MP_Berlin_TOW"
"Druckkammern - obj/MP_Druckkammern_TOW" "2;map obj/MP_Druckkammern_TOW"
}
"Friendly Fire" "set" list
{
"On" "g_teamdamage 1"
"Off" "g_teamdamage 0"
}
"Allow Spectator Chat To All" "set" list
{
"On" "g_spectate_allow_full_chat 1"
"Off" "g_spectate_allow_full_chat 0"
}
"Kick Client" "clientkick" clientnotself

WarTech
03-12-2003, 04:49 PM
I routinely get an info string overflow and shutdown. I changed the config file like it was suggested. Can you take another look?

"Team-Match Map" "g_gametype" list
{
"Bahnhof - dm/MP_Bahnhof_DM" "2; map dm/MP_Bahnhof_DM"
"Bazaar - dm/MP_Bazaar_DM" "2; map dm/MP_Bazaar_DM"
"Brest - dm/MP_Brest_DM" "2; map dm/MP_Brest_DM"
"Holland - dm/MP_Holland_DM" "2; map dm/MP_Holland_DM"
"Stadt - dm/MP_Stadt_DM" "2; map dm/MP_Stadt_DM"
"Gewitter - dm/MP_Gewitter_DM" "2; map dm/MP_Gewitter_DM"
"Unterseite - dm/MP_Unterseite_DM" "2; map dm/MP_Unterseite_DM"
"Verschneit - dm/MP_Verschneit_DM" "2; map dm/MP_Verschneit_DM"
"Malta - dm/MP_Malta_DM" "1; map dm/MP_Malta_DM"
"Southern France - dm/mohdm1" "2; map dm/mohdm1"
"Destroyed Village - dm/mohdm2" "2; map dm/mohdm2"
"Remagen - dm/mohdm3" "2; map dm/mohdm3"
"The Crossroads - dm/mohdm4" "2; map dm/mohdm4"
"Snowy Park - dm/mohdm5" "2; map dm/mohdm5"
"Stalingrad - dm/mohdm6" "2; map dm/mohdm6"
"Algiers - dm/mohdm7" "2; map dm/mohdm7"
"Ardennes - obj/MP_Ardennes_TOW" "2;map obj/MP_Ardennes_TOW"
"Berlin - obj/MP_Berlin_TOW" "2;map obj/MP_Berlin_TOW"
"Druckkammern - obj/MP_Druckkammern_TOW" "2;map obj/MP_Druckkammern_TOW"
}
"Friendly Fire" "set" list
{
"On" "g_teamdamage 1"
"Off" "g_teamdamage 0"
}
"Allow Spectator Chat To All" "set" list
{
"On" "g_spectate_allow_full_chat 1"
"Off" "g_spectate_allow_full_chat 0"
}
"Kick Client" "clientkick" clientnotself

Hi there!!
Send me e-mail to twzfragzone@hotmial.com and Ill send you a correct it one so u can you now.

<TWZ>WarTech

WarTech
03-12-2003, 05:58 PM
I routinely get an info string overflow and shutdown. I changed the config file like it was suggested. Can you take another look?

"Team-Match Map" "g_gametype" list
{
"Bahnhof - dm/MP_Bahnhof_DM" "2; map dm/MP_Bahnhof_DM"
"Bazaar - dm/MP_Bazaar_DM" "2; map dm/MP_Bazaar_DM"
"Brest - dm/MP_Brest_DM" "2; map dm/MP_Brest_DM"
"Holland - dm/MP_Holland_DM" "2; map dm/MP_Holland_DM"
"Stadt - dm/MP_Stadt_DM" "2; map dm/MP_Stadt_DM"
"Gewitter - dm/MP_Gewitter_DM" "2; map dm/MP_Gewitter_DM"
"Unterseite - dm/MP_Unterseite_DM" "2; map dm/MP_Unterseite_DM"
"Verschneit - dm/MP_Verschneit_DM" "2; map dm/MP_Verschneit_DM"
"Malta - dm/MP_Malta_DM" "1; map dm/MP_Malta_DM"
"Southern France - dm/mohdm1" "2; map dm/mohdm1"
"Destroyed Village - dm/mohdm2" "2; map dm/mohdm2"
"Remagen - dm/mohdm3" "2; map dm/mohdm3"
"The Crossroads - dm/mohdm4" "2; map dm/mohdm4"
"Snowy Park - dm/mohdm5" "2; map dm/mohdm5"
"Stalingrad - dm/mohdm6" "2; map dm/mohdm6"
"Algiers - dm/mohdm7" "2; map dm/mohdm7"
"Ardennes - obj/MP_Ardennes_TOW" "2;map obj/MP_Ardennes_TOW"
"Berlin - obj/MP_Berlin_TOW" "2;map obj/MP_Berlin_TOW"
"Druckkammern - obj/MP_Druckkammern_TOW" "2;map obj/MP_Druckkammern_TOW"
}
"Friendly Fire" "set" list
{
"On" "g_teamdamage 1"
"Off" "g_teamdamage 0"
}
"Allow Spectator Chat To All" "set" list
{
"On" "g_spectate_allow_full_chat 1"
"Off" "g_spectate_allow_full_chat 0"
}
"Kick Client" "clientkick" clientnotself

The only thing I see that maybe crashing it and maybe could be this one

"Malta - dm/MP_Malta_DM" "1; map dm/MP_Malta_DM"


You have it set for Free for all game and the rest are all TDM.

Nocturnal
03-13-2003, 06:37 PM
:evil: :evil: @#$%^ daaaaaaaaaaaaaaaaamn it the free for all options still show up and evrey thing else that is defult this really sux!!!!!!!!!!!!!

Just remove this from your voting cfg and it will be gone

"Friendly Fire" "set" list
{
"On" "g_teamdamage 1"
"Off" "g_teamdamage 0"
}

Man! You are good! I had to read that about 15 times before I could begin to translate it into english. Was he REALLY asking about team damage?no i was not talking about the friendly fire option i was talking bout every thing that is defult still shows up and the options i want removed are still there meaning its like i didnt mod it at all that sux cuz ill sit there mod a callvote.cfg into a pk3 and it dosnt show up the way i want to, it just stays the same :oops: :( :evil: :x

WarTech
03-14-2003, 02:28 PM
:evil: :evil: @#$%^ daaaaaaaaaaaaaaaaamn it the free for all options still show up and evrey thing else that is defult this really sux!!!!!!!!!!!!!

Just remove this from your voting cfg and it will be gone

"Friendly Fire" "set" list
{
"On" "g_teamdamage 1"
"Off" "g_teamdamage 0"
}

Man! You are good! I had to read that about 15 times before I could begin to translate it into english. Was he REALLY asking about team damage?no i was not talking about the friendly fire option i was talking bout every thing that is defult still shows up and the options i want removed are still there meaning its like i didnt mod it at all that sux cuz ill sit there mod a callvote.cfg into a pk3 and it dosnt show up the way i want to, it just stays the same :oops: :( :evil: :x

Ok lets see if I can help you, If you create it a User-Callvote.Pk3 file and dropped it in you Mainta for Spearhead or Main for your Allied Assault it should work; unless you have other Pak files with similar files in them. It will not know which one to use. If so them take them out and just leave the Callvote.cfg Pk3 and test it. If you continue to have the same problem please contact me at twzfragzone@hotmail.com and I will try to assist you by creating a tailored one for you.

ClickBouyow
03-14-2003, 03:01 PM
Is there any way to vote for weapons. Say, I want to turn off the MGz but allow the player to vote. Is that possible?

WarTech
03-15-2003, 01:02 AM
Is there any way to vote for weapons. Say, I want to turn off the MGz but allow the player to vote. Is that possible?

Sorry I dont think that there is a way to do this unless someone comes out with a script to do it.

Nocturnal
03-16-2003, 12:11 AM
:D :) :o 8O 8) :D :P ;) :!: :!: :D 8) :D
i did it i did it!
i've been doin it the way i want because of 2 resons im not sopouse to drag and drop the cfg file in the pak window i was sopouse to import the file instead. 2, a custom malta map had a call vote in the pk3 file so i deleted that file but by default i still have the malta map becasue of the new 2.15 update patch it seems like it add that map in for defult use cuz you know b4 2.11 patch it was not in the game any ways i got it to work thanx 4 all your help guys so the way i wanted to do it was the right way but how i was doin it was wrong and i added new options to it! that has nothing to do with playing the game it lets you see my server ip tee hee :D

Nocturnal
03-16-2003, 12:12 AM
:D :) :o 8O 8) :D :P ;) :!: :!: :D 8) :D
i did it i did it!
i've been doin it the way i want because of 2 resons im not sopouse to drag and drop the cfg file in the pak window i was sopouse to import the file instead. 2, a custom malta map had a call vote in the pk3 file so i deleted that file but by default i still have the malta map becasue of the new 2.15 update patch it seems like it add that map in for defult use cuz you know b4 2.11 patch it was not in the game any ways i got it to work thanx 4 all your help guys so the way i wanted to do it was the right way but how i was doin it was wrong and i added new options to it! that has nothing to do with playing the game it lets you see my server ip tee hee :D

Nocturnal
03-16-2003, 08:13 PM
8) :D
if you notice i changed my name its still me joser916

GaSplat
03-17-2003, 06:42 PM
Is there any way to vote for weapons. Say, I want to turn off the MGz but allow the player to vote. Is that possible?

Sorry I dont think that there is a way to do this unless someone comes out with a script to do it.

I think its worse than that. The weapon values are read on server load up from the tik files. To my knowledge, there is no way to then change them or their availability (the mods I have seen that remove weapons either blank the weapon out completely or simply give it no ammo or no damage). In any event, you have to restart the game server to change those values, and between restarts, you have to add or remove pk3s to change the values. Kinda tough to move files in or out of the server's directory from within the game. In fact, on Windows servers you can't remove them as long as the server is running (haven't tried it with Linux).

Someone made a comment about multiple pk3s having the same files in them and the server not knowing which to use. Not true. The server loads the pk3s alphabetically by name. Last one in wins. This means if I mod the weapons tik files and put them in a file called "myweapons.pk3", it will have no effect. The versions in the pak1.pk3 or pak3.pk3 will overwrite them because the server uses the last version it loads. That's why so many user mods are named zz_MyMode.pk3. The leading zz's put them after the standard files, ensuring their versions are the ones the game uses.

Nocturnal
03-18-2003, 06:54 PM
Is there any way to vote for weapons. Say, I want to turn off the MGz but allow the player to vote. Is that possible? try useing this it works fine all i did was removed the // from the list

"Disallow Weapon" "Disallow Weapon" list
{
"Rifle" "g_weapon_rifle 0"
"Sniper Rifle" "g_weapon_sniper 0"
"Submachinegun" "g_weapon_smg 0"
"Machinegun" "g_weapon_mg 0"
"Rocket Launcher" "g_weapon_rocket 0"
"Shotgun" "g_weapon_shotgun 0"
}

"Allow Weapon" "Allow Weapon" list
{
"Rifle" "g_weapon_rifle 1"
"Sniper Rifle" "g_weapon_sniper 1"
"Submachinegun" "g_weapon_smg 1"
"Machinegun" "g_weapon_mg 1"
"Rocket Launcher" "g_weapon_rocket 1"
"Shotgun" "g_weapon_shotgun 1"
}

"Only One Weapon" "Only One Weapon" list
{
"Rifle" "g_weapon_rifle 1;g_weapon_sniper 0;g_weapon_smg 0;g_weapon_mg 0;g_weapon_rocket 0;g_weapon_shotgun 0"
"Sniper Rifle" "g_weapon_rifle 0;g_weapon_sniper 1;g_weapon_smg 0;g_weapon_mg 0;g_weapon_rocket 0;g_weapon_shotgun 0"
"Submachinegun" "g_weapon_rifle 0;g_weapon_sniper 0;g_weapon_smg 1;g_weapon_mg 0;g_weapon_rocket 0;g_weapon_shotgun 0"
"Machinegun" "g_weapon_rifle 0;g_weapon_sniper 0;g_weapon_smg 0;g_weapon_mg 1;g_weapon_rocket 0;g_weapon_shotgun 0"
"Rocket Launcher" "g_weapon_rifle 0;g_weapon_sniper 0;g_weapon_smg 0;g_weapon_mg 0;g_weapon_rocket 1;g_weapon_shotgun 0"
"Shotgun" "g_weapon_rifle 0;g_weapon_sniper 0;g_weapon_smg 0;g_weapon_mg 0;g_weapon_rocket 0;g_weapon_shotgun 1"
}

GaSplat
03-18-2003, 10:57 PM
Those cvars work now? If so, that's pretty cool. Something else they did in 2.15?

Nocturnal
03-19-2003, 12:52 AM
Those cvars work now? If so, that's pretty cool. Something else they did in 2.15? umh no its allways been there since the game came out all i did is removed the // from the list

Nocturnal
03-19-2003, 12:55 AM
heres my callvote ill add the newer maps later try it out if you whant too...

// callvote options script
//-------------------------
// This is a server-side file that is used to specify what things can be voted for,
// and what the valid voting options for them are. The options clients are allowed
// to do a callvote on are determined by the settings in this file on the server.

// the format is as follows:
// "Option Name" "Command" <Type>
// {
// "Choice Name 1" "VoteString1"
// "Choice Name 2" "VoteString2"
// ...
// }

// "Option Name" is the name that will be displayed for that voting option.
// Command is the command that a change will be voted for.
// <Type> is an optional parameter specifying what kind of option it is
// Valid option types are:
// - "nochoices" : Provides no additional choices are info entry, it just is. (default)
// - "list" : Provides a list of choices for the option
// - "text" : Pops up a text entry window for the option
// - "integer" : Pops up an integer number entry window for the option
// - "float" : Pops up a floating point number entry window for the option
// - "client" : Pops up a list of players in the game for the option
// - "clientnotself" : Pops up a list of other players in the game for the option
// { and } specify the begining and end of a list of choices for a voting
// option. No list should be specified for any type besides list.

"RaV Clans Call Vote Menu" "rav clans call vote menu" nochoices

"Team-Match Map" "g_gametype" list
{
"Malta - dm/MP_Malta_DM" "2; map dm/MP_Malta_DM"
"Bahnhof - dm/MP_Bahnhof_DM" "2; map dm/MP_Bahnhof_DM"
"Bazaar - dm/MP_Bazaar_DM" "2; map dm/MP_Bazaar_DM"
"Brest - dm/MP_Brest_DM" "2; map dm/MP_Brest_DM"
"Holland - dm/MP_Holland_DM" "2; map dm/MP_Holland_DM"
"Stadt - dm/MP_Stadt_DM" "2; map dm/MP_Stadt_DM"
"Gewitter - dm/MP_Gewitter_DM" "2; map dm/MP_Gewitter_DM"
"Unterseite - dm/MP_Unterseite_DM" "2; map dm/MP_Unterseite_DM"
"Verschneit - dm/MP_Verschneit_DM" "2; map dm/MP_Verschneit_DM"
"Southern France - dm/mohdm1" "2; map dm/mohdm1"
"Destroyed Village - dm/mohdm2" "2; map dm/mohdm2"
"Remagen - dm/mohdm3" "2; map dm/mohdm3"
"The Crossroads - dm/mohdm4" "2; map dm/mohdm4"
"Snowy Park - dm/mohdm5" "2; map dm/mohdm5"
"Stalingrad - dm/mohdm6" "2; map dm/mohdm6"
"Algiers - dm/mohdm7" "2; map dm/mohdm7"
"Ardennes - obj/MP_Ardennes_TOW" "2;map obj/MP_Ardennes_TOW"
"Berlin - obj/MP_Berlin_TOW" "2;map obj/MP_Berlin_TOW"
"Druckkammern - obj/MP_Druckkammern_TOW" "2;map obj/MP_Druckkammern_TOW"
"Flughafen - obj/MP_Flughafen_TOW" "2;map obj/MP_Flughafen_TOW"
}

//"Next Map" "nextmap" nochoices

"Friendly Fire" "set" list
{
"On" "g_teamdamage 1"
"Off" "g_teamdamage 0"
}

"Allow Spectator Chat To All" "set" list
{
"On" "g_spectate_allow_full_chat 1"
"Off" "g_spectate_allow_full_chat 0"
}

"Kick Client" "clientkick" clientnotself

"Download New Maps From www.freewebs.com/RaVClan" "download new maps from www.freewebs.com/ravclan" nochoices

"www.freewebs.com/RaVClan" "www.freewebs.com/ravclan" nochoices

"Server IP 12.246.73.122:12203" "server ip 12.246.73.122:12203" nochoices

elgaucho
04-08-2003, 06:53 PM
nice post, wartech!! :)

useful system that, using map rotations for votes! One question, though:

Will this work in conjunction with vstr nextmap aliasing? (http://www.mohadmin.com/nuke/modules.php?name=Forums&file=viewtopic&t=1591)

i.e.:will this pick a single tdm map and then return to a tow map, for example, on a mixmap rotation?
"> Pick Spearhead Stock Map" "g_gametype" list //here you pick one map and whe it finish playing the game returns to the previous map rotation or game type.
(Edit:)
I've just tested this and it doesn't work, as it is still set to the previous gametype. anyone think of any way to get around this?

My mixmap config: (relevant part)
set x1 "set nextmap vstr x2;timelimit 0; fraglimit 5; g_realismmode 0; g_gametype 5; map obj/MP_Druckkammern_TOW"
set x2 "set nextmap vstr x3;timelimit 20; fraglimit 200; g_realismmode 0; g_gametype 2; map dm/MP_Gewitter_dm"
set x3 "set nextmap vstr x4;timelimit 20; fraglimit 200; g_realismmode 0; g_gametype 2; map dm/MP_Bahnhof_dm"
set x4 "set nextmap vstr x5;timelimit 0; fraglimit 5;g_realismmode 0; g_gametype 5; map obj/MP_Ardennes_TOW"
set x5 "set nextmap vstr x6;timelimit 20; fraglimit 200; g_realismmode 0; g_gametype 2; map dm/MP_Malta_dm"
set x6 "set nextmap vstr x7;timelimit 20; fraglimit 200; g_realismmode 0; g_gametype 2; map dm/MP_stadt_dm"
set x7 "set nextmap vstr x8;timelimit 20; fraglimit 0; g_realismmode 0; g_gametype 4; map obj/obj_team2"
set x8 "set nextmap vstr x9;timelimit 15; fraglimit 200; g_realismmode 0; g_gametype 2; map dm/MP_Holland_dm"
set x9 "set nextmap vstr x10;timelimit 20; fraglimit 200; g_realismmode 0; g_gametype 2; map dm/MP_Brest_dm"
set x10 "set nextmap vstr x11;timelimit 20; fraglimit 0; g_realismmode 0; g_gametype 4; map obj/obj_team1"
set x11 "set nextmap vstr x12;timelimit 0; fraglimit 5; g_realismmode 0; g_gametype 5; map obj/MP_Berlin_TOW"
set x12 "set nextmap vstr x13;timelimit 20; fraglimit 200; g_realismmode 0; g_gametype 2; map dm/MP_Bazaar_dm"
set x13 "set nextmap vstr x14;timelimit 20; fraglimit 200; g_realismmode 0; g_gametype 2; map dm/MP_Verschneit_dm"
set x14 "set nextmap vstr x15;timelimit 20; fraglimit 2; g_realismmode 0; g_gametype 4; map obj/obj_team3"
set x15 "set nextmap vstr x16;timelimit 15; fraglimit 200; g_realismmode 0; g_gametype 2; map dm/MP_Unterseite_dm"
set x16 "set nextmap vstr x1;timelimit 20; fraglimit 0; g_realismmode 0; g_gametype 4; map obj/obj_team4"

vstr x1 // Startup first map ...

ui_maplist_team "obj/MP_Druckkammern_TOW dm/MP_Gewitter_dm dm/MP_Bahnhof_dm obj/mp_ardennes_tow dm/MP_Malta_dm dm/MP_stadt_dm obj/obj_team2 dm/MP_Holland_dm dm/MP_Brest_dm obj/obj_team1 obj/MP_Berlin_TOW dm/MP_Bazaar_dm dm/MP_Verschneit_dm obj/obj_team3 dm/MP_Unterseite_dm obj/obj_team4"

Can i set it to run the relevant variable (x1, x5)?

And does anyone know how i would go about adding a nextmap vote to recognise the rotation.cfg and skip to the next map?

I apologise now if these are noob questions, but i've only been doing this a couple of days since i was made admin of the server i play on... :oops:

Cheers!

elgaucho
04-08-2003, 09:22 PM
Oh! and one more thing: The votes to allow or disallow weapons are in the callvote.cfg

If i were to allow voting to disable the rocket, could i then set a variable in the map list above to reactivate it, say every 2nd/3rd round? do i just add "g_weapon_rocket 1" to the line?

So it would be:
set x6 "set nextmap vstr x7;timelimit 20; fraglimit 200; g_weapon_rocket 1; g_realismmode 0; g_gametype 2; map dm/MP_stadt_dm"

Or would that not work? I'll try, in any case, but it seems a valid alternative to removing it altogether due to complaints (as i'm loathe to do, despite hating it), while allowing the potential majority who wishes to play without it to have a few rounds of "peace and quiet"! :P

WarTech
04-09-2003, 01:03 PM
Oh! and one more thing: The votes to allow or disallow weapons are in the callvote.cfg

If i were to allow voting to disable the rocket, could i then set a variable in the map list above to reactivate it, say every 2nd/3rd round? do i just add "g_weapon_rocket 1" to the line?

So it would be:
set x6 "set nextmap vstr x7;timelimit 20; fraglimit 200; g_weapon_rocket 1; g_realismmode 0; g_gametype 2; map dm/MP_stadt_dm"

Or would that not work? I'll try, in any case, but it seems a valid alternative to removing it altogether due to complaints (as i'm loathe to do, despite hating it), while allowing the potential majority who wishes to play without it to have a few rounds of "peace and quiet"! :P


The weapons voting does not work even if you enable them. You can vote on them be they dont take effect.

WarTech
04-09-2003, 01:12 PM
nice post, wartech!! :)

ui_maplist_team "obj/MP_Druckkammern_TOW dm/MP_Gewitter_dm dm/MP_Bahnhof_dm obj/mp_ardennes_tow dm/MP_Malta_dm dm/MP_stadt_dm obj/obj_team2 dm/MP_Holland_dm dm/MP_Brest_dm obj/obj_team1 obj/MP_Berlin_TOW dm/MP_Bazaar_dm dm/MP_Verschneit_dm obj/obj_team3 dm/MP_Unterseite_dm obj/obj_team4"



This part of your CFG will control the game as to where it suppose to pick up and continue after you finished a single map that was vote it in. You should be able to copy all your rotion into it and then when someone plays a game, map that was not part of the rotation it should go back and pick up where it left off.

Good luck.

littledave
04-21-2003, 08:05 PM
I am a bit confused with all this i have tried various way to pick a map to play but after the map selected it returns to a map rotation that i havent specified.

My server.cfg map rotation is

seta sv_maplist "dm/MP_Bahnhof_DM dm/MP_Brest_DM dm/MP_Holland_DM dm/MP_Malta_DM dm/garage10 dm/dmarena-nightbattle"
Map dm/dmarena-nightbattle

But after playing the chosen ffa map it then goes onto a dm/mp rotation of stock spearhead maps

WarTech
04-21-2003, 08:16 PM
I am a bit confused with all this i have tried various way to pick a map to play but after the map selected it returns to a map rotation that i havent specified.

My server.cfg map rotation is

seta sv_maplist "dm/MP_Bahnhof_DM dm/MP_Brest_DM dm/MP_Holland_DM dm/MP_Malta_DM dm/garage10 dm/dmarena-nightbattle"
Map dm/dmarena-nightbattle

But after playing the chosen ffa map it then goes onto a dm/mp rotation of stock spearhead maps

Add this line at the top of your server.cfg

set ui_maplist_team "dm/MP_Bahnhof_DM dm/MP_Brest_DM dm/MP_Holland_DM dm/MP_Malta_DM dm/garage10 dm/dmarena-nightbattle"

littledave
04-22-2003, 12:30 PM
i have just tried that but it doesnt work. Here is the callvote.cfg im using

// callvote options script
//-------------------------
// This is a server-side file that is used to specify what things can be voted for,
// and what the valid voting options for them are. The options clients are allowed
// to do a callvote on are determined by the settings in this file on the server.

// the format is as follows:
// "Option Name" "Command" <Type>
// {
// "Choice Name 1" "VoteString1"
// "Choice Name 2" "VoteString2"
// ...
// }

// "Option Name" is the name that will be displayed for that voting option.
// Command is the command that a change will be voted for.
// <Type> is an optional parameter specifying what kind of option it is
// Valid option types are:
// - "nochoices" : Provides no additional choices are info entry, it just is. (default)
// - "list" : Provides a list of choices for the option
// - "text" : Pops up a text entry window for the option
// - "integer" : Pops up an integer number entry window for the option
// - "float" : Pops up a floating point number entry window for the option
// - "client" : Pops up a list of players in the game for the option
// - "clientnotself" : Pops up a list of other players in the game for the option
// { and } specify the begining and end of a list of choices for a voting
// option. No list should be specified for any type besides list.


"> Pick TWZ Custom Map" "g_gametype" list //here you pick one map and whe it finish playing the game returns to the previous map rotation or game type.
{
"Arena" "1; map dm/dmarena-nightbattle"
"Bahnhof - dm/MP_Bahnhof_DM" "1; map dm/MP_Bahnhof_DM"
"Bazaar - dm/MP_Bazaar_DM" "1; map dm/MP_Bazaar_DM"
"Brest - dm/MP_Brest_DM" "1; map dm/MP_Brest_DM"
"Holland - dm/MP_Holland_DM" "1; map dm/MP_Holland_DM"
"Stadt - dm/MP_Stadt_DM" "1; map dm/MP_Stadt_DM"
"Gewitter - dm/MP_Gewitter_DM" "1; map dm/MP_Gewitter_DM"
"Unterseite - dm/MP_Unterseite_DM" "1; map dm/MP_Unterseite_DM"
"Verschneit - dm/MP_Verschneit_DM" "1; map dm/MP_Verschneit_DM"
"Southern France - dm/mohdm1" "1; map dm/mohdm1"
"Destroyed Village - dm/mohdm2" "1; map dm/mohdm2"
"Remagen - dm/mohdm3" "1; map dm/mohdm3"
"The Crossroads - dm/mohdm4" "1; map dm/mohdm4"
"Snowy Park - dm/mohdm5" "1; map dm/mohdm5"
"Stalingrad - dm/mohdm6" "1; map dm/mohdm6"
"Algiers - dm/mohdm7" "1; map dm/mohdm7"
"Ardennes - obj/MP_Ardennes_TOW" "1;map obj/MP_Ardennes_TOW"
"Berlin - obj/MP_Berlin_TOW" "1;map obj/MP_Berlin_TOW"
"Druckkammern - obj/MP_Druckkammern_TOW" "1;map obj/MP_Druckkammern_TOW"
"Flughafen - obj/MP_Flughafen_TOW" "1;map obj/MP_Flughafen_TOW"
}

//"Free-For-All Map" "g_gametype" list
//{
// "Bahnhof - dm/MP_Bahnhof_DM" "1; map dm/MP_Bahnhof_DM"
// "Bazaar - dm/MP_Bazaar_DM" "1; map dm/MP_Bazaar_DM"
// "Brest - dm/MP_Brest_DM" "1; map dm/MP_Brest_DM"
// "Holland - dm/MP_Holland_DM" "1; map dm/MP_Holland_DM"
// "Stadt - dm/MP_Stadt_DM" "1; map dm/MP_Stadt_DM"
// "Gewitter - dm/MP_Gewitter_DM" "1; map dm/MP_Gewitter_DM"
// "Unterseite - dm/MP_Unterseite_DM" "1; map dm/MP_Unterseite_DM"
// "Verschneit - dm/MP_Verschneit_DM" "1; map dm/MP_Verschneit_DM"
// "Southern France - dm/mohdm1" "1; map dm/mohdm1"
// "Destroyed Village - dm/mohdm2" "1; map dm/mohdm2"
// "Remagen - dm/mohdm3" "1; map dm/mohdm3"
// "The Crossroads - dm/mohdm4" "1; map dm/mohdm4"
// "Snowy Park - dm/mohdm5" "1; map dm/mohdm5"
// "Stalingrad - dm/mohdm6" "1; map dm/mohdm6"
// "Algiers - dm/mohdm7" "1; map dm/mohdm7"
// "Ardennes - obj/MP_Ardennes_TOW" "1;map obj/MP_Ardennes_TOW"
// "Berlin - obj/MP_Berlin_TOW" "1;map obj/MP_Berlin_TOW"
// "Druckkammern - obj/MP_Druckkammern_TOW" "1;map obj/MP_Druckkammern_TOW"
// "Flughafen - obj/MP_Flughafen_TOW" "1;map obj/MP_Flughafen_TOW"
//}

//"Default Map Rotation" "set" list
//{
//"On" "g_gametype 1; exec rotation.cfg" //hereI create it a cfg file with //my server map rotations to be ran on one request.
//"Off" "vote n"
//}

//"Team-Match Map" "g_gametype" list
//{
// "Bahnhof - dm/MP_Bahnhof_DM" "2; map dm/MP_Bahnhof_DM"
// "Bazaar - dm/MP_Bazaar_DM" "2; map dm/MP_Bazaar_DM"
// "Brest - dm/MP_Brest_DM" "2; map dm/MP_Brest_DM"
// "Holland - dm/MP_Holland_DM" "2; map dm/MP_Holland_DM"
// "Stadt - dm/MP_Stadt_DM" "2; map dm/MP_Stadt_DM"
// "Gewitter - dm/MP_Gewitter_DM" "2; map dm/MP_Gewitter_DM"
// "Unterseite - dm/MP_Unterseite_DM" "2; map dm/MP_Unterseite_DM"
// "Verschneit - dm/MP_Verschneit_DM" "2; map dm/MP_Verschneit_DM"
// "Southern France - dm/mohdm1" "2; map dm/mohdm1"
// "Destroyed Village - dm/mohdm2" "2; map dm/mohdm2"
// "Remagen - dm/mohdm3" "2; map dm/mohdm3"
// "The Crossroads - dm/mohdm4" "2; map dm/mohdm4"
// "Snowy Park - dm/mohdm5" "2; map dm/mohdm5"
// "Stalingrad - dm/mohdm6" "2; map dm/mohdm6"
// "Algiers - dm/mohdm7" "2; map dm/mohdm7"
// "Ardennes - obj/MP_Ardennes_TOW" "2;map obj/MP_Ardennes_TOW"
// "Berlin - obj/MP_Berlin_TOW" "2;map obj/MP_Berlin_TOW"
// "Druckkammern - obj/MP_Druckkammern_TOW" "2;map obj/MP_Druckkammern_TOW"
// "Flughafen - obj/MP_Flughafen_TOW" "2;map obj/MP_Flughafen_TOW"
//}

//"Round-Based-Match Map" "g_gametype" list
//{
// "Bahnhof - dm/MP_Bahnhof_DM" "3; map dm/MP_Bahnhof_DM"
// "Bazaar - dm/MP_Bazaar_DM" "3; map dm/MP_Bazaar_DM"
// "Brest - dm/MP_Brest_DM" "3; map dm/MP_Brest_DM"
// "Holland - dm/MP_Holland_DM" "3; map dm/MP_Holland_DM"
// "Stadt - dm/MP_Stadt_DM" "3; map dm/MP_Stadt_DM"
// "Gewitter - dm/MP_Gewitter_DM" "3; map dm/MP_Gewitter_DM"
// "Unterseite - dm/MP_Unterseite_DM" "3; map dm/MP_Unterseite_DM"
// "Verschneit - dm/MP_Verschneit_DM" "3; map dm/MP_Verschneit_DM"
// "Southern France - dm/mohdm1" "3; map dm/mohdm1"
// "Destroyed Village - dm/mohdm2" "3; map dm/mohdm2"
// "Remagen - dm/mohdm3" "3; map dm/mohdm3"
// "The Crossroads - dm/mohdm4" "3; map dm/mohdm4"
// "Snowy Park - dm/mohdm5" "3; map dm/mohdm5"
// "Stalingrad - dm/mohdm6" "3; map dm/mohdm6"
// "Algiers - dm/mohdm7" "3; map dm/mohdm7"
// "Ardennes - obj/MP_Ardennes_TOW" "3;map obj/MP_Ardennes_TOW"
// "Berlin - obj/MP_Berlin_TOW" "3;map obj/MP_Berlin_TOW"
// "Druckkammern - obj/MP_Druckkammern_TOW" "3;map obj/MP_Druckkammern_TOW"
// "Flughafen - obj/MP_Flughafen_TOW" "3;map obj/MP_Flughafen_TOW"
//}

// Loads an objective map and makes sure the game is in objective mode
//"Objective Map" "g_gametype" list
//{
// "The Hunt - obj/obj_team1" "4;map obj/obj_team1"
// "V2 Rocket Facility - obj/obj_team2" "4;map obj/obj_team2"
// "Omaha Beach - obj/obj_team3" "4;map obj/obj_team3"
// "The Bridge - obj/obj_team4" "4;map obj/obj_team4"
//}

// Loads an objective map and makes sure the game is in objective mode
//"Tug-of-War Map" "g_gametype" list
//{
// "Ardennes - obj/MP_Ardennes_TOW" "5;map obj/MP_Ardennes_TOW"
// "Berlin - obj/MP_Berlin_TOW" "5;map obj/MP_Berlin_TOW"
// "Druckkammern - obj/MP_Druckkammern_TOW" "5;map obj/MP_Druckkammern_TOW"
// "Flughafen - obj/MP_Flughafen_TOW" "5;map obj/MP_Flughafen_TOW"
//}

//"Next Map" "nextmap" nochoices

//"Disallow Weapon" "" list
//{
// "Rifle" "g_weapon_rifle 0"
// "Sniper Rifle" "g_weapon_sniper 0"
// "Submachinegun" "g_weapon_smg 0"
// "Machinegun" "g_weapon_mg 0"
// "Rocket Launcher" "g_weapon_rocket 0"
// "Shotgun" "g_weapon_shotgun 0"
//}

//"Allow Weapon" "" list
//{
// "Rifle" "g_weapon_rifle 1"
// "Sniper Rifle" "g_weapon_sniper 1"
// "Submachinegun" "g_weapon_smg 1"
// "Machinegun" "g_weapon_mg 1"
// "Rocket Launcher" "g_weapon_rocket 1"
// "Shotgun" "g_weapon_shotgun 1"
//}

//"Only One Weapon" "" list
//{
// "Rifle" "g_weapon_rifle 1;g_weapon_sniper 0;g_weapon_smg 0;g_weapon_mg 0;g_weapon_rocket 0;g_weapon_shotgun 0"
// "Sniper Rifle" "g_weapon_rifle 0;g_weapon_sniper 1;g_weapon_smg 0;g_weapon_mg 0;g_weapon_rocket 0;g_weapon_shotgun 0"
// "Submachinegun" "g_weapon_rifle 0;g_weapon_sniper 0;g_weapon_smg 1;g_weapon_mg 0;g_weapon_rocket 0;g_weapon_shotgun 0"
// "Machinegun" "g_weapon_rifle 0;g_weapon_sniper 0;g_weapon_smg 0;g_weapon_mg 1;g_weapon_rocket 0;g_weapon_shotgun 0"
// "Rocket Launcher" "g_weapon_rifle 0;g_weapon_sniper 0;g_weapon_smg 0;g_weapon_mg 0;g_weapon_rocket 1;g_weapon_shotgun 0"
// "Shotgun" "g_weapon_rifle 0;g_weapon_sniper 0;g_weapon_smg 0;g_weapon_mg 0;g_weapon_rocket 0;g_weapon_shotgun 1"
//}

//"Allow All Weapons" "g_weapon_rifle 1;g_weapon_sniper 1;g_weapon_smg 1;g_weapon_mg 1;g_weapon_rocket 1;g_weapon_shotgun 1" nochoices

"Health Drop" "set" list
{
"On" "g_healthdrop 1"
"Off" "g_healthdrop 0"
}

"Realistic Mode" "set" list
{
"On" "g_realismmode 1;reloadmap"
"Off" "g_realismmode 0;reloadmap"
}

"Friendly Fire" "set" list
{
"On" "g_teamdamage 1"
"Off" "g_teamdamage 0"
}

"Score Limit" "fraglimit" integer

"Time Limit" "timelimit" integer

"Allow Spectator Chat To All" "set" list
{
"On" "g_spectate_allow_full_chat 1"
"Off" "g_spectate_allow_full_chat 0"
}

"Kick Client" "clientkick" clientnotself

"Heal Rate" "set" list
{
"Instant" "g_healrate 0"
"5 per Second" "g_healrate 5"
"10 per Second" "g_healrate 10"
"20 per Second" "g_healrate 20"
}

"Team Spawn Delay" "set" list
{
"0 Seconds" "sv_team_spawn_interval 0"
"5 Seconds" "sv_team_spawn_interval 5"
"10 Seconds" "sv_team_spawn_interval 10"
"15 Seconds" "sv_team_spawn_interval 15"
"20 Seconds" "sv_team_spawn_interval 20"
"25 Seconds" "sv_team_spawn_interval 25"
"30 Seconds" "sv_team_spawn_interval 30"
"45 Seconds" "sv_team_spawn_interval 45"
"60 Seconds" "sv_team_spawn_interval 60"
}

and i have put what you suggested in my server.cfg file too. here is what that looks like

///////////////////////////////////////////////////////////////
// Spearhead Server Configuration File
///////////////////////////////////////////////////////////////
// File Created by: Spearhead Runner 1.0.6
// File Created On: 22 April 2003 at 00:37:31
// Developed By: Aphextwin@gamerunners.com
///////////////////////////////////////////////////////////////
// This file is automatically executed by moh_spearhead_server.exe
///////////////////////////////////////////////////////////////

sets ".Configured By" "Spearhead Runner: 1.0.6"
sets ".Online Since" "22/04/2003 00:37:31"

set ui_maplist_team "dm/MP_Bahnhof_DM dm/MP_Brest_DM dm/MP_Holland_DM dm/MP_Malta_DM dm/garage10 dm/dmarena-nightbattle"

seta g_motd "Hosted by www.littledave.net"
sets "Config File" "Spearhead"
seta sv_hostname "www.littledave.net [Spearhead]"
sets "Admin" "littledave"
sets "Admin E-Mail" "littledave@littledave.net"
sets "Location" "UK"
sets "URL" "www.littledave.net"
sets "Server Spec" "Shuttle SN41G2 MP1600"
sets "Hours" "When Required"
seta g_password ""
seta rconPassword ""
seta sv_privatePassword ""

seta sv_maxclients "10"
seta sv_privateClients "10"
seta sv_invulnerabletime "10"
seta g_respawnInterval "10"
seta sv_maxPing "500"
seta sv_minPing "0"
seta sv_maxRate "6000"
seta sv_fps "20"
seta sv_reconnectlimit "8"
seta g_maxGameClients "0"
seta g_minGameClients "0"
seta sv_zombietime "30"
seta g_allowjointime "30"
seta g_inactivity "320"
seta sv_timeout "200"
seta g_inactiveSpectate "120"
seta g_inactiveKick "0"

seta g_allowvote "1"
seta sv_allowDownload "0"
seta sv_allowAnonymous "1"
seta g_doWarmup "1"
seta sv_flood_waitdelay "10"
seta sv_flood_persecond "4"
seta g_teamdamage "1"
seta g_teamForceBalance "1"
seta g_teamAutoJoin "1"
seta g_synchronousclients "1"
seta g_adaptrespawn "1"
seta g_smoothClients "1"
seta sv_padPackets "1"
seta sv_gamespy "1"
seta g_forceready "1"
seta g_forcerespawn "1"
seta sv_noforcemodels "0"
seta sv_sprinton "1"
seta g_healthdrop "1"
seta g_realismmode "1"
seta g_forceteamspectate "1"

// Master Servers
seta sv_master1 "mohmaster.2015.com"
seta sv_master2 "master0.gamespy.com"
seta sv_master3 "master1.gamespy.com"
seta sv_master4 "clanservers.net"
seta sv_master5 ""

//Logging
seta logfile "3"
seta g_log "q3console.log"
seta g_logSync "1"
seta developer "1"
seta chat "1"
seta sv_chatter "1"

// Movement
seta sv_timeout "320"
seta sv_walkspeed "150"
seta sv_runspeed "287"
seta sv_crouchmult "1"
seta g_healrate "10"
seta sv_team_spawn_interval "15"
seta g_teamkillwarn "3"
seta g_teamkillkick "15"
seta g_teamswitchdelay "15"

seta dmflags "1835008" // 8 (no falling damage) 16 (fixed FOV) 32 (no footsteps)

//Game Limits
seta fraglimit "0"
seta timelimit "1"
seta roundlimit "0"
seta maprotationtime "30"



//----------------
//#### THE FOLLOWING KICKS THE SERVER INTO GEAR ####
//----------------

net_restart
seta sv_maplist "dm/MP_Bahnhof_DM dm/MP_Brest_DM dm/MP_Holland_DM dm/MP_Malta_DM dm/garage10 dm/dmarena-nightbattle"
Map dm/dmarena-nightbattle

// Additional Configs


//-- Commandline Information --//
// ZoneMegs = 16
// HunkMegs = 56
// SoundMegs = 16
// IP =
// Port = 12203
//-- --//

//EOF


Apologise for such a long post but is doing my brain in now. 8O

WarTech
04-24-2003, 03:20 PM
i have just tried that but it doesnt work. Here is the callvote.cfg im using

// callvote options script
//-------------------------
// This is a server-side file that is used to specify what things can be voted for,
// and what the valid voting options for them are. The options clients are allowed
// to do a callvote on are determined by the settings in this file on the server.

// the format is as follows:
// "Option Name" "Command" <Type>
// {
// "Choice Name 1" "VoteString1"
// "Choice Name 2" "VoteString2"
// ...
// }

// "Option Name" is the name that will be displayed for that voting option.
// Command is the command that a change will be voted for.
// <Type> is an optional parameter specifying what kind of option it is
// Valid option types are:
// - "nochoices" : Provides no additional choices are info entry, it just is. (default)
// - "list" : Provides a list of choices for the option
// - "text" : Pops up a text entry window for the option
// - "integer" : Pops up an integer number entry window for the option
// - "float" : Pops up a floating point number entry window for the option
// - "client" : Pops up a list of players in the game for the option
// - "clientnotself" : Pops up a list of other players in the game for the option
// { and } specify the begining and end of a list of choices for a voting
// option. No list should be specified for any type besides list.


"> Pick TWZ Custom Map" "g_gametype" list //here you pick one map and whe it finish playing the game returns to the previous map rotation or game type.
{
"Arena" "1; map dm/dmarena-nightbattle"
"Bahnhof - dm/MP_Bahnhof_DM" "1; map dm/MP_Bahnhof_DM"
"Bazaar - dm/MP_Bazaar_DM" "1; map dm/MP_Bazaar_DM"
"Brest - dm/MP_Brest_DM" "1; map dm/MP_Brest_DM"
"Holland - dm/MP_Holland_DM" "1; map dm/MP_Holland_DM"
"Stadt - dm/MP_Stadt_DM" "1; map dm/MP_Stadt_DM"
"Gewitter - dm/MP_Gewitter_DM" "1; map dm/MP_Gewitter_DM"
"Unterseite - dm/MP_Unterseite_DM" "1; map dm/MP_Unterseite_DM"
"Verschneit - dm/MP_Verschneit_DM" "1; map dm/MP_Verschneit_DM"
"Southern France - dm/mohdm1" "1; map dm/mohdm1"
"Destroyed Village - dm/mohdm2" "1; map dm/mohdm2"
"Remagen - dm/mohdm3" "1; map dm/mohdm3"
"The Crossroads - dm/mohdm4" "1; map dm/mohdm4"
"Snowy Park - dm/mohdm5" "1; map dm/mohdm5"
"Stalingrad - dm/mohdm6" "1; map dm/mohdm6"
"Algiers - dm/mohdm7" "1; map dm/mohdm7"
"Ardennes - obj/MP_Ardennes_TOW" "1;map obj/MP_Ardennes_TOW"
"Berlin - obj/MP_Berlin_TOW" "1;map obj/MP_Berlin_TOW"
"Druckkammern - obj/MP_Druckkammern_TOW" "1;map obj/MP_Druckkammern_TOW"
"Flughafen - obj/MP_Flughafen_TOW" "1;map obj/MP_Flughafen_TOW"
}

//"Free-For-All Map" "g_gametype" list
//{
// "Bahnhof - dm/MP_Bahnhof_DM" "1; map dm/MP_Bahnhof_DM"
// "Bazaar - dm/MP_Bazaar_DM" "1; map dm/MP_Bazaar_DM"
// "Brest - dm/MP_Brest_DM" "1; map dm/MP_Brest_DM"
// "Holland - dm/MP_Holland_DM" "1; map dm/MP_Holland_DM"
// "Stadt - dm/MP_Stadt_DM" "1; map dm/MP_Stadt_DM"
// "Gewitter - dm/MP_Gewitter_DM" "1; map dm/MP_Gewitter_DM"
// "Unterseite - dm/MP_Unterseite_DM" "1; map dm/MP_Unterseite_DM"
// "Verschneit - dm/MP_Verschneit_DM" "1; map dm/MP_Verschneit_DM"
// "Southern France - dm/mohdm1" "1; map dm/mohdm1"
// "Destroyed Village - dm/mohdm2" "1; map dm/mohdm2"
// "Remagen - dm/mohdm3" "1; map dm/mohdm3"
// "The Crossroads - dm/mohdm4" "1; map dm/mohdm4"
// "Snowy Park - dm/mohdm5" "1; map dm/mohdm5"
// "Stalingrad - dm/mohdm6" "1; map dm/mohdm6"
// "Algiers - dm/mohdm7" "1; map dm/mohdm7"
// "Ardennes - obj/MP_Ardennes_TOW" "1;map obj/MP_Ardennes_TOW"
// "Berlin - obj/MP_Berlin_TOW" "1;map obj/MP_Berlin_TOW"
// "Druckkammern - obj/MP_Druckkammern_TOW" "1;map obj/MP_Druckkammern_TOW"
// "Flughafen - obj/MP_Flughafen_TOW" "1;map obj/MP_Flughafen_TOW"
//}

//"Default Map Rotation" "set" list
//{
//"On" "g_gametype 1; exec rotation.cfg" //hereI create it a cfg file with //my server map rotations to be ran on one request.
//"Off" "vote n"
//}

//"Team-Match Map" "g_gametype" list
//{
// "Bahnhof - dm/MP_Bahnhof_DM" "2; map dm/MP_Bahnhof_DM"
// "Bazaar - dm/MP_Bazaar_DM" "2; map dm/MP_Bazaar_DM"
// "Brest - dm/MP_Brest_DM" "2; map dm/MP_Brest_DM"
// "Holland - dm/MP_Holland_DM" "2; map dm/MP_Holland_DM"
// "Stadt - dm/MP_Stadt_DM" "2; map dm/MP_Stadt_DM"
// "Gewitter - dm/MP_Gewitter_DM" "2; map dm/MP_Gewitter_DM"
// "Unterseite - dm/MP_Unterseite_DM" "2; map dm/MP_Unterseite_DM"
// "Verschneit - dm/MP_Verschneit_DM" "2; map dm/MP_Verschneit_DM"
// "Southern France - dm/mohdm1" "2; map dm/mohdm1"
// "Destroyed Village - dm/mohdm2" "2; map dm/mohdm2"
// "Remagen - dm/mohdm3" "2; map dm/mohdm3"
// "The Crossroads - dm/mohdm4" "2; map dm/mohdm4"
// "Snowy Park - dm/mohdm5" "2; map dm/mohdm5"
// "Stalingrad - dm/mohdm6" "2; map dm/mohdm6"
// "Algiers - dm/mohdm7" "2; map dm/mohdm7"
// "Ardennes - obj/MP_Ardennes_TOW" "2;map obj/MP_Ardennes_TOW"
// "Berlin - obj/MP_Berlin_TOW" "2;map obj/MP_Berlin_TOW"
// "Druckkammern - obj/MP_Druckkammern_TOW" "2;map obj/MP_Druckkammern_TOW"
// "Flughafen - obj/MP_Flughafen_TOW" "2;map obj/MP_Flughafen_TOW"
//}

//"Round-Based-Match Map" "g_gametype" list
//{
// "Bahnhof - dm/MP_Bahnhof_DM" "3; map dm/MP_Bahnhof_DM"
// "Bazaar - dm/MP_Bazaar_DM" "3; map dm/MP_Bazaar_DM"
// "Brest - dm/MP_Brest_DM" "3; map dm/MP_Brest_DM"
// "Holland - dm/MP_Holland_DM" "3; map dm/MP_Holland_DM"
// "Stadt - dm/MP_Stadt_DM" "3; map dm/MP_Stadt_DM"
// "Gewitter - dm/MP_Gewitter_DM" "3; map dm/MP_Gewitter_DM"
// "Unterseite - dm/MP_Unterseite_DM" "3; map dm/MP_Unterseite_DM"
// "Verschneit - dm/MP_Verschneit_DM" "3; map dm/MP_Verschneit_DM"
// "Southern France - dm/mohdm1" "3; map dm/mohdm1"
// "Destroyed Village - dm/mohdm2" "3; map dm/mohdm2"
// "Remagen - dm/mohdm3" "3; map dm/mohdm3"
// "The Crossroads - dm/mohdm4" "3; map dm/mohdm4"
// "Snowy Park - dm/mohdm5" "3; map dm/mohdm5"
// "Stalingrad - dm/mohdm6" "3; map dm/mohdm6"
// "Algiers - dm/mohdm7" "3; map dm/mohdm7"
// "Ardennes - obj/MP_Ardennes_TOW" "3;map obj/MP_Ardennes_TOW"
// "Berlin - obj/MP_Berlin_TOW" "3;map obj/MP_Berlin_TOW"
// "Druckkammern - obj/MP_Druckkammern_TOW" "3;map obj/MP_Druckkammern_TOW"
// "Flughafen - obj/MP_Flughafen_TOW" "3;map obj/MP_Flughafen_TOW"
//}

// Loads an objective map and makes sure the game is in objective mode
//"Objective Map" "g_gametype" list
//{
// "The Hunt - obj/obj_team1" "4;map obj/obj_team1"
// "V2 Rocket Facility - obj/obj_team2" "4;map obj/obj_team2"
// "Omaha Beach - obj/obj_team3" "4;map obj/obj_team3"
// "The Bridge - obj/obj_team4" "4;map obj/obj_team4"
//}

// Loads an objective map and makes sure the game is in objective mode
//"Tug-of-War Map" "g_gametype" list
//{
// "Ardennes - obj/MP_Ardennes_TOW" "5;map obj/MP_Ardennes_TOW"
// "Berlin - obj/MP_Berlin_TOW" "5;map obj/MP_Berlin_TOW"
// "Druckkammern - obj/MP_Druckkammern_TOW" "5;map obj/MP_Druckkammern_TOW"
// "Flughafen - obj/MP_Flughafen_TOW" "5;map obj/MP_Flughafen_TOW"
//}

//"Next Map" "nextmap" nochoices

//"Disallow Weapon" "" list
//{
// "Rifle" "g_weapon_rifle 0"
// "Sniper Rifle" "g_weapon_sniper 0"
// "Submachinegun" "g_weapon_smg 0"
// "Machinegun" "g_weapon_mg 0"
// "Rocket Launcher" "g_weapon_rocket 0"
// "Shotgun" "g_weapon_shotgun 0"
//}

//"Allow Weapon" "" list
//{
// "Rifle" "g_weapon_rifle 1"
// "Sniper Rifle" "g_weapon_sniper 1"
// "Submachinegun" "g_weapon_smg 1"
// "Machinegun" "g_weapon_mg 1"
// "Rocket Launcher" "g_weapon_rocket 1"
// "Shotgun" "g_weapon_shotgun 1"
//}

//"Only One Weapon" "" list
//{
// "Rifle" "g_weapon_rifle 1;g_weapon_sniper 0;g_weapon_smg 0;g_weapon_mg 0;g_weapon_rocket 0;g_weapon_shotgun 0"
// "Sniper Rifle" "g_weapon_rifle 0;g_weapon_sniper 1;g_weapon_smg 0;g_weapon_mg 0;g_weapon_rocket 0;g_weapon_shotgun 0"
// "Submachinegun" "g_weapon_rifle 0;g_weapon_sniper 0;g_weapon_smg 1;g_weapon_mg 0;g_weapon_rocket 0;g_weapon_shotgun 0"
// "Machinegun" "g_weapon_rifle 0;g_weapon_sniper 0;g_weapon_smg 0;g_weapon_mg 1;g_weapon_rocket 0;g_weapon_shotgun 0"
// "Rocket Launcher" "g_weapon_rifle 0;g_weapon_sniper 0;g_weapon_smg 0;g_weapon_mg 0;g_weapon_rocket 1;g_weapon_shotgun 0"
// "Shotgun" "g_weapon_rifle 0;g_weapon_sniper 0;g_weapon_smg 0;g_weapon_mg 0;g_weapon_rocket 0;g_weapon_shotgun 1"
//}

//"Allow All Weapons" "g_weapon_rifle 1;g_weapon_sniper 1;g_weapon_smg 1;g_weapon_mg 1;g_weapon_rocket 1;g_weapon_shotgun 1" nochoices

"Health Drop" "set" list
{
"On" "g_healthdrop 1"
"Off" "g_healthdrop 0"
}

"Realistic Mode" "set" list
{
"On" "g_realismmode 1;reloadmap"
"Off" "g_realismmode 0;reloadmap"
}

"Friendly Fire" "set" list
{
"On" "g_teamdamage 1"
"Off" "g_teamdamage 0"
}

"Score Limit" "fraglimit" integer

"Time Limit" "timelimit" integer

"Allow Spectator Chat To All" "set" list
{
"On" "g_spectate_allow_full_chat 1"
"Off" "g_spectate_allow_full_chat 0"
}

"Kick Client" "clientkick" clientnotself

"Heal Rate" "set" list
{
"Instant" "g_healrate 0"
"5 per Second" "g_healrate 5"
"10 per Second" "g_healrate 10"
"20 per Second" "g_healrate 20"
}

"Team Spawn Delay" "set" list
{
"0 Seconds" "sv_team_spawn_interval 0"
"5 Seconds" "sv_team_spawn_interval 5"
"10 Seconds" "sv_team_spawn_interval 10"
"15 Seconds" "sv_team_spawn_interval 15"
"20 Seconds" "sv_team_spawn_interval 20"
"25 Seconds" "sv_team_spawn_interval 25"
"30 Seconds" "sv_team_spawn_interval 30"
"45 Seconds" "sv_team_spawn_interval 45"
"60 Seconds" "sv_team_spawn_interval 60"
}

and i have put what you suggested in my server.cfg file too. here is what that looks like

///////////////////////////////////////////////////////////////
// Spearhead Server Configuration File
///////////////////////////////////////////////////////////////
// File Created by: Spearhead Runner 1.0.6
// File Created On: 22 April 2003 at 00:37:31
// Developed By: Aphextwin@gamerunners.com
///////////////////////////////////////////////////////////////
// This file is automatically executed by moh_spearhead_server.exe
///////////////////////////////////////////////////////////////

sets ".Configured By" "Spearhead Runner: 1.0.6"
sets ".Online Since" "22/04/2003 00:37:31"

set ui_maplist_team "dm/MP_Bahnhof_DM dm/MP_Brest_DM dm/MP_Holland_DM dm/MP_Malta_DM dm/garage10 dm/dmarena-nightbattle"

seta g_motd "Hosted by www.littledave.net"
sets "Config File" "Spearhead"
seta sv_hostname "www.littledave.net [Spearhead]"
sets "Admin" "littledave"
sets "Admin E-Mail" "littledave@littledave.net"
sets "Location" "UK"
sets "URL" "www.littledave.net"
sets "Server Spec" "Shuttle SN41G2 MP1600"
sets "Hours" "When Required"
seta g_password ""
seta rconPassword ""
seta sv_privatePassword ""

seta sv_maxclients "10"
seta sv_privateClients "10"
seta sv_invulnerabletime "10"
seta g_respawnInterval "10"
seta sv_maxPing "500"
seta sv_minPing "0"
seta sv_maxRate "6000"
seta sv_fps "20"
seta sv_reconnectlimit "8"
seta g_maxGameClients "0"
seta g_minGameClients "0"
seta sv_zombietime "30"
seta g_allowjointime "30"
seta g_inactivity "320"
seta sv_timeout "200"
seta g_inactiveSpectate "120"
seta g_inactiveKick "0"

seta g_allowvote "1"
seta sv_allowDownload "0"
seta sv_allowAnonymous "1"
seta g_doWarmup "1"
seta sv_flood_waitdelay "10"
seta sv_flood_persecond "4"
seta g_teamdamage "1"
seta g_teamForceBalance "1"
seta g_teamAutoJoin "1"
seta g_synchronousclients "1"
seta g_adaptrespawn "1"
seta g_smoothClients "1"
seta sv_padPackets "1"
seta sv_gamespy "1"
seta g_forceready "1"
seta g_forcerespawn "1"
seta sv_noforcemodels "0"
seta sv_sprinton "1"
seta g_healthdrop "1"
seta g_realismmode "1"
seta g_forceteamspectate "1"

// Master Servers
seta sv_master1 "mohmaster.2015.com"
seta sv_master2 "master0.gamespy.com"
seta sv_master3 "master1.gamespy.com"
seta sv_master4 "clanservers.net"
seta sv_master5 ""

//Logging
seta logfile "3"
seta g_log "q3console.log"
seta g_logSync "1"
seta developer "1"
seta chat "1"
seta sv_chatter "1"

// Movement
seta sv_timeout "320"
seta sv_walkspeed "150"
seta sv_runspeed "287"
seta sv_crouchmult "1"
seta g_healrate "10"
seta sv_team_spawn_interval "15"
seta g_teamkillwarn "3"
seta g_teamkillkick "15"
seta g_teamswitchdelay "15"

seta dmflags "1835008" // 8 (no falling damage) 16 (fixed FOV) 32 (no footsteps)

//Game Limits
seta fraglimit "0"
seta timelimit "1"
seta roundlimit "0"
seta maprotationtime "30"



//----------------
//#### THE FOLLOWING KICKS THE SERVER INTO GEAR ####
//----------------

net_restart
seta sv_maplist "dm/MP_Bahnhof_DM dm/MP_Brest_DM dm/MP_Holland_DM dm/MP_Malta_DM dm/garage10 dm/dmarena-nightbattle"
Map dm/dmarena-nightbattle

// Additional Configs


//-- Commandline Information --//
// ZoneMegs = 16
// HunkMegs = 56
// SoundMegs = 16
// IP =
// Port = 12203
//-- --//

//EOF


Apologise for such a long post but is doing my brain in now. 8O

Make sure your callvote.cfg is in a for of a PK3 file not just a callvote.cfg