@TokaiTele you can specify more than just the scenario to achieve the desired result. Try specifying ?game=Checkpoint
. Here's some Ruby code I'm using (not all game modes are accounted for...):
@mapmap = {
'Canyon' => 'Crossing',
'Compound' => 'Outskirts',
'Farmhouse' => 'Farmhouse',
'Ministry' => 'Ministry',
'Mountain' => 'Summit',
'Oilfield' => 'Refinery',
'Precinct' => 'Precinct',
'Town' => 'Hideout'
}
@inverted_mapmap = @mapmap.invert
[...]
map = @mapmap.values.sample
team = ['Security', 'Insurgents'].sample
query = ''
game_mode = server_info['a2s_rules']['GameMode_s']
case game_mode
when 'Hardcore Checkpoint'
game_mode = 'Checkpoint'
query = '?game=CheckpointHardcore'
when 'Frenzy Checkpoint'
game_mode = 'Checkpoint'
when 'Skirmish'
team = ''
end
command = "travel #{@inverted_mapmap[map]}?Scenario=Scenario_#{map}_#{game_mode}_#{team}#{query}"