How to run custom maps with cod4 or cod4x using redirect
Posted: 21 Sep 2017 21:49
This mesage assumes you are running a mod if your not the please start with viewtopic.php?f=246&t=5526
First in order to run custom maps you can have cod4 or cod4x upload the maps to your player which will take a long time to do and will slow your computer to a crawl
so unless you can host your custom maps elsewhere like on a web site or a hosting web site it would not be practical to run custom maps.
ok with that said you have to map a directory called usermaps if it does not already exist in you cod4 directory
now if you wanted to install a custom map lets call land for this example
you would download the map fro the internet
(hint check to see if you already have played on a map you wish to install by checking the usermaps directory it may already be there)
custom maps are in a directory by itself so the example land map would contain a directory named land and in the land directory would be 2 to 3 or maybe more files
normally named mp_land.ff mp_land.iwd and mp_land_load.ff - delete any text files like readme or readme.txt from that directory they are not needed
place the land directory in the usermaps directory do that for each custopm map you wish to host.
this part is for having a redirect host or web site if you don't have a host skip to how to call a custom map
if you do have a redirect or web site make a directory there called usermaps and place all the custom maps there also
btw you can also do this with the mods directory by making a mods directory on your redirect host or web site and
uploading your paintball mod there but do not upload any of the config files in the mod they stay only on your server
you also have to edit theses lines in your config file
// Client Downloadsettings (0=off/1=on) with host
set sv_allowdownload "1"
set sv_wwwDownload "1"
set sv_wwwbaseurl "http://www.yourwebsite.com"
set sv_wwwDlDisconnected "0"
This part is how to call the custom map
// Client Downloadsettings (0=off/1=on) without host
set sv_allowdownload "1"
set sv_wwwDownload "0"
set sv_wwwbaseurl ""
set sv_wwwDlDisconnected "0"
now to call your map add it to your map lineup note the last entry in the map rotation
set sv_mapRotation "gametype dm map mp_crash_snow gametype dm map mp_vacant gametype dm map mp_broadcast gametype dm map mp_shipment gametype dm map mp_convoy gametype dm map mp_showdown gametype dm map mp_pipeline gametype dm map mp_backlot gametype dm map mp_killhouse gametype dm map mp_carentan gametype dm map mp_strike gametype dm map mp_showdown gametype dm map mp_citystreets gametype dm map mp_broadcast gametype dm map mp_killhouse gametype dm map mp_bloc gametype dm map mp_backlot gametype dm map mp_land"
First in order to run custom maps you can have cod4 or cod4x upload the maps to your player which will take a long time to do and will slow your computer to a crawl
so unless you can host your custom maps elsewhere like on a web site or a hosting web site it would not be practical to run custom maps.
ok with that said you have to map a directory called usermaps if it does not already exist in you cod4 directory
now if you wanted to install a custom map lets call land for this example
you would download the map fro the internet
(hint check to see if you already have played on a map you wish to install by checking the usermaps directory it may already be there)
custom maps are in a directory by itself so the example land map would contain a directory named land and in the land directory would be 2 to 3 or maybe more files
normally named mp_land.ff mp_land.iwd and mp_land_load.ff - delete any text files like readme or readme.txt from that directory they are not needed
place the land directory in the usermaps directory do that for each custopm map you wish to host.
this part is for having a redirect host or web site if you don't have a host skip to how to call a custom map
if you do have a redirect or web site make a directory there called usermaps and place all the custom maps there also
btw you can also do this with the mods directory by making a mods directory on your redirect host or web site and
uploading your paintball mod there but do not upload any of the config files in the mod they stay only on your server
you also have to edit theses lines in your config file
// Client Downloadsettings (0=off/1=on) with host
set sv_allowdownload "1"
set sv_wwwDownload "1"
set sv_wwwbaseurl "http://www.yourwebsite.com"
set sv_wwwDlDisconnected "0"
This part is how to call the custom map
// Client Downloadsettings (0=off/1=on) without host
set sv_allowdownload "1"
set sv_wwwDownload "0"
set sv_wwwbaseurl ""
set sv_wwwDlDisconnected "0"
now to call your map add it to your map lineup note the last entry in the map rotation
set sv_mapRotation "gametype dm map mp_crash_snow gametype dm map mp_vacant gametype dm map mp_broadcast gametype dm map mp_shipment gametype dm map mp_convoy gametype dm map mp_showdown gametype dm map mp_pipeline gametype dm map mp_backlot gametype dm map mp_killhouse gametype dm map mp_carentan gametype dm map mp_strike gametype dm map mp_showdown gametype dm map mp_citystreets gametype dm map mp_broadcast gametype dm map mp_killhouse gametype dm map mp_bloc gametype dm map mp_backlot gametype dm map mp_land"