1 .\" $NetBSD: huntd.6,v 1.3 1998/01/09 08:03:42 perry Exp $
2 .\" $OpenBSD: huntd.6,v 1.18 2007/05/31 19:19:18 jmc Exp $
5 .\" Copyright (c) 1985 Conrad C. Huang, Gregory S. Couch, Kenneth C.R.C. Arnold
6 .\" San Francisco, California
8 .\" Copyright (c) 1985 Regents of the University of California.
9 .\" All rights reserved. The Berkeley software License Agreement
10 .\" specifies the terms and conditions for redistribution.
17 .Nd hunt daemon, back-end for hunt game
24 .Fl D Ar var No = Ar value \ \&...
30 controls the multi-player
36 option is used to cause the server to listen only on a
37 specific interface address.
40 argument must be given as an IP address.
44 override those read from configuration files
53 option changes the UDP port number used to rendezvous with the player
54 process and thus allows for private games of
63 This is similar to running it under the control of
66 but it consumes a process table entry when no one is playing,
67 and monitor clients are not disconnected.
77 .Dl hunt dgram udp wait nobody /usr/games/huntd HUNT
79 Do not use any of the command line options \(em if you want
83 on a private port, change the port listed in
85 .Ss "NETWORK RENDEZVOUS"
88 starts up, it broadcasts on attached networks,
89 using the broadcast or point-to-point destination address for each interface,
95 hears the request, it sends back the port number for the
97 process to connect to.
101 is started, it always checks incoming connections with
103 using a service name of
108 starts, it looks for configuration files that determine
110 Each line of a configuration file is of the form
111 .Ar var No = Ar value .
112 Comments start with a hash sign
114 The configuration files loaded in order
118 .Pa "$HOME/.hunt.conf" ,
122 Many of these variables require intimate knowledge of the
124 The complete list of configurable variables is as follows.
126 .Bl -tag -width pdroneabsorb -compact
128 enable dispersion doors
131 enable generation of reflection walls
165 nr deaths before nr kills begins to decay
168 Maximum number of holes in the maze wall
171 Seconds to keep game open with no players. \&-1 means forever
177 max displacement each flying time unit
183 percentage chance of tripping a grenade on pickup
186 percentage chance of same when backing onto it
189 percentage chance of same when walking sideways into it
192 percentage of time dispersion doors appear
195 percentage of time reflection walls appear
198 percentage chance of shots colliding
201 percentage chance of grenades colliding
204 facing player chance of catching grenade
207 percentage chance of bullet missing player
210 percentage chance of absorbing a drone
213 divisor of damage used for fall damage
219 initial ammo for player
222 ammo boost for all when new player joins
225 max number of simultaneous shots per player
228 the initial shield for each player
231 minimum damage from one unit of ammo
237 shield gained from killing someone
240 charge multiplier for slime
246 speed of volcano lava
255 minimum shot class needed to make a drone
258 maximum simulation step in microseconds.
259 Zero means traditional blocking behaviour.
260 Try 55000 for something reasonable
264 .Bl -tag -width Pa -compact
265 .It Pa /etc/hunt.conf
266 .It Pa "$HOME/.hunt.conf"
270 .Xr hosts_options 5 ,
274 Conrad Huang, Ken Arnold, and Greg Couch;
276 University of California, San Francisco, Computer Graphics Lab
278 David Leonard tidied up, and added the configuration file.