1
2
3
4
5FOOBILLARD(6) Games Manual FOOBILLARD(6)
6
7
8
10 foobillard — OpenGL billard game
11
13 foobillard [options]
14
16 FooBillard is an OpenGL billard game for Linux. FooBillard is still
17 under development, but the main physics are implemented. If you are a
18 billard-pro and you're missing some physics, please contact the author.
19
21 --p1 ai|human, --player1 ai|human
22 Set player1 to be an ai (computer) or human player.
23
24 --p2 ai|human, --player2 ai|human
25 Set player2 to be an ai (computer) or human player.
26
27 --name1 NAME
28 Set the name of player1 to NAME.
29
30 --name2 NAME
31 Set the name of player2 to NAME.
32
33 --8ball
34 Play a game of 8-ball.
35
36 --9ball
37 Play a game of 9-ball.
38
39 --carambol
40 Play a game of carambol.
41
42 --snooker
43 Play a game of snooker.
44
45 --tablecolor COLOR
46 Table color in C-style hex notation <0xrrggbb>.
47
48 --edgecolor COLOR
49 Edge color in C-style hex notation <0xrrggbb>.
50
51 --chromeblue
52 Blue table with chrome edges.
53
54 --goldgreen
55 Green table with gold edges.
56
57 --goldred
58 Red table with gold edges.
59
60 --blackwhite
61 Black table with white frame.
62
63 --blackbeige
64 Beige table with black metal.
65
66 --tablesize NUM
67 Set the table size (length) in foot to NUM (default: 7.0)
68
69 --lensflare, --nolensflare
70 Turn lensflare on or off.
71
72 --poslight
73 Use positional light.
74
75 --dirlight
76 Use directional light.
77
78 --ai1err NUM
79 Set the errorlevel of the 1st ai player to NUM (0..1)
80
81 --ai2err NUM
82 Set the errorlevel of the 2nd ai player to NUM (0..1)
83
84 --balldetail l|m|h
85 Set the ball detail to [l]ow, [m]edium or [h]igh.
86
87 --rgstereo
88 Start the game in stereo mode (red-green(cyan)).
89
90 --hostaddr HOST
91 Play a network game with HOST as server. See the NETWORK GAMES
92 section below for details.
93
94 --portnum PORT
95 Use PORT for the TCP connection. See the NETWORK GAMES section
96 below for details.
97
98 --geometry ARG
99 Set the window geometry to ARG (WIDTHxHEIGHT)
100
101 --fullscreen
102 Play in fullscreen mode.
103
104 --freemove ARG
105 Turn free move in external view mode on or off.
106
107 --cuberef ARG
108 Turn rendered cubemap reflections on or off.
109
110 --cuberes ARG
111 Texture size for cuberef (has to be a power of 2)
112
113 --bumpref ARG
114 Turn bumpmap reflections of edges on or off.
115
116 --balltraces ARG
117 Turn balltraces on or off.
118
119 --help Show an overview of available options.
120
122 Overview of the keyboard/mouse functions available in FooBillard:
123
124 Mouse moving + button1 rotate
125 Mouse moving + button2 zoom
126 Mouse moving + hold b2 after b1 place cue ball
127 Mouse moving + hold b1 after b2 adjust effet
128 No mouse move + b1 after b2 toggle cue view on/off
129 Mouse moving + button2 + Ctrl FOV - adjust
130 Mouse moving + button1 + Shift place cue ball (when active)
131 Mouse moving + button2 + Shift cue offset adjust
132 Mouse button 3 shoot
133 <space> or <enter> shoot
134 <up>, <down> adjust strength
135 <pg up>, <pg down> adjust strength
136 <left>, <right> rotate
137 <ESC> end game
138 <0> suggest AI-shot
139 <a> toggle current player AI/human
140 <n> restart game
141 <b> show FPS
142 <v> turn vertical help-line on/off
143 <c>, <F3> toggle cue view on/off
144 <f>, <F4> toggle free move mode
145 <r> toggle simpler reflections
146 <s> toggle red/green stereo
147 <F1> toggle help screen
148 <F2> birdview (same as <F3>+<F4>+centered pos)
149
151 You can place a config file named .foobillardrc in your home directory.
152 The file can contain all possible commandline arguments (without the
153 preceding dashes, and one line for each argument). Commandline parame‐
154 ters are parsed after reading the config file, so they override the
155 .foobillardrc settings.
156
158 To start a network game :
159
160 Hit <ESC> to get to the menu,
161
162 Select <Network Game>/<As Host> on one computer and <Network
163 Game>/<Join>/<OK> on the other machine after having set the proper IP
164 in <Network Game>/<Join>/<IP>.
165
166 The <Network Game>/<Port> setting must be the same on both machines.
167
168 The IP of the host machine can also be set on the client machine (the
169 joining one), by adding hostaddr=IP-ADDR in the config file (see
170 below), or by passing it as commandline option: --hostaddr=IP-ADDR
171
172 Starting from menu the host sends its gamestate variables to the
173 client, so every clienside settings get overriden by the host (game‐
174 type, tablesize, player names, ...)
175
176 The data sent between the two computers are only the shot-data, like
177 strength, cue offset and direction. So if the two machines have a dif‐
178 ferent internal floating point accuracy, the games may drift apart
179 after a certain amount of time.
180
182 FooBillard homepage: http://foobillard.sunsite.dk/
183
185 FooBillard was written by Florian Berger <harpin_floh@yahoo.de>
186
187 This manpage was written by Wouter Eerdekens <retuow@xs4all.be> for the
188 Debian GNU/Linux system (but may be used by others).
189
190
191
192
193 FOOBILLARD(6)