Game Development Community

Dedicated server map cycle?

by Ronald J Nelson · in Torque 3D Beginner · 05/20/2014 (9:24 am) · 2 replies

I haven't had to ask a beginner question in a while, but hat the heck. I know how to do a dedicated server where you specify the map to be hosted, my question is, is there a way to host a selected pool of maps that are randomly or sequentially cycled?

Better to ask first before putting time into making it myself.

#1
05/20/2014 (10:21 am)
If you set game.allowCycling to true in the game type (or gamecore) it will cycle to the next map when the game ends.

The next map is chosen in scripts/server/game.cs under the function onCyclePauseEnd() so you could implement random, selected pool, etc from there. Right now, from my experience, it's just alphabetical order.
#2
05/20/2014 (11:51 am)
Thanks for the information.