PDA

View Full Version : Custom Maps


antrichen
02-24-2004, 09:06 PM
I have written this cfg for custom maps on our server and everytime i exec it and map restart the map just stays the same. I cannot figure out why it is not changing maps appropriately. I have opened the .pk3 files and names the maps exactly as they are in the .bsp. Any help would be greatly appreciated.

// Hostname and Message of the Day
set sv_hostname "[BRC] No. 6's Fun Palace"
set scr_motd "Have a great day at the wonderful place called 6's Fun Palace."

// Maximum Clients
set sv_maxclients "26"

// Team Icons
set scr_drawfriend "1"

//allow people to download maps
set sv_allowDownload "1"

// Forced Respawn
set scr_forcerespawn "1"

// Friendly Fire 0=off, 1=on, 2=reflect damage
set scr_friendlyfire "2"

// Allow Voting
// It is recommended if you have friendly fire on
// that you also enable voting so that players can kick team-killers.
set scr_allow_vote "0"
set g_allowvote "0"

//pure server & ping settings
set sv_pure 1
set sv_minPing "0" //Disables minimum ping
set sv_maxPing "200" //Disables maximum ping

// Rconpassword
set rconpassword "xxxxxxx"

//sets private slots & connect pass
set sv_privateclients "0"
seta sv_privatepassword "xxxxxxxx"

//kill cam & spectate settings
set scr_killcam "1"
set scr_freelook "0"
set scr_spectateenemy "0"

// Weapons Allowed
set scr_allow_bar "1"
set scr_allow_bren "1"
set scr_allow_enfield "1"
set scr_allow_kar98k "1"
set scr_allow_kar98ksniper "1"
set scr_allow_m1carbine "1"
set scr_allow_m1garand "1"
set scr_allow_mp40 "1"
set scr_allow_mp44 "1"
set scr_allow_nagant "1"
set scr_allow_nagantsniper "1"
set scr_allow_panzerfaust "1"
set scr_allow_ppsh "1"
set scr_allow_springfield "1"
set scr_allow_sten "1"
set scr_allow_thompson "1"

// Search and Destroy Settings
set scr_sd_graceperiod "10"
set scr_sd_roundlength "5"
set scr_sd_roundlimit "0"
set scr_sd_scorelimit "7"
set scr_sd_timelimit "0"

// Behind Enemy Lines Settings
set scr_bel_alivepointtime "10"
set scr_bel_scorelimit "50"
set scr_bel_timelimit "20"

// Retrieval Settings
set scr_re_graceperiod "20"
set scr_re_roundlength "3"
set scr_re_roundlimit "7"
set scr_re_scorelimit "5"
set scr_re_showcarrier "0"
set scr_re_timelimit "0"

// Team Deathmatch
set scr_tdm_scorelimit "150"
set scr_tdm_timelimit "20"

// Deathmatch
set scr_dm_scorelimit "80"
set scr_dm_timelimit "20"

// Headquarters
set scr_hq_timelimit 30
set scr_hq_scorelimit 450

//Game & Map Rotation
set g_gametype "hq" //gametype: bel, dm, re, sd, tdm, hq

// The rotation.

set sv_mapRotationCurrentmap "gametype hq map Portvillage gametype hq map mp_falaisevilla gametype hq map Nuenen"


set sv_mapRotation "gametype hq map Portvillage gametype hq map mp_falaisevilla gametype hq map Nuenen"

Cyberdoc
02-25-2004, 01:42 AM
Try changing the bottom part of you cfg to this.


//Map Rotation List and Settings

set sv_mapRotationCurrent ""
set g_gametype re //set this to first map of rotation gametype


set sv_mapRotation "gametype re map mp_merville gametype sd map mp_vok_final_day gametype sd map nuenen gametype re map mp_falaisevilla gametype sd map the_hunt gametype re map portvillage gametype sd map mp_cod_lolv2 gametype re map mp_radar gametype sd map portvillage map mp_merville map mp_falaisevilla gametype tdm map moh_stalingrad_r gametype sd map mp_radar gametype re map mp_vok_final_day"

map mp_merville



map_rotate

Anex
02-25-2004, 04:32 AM
1) Leave sv_maprotationcurrentmap alone, I don't know why I continually see people using this cvar; it should be left as is, under game control.

2) CoD has sv_maprotation (listing the maps to use) and sv_maprotationcurrent (maps loaded in to be used in loading the next map). So, whenever you want to change the map rotation from the one already loaded by the server, you need to clear the current rotation first:

set sv_maprotationcurrent ""

So, using your config as listed, this is what your map rotation should be:
_____________________________________

// The rotation.
set sv_mapRotationCurrent ""

set sv_mapRotation "gametype hq map Portvillage gametype hq map mp_falaisevilla gametype hq map Nuenen"

map Nuenen
_____________________________________

Cyberdoc
02-25-2004, 08:05 AM
1) Leave sv_maprotationcurrentmap alone, I don't know why I continually see people using this cvar; it should be left as is, under game control.

2) CoD has sv_maprotation (listing the maps to use) and sv_maprotationcurrent (maps loaded in to be used in loading the next map). So, whenever you want to change the map rotation from the one already loaded by the server, you need to clear the current rotation first:

set sv_maprotationcurrent ""

So, using your config as listed, this is what your map rotation should be:
_____________________________________

// The rotation.
set sv_mapRotationCurrent ""

set sv_mapRotation "gametype hq map Portvillage gametype hq map mp_falaisevilla gametype hq map Nuenen"

map Nuenen
_____________________________________

How was that different from what i was saying?????

antrichen
02-25-2004, 05:10 PM
ty very much that was the problem

Anex
02-25-2004, 10:13 PM
How was that different from what i was saying?????

All you did was give him a rotation to use, which used maps he doesn't and explained nothing as to why the problem was occuring. I explained the problem, why it happens, and how to resolve it...using his maps.

I'm a very thorough person, what can I say :!:

Cyberdoc
02-26-2004, 12:02 AM
wow, thought he would sub in his own maps...silly me.

ok your thourgh...so what does the "" do then?

thejerk
02-26-2004, 01:47 AM
LOL, Doc... you teh funnay...


For anyone not knowing, leaving any cvar "" will nullify the cvar, or empty it.

Anex
02-26-2004, 08:10 AM
Aw...I wanted to explain it :P

Cyberdoc
02-28-2004, 01:40 AM
okey J3rK,

ps- wth is a "tech 5th class" lolz n00bz

thejerk
02-28-2004, 04:27 AM
okey J3rK,

ps- wth is a "tech 5th class" lolz n00bz

Good question... how do I get a silly title like the one you have, h4><0|2? :P