mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
Use the loading screen for autostart singleplayer/bot matches and replays too (not only for autostarted multiplayer matches), refs #4822.
Add an autostart-player option, so that one can start as an observer too and watch some knockout bots. Precise the "Needed for autostart loading option" comment fromd5bd374586which become increasingly incomprehensible with eacha68d5dae0d,506350d6fa,9f796068f8and6c5a8269f3. This was SVN commit r21659.
This commit is contained in:
@@ -12,6 +12,7 @@ Autostart:
|
||||
-autostart-ai=PLAYER:AI sets the AI for PLAYER (e.g. 2:petra)
|
||||
-autostart-aidiff=PLAYER:DIFF sets the DIFFiculty of PLAYER's AI (0: sandbox, 5: very hard)
|
||||
-autostart-aiseed=AISEED sets the seed used for the AI random generator (default 0, use -1 for random)
|
||||
-autostart-player=NUMBER sets the playerID in non-networked games (default 1, use -1 for observer)
|
||||
-autostart-civ=PLAYER:CIV sets PLAYER's civilisation to CIV (skirmish and random maps only)
|
||||
-autostart-team=PLAYER:TEAM sets the team for PLAYER (e.g. 2:2).
|
||||
-autostart-ceasefire=NUM sets a ceasefire duration NUM (default 0 minutes)
|
||||
@@ -32,8 +33,13 @@ Multiplayer:
|
||||
Examples:
|
||||
1) "Bob" will host a 2 player game on the Arcadia map:
|
||||
-autostart="scenarios/Arcadia" -autostart-host -autostart-host-players=2 -autostart-playername="Bob"
|
||||
"Alice" joins the match as player 2:
|
||||
-autostart="scenarios/Arcadia" -autostart-client=127.0.0.1 -autostart-playername="Alice"
|
||||
The players use the developer overlay to control players.
|
||||
2) Load Alpine Lakes random map with random seed, 2 players (Athens and Britons), and player 2 is PetraBot:
|
||||
-autostart="random/alpine_lakes" -autostart-seed=-1 -autostart-players=2 -autostart-civ=1:athen -autostart-civ=2:brit -autostart-ai=2:petra
|
||||
3) Observe the PetraBot on a triggerscript map:
|
||||
-autostart="random/jebel_barkal" -autostart-seed=-1 -autostart-players=2 -autostart-civ=1:athen -autostart-civ=2:brit -autostart-ai=1:petra -autostart-ai=2:petra -autostart-player=-1
|
||||
|
||||
Configuration:
|
||||
-conf=KEY:VALUE set a config value
|
||||
|
||||
Reference in New Issue
Block a user