查看: 3274|回复: 2
打印 上一主题 下一主题
收起左侧

openTTD启动参数

  [复制链接]
跳转到指定楼层
楼主
Diablo 发表于 2013-6-22 15:29:12 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

欢迎来到嗨皮网,马上注册结交更多鸟友,享用更多功能

您需要 登录 才可以下载或查看,没有帐号?注册

x
OpenTTD 0.7.5


Command line options:
   -v drv              = Set video driver (see below)
   -s drv              = Set sound driver (see below) (param bufsize,hz)
   -m drv              = Set music driver (see below)
   -b drv              = Set the blitter to use (see below)
   -a ai               = Force use of specific AI (see below)
   -r res              = Set resolution (for instance 800x600)
   -h                  = Display this help text
   -t year             = Set starting year
   -d [[fac=]lvl[,...]]= Debug mode
   -e                  = Start Editor
   -g [savegame]       = Start new/save game immediately
   -G seed             = Set random seed
   -n [ip:port#company]= Start networkgame
   -D [ip][:port]      = Start dedicated server
   -l ip[:port]        = Redirect DEBUG()
   -i palette          = Force to use the DOS (0) or Windows (1) palette
                           (defines default setting when adding newgrfs)
                         Default value (2) lets OpenTTD use the palette
                           specified in graphics set file (see below)
   -I graphics_set     = Force the graphics set (see below)
   -c config_file      = Use 'config_file' instead of 'openttd.cfg'
   -x                  = Do not automatically save to config file on exit
  命令行选项:
  - v drv =设置视频驱动程序(见下文)
  - s drv =设置声音驱动程序(见下文)(param bufsize赫兹)
  - m drv =设置音乐的司机(见下文)
  - b drv =设置传图函数使用(见下文)
  -a ai =力使用特定的ai(见下文)
  - r res =设置分辨率(例如800 x600)
  - h =显示这个帮助文本
  - t year =设置起始年
  - d[[fac =][级,……]]=调试模式
  - e =开始编辑
  - g[savegame]=立即开始新的/保存游戏
  - G 种子=组随机种子
  - n[ip:端口#公司]= networkgame开始
  - D(ip)[:港口]=开始专用服务器
  - l ip(港口):=重定向调试()
  -I graphics_set =武力使用DOS(0)或Windows(1)面板
  (当添加newgrfs定义默认设置)
  默认值(2)让OpenTTD使用调色板


List of graphics sets:
   original_windows: Original Transport Tycoon Deluxe Windows edition graphics
            OpenGFX: OpenGFX base graphics set for OpenTTD. Freely available under the terms of the GNU General Public License version 2. More information available in the readme at http://wiki.openttd.org/OpenGFX_Readme. [OpenGFX 0.2.1]

List of sound drivers:
              win32: Win32 WaveOut Driver
               null: Null Sound Driver

List of music drivers:
             dmusic: DirectMusic MIDI Driver
              win32: Win32 Music Driver
               null: Null Music Driver

List of video drivers:
              win32: Win32 GDI Video Driver
          dedicated: Dedicated Video Driver
               null: Null Video Driver

List of blitters:
         32bpp-anim: 32bpp Animation Blitter (palette animation)
    32bpp-optimized: 32bpp Optimized Blitter (no palette animation)
       32bpp-simple: 32bpp Simple Blitter (no palette animation)
         8bpp-debug: 8bpp Debug Blitter (testing only)
     8bpp-optimized: 8bpp Optimized Blitter (compression + all-ZoomLevel cache)
        8bpp-simple: 8bpp Simple Blitter (relative slow, but never wrong)
               null: Null Blitter (does nothing)

List of AIs:
AdmiralAI (v22): An AI that uses several types of transport
   ChooChoo (v306): Muck about with trains
    Chopper (v7): Uses only helicopters, which provides competition for air travel. If you use AV8, Chopper will take full advantage of other cargos.
CluelessPlus (v14): An AI that connects town-pairs with bus-links - new in Plus is that it uses library pathfinder and have better management
CluelessPlus (v15): An AI that connects town-pairs with bus-links - new in Plus is that it uses library pathfinder and have better management
     Convoy (v11): An AI that prefers buses
Denver & Rio Grande (v1): The Denver & Rio Grande Western Railroad. A frieght train AI by Dustin Andrews. Recomended: NARS, Realistic Accleration. Compatible: default, NARS, 2cc.
      NoCAB (v330): Competitive AI which uses trucks, busses, aircrafts and ships. AI is currently being rewritten to add more advanced features and support for trains and trams; See the forum for more info.
      NoCAB (v336): Competitive AI which uses trucks, busses, aircrafts and ships. AI is currently being rewritten to add more advanced features and support for trains and trams; See the forum for more info.
     OtviAI (v283): A passenger and mail carrying AI
PathZilla (v6): A networking AI. The focus of this AI is on high level planning and neat, realistic construction. Supports buses/trams and mail trucks only.
    PAXLink (v13): PAXLink transport passengers with buses and airplanes. Airplanes are used for inter city transport and buses for feeding the airports with passengers.
   rocketAI (v1): An AI based on the tutorial on http://wiki.openttd.org/ and on ConvoyAI
     Rondje (v311): Rondje om de kerk: a dirty, dirty AI
   SimpleAI (v1): An AI which tries to imitate the old AI.
StreetTraffic (v1): Builds random cars on your streets if you have a GRF with cars.
   TownCars (v4): Builds random cars on your streets if you have a GRF with cars.
     trAIns (v1): trAIns is a competitive AI that play only with trains.
      Trans (v90829): Trans is an effort to be a transporter ;-)
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 转播转播 分享分享 分享淘帖 支持支持 反对反对
沙发
 楼主| Diablo 发表于 2016-11-9 19:01:47 | 只看该作者
建立服务器的批处理文件参数如主楼的帖,但多的不设置,最简单的就是

openttd -D

记住,一定是大写的D,小写的没用。另外设置好openttd.cfg就行了。
板凳
 楼主| Diablo 发表于 2017-8-22 17:52:16 | 只看该作者
-g [savegame]

注解:必须小写,另外[savegame]表示服务器所在文件夹下的save文件夹里的sav存档文件,必须有扩展名
快速回复 返回顶部 返回列表