Forcing Sudden Death on server side

  • If you're asking a question make sure to set the thread type to be a question!

gottimw

L1: Registered
Jul 4, 2008
10
2
So i had a problem with a sudden death mode not working, a stalemate poped out at the end of round. I did some research and found out that it Sudden death (SD) to be set one the server side too.

Is there a way to force the server to switch frome stalemate to SD ?
I know the console command but is there a way to enforce that command on map spawn?
 

MrAlBobo

L13: Stunning Member
Feb 20, 2008
1,059
219
if you know the console command then why not just add it to your server.cfg...im assuming you have access to that...
 

gottimw

L1: Registered
Jul 4, 2008
10
2
yes but that's not my question. I am making a map and i wish it to enfore sudden_death on all servers that gonna run it
 

MrAlBobo

L13: Stunning Member
Feb 20, 2008
1,059
219
ah, you kept saying server side so i assumed thats what you meant...

look for an entity called game_round_win, im fairly sure theres an option somewhere in it that lets you choose between red, blue and sudden death, of course it depends on your gametype i guess...
 

Zeewier

L9: Fashionable Member
Sep 20, 2008
619
262
I do not recommend this, but you can set server vars in a map with the point_servercommand entity and use mp_stalemate_enable 1
 

Zeewier

L9: Fashionable Member
Sep 20, 2008
619
262
maybe, i will test it in a min...

But another idea; use a <map name>.cfg with all the commands you want to set, I also think that when the map is finished everything is set to server default. Not sure whether it can be packed inside the bsp or not...

But I could do some research on that...
 

Zeewier

L9: Fashionable Member
Sep 20, 2008
619
262
I do not recommend this, but you can set server vars in a map with the point_servercommand entity and use mp_stalemate_enable 1


This WORKS!

But I think the best way to go is with a .cfg because this will reset stalemate to default when the map is played. You can't pack this inside the bsp.
 
Last edited:

gottimw

L1: Registered
Jul 4, 2008
10
2
Well thanks for help ^_^
However as you mentioned its not good idea to enforce something I guess. So how about setting server to Sudden_Death as default but admins could change it?
Or would you think its better to have a recommendation for admins to set it up??