韋諾之戰,一個回合制奇幻風格的六角戰棋遊戲
wesnoth [
OPTIONS] [
PATH_TO_DATA]
韋諾之戰(
Wesnoth)是一個回合制奇幻風格的六角戰棋遊戲。
用精心挑選的部隊打敗所有的敵人。管理好您的資源和村莊。
所有單位都有自己的優勢與劣勢;要取得勝利,必須發揮出您的部隊的優勢,
同時阻止對手這麼做。
隨着單位獲得經驗,他們會學會新的技能,變得更強大。
遊戲特性:可以使用當地語言進行遊戲。通過與電腦AI進行對抗提高自己的技能,當然也可以進入韋諾網路多人對戰。你還可以創造自己的單位,關卡和戰役,並與所有韋諾玩家分享。
- --bpp number
- 設定每個像素的位元數。例如:--bpp
32
- -c, --campaign [<id_campaign>]
- goes directly to the campaign with id <id_campaign>. A selection
menu will appear if no id was specified. Note: When using this
switch please ensure that you specify the data directory path as the final
argument aswell, otherwise the game will take the campaign/scenario id as
the data dir.
- --campaign-difficulty <difficulty>
- The difficulty of the specified campaign (1 to max). If none specified,
the campaign difficulty selection widget will appear.
- --campaign-scenario <id_scenario>
- The id of the scenario from the specified campaign. The default is the
first scenario.
- --config-dir name
- sets the user configuration directory to name under $HOME or
"My Documents\My Games" for windows. You can also specify an
absolute path for the configuration directory outside the $HOME or
"My Documents\My Games"
- --config-path
- 顯示玩家配置目錄的路徑並退出。
- --data-dir <directory>
- overrides the data directory with the one specified
- -d, --debug
- 顯示更多的資訊,使一些附加的指令選項可以使用。關於指令(Command
Mode)可以參考wiki:
http://www.wesnoth.org/wiki/CommandMode 。
- -e, --editor file
- start the in-game map editor directly. If file is specified,
equivalent to -l --load
- --fps
- 在螢幕一角的顯示游戲幀幅數。
- -f, --fullscreen
- 使用全螢幕模式。
- --gunzip infile.gz
- 解壓縮gzip格式的檔案,並儲存為去除
.gz
後的相同文件。文件
infile.gz將被刪除。
- --gzip infile
- 用gzip格式壓縮檔案,文件名為infile.gz,並刪除infile。
- -h, --help
- 顯示指令可用選項,然後退出。
- -l, --load file
- 從預設遊戲存檔目錄讀取存檔file。如果與
-e 或 --editor
選項同時使用,啟動地圖編輯器並打開
file所對應的地圖。如果是一個目錄,則編輯器啟動後自動打開讀取地圖對話框並定位到該目錄。
- --log-level=domain1,domain2,...
- 設定debug的級別。all用來支配任意bebug級別。可選的級別有:error, warning, info, debug。預設的級別是error。
- --logdomains [filter]
- lists defined log domains (only the ones containing filter if used)
and exits
- --max-fps
- 遊戲每秒能顯示的幀幅數,可以設為1-1000的數,預設為50。
- -m, --multiplayer
- 啟動一個多人游戲。有更多的額外選項可以與--multiplayer一起使用,詳見下述。只有這些額外選項可以跟在--multiplayer之後。
- --no-delay
- 不延遲圖形基準測試,直接執行遊戲。使用
--nogui
選項時會自動啟動本選項。
- --nocache
- 禁止建立遊戲資料庫的暫存。
- --nomusic
- 以無音樂和音效的方式啟動游戲。
- --nosound
- 以無音樂和音效的方式啟動游戲。
- --path
- 顯示遊戲資料庫目錄並退出。
- --preprocess, -p[=<define1>,<define2>,...]
<file/folder> <target directory>
- preprocesses a specified file/folder. The file(s) will be written in
specified target directory: a plain cfg file and a processed cfg file. If
a folder is specified, it will be preprocessed recursively based on the
known preprocessor rules. The common macroses from the data/core/macros
will be preprocessed before the specified resources.
define1,define2,... - the extra defines will be added before
processing the files. If you want to add them you must add the '='
character before. If 'SKIP_CORE' is in the define list the data/core won't
be preprocessed. Example: -p ~/wesnoth/data/campaigns/tutorial
~/result or -p=MULTIPLAYER,MY_OWN_CAMPAIGN
~/wesnoth/data/campaign/camp ~/result
- --preprocess-input-macros <source file>
- used only by the '--preprocess' command. Specifies a file that contains
[preproc_define]s to be included before preprocessing.
- --preprocess-output-macros [<target file>]
- used only by the '--preprocess' command. Will output all preprocessed
macros in the target file. If the file is not specified the output will be
file '_MACROS_.cfg' in the target directory of preprocess's command. This
switch should be typed before the --preprocess command.
- -r XxY, --resolution XxY
- 設定螢幕解析度。例如:
-r 800x600
- -s, --server [host]
- 如果指定了主機的話,連接到指定的主機。否則,連接到偏好設定中的第一個伺服器。例如:--server
server.wesnoth.org
- --strict-validation
- validation errors are treated as fatal errors.
- -t, --test
- 執行游戲測試任務。
- --validcache
- 假定快取是有效的。(因此不進行快取驗證,危險)
- -v, --version
- 顯示版本並退出。
- -w, --windowed
- 使用視窗模式執行遊戲。
- --with-replay
- 透過和--load選項一起使用,播放遊戲錄影。
--multiplayer的額外選項¶
多人遊戲裡面選擇一個陣營,可以使用標記
number。
number
要用代表某個陣營的數字替換。一般是1
或者2。不過不同的任務可選的陣營數會有不同。取決於您的任務。
- --ai_confignumber=value
- 為該陣營的AI控制者選擇一個配置檔案來讀取。
- --algorithmnumber=value
- 為這個陣營選擇一個非標準的AI控制。可選值有:idle_ai
和 sample_ai.
- --controllernumber=value
- 選擇這個陣營的控制者。可選值有:human和ai。
- --era=value
- 使用這個選項選擇一個模式來代替Default模式。所選模式由ID決定。模式在data/multiplayer/eras.cfg檔案中描述。
- --exit-at-end
- 當任務結束時直接退出而不顯示勝利/失敗對話框。這個選項也可以用在初稿基準測試。
- --nogui
- 執行遊戲,但不啟動使用者圖形界面(GUI)。此選項必須在--multiplayer之前使用才有效。
- --parmnumber=name:value
- 為這個陣營設置附加選項。這個參數依--controller和--algorithm的選項而定。這個選項只對設計AI的人比較有用。(目前還沒有相應的文檔)
- --scenario=value
- 透過ID選擇多人遊戲地圖。預設地圖是multiplayer_The_Freelands。
- --sidenumber=value
- 為當前陣營選擇模式中的一個類別。所選類別由ID決定。類別在文件data/multiplayer.cfg文件中描述。
- --turns=value
- 設定所選任務的回合數限制。預設值為50。
退出狀態碼¶
正常退出時的狀態碼為0。狀態碼1代表發生了(SDL、視訊、字型等)初始化錯誤。狀態碼2代表命令行選項中有錯誤。
由David White <davidnwhite@verizon.net>編寫。
經Nils Kneuper <crazy-ivanovic@gmx.net>, ott <ott@gaon.net>
and Soliton <soliton.de@gmail.com>更動。
這個說明頁最早由 Cyril Bouthors
撰寫<cyril@bouthors.org>。
官方網站:http://www.wesnoth.org/;繁體中文翻譯團隊:http://wesnoth-tw.blogspot.com/
Copyright © 2003-2013 David White <davidnwhite@verizon.net>
這是一個免費遊戲;使用由FSF發布的GPL
v2協議授權。原文如下:This
is Free Software; this software is licensed under the GPL version 2, as
published by the Free Software Foundation. There is NO warranty; not even for
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.There is NO warranty; not
even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
wesnothd(6).