-
Is this right to setup a "server" that runs Warzone without GUI? (see: #1395) |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
headless + autohost should work for that case, but I agree that the documentation surrounding autohost mode is woefully non-existent. @maxsupermanhd Might be able to provide some example files (along with instructions on where to put them) For more information you can examine |
Beta Was this translation helpful? Give feedback.
-
autohost/Poli-Eye-W-a.json:{
"challenge":{
"alliances":2,
"allowPositionChange":"true",
"bases":"1",
"map":"Poli-Eye-W-a-T1",
"maxPlayers":5,
"powerLevel":2,
"scavengers":"false",
"version":2
},
"player_0":{
"position":5,
"team":5
},
"player_1":{
"position":0,
"team":0
},
"player_2":{
"position":1,
"team":0
},
"player_3":{
"position":2,
"team":1
},
"player_4":{
"position":3,
"team":1
}
} UPD autohost/preset.json{
"challenge": {
"alliances": 3,
"bases": "3",
"map": "Emergence",
"maxPlayers": 10,
"powerLevel": 2,
"scavengers": 2,
"version": 2,
"name": "test spec",
"spectatorHost": true,
"openSpectatorSlots": 5
},
"locked": {
"power": true,
"alliances": false,
"teams": false,
"difficulty": true,
"ai": true,
"scavengers": true,
"bases": true,
"position": false
},
"player_0": {
"position": 0,
"team": 0
},
"player_1": {
"position": 1,
"team": 0
},
"player_2": {
"position": 2,
"team": 0
},
"player_3": {
"position": 3,
"team": 0
},
"player_4": {
"position": 4,
"team": 0
},
"player_5": {
"position": 5,
"team": 1
},
"player_6": {
"position": 6,
"team": 1
},
"player_7": {
"position": 7,
"team": 1
},
"player_8": {
"position": 8,
"team": 1
},
"player_9": {
"position": 9,
"team": 1
}
} Added two new parameters
No need to use mods anymore. But you still need to separately take care of a lot of little things necessary for the stable operation of the server without the participation of people: |
Beta Was this translation helpful? Give feedback.
-
What type of player is the autohost? It looks like as it is an AI as it does something but where is that defined? And is it possible without an AI? |
Beta Was this translation helpful? Give feedback.
$ warzone2100 --headless --autogame --autohost=Poli-Eye-W-a.json
autohost/Poli-Eye-W-a.json:
UPD
For 4.2.0-beta1 and later, you need to use new preset
autohost/preset.json
{ "chall…