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 $
3 .\" $DragonFly: src/games/hunt/huntd/huntd.6,v 1.2 2008/09/04 07:35:06 swildner Exp $
6 .\" Copyright (c) 1985 Conrad C. Huang, Gregory S. Couch, Kenneth C.R.C. Arnold
7 .\" San Francisco, California
9 .\" Copyright (c) 1985 Regents of the University of California.
10 .\" All rights reserved. The Berkeley software License Agreement
11 .\" specifies the terms and conditions for redistribution.
18 .Nd hunt daemon, back-end for hunt game
25 .Fl D Ar var No = Ar value \ \&...
31 controls the multi-player
37 option is used to cause the server to listen only on a
38 specific interface address.
41 argument must be given as an IP address.
45 override those read from configuration files
54 option changes the UDP port number used to rendezvous with the player
55 process and thus allows for private games of
64 This is similar to running it under the control of
67 but it consumes a process table entry when no one is playing,
68 and monitor clients are not disconnected.
78 .Dl hunt dgram udp wait nobody /usr/games/huntd HUNT
80 Do not use any of the command line options \(em if you want
84 on a private port, change the port listed in
86 .Ss "NETWORK RENDEZVOUS"
89 starts up, it broadcasts on attached networks,
90 using the broadcast or point-to-point destination address for each interface,
96 hears the request, it sends back the port number for the
98 process to connect to.
102 is started, it always checks incoming connections with
104 using a service name of
109 starts, it looks for configuration files that determine
111 Each line of a configuration file is of the form
112 .Ar var No = Ar value .
113 Comments start with a hash sign
115 The configuration files loaded in order
119 .Pa "$HOME/.hunt.conf" ,
123 Many of these variables require intimate knowledge of the
125 The complete list of configurable variables is as follows.
127 .Bl -tag -width pdroneabsorb -compact
129 enable dispersion doors
132 enable generation of reflection walls
166 nr deaths before nr kills begins to decay
169 Maximum number of holes in the maze wall
172 Seconds to keep game open with no players. \&-1 means forever
178 max displacement each flying time unit
184 percentage chance of tripping a grenade on pickup
187 percentage chance of same when backing onto it
190 percentage chance of same when walking sideways into it
193 percentage of time dispersion doors appear
196 percentage of time reflection walls appear
199 percentage chance of shots colliding
202 percentage chance of grenades colliding
205 facing player chance of catching grenade
208 percentage chance of bullet missing player
211 percentage chance of absorbing a drone
214 divisor of damage used for fall damage
220 initial ammo for player
223 ammo boost for all when new player joins
226 max number of simultaneous shots per player
229 the initial shield for each player
232 minimum damage from one unit of ammo
238 shield gained from killing someone
241 charge multiplier for slime
247 speed of volcano lava
256 minimum shot class needed to make a drone
259 maximum simulation step in microseconds.
260 Zero means traditional blocking behaviour.
261 Try 55000 for something reasonable
265 .Bl -tag -width Pa -compact
266 .It Pa /etc/hunt.conf
267 .It Pa "$HOME/.hunt.conf"
271 .Xr hosts_options 5 ,
275 Conrad Huang, Ken Arnold, and Greg Couch;
277 University of California, San Francisco, Computer Graphics Lab
279 David Leonard tidied up, and added the configuration file.