How to Change Spawn Times on Custom Maps

Any questions regarding getting Jaymod running.
Post Reply
jkildu
Server n00b
Posts: 19
Joined: Sun Aug 21, 2011 6:46 am

How to Change Spawn Times on Custom Maps

Post by jkildu » Sun Aug 21, 2011 10:24 am

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

User avatar
muppetuk
Server n00b
Posts: 15
Joined: Fri Mar 25, 2011 5:14 pm

Re: How to Change Spawn Times on Custom Maps

Post by muppetuk » Sun Aug 21, 2011 3:17 pm

You can change the spawntimes in your server config

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

User avatar
stealth
Rambo Medic
Posts: 375
Joined: Sun Jun 11, 2006 1:17 pm
Location: Chair

Re: How to Change Spawn Times on Custom Maps

Post by stealth » Sun Aug 21, 2011 7:51 pm

muppetuk wrote: just create a mapscript for each of your custom maps
mapconfig is easier
:D

jkildu
Server n00b
Posts: 19
Joined: Sun Aug 21, 2011 6:46 am

Re: How to Change Spawn Times on Custom Maps

Post by jkildu » Wed Aug 24, 2011 11:54 am

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 ?

Destroy666
Server n00b
Posts: 30
Joined: Wed Mar 23, 2011 8:43 am

Re: How to Change Spawn Times on Custom Maps

Post by Destroy666 » Wed Aug 24, 2011 12:41 pm

Just create bsp_name.cfg with:

Code: Select all

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

jkildu
Server n00b
Posts: 19
Joined: Sun Aug 21, 2011 6:46 am

Re: How to Change Spawn Times on Custom Maps

Post by jkildu » Thu Aug 25, 2011 7:14 pm

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"

Destroy666
Server n00b
Posts: 30
Joined: Wed Mar 23, 2011 8:43 am

Re: How to Change Spawn Times on Custom Maps

Post by Destroy666 » Fri Aug 26, 2011 2:23 pm

Then create mapconfigs in Jaymod? It needs to be there.

jkildu
Server n00b
Posts: 19
Joined: Sun Aug 21, 2011 6:46 am

Re: How to Change Spawn Times on Custom Maps

Post by jkildu » Fri Aug 26, 2011 8:45 pm

Tyvm worked fine when I made the mapconfigs folder in jaymod.

Post Reply