Setting map timelimit


(BlackEight) #1

Hello

I have one map that lasts by default 30 minutes but I want to change that into 15. In mod folder Ive got mapconfigs folder where i keep all my configs for some maps. What line should i include into that map config so to change its map timelimit?:

set g_userTimeLimit 15 ?

I also have a second question also connected with that map. I run noquarter and in my objectivecycle i always have one fun map where panzer, knife or snyper weapon is allowed only. So this map is snyper map and when it loads, i force all players and bots to go covert. But after that map ends bots stay covert untill sb turns up to do !kickallbots ( i have !maxbot command activated). What can i do to restart (do !kickallbots) after that map when there is no clan member who can do !kickallbots? Is there a chance to put some line in the next map config that will do !kickallbots ?

Regards,
Eight


(BlackEight) #2

Yeah, the ‘set g_userTimeLimit 15’ line is correct to set new map timelimit :slight_smile:

Can you suggest anything about that bots?


(stealth6) #3

can’t you put kickallbots in a map config?
Then when the maps loads it will kick all bots, but they should reconnect cause you didn’t change min or max bots?
Just an idea


(BlackEight) #4

That would be best. How will it look like in that config?
rcon [password] kickallbots ?

Regards,
Eight


(stealth6) #5

no just kickallbots


(BlackEight) #6

You mean, just to write in config
kickallbots

?
C’mon :slight_smile:


(stealth6) #7

[QUOTE=BlackEight;237189]You mean, just to write in config
kickallbots

?
C’mon :)[/QUOTE]

yes
:penguin:

E: write it in the mapconfig of the map that comes after the crazy map


(BlackEight) #8

I checked that and it all works. Thanks for help!!


(BlackEight) #9

Hello

I wonder, I have that weird thing going on at my server. I run objectivecycle and quite often the cycle jumps over 2 or even 3 maps. So my objectivecycle is often quite quick though I have 13 maps in cycle. Is there a way to add to mapconfigs some line that will make to load ceratin next map? I mean, I have seperate scripts for each map and lets say I am playing map radar and next map is railgun. Can I add something like that to map script:
set “set g_gametype 2 ; map radar ; set nextmap railgun”

?

Regards,
Eight


(mortis) #10

[QUOTE=BlackEight;242879]Hello

I wonder, I have that weird thing going on at my server. I run objectivecycle and quite often the cycle jumps over 2 or even 3 maps. So my objectivecycle is often quite quick though I have 13 maps in cycle. Is there a way to add to mapconfigs some line that will make to load ceratin next map? I mean, I have seperate scripts for each map and lets say I am playing map radar and next map is railgun. Can I add something like that to map script:
set “set g_gametype 2 ; map radar ; set nextmap railgun”

?

Regards,
Eight[/QUOTE]

Post the entire rotation; IIRC you can’t have more than ten maps in a particular rotation, although you can call on a series of custom "campaigns"to extend the server rotation beyond ten maps, even if they are running in SW mode, or a mixed combination of campaign, stopwatch and objective modes…


(BlackEight) #11
set d1 "set g_gametype 2 ; map supplydepot3 ; set nextmap vstr d2"
set d2 "set g_gametype 2 ; map dubrovnik_final ; set nextmap vstr d3"
set d3 "set g_gametype 2 ; map caen2 ; set nextmap vstr d4"
set d4 "set g_gametype 2 ; map us_radar_b2 ; set nextmap vstr d5"
set d5 "set g_gametype 2 ; map rochelle_b2 ; set nextmap vstr d6"
set d6 "set g_gametype 2 ; map goldrush-ga ; set nextmap vstr d7"
set d7 "set g_gametype 2 ; map Fata_Morgana ; set nextmap vstr d8"
set d8 "set g_gametype 2 ; map q3dm17 ; set nextmap vstr d9"
set d9 "set g_gametype 2 ; map  haunted_mansion ; set nextmap vstr d10"
set d10 "set g_gametype 2 ; map parisbastille_b3 ; set nextmap vstr d11"
set d11 "set g_gametype 2 ; map v2base ; set nextmap vstr d12"
set d12 "set g_gametype 2 ; map snatch3 ; set nextmap vstr d13"
set d13 "set g_gametype 2 ; map baserace_desert ; set nextmap vstr d1"
vstr d1

