| 1 |
.\" Automatically generated from hunt/hunt/hunt.6.in. Do not edit. |
| 2 |
.\" $NetBSD: hunt.6,v 1.11 2003/06/11 12:00:21 wiz Exp $ |
| 3 |
.\" |
| 4 |
.\" hunt |
| 5 |
.\" |
| 6 |
.\" Copyright (c) 1983-2003, Regents of the University of California. |
| 7 |
.\" All rights reserved. |
| 8 |
.\" |
| 9 |
.\" Redistribution and use in source and binary forms, with or without |
| 10 |
.\" modification, are permitted provided that the following conditions are |
| 11 |
.\" met: |
| 12 |
.\" |
| 13 |
.\" + Redistributions of source code must retain the above copyright |
| 14 |
.\" notice, this list of conditions and the following disclaimer. |
| 15 |
.\" + Redistributions in binary form must reproduce the above copyright |
| 16 |
.\" notice, this list of conditions and the following disclaimer in the |
| 17 |
.\" documentation and/or other materials provided with the distribution. |
| 18 |
.\" + Neither the name of the University of California, San Francisco nor |
| 19 |
.\" the names of its contributors may be used to endorse or promote |
| 20 |
.\" products derived from this software without specific prior written |
| 21 |
.\" permission. |
| 22 |
.\" |
| 23 |
.\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS |
| 24 |
.\" IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED |
| 25 |
.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A |
| 26 |
.\" PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 27 |
.\" OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 28 |
.\" SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 29 |
.\" LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 30 |
.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 31 |
.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 32 |
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 33 |
.\" OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 34 |
.\" |
| 35 |
.Dd April 4, 2001 |
| 36 |
.Dt HUNT 6 |
| 37 |
.Sh NAME |
| 38 |
.Nm hunt |
| 39 |
.Nd a multi-player multi-terminal game |
| 40 |
.Sh SYNOPSIS |
| 41 |
.Nm |
| 42 |
.Op Fl bcfmqSs |
| 43 |
.Op Fl n Ar name |
| 44 |
.Op Fl t Ar team |
| 45 |
.Op Fl p Ar port |
| 46 |
.Op Fl w Ar message |
| 47 |
.Op Ar host |
| 48 |
.Sh DESCRIPTION |
| 49 |
The object of the game |
| 50 |
.Nm |
| 51 |
is to kill off the other players. |
| 52 |
There are no rooms, no treasures, and no monsters. |
| 53 |
Instead, you wander around a maze, find grenades, trip mines, and shoot down |
| 54 |
walls and players. |
| 55 |
The more players you kill before you die, the better your score is. |
| 56 |
If the |
| 57 |
.Fl m |
| 58 |
flag is given, you enter the game as a monitor |
| 59 |
(you can see the action but you cannot play). |
| 60 |
.Pp |
| 61 |
.Nm |
| 62 |
normally looks for an active game on the local network; |
| 63 |
if none is found, it starts one up on the local host. |
| 64 |
The location of the game may be specified by giving the |
| 65 |
.Ar host |
| 66 |
argument. |
| 67 |
This presupposes that a hunt game is already running on that host, see |
| 68 |
.Xr huntd 6 |
| 69 |
for details on how to set up a game on a specific host. |
| 70 |
If more than one game if found, you may pick which game to play in. |
| 71 |
.Pp |
| 72 |
If the |
| 73 |
.Fl q |
| 74 |
flag is given, |
| 75 |
.Nm |
| 76 |
queries the local network (or specific host) |
| 77 |
and reports on all active games found. |
| 78 |
This is useful for shell startup scripts, e.g., |
| 79 |
.Xr csh 1 Ns 's |
| 80 |
.Pa .login . |
| 81 |
.Pp |
| 82 |
The player name may be specified on the command line by using the |
| 83 |
.Fl n |
| 84 |
option. |
| 85 |
.Pp |
| 86 |
The |
| 87 |
.Fl c , |
| 88 |
.Fl s , |
| 89 |
and |
| 90 |
.Fl f |
| 91 |
options are for entering the game cloaked, scanning, or flying respectively. |
| 92 |
.Pp |
| 93 |
The |
| 94 |
.Fl b |
| 95 |
option turns off beeping when you reach the typeahead limit. |
| 96 |
.Pp |
| 97 |
The |
| 98 |
.Fl t |
| 99 |
option aids team playing by making everyone else on one's team |
| 100 |
appear as the team name. |
| 101 |
A team name is a single digit to avoid conflicting with other characters |
| 102 |
used in the game. |
| 103 |
.Pp |
| 104 |
The |
| 105 |
.Fl p Ar port |
| 106 |
option allows the rendezvous port number to be set. |
| 107 |
This is a useful way for people playing on dialup lines to avoid playing |
| 108 |
with people on 9600 baud terminals. |
| 109 |
.Pp |
| 110 |
The |
| 111 |
.Fl w Ar message |
| 112 |
option is the only way to send a message to everyone else's screen when |
| 113 |
you start up. |
| 114 |
It is most often used to say |
| 115 |
.Dq eat slime death - NickD's coming in . |
| 116 |
.Pp |
| 117 |
When you die and are asked if you wish to re-enter the game, |
| 118 |
there are other answers than just yes or no. |
| 119 |
You can also reply with a |
| 120 |
.Ic w |
| 121 |
for write a message before continuing or |
| 122 |
.Ic o |
| 123 |
to change how you enter the game (cloaked, scanning, or flying). |
| 124 |
.Pp |
| 125 |
To be notified automatically when a |
| 126 |
.Nm |
| 127 |
starts up, add your login to the |
| 128 |
.Em hunt-players |
| 129 |
mailing list (see |
| 130 |
.Xr huntd 6 ) . |
| 131 |
.Sh PLAYING HINTS |
| 132 |
.Nm |
| 133 |
only works on CRT (vdt) terminals with at least 24 lines, 80 columns, and |
| 134 |
cursor addressing. |
| 135 |
The screen is divided in to 3 areas. |
| 136 |
On the right hand side is the status area. |
| 137 |
It shows damage sustained, charges remaining, who's in the game, |
| 138 |
who's scanning (the |
| 139 |
.Dq * |
| 140 |
in front of the name), who's cloaked (the |
| 141 |
.Dq + |
| 142 |
in front of the name), and other players' scores. |
| 143 |
The rest of the screen is taken up by your map of the maze. |
| 144 |
The 24th line is used for longer messages that don't fit in the status area. |
| 145 |
.Pp |
| 146 |
.Nm |
| 147 |
uses the same keys to move as |
| 148 |
.Xr vi 1 |
| 149 |
does, i.e., |
| 150 |
.Ic h , |
| 151 |
.Ic j , |
| 152 |
.Ic k , |
| 153 |
and |
| 154 |
.Ic l |
| 155 |
for left, down, up, right respectively. |
| 156 |
To change which direction you're facing in the maze, |
| 157 |
use the upper case version of the movement key (i.e., |
| 158 |
.Ic HJKL ) . |
| 159 |
You can only fire or throw things in the direction you're facing. |
| 160 |
.Bl -tag -width xxxxxxx |
| 161 |
Other commands are: |
| 162 |
.It Ic f No or Ic 1 |
| 163 |
Fire a bullet (Takes 1 charge) |
| 164 |
.It Ic g No or Ic 2 |
| 165 |
Throw grenade (Takes 9 charges) |
| 166 |
.It Ic F No or Ic 3 |
| 167 |
Throw satchel charge (Takes 25 charges) |
| 168 |
.It Ic G No or Ic 4 |
| 169 |
Throw bomb (Takes 49 charges) |
| 170 |
.It Ic 5 |
| 171 |
Throw big bomb (Takes 81 charges) |
| 172 |
.It Ic 6 |
| 173 |
Throw even bigger bomb (Takes 121 charges) |
| 174 |
.It Ic 7 |
| 175 |
Throw even more big bomb (Takes 169 charges) |
| 176 |
.It Ic 8 |
| 177 |
Throw even more bigger bomb (Takes 225 charges) |
| 178 |
.It Ic 9 |
| 179 |
Throw very big bomb (Takes 289 charges) |
| 180 |
.It Ic 0 |
| 181 |
Throw very, very big bomb (Takes 361 charges) |
| 182 |
.It Ic @ |
| 183 |
Throw biggest bomb (Takes 441 charges) |
| 184 |
.It Ic o |
| 185 |
Throw small slime (Takes 5 charges) |
| 186 |
.It Ic O |
| 187 |
Throw big slime (Takes 10 charges) |
| 188 |
.It Ic p |
| 189 |
Throw bigger slime (Takes 15 charges) |
| 190 |
.It Ic P |
| 191 |
Throw biggest slime (Takes 20 charges) |
| 192 |
.It Ic s |
| 193 |
Scan (show where other players are) (Takes 1 charge) |
| 194 |
.It Ic c |
| 195 |
Cloak (hide from scanners) (Takes 1 charge) |
| 196 |
.It Ic ^L |
| 197 |
Redraw screen |
| 198 |
.It Ic q |
| 199 |
Quit |
| 200 |
.El |
| 201 |
.Pp |
| 202 |
The symbols on the screen are: |
| 203 |
.Bl -tag -width xxxxx -compact -offset indent |
| 204 |
.It -|+ |
| 205 |
walls |
| 206 |
.It /\e |
| 207 |
diagonal (deflecting) walls |
| 208 |
.It # |
| 209 |
doors (dispersion walls) |
| 210 |
.It ; |
| 211 |
small mine |
| 212 |
.It g |
| 213 |
large mine |
| 214 |
.It : |
| 215 |
bullet |
| 216 |
.It o |
| 217 |
grenade |
| 218 |
.It O |
| 219 |
satchel charge |
| 220 |
.It @ |
| 221 |
bomb |
| 222 |
.It s |
| 223 |
small slime |
| 224 |
.It $ |
| 225 |
big slime |
| 226 |
.It \*[Gt]\*[Lt]^v |
| 227 |
you facing right, left, up, or down |
| 228 |
.It }{i! |
| 229 |
other players facing right, left, up, or down |
| 230 |
.It * |
| 231 |
explosion |
| 232 |
.It \e|/ |
| 233 |
.It -*- |
| 234 |
grenade and large mine explosion |
| 235 |
.It /|\e |
| 236 |
.El |
| 237 |
.Pp |
| 238 |
Other helpful hints: |
| 239 |
.Bl -bullet |
| 240 |
.It |
| 241 |
You can only fire in the direction you are facing. |
| 242 |
.It |
| 243 |
You can only fire three shots in a row, then the gun must cool off. |
| 244 |
.It |
| 245 |
Shots move 5 times faster than you do. |
| 246 |
.It |
| 247 |
To stab someone, you face that player and move at them. |
| 248 |
.It |
| 249 |
Stabbing does 2 points worth of damage and shooting does 5 points. |
| 250 |
.It |
| 251 |
Slime does 5 points of damage each time it hits. |
| 252 |
.It |
| 253 |
You start with 15 charges and get 5 more every time a player enters |
| 254 |
or re-enters. |
| 255 |
.It |
| 256 |
Grenade explosions cover a 3 by 3 area, each larger bomb cover a |
| 257 |
correspondingly larger area (ranging from 5 by 5 to 21 by 21). |
| 258 |
All explosions are centered around the square the shot hits and |
| 259 |
do the most damage in the center. |
| 260 |
.It |
| 261 |
Slime affects all squares it oozes over. |
| 262 |
The number of squares is equal to the number of charges used. |
| 263 |
.It |
| 264 |
One small mine and one large mine is placed in the maze for every new player. |
| 265 |
A mine has a 2% probability of tripping when you walk forward on to it; |
| 266 |
50% when going sideways; 95% when backing up. |
| 267 |
Tripping a mine costs you 5 points or 10 points respectively. |
| 268 |
Defusing a mine is worth 1 charge or 9 charges respectively. |
| 269 |
.It |
| 270 |
You cannot see behind you. |
| 271 |
.It |
| 272 |
Cloaking consumes 1 ammo charge per 20 of your moves. |
| 273 |
.It |
| 274 |
Scanning consumes 1 ammo charge per (20 \(mu the number of players) |
| 275 |
of other player moves. |
| 276 |
.It |
| 277 |
Turning on cloaking turns off scanning \(em turning on scanning turns off |
| 278 |
cloaking. |
| 279 |
.It |
| 280 |
When you kill someone, |
| 281 |
you get 2 more damage capacity points and 2 damage points get taken away. |
| 282 |
.It |
| 283 |
Maximum typeahead is 5 characters. |
| 284 |
.It |
| 285 |
A shot destroys normal (i.e., non-diagonal, non-door) walls. |
| 286 |
.It |
| 287 |
Diagonal walls deflect shots and change orientation. |
| 288 |
.It |
| 289 |
Doors disperse shots in random directions (up, down, left, right). |
| 290 |
.It |
| 291 |
Diagonal walls and doors cannot be destroyed by direct shots but may |
| 292 |
be destroyed by an adjacent grenade explosion. |
| 293 |
.It |
| 294 |
Slime goes around walls, not through them. |
| 295 |
.It |
| 296 |
Walls regenerate, reappearing in the order they were destroyed. |
| 297 |
One percent of the regenerated walls will be diagonal walls or doors. |
| 298 |
When a wall is generated directly beneath a player, he is thrown in |
| 299 |
a random direction for a random period of time. |
| 300 |
When he lands, he sustains damage (up to 20 percent of the amount of |
| 301 |
damage already sustained); i.e., the less damage he had, the more nimble |
| 302 |
he is and therefore less likely to hurt himself on landing. |
| 303 |
.\"MP |
| 304 |
.\"There is a volcano close to the center of the maze which goes off |
| 305 |
.\"close to every 30 deaths. |
| 306 |
.It |
| 307 |
Every 30 deaths or so, a |
| 308 |
.Dq \&? |
| 309 |
will appear. |
| 310 |
It is a wandering bomb which will explode when it hits someone, or |
| 311 |
when it is slimed. |
| 312 |
.It |
| 313 |
If no one moves, everything stands still. |
| 314 |
.It |
| 315 |
The environment variable |
| 316 |
.Ev HUNT |
| 317 |
is checked to get the player name. |
| 318 |
If you don't have this variable set, |
| 319 |
.Nm |
| 320 |
will ask you what name you want to play under. |
| 321 |
If you wish to set other options than just your name, |
| 322 |
you can enumerate the options as follows: |
| 323 |
.Dl setenv HUNT "name=Sneaky,team=1,cloak,mapkey=zoFfGg1f2g3F4G" |
| 324 |
sets the player name to Sneaky, sets the team to one, |
| 325 |
sets the enter game attribute to cloaked, and the maps |
| 326 |
.Ic z |
| 327 |
to |
| 328 |
.Ic o , F |
| 329 |
to |
| 330 |
.Ic f , G |
| 331 |
to |
| 332 |
.Ic g , 1 |
| 333 |
to |
| 334 |
.Ic f , 2 |
| 335 |
to |
| 336 |
.Ic g , 3 |
| 337 |
to |
| 338 |
.Ic F , |
| 339 |
and |
| 340 |
.Ic 4 |
| 341 |
to |
| 342 |
.Ic G . |
| 343 |
The |
| 344 |
.Ar mapkey |
| 345 |
option must be last. |
| 346 |
Other options are: |
| 347 |
.Ar scan , fly , nobeep , port=string , host=string , |
| 348 |
and |
| 349 |
.Ar message=string , |
| 350 |
which correspond to the command line options. |
| 351 |
String options cannot contain commas since commas |
| 352 |
are used to separate options. |
| 353 |
.It |
| 354 |
It's a boring game if you're the only one playing. |
| 355 |
.El |
| 356 |
.Pp |
| 357 |
Your score is the decayed average of the ratio of number of kills to number |
| 358 |
of times you entered the game and is only kept for the duration |
| 359 |
of a single session of |
| 360 |
.Nm . |
| 361 |
.Pp |
| 362 |
.Nm |
| 363 |
normally drives up the load average to be approximately |
| 364 |
(number_of_players + 0.5) greater than it would be without a |
| 365 |
.Nm |
| 366 |
game executing. |
| 367 |
.Sh STATISTICS |
| 368 |
The |
| 369 |
.Fl S |
| 370 |
option fetches the current game statistics. |
| 371 |
The meaning of the column headings are as follows: |
| 372 |
.Bl -tag -width ducked |
| 373 |
.It score |
| 374 |
the player's last score |
| 375 |
.It ducked |
| 376 |
how many shots a player ducked |
| 377 |
.It absorb |
| 378 |
how many shots a player absorbed |
| 379 |
.It faced |
| 380 |
how many shots were fired at player's face |
| 381 |
.It shot |
| 382 |
how many shots were fired at player |
| 383 |
.It robbed |
| 384 |
how many of player's shots were absorbed |
| 385 |
.It missed |
| 386 |
how many of player's shots were ducked |
| 387 |
.It slimeK |
| 388 |
how many slime kills player had |
| 389 |
.It enemy |
| 390 |
how many enemies were killed |
| 391 |
.tI friend |
| 392 |
how many friends were killed (self and same team) |
| 393 |
.It deaths |
| 394 |
how many times player died |
| 395 |
.It still |
| 396 |
how many times player died without typing in any commands |
| 397 |
.It saved |
| 398 |
how many times a shot/bomb would have killed player if he hadn't |
| 399 |
ducked or absorbed it. |
| 400 |
.El |
| 401 |
.Sh SEE ALSO |
| 402 |
.Xr huntd 6 |
| 403 |
.Sh AUTHORS |
| 404 |
Conrad Huang, Ken Arnold, and Greg Couch; |
| 405 |
.br |
| 406 |
University of California, San Francisco, Computer Graphics Lab |
| 407 |
.Sh ACKNOWLEDGEMENTS |
| 408 |
We thank Don Kneller, |
| 409 |
John Thomason, Eric Pettersen, Mark Day, |
| 410 |
and Scott Weiner for providing |
| 411 |
endless hours of play-testing to improve the character of the game. |
| 412 |
We hope their significant others will forgive them; we certainly don't. |
| 413 |
.Sh BUGS |
| 414 |
To keep up the pace, not everything is as realistic as possible. |