Page 1 of 1

How to Change Spawn Times on Custom Maps

Posted: Sun Aug 21, 2011 10:24 am
by jkildu
I just added a bunch of custom maps on my server. With the classic maps I just went into the mapscripts for each map and changed the spawn times. When I put the new maps on there is no mapscript for them in the mapscripts folder just the classic ones, and the only file I had to upload to my server.cfg was the .pk3 file. If anyone knows how to change the spawn times for custom maps I would appreciate the help.

Thx as always,
J

Re: How to Change Spawn Times on Custom Maps

Posted: Sun Aug 21, 2011 3:17 pm
by muppetuk
You can change the spawntimes in your server config

or for individual maps
just create a mapscript for each of your custom maps

Re: How to Change Spawn Times on Custom Maps

Posted: Sun Aug 21, 2011 7:51 pm
by stealth
muppetuk wrote: just create a mapscript for each of your custom maps
mapconfig is easier

Re: How to Change Spawn Times on Custom Maps

Posted: Wed Aug 24, 2011 11:54 am
by jkildu
Ok, so let me get this straight.

1. create <mapname>.script

2. add the following lines:

wm_axis_respawntime 15
wm_allied_respawntime 10

and this cfg goes in the ?? jaymod mapscripts folder ?

Re: How to Change Spawn Times on Custom Maps

Posted: Wed Aug 24, 2011 12:41 pm
by Destroy666
Just create bsp_name.cfg with:

Code: Select all

set g_userAlliedRespawnTime "5"
set g_userAxisRespawnTime "5"
and save it in mapconfigs directory.

Re: How to Change Spawn Times on Custom Maps

Posted: Thu Aug 25, 2011 7:14 pm
by jkildu
I do not have a mapconfigs directory on my server. The only thing I have in the jaymod directory is mapscripts and in etadmin_mod there is an etc sub directory which has a maps and configs folder. I made a sw_oasis_b3.cfg file and put the code in that you had. Then I tried putting it in both folders and nothing changed. I tried various other things to and none seemed to work. What am I doing wrong?

Thanx,
J

I did just find this in jaymod.cfg

set g_mapConfigs "mapconfigs"
set g_mapScriptDirectory "mapscripts"

Re: How to Change Spawn Times on Custom Maps

Posted: Fri Aug 26, 2011 2:23 pm
by Destroy666
Then create mapconfigs in Jaymod? It needs to be there.

Re: How to Change Spawn Times on Custom Maps

Posted: Fri Aug 26, 2011 8:45 pm
by jkildu
Tyvm worked fine when I made the mapconfigs folder in jaymod.