← 返回命令列表

Linux command

xpilot 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Start the game

xpilot

Connect to a specific server

xpilot -join [server_address]

Set player name

xpilot -name "[player_name]"

Connect with team selection

xpilot -join [server] -team [team_number]

Use a specific ship shape

xpilot -shipShape "[shape_string]"

List available servers

xpilot -list

Start with specific display

xpilot -display [hostname:0]

说明

XPilot is a multiplayer tactical space combat game for the X Window System. Players pilot spacecraft in a 2D arena, competing against others in various game modes including team battles, capture the flag, and survival matches. The game features Newtonian physics with momentum and gravity, requiring players to master thrust and rotation for maneuvering. Ships can collect power-ups for weapons like missiles, lasers, and mines. The gameplay emphasizes skill in navigation and combat timing. Players connect to dedicated servers which host the game maps and manage the match. Multiple clients can connect to a single server for competitive play. The game supports both internet play and LAN sessions. Custom ship designs can be created using the ship shape specification language. XPilot has an active community with various forks and enhanced versions. Configuration can be customized through command-line options or the .xpilotrc configuration file in the user's home directory.

参数

-display _host:n_
Connect to X server on specified display.
-join _server_
Connect directly to the specified game server.
-name _name_
Set the player name (default: login name).
-team _n_
Join the specified team number.
-list
Query and list available servers on the network.
-port _n_
Use specified port number for server connection.
-shipShape _shape_
Define custom ship appearance using shape string.
-geometry _WxH+X+Y_
Set window geometry.
-fps _n_
Target frames per second.
-keyTurnLeft _key_
Bind key for turning left.
-keyTurnRight _key_
Bind key for turning right.
-keyThrust _key_
Bind key for thrust.
-keyFire _key_
Bind key for firing.
-help
Display help and available options.

FAQ

What is the xpilot command used for?

XPilot is a multiplayer tactical space combat game for the X Window System. Players pilot spacecraft in a 2D arena, competing against others in various game modes including team battles, capture the flag, and survival matches. The game features Newtonian physics with momentum and gravity, requiring players to master thrust and rotation for maneuvering. Ships can collect power-ups for weapons like missiles, lasers, and mines. The gameplay emphasizes skill in navigation and combat timing. Players connect to dedicated servers which host the game maps and manage the match. Multiple clients can connect to a single server for competitive play. The game supports both internet play and LAN sessions. Custom ship designs can be created using the ship shape specification language. XPilot has an active community with various forks and enhanced versions. Configuration can be customized through command-line options or the .xpilotrc configuration file in the user's home directory.

How do I run a basic xpilot example?

Run `xpilot` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -display _host:n_ do in xpilot?

Connect to X server on specified display.