Torr Samaho wrote:
Ænima wrote:
Shouldn't this be off by default (until a bot is added)? Or would that require resetting the map?
The bot nodes are build when the map is loaded. Possibly you could rewrite the system to do this on-the-fly when the first bot is added.
That sounds like a good idea. Although depending on how much memory would be saved (i have no idea what the figures are, I'll have to run some tests for myself), it may not even be worth the effort, if it's a negligible amount of savings.
Where in the source is the botnode-building behavior located?
EDIT:
On second thought, maybe it might be easier to just make a change to Doomseeker and have it use sv_disallowbots by default unless the player chooses to start the server with bots via the server setup dialogue. If they try to add bots after the server has already been launched, they'll be told that they need to reset the map in order for the change to take effect.
Hosts who choose to add bots appear to be a minority anyways, and the only servers that I see where bots are used are (no offense) servers that I would never play on. I think the benefits far outweigh the risks when it comes to disabling the building of bot nodes (online) by default.