Cycle with more then 10 maps can cause such problems? I can hardly believe it.


(mortis) #12

Try a nine map cycle and see if it works correctly…otherwise your cycle looks okay to me…

–edit-- I’m certain about the ten map bug, by the way. I always evaded it using ‘campaigns’ with 10 or less maps in each campaign.


(mortis) #13

I get into more detail on this thread…

http://www.splashdamage.com/forums/showthread.php?p=235347#post235347


(BlackEight) #14

This one cant be. I have test servers that run without problems with 15 maps cycle. Will look further into that and reply as soon as I find out anything more.


(stealth6) #15

10 map limit is for campaign mode only afaik, in objectivecycle the limit is like 32 or something. As to your actualy problem I have no idea…
In the latest versions of NQ I keep having troubles that it will change the nextmap to “map_restart” for some reason, but never skip a few maps.


(mortis) #16

TBH - i’ve never tried to set up a cycle longer than 10 maps in stopwatch mode…but it for sure does not work in campaign mode. I used to run alternating cycles of campaign mode and stopwatch…never did use objective mode.


(mortis) #17

Did you try reducing the number of maps? You can test it empirically in order to rule out my theory. You might want to use the stock maps in the sample “cycle” just to rule out corrupted pk3s, name case mismatches and such…


(ailmanki) #18

@mortis the 10 map limit is only in campaign mode, the other game types are not affected, probably cause campiagn mode draws extra stuff in intermission/loading menu,

That looks correct,

[QUOTE=BlackEight;243320]

set d1 "set g_gametype 2 ; map supplydepot3 ; set nextmap vstr d2"
set d2 "set g_gametype 2 ; map dubrovnik_final ; set nextmap vstr d3"
set d3 "set g_gametype 2 ; map caen2 ; set nextmap vstr d4"
set d4 "set g_gametype 2 ; map us_radar_b2 ; set nextmap vstr d5"
set d5 "set g_gametype 2 ; map rochelle_b2 ; set nextmap vstr d6"
set d6 "set g_gametype 2 ; map goldrush-ga ; set nextmap vstr d7"
set d7 "set g_gametype 2 ; map Fata_Morgana ; set nextmap vstr d8"
set d8 "set g_gametype 2 ; map q3dm17 ; set nextmap vstr d9"
set d9 "set g_gametype 2 ; map  haunted_mansion ; set nextmap vstr d10"
set d10 "set g_gametype 2 ; map parisbastille_b3 ; set nextmap vstr d11"
set d11 "set g_gametype 2 ; map v2base ; set nextmap vstr d12"
set d12 "set g_gametype 2 ; map snatch3 ; set nextmap vstr d13"
set d13 "set g_gametype 2 ; map baserace_desert ; set nextmap vstr d1"
vstr d1

Cycle with more then 10 maps can cause such problems? I can hardly believe it.[/QUOTE]

The bug with the maps you say its skipping, I think you are mixing there quite a lot of things.
You have mapscripts, mapconfigs and campaign/rotation config.

The mapscript is for example goldrush.script. Usually inside the pk3, but you can also override that.
The mapconfigs is usually in mapconfigs for example goldrush.cfg . Its that cfg where you add kickallbot and things.
The campaign/rotation config, Usually ONLY defines the maps to be loaded, and its mostly directly in you mod folder …e.g. rotation.cfg


(mortis) #19

Also - try altering the map order, and see if a particular map is the hangup…


(ballking) #20

I mean, I have seperate scripts for each map and lets say I am playing map radar and next map is railgun. Can I add something like that to map script: