Quote:
Originally Posted by Lord_Destros
also, what do you mean a trash map for false statistics? What does it do?
|
What I wanted to do:
1. When empty:
a) Change to map "Waiting_for_players"
b) Set server cvar "mp_timelimit" = "0"
c) If it already is map "Waiting_for_players", don't do anything
Then the server don't cycle maps and I don't get frags, round counts and online time on the other maps. I downloaded the map fy_rockarena and renamed it Waiting_for_players.bsp, so it gets the one round count (but no frags or online time).
2. When someone connects:
a) Check is someone connects.
b) Change to map "de_dust"
c) Set server cvar "mp_timelimit" = "30"
d) Put in some bots
e) Maybe later possibility to change "back" to what would have been nextmap (with server cvar "amx_nextmap")
And I use Zbot:
I) I added this to server.cfg:
bot_kick all
bot_add_ct
bot_add_t
bot_add_ct
bot_add_t
bot_add_ct
bot_add_t
bot_add_t
II) In Zbot I use "bot_join_after_player = 1"
III) When it changes to Waiting_for_players, there is no bots because there is no real players
IIII) When a player connects it changes to another map and bots connects because there is real players
So when server changes to Waiting_for_players.bsp, the server is idle (see attached pic, the "Time" never changes).