unlimited map time in config?
Moderators: Forum moderators, developers
unlimited map time in config?
Hello
How do I set a map to have an unlimited time in a config?
set g_usertimelimit 0 is map default
I tried -1 but no go
I also tried set timelimit 0 and -1
I can rcon it or ref it in-game but am curious how to do this for certain maps via a config.
How do I set a map to have an unlimited time in a config?
set g_usertimelimit 0 is map default
I tried -1 but no go
I also tried set timelimit 0 and -1
I can rcon it or ref it in-game but am curious how to do this for certain maps via a config.
- =FF=im2good4u
- Posts: 3821
- Joined: Wed Feb 05, 2003 7:30 am
- Location: The Netherlands, HOLLAND
- Contact:
ehh .. /mee wonder i think u can do it in the map defautl.cfg but if ot getsl aoded before the server map .script i will probely overwritten maybe this should be done in lua
<a href="http://bunnyherolabs.com/adopt/showpet. ... dQ=="><img src="http://petimage.bunnyherolabs.com/adopt ... Q0dQ==.png" width="80" height="100" border="0"></a>
Thanks for your reply
mapdefault.cfg didn't work
the only way I could get it to work was via a map script
i just opened the battery one and deleted the parts around the timelimit bit lol
anyway it worked
mapdefault.cfg didn't work
the only way I could get it to work was via a map script
i just opened the battery one and deleted the parts around the timelimit bit lol
anyway it worked
Code: Select all
game_manager
{
spawn
{
// Game rules
wm_set_round_timelimit 0
}
- =FF=im2good4u
- Posts: 3821
- Joined: Wed Feb 05, 2003 7:30 am
- Location: The Netherlands, HOLLAND
- Contact:
hmm yeh that posable aswel
<a href="http://bunnyherolabs.com/adopt/showpet. ... dQ=="><img src="http://petimage.bunnyherolabs.com/adopt ... Q0dQ==.png" width="80" height="100" border="0"></a>
nothing!reyalP wrote:what's wrong with just making the time limit user timelimit really long ?
i was just curious
I have a map called King of the Radio - link - on my server - info. It's a symmetrical CTF style map with common team objectives. The default timelimit is 10 minutes. Once a team dynos the other teams radio the game is over. I didn't think it was fair that Allies win if no one actually dynos a radio... better the maps ends when someone completes it! If people get board then they can just vote nextmap.
It was only then I realised I couldn't make the map have an unlimited timelimit via configs.
Ok, so you just don't want the map to end until something gets blown up. I would extract the kotr.script file and put it into the folder you use for the server map scripts. Look for 4 of these:
wm_objective_status
Under the last one, I would put:
wm_setwinner -1
That will make it do the sudden death that you want. It won't end until something is blown up.
wm_objective_status
Under the last one, I would put:
wm_setwinner -1
That will make it do the sudden death that you want. It won't end until something is blown up.
I did that and editted the following:wimpy wrote:I would extract the kotr.script file and put it into the folder you use for the server map scripts.
Code: Select all
wm_axis_respawntime 10 // default 6
wm_allied_respawntime 10 // default 6
wm_number_of_objectives 2
wm_set_round_timelimit 0 // default 10
Thanks for the infowimpy wrote: wm_setwinner -1
That will make it do the sudden death that you want. It won't end until something is blown up.
On my trickjumping server ... this works in my .config ...
Code: Select all
map default
{
set g_userTimeLimit 0.000000
}