X\fIxmpb\fR [-s] [displayname | \-npc name [ \-npcwin displayname]] ...
X.in -.5i
X
X.SH COPYRIGHT NOTICE
X.sp
XXMPB is Copyright (C) 1992-3 by Shane Hyde & Damien De Paoli.
X.sp
XPermission is given to
Xfreely distribute in a non-modified form. Any modifications to the source
Xcode may not be distributed without the written consent of the authors.
XOr else we'll get you with the Rail Gun!
X
X
X.SH What is XMPB?
X
XXMPB (X-Multi Player Blast) is a multi-player space combat arcade style
Xgame for X-terms and workstations. It was written for Sparcstations
Xrunning SunOS 4.1 and using X11R5. But it has been ported to other
Xsystems including-
X
X - SCO SYS5 UNIX on Intel based machines
X - VAX/VMS using DECWindows.
X
X
X.SH About the Authors.
X
XWe are two Computer Science students at Deakin University, Geelong, Australia.
XWe started XMPB while completing our Honours Degree in Computer Science.
X
XBeing bored with all the games already for X-terms, we decided to write our
Xown. Everyone else out there, do it too!
X
X
X.SH Version 1.0 Changes.
X
X - Save files.
X - Hall of fame
X - Shop.
X - NPC's and compiler.
X - better Imakefile.
X - more weapons.
X - more consistent qualities of items.
X - Speed increase.
X - Clean quitting.
X - CTRL-C trapping.
X - Fixed collision routines.
X - Keys may be configured by resources.
X - Keys may be used instead of the mouse buttons.
X
X
X.SH Installing XMPB.
X
XThe Imakefile that comes with the source distibution allows for much
Xlocal system dependant setup.
X
XCC should be set to your favourite C-compiler. Any compiler should work
Xexcept maybe some versions of acc which seems to not like compiling
Xbitmaps.
X
XCFLAGS should be set to whatever flags you like. We strongly recommend
Xthe best optimisation flags to be set for the compiler, to make the game
Xgo faster.
X
XBINDIR describe the path where the executables will be stored.
X
XMANDIR describes the path where the man page will be installed.
X
XMANSUFFIX sets which part of the manual the man page should be put in
X(6 for games).
X
XBITMAPSDIR contains the directory where the bitmaps are to be installed
Xand loaded by the game.
X
XSAVEDIR contains the directory where all the players' save files are
Xstored.
X
XINSTALLMODS is set to the permissions for the installed executables. If
Xyou are a system administrator, it is probably best to set these to
Xsetuid. I know this sounds like a brute force method, but it will allow
Xplayers to be able to load their saved games, regardless of who invoked
Xthe game. Running without setuid, means that files are owned by the
Xperson running the game, and the default permissions on the save game is
Xread and write for owner only. This is to prevent peeking at others
Xpasswords. If you are a user who will be installing the game into your
Xhome directory, and letting your friends have access to it, then you
Xshould also probably leave the permissions the way they are and the
Xfiles will be saved as if you ran the game every time.
X
XOnce you have set all of the variables to the correct settings for your
Xsystem, it is now easy to install Xmpb.
X
X xmkmf
X make depend
X make install
X
X
X.SH The Scenario.
X
XIn the far future, the most popular televised sport is "Blast" a game
Xwhere contestants battle each other in space craft inside an arena in
Xdeep space.
X
XOf course, there are heroes and there are losers. Your job is to become
Xone of the heroes.
X
X
X.SH The Arena.
X
XThe battles are fought inside an arena, whose walls are provided by strong
Xelectro-magnetic fields. Touching the "walls" with your ship can cause
Xdamage. The walls also act as solid objects, "bouncing" yor ship off them.
X
XAlso, the faster you are travelling when you hit a wall, the more damage
Xis incurred.
X
XAlso provided, for added fun, are many rocks of different sizes just
Xright for crashing into.
X
X
X.SH Starting XMPB.
X
XIf you are using X-terms rather than workstations, then you may suffer a
Xlarge performance loss. This is because this program is very server oriented,
Xmuch of execution time is spent in the server. Unfortunatley it also seems to
Xrun slower on colour machines :^(
X
XTo get the best performance from the game, the following setup is recommended-
X- The people who want to play all login to seperate workstations.
X- Another machine is chosen to run the game. (e.g. pleb1)
X- Everyone types "xhost pleb1" (some setups may not require this)
X- The person running the game (from pleb1) starts it up by
X
X.nf
X xmpb gleeb:0.0 nurk:0.0 frob:0.0 foo:0.0 bar:0.0 ...
X.fi
X
XN.B. You might have to use different values instead of 0.0 It all
Xdepends on your setup.
X
XN.Really.B. You should definitely use different names for the displays
Xthan the example ones (unless, of course, you have a machine called
X"gleeb"?)
X
X- It's probably best, if you used xhost before running the game to remove the host from the list of trusted hosts by typing "xhost -pleb1", or else you are subject to roaches, antfarms etc. :-)
X
X
XAfter starting the game up on different X-terms, each is presented by a
Xprompt in turn-
X
XWhat is your name?
X
XIf you are a new player, type the name of your new character. You will
Xthen be asked to give a name to your ship. After this, you will be asked
Xfor a password, and then asked to retype the password.
X
XIf you already have a character, just type your character's name and your
Xpassword, and you will be welcomed back.
X
XYou will then be presented with 3 windows as described below.
X
X.SH The Main Window.
X
X The Main Window shows the playfield just around your ship. You are permenantly in the middle, and will see the world slip by behind you. There are two planes of stars to give you a good feel of how fast and in what direction you are moving. The walls appear as lines, these bound your ship into the playing arena. Oppostion ships, bullets, explosions, debris and clouds of smoke all show up on this window
X
X.SH The Radar Window.
X
X The Radar Window has two modes. It'd default is Long Range (which displays a 1x in the bottom left corner). The Long Range Radar mode requires that you have a working Long Range Radar. If you do, then you will see your ship as a cross. The opposition ships, are dots. The edge of your radar window is where the walls are. If your Long Range Radar is not 100%, then it will flicker. The more damaged, then the less you will see the radar. If you have a targeting computer, and target an opponent, then the targeted ship will be a large cross in the radar window.
X The second mode of the window is Short Range (which displays a 1x in the bottom left corner). The Short Range Radar shows the world just around your ship, this shows you always in the middle of the screen. It makes it easier to target the opposition. Watch out though as the cheaper radars never show the walls. Again flickering occurs if you have a dmaged Short Range Radar, and nothing will appear if it is destroyed or you don;t own one. A targeted ship shows up as a large cross. The opposition show up as little hollow squares, you show up as a cross (same as in Long Range Radar). With more expensive Short Range Radars: rocks, clouds, debris, bullets all show up as dots, and walls as lines. Lasers never show up.
X
X.SH The Stats Window.
X
X The Stats Window shows how your ship is going, and is split into four parts. The top left section shows your shields and energy banks. These are a simple bar graph, full white is full shields/Energy. Remember if your shields get to 0, then you take internal damage. And if your energy is 0, then you can't thrust, shoot, repair e.t.c.
X The top right gives some stats about your character, its Name, Ship, Credits, how many credits you have earned this game and finally the value of your ship at the start of the game. (This is used to even out the credits earned, so that if a cheap ship hits an expensive ship, then the cheap ship gets more credits and vice versa).
X The Bottom Left shows some details about the items that can be be toggled. Firstly the current weapon is displayed (by default a Pulse Rifle if you have one), below this is the Status of your weapon. The status can have three values, Ready - you can shoot your weapon, Loading - you will have to wait until the weapon is ready to fire, and Destroyed, which means that the weapon is destroyed and you had better use another weapon. If You have no weapons, then the Weapon will be None, and no status will be displayed.
X Below this is Repair, which shows which item you are repairing currently, including Idle, which means no item is currently being repaired. If you don't have a repair system, then this line will not appear (BTW - It is foolish to go out without a Repair system). Below this is targeting (if you have a TC), this shows the Name of who you are targeting, or Off if no-one is currently being targeted. Next is Shields Regenerating, this shows whether your shields are regenerating or not (when you need some energy and have high shields, it can be handy to turn shield regenerating off). Below this (if you have a Jammer), is Jamming: with Off/On beside it, indicating your whether or not you are Jamming.
X Finally the bottom right shows all your items, that your ship has, and beside it whether they are Okay (at 100%), between 99% and 1% or Destroyed.
X
X.SH Playing the game.
X
XAfter all the players have identified themselves, the game begins.
X
X
X.SH Your ship.
X
XYour ship is a triangular design. It has 3 electro-magnetic shields, one on the right side, one on the left, and one on the back. These shields take a long time to charge, but once charged, energy may be move freely between shields or quickly removed from the shields. Fitted into the nose of your craft are weapons (useful for killing the other players).
X
XYour ship may or may not be fitted with additional items-
X
X- Solar Panels, to recharge energy banks.
X- Long Range radar, to find the enemies that are hiding.
X- Short range radar, a more detailed view.
X- Repair System, obviously only useful if you get hit
X- Engine, for moving the ship around.
X- Targeting computer, to lock seeking weapons onto enemies.
X- Jamming device, to confuse other's radars.
X
XEnergy is the basis for the ships functioning. If you have no energy, none of the systems will function.
X
X
X.SH Controlling your craft.
X
XAll of the keys used for controlling the ship are configurable using
Xresources. See Configuring Keys below.
X
XThe default keys are as follows-
X
X.nf
Xz - rotate ship anti-clockwise.
Xx - rotate ship clockwise.
Xc - change radar scale (i.e. short range/long range)
Xb - balance the shields. (i.e. balance the shield energy
X evenly over the three shields)
Xs - Toggle shield regeneration on/off. This is useful if
X you have poor solar capability and you wish to fire
X more quickly.
Xw - toggle the current weapon on/off. This is useful when
X using both firing and change weapon at the same time,
X only "on" weapons are used.
Xr - Change item being repaired. Of course, you must have
X a working repair
X system.
Xt - Change current target. You must have a functioning
X targeting computer.
Xi - Toggle Jamming Device on/off. The jamming device
X prevents other ships from seeing you on their radar.
Xq - Quit. This effectively acts as a "yield" function.
X Note, that there is a penalty for "yielding" in the face
X of danger (of 1/3 of your credits that you have EARNED
X this game. You will be removed from the current game
X and all of the windows will be closed. When the last
X person leaves the game, the program will exit.
X.fi
X
X.SH Configuring Keys.
X
X To configure any of the keys used by the program, you need to place the appropriate line in either your .xrdb or .Xdefaults file. If you don't have one of these files, then make a new one in your home directory.
X
X e.g. If for instanve you wish to change the key that turns your ship to the left (or anti-clockwise) from an 'x' to an 'l', then put the following line in:
X
X.nf
X xmpb.turnLeft: l
X.fi
X
XEach of the resources follows, with a brief description of what the key does.
X
X.nf
X xmpb.turnRight: Turn ship right (or Clock-wise)
X xmpb.toggleRadar: Toggles radar between short and
X long range modes
X xmpb.toggleShieldsRegen: Toggles whether shields
X regenerate or not
X xmpb.toggleWeaponStatus: Allows a weapon to be turned
X off (or on again)
X xmpb.changeRepair: The key to use the repair
X system
X xmpb.changeTarget: The key to target another
X combatant
X xmpb.invisibility: The key to turn on jamming
X (makes you invisible)
X xmpb.quit: The key quit the game
X xmpb.grabEnergy: The key to grab energy from
X your shields and place it
X into your energy banks
X xmpb.balanceShields: The key to balnce shield
X strength
X xmpb.changeView: When one dies, this key lets
X you see the other combatants.
X xmpb.fire: The key to fire a weapon
X xmpb.changeWeapon: The key to change to a new weapon
X xmpb.thrust: The key to engage the engines
X.fi
X
XIMPORTANT!!! If you wish these changes to occur, then you must make your xrdb realise you have made changes. Type "xrdb .xrdb" or "xrdb .Xdefaults" Whichever is appropriate to your system. This needs only to be done if you change the .xrdb (or .Xdefaults) file after you have logged in. So once you have your keys set up, each time you log in and run xmpb, the keys will be configured the way that makes you happy.
X
XN.B. Special keys such as shift, control e.t.c. are not supported :^(
X
X
XIf you run xmpb with a -s option:
X
X xmpb -s
X
X Then a list of all those characters who have been retired is given, in order of most kills, and then most expensive ship. Followed by a list of the best NPC's in a similar order
X
X
X.SH The Shop.
X
XOk, so you destroyed all of the other players and earned lots of credits. What do you do with them? Spend them at the shop and make your ship indestructible. Or maybe you lost and want to buy a new ship?
X
XEach item has an associated quality rating which describes how good the item generally is. By spending money, it is possible to improve the quality rating of your ships accesories and to buy new and better weapons.
X
X Once an item is chosen from the menus, it will be displayed in the left side of the window. The right hand side shows what items you have. Pressing the "Show Weapons" button, shows your weapons. Press again and your items will be redisplayed.
X The buy button purchases (if you have enough $'s) what is shown in the left window.
X To sell or repair one of your items/weapons, select it by clicking on it with the left mouse button. This will highlight it and give you some details about it. Then press the sell or repair button.
X
X
XEngines.
X
XEngine qualities range from 1-9 with the default ship having an engine of quality 3. The quality of engine describes the acceleration provided by the rockets. All engines use the same amount of energy.
X
X
XSolar Panels.
X
XSolar panels' qualities range from 1-9. The default is 2. The quality describe how quickly solar energy in space is converted and stored in your ships energy banks.
X
X
XRadars.
X
XLong range radars range from 1-9. The quality effects how easily your radar will show up ships that are jamming.
X
XShort range radars range from 1-7. With 1 showing only ships up to 8 which shows everything down to puffs of dust clouds, even bullets.
X
XAll radars take no energy to run.
X
X
XRepair Systems.
X
XRepair systems range in quality from 1-9. The quality describe the amount of energy used as well as how quickly repairs are provided by the system.
X
X
XTargeting Computer.
X
XThis accessory allows any targetted weapons to be used. There is no associated quality. It takes no energy to run.
X
X
XJamming Device.
X
XThis accesory allows your ship to jam enemies' radars and targeting computers. If your ship is having seeking weapons fired upon it, using the jamming device will hide you from an enemy's seekers. The quality of these items range from 2-9. The higher the quality, the
Xmore confused the opppositions radar will be. And in close (in your Main Window view) you will see less and less of the ship, throught to camouflage and finally being completely invisible.
X
X.SH
XWeapons.
X
XThe weapons currently available are -
X
X\fIPulse rifle\fR Default weapon. Fast firing, small damage, but still
Xnot a weapon to be sneezed at, due to its small energy use.
X
X\fIEnergy Bomb\fR Short Range. Fires fairly quickly. Causes large damage.
X
X\fISeeker Bomb\fR Long Range. These weapons (with the aid of a targeting
Xcomputer) will actually seek out and chase an enemy down. High Damage,
Xbut slow firing rate.
X
X\fILight Laser\fR Infinite Range. This weapon will shoot out a beam of light
Xthe whole way across the playing field, instantaneously. The firing rate
Xis reasonably quick, and damage is slightly less than that of an energy
Xbomb.
X
X\fIRail Gun\fR A fast firing weapon that shoots a very small (and hard to see)
Xprojectile. This weapon has a long range and causes large damage.
X
X\fIMass Driver\fR A fast firing weapon. This weapon can cause a lot of damage
Xat close range, but at long range is useless. Hence its cheap price.
X
X\fIMine\fR A slow firing rate. This weapon drops a mine from the back of your
Xship. These mines last for a long time and detonate on any who run over
Xthem. Damage is very, very large.
X
X\fIHeavy Laser\fR Similar to light laser, only more damage, and three beams
Xinstead on one.
X
X\fIAtomic Spray\fR Short Range. Very fast fire rate. Good in close.
X
X\fIHeavy Pulse Rifle\fR Just like a pulse rifle only nastier.
X
X\fIMagneto Disk(T)\fR A long range seeking weapon. This one has a superior
Xtracking algorithm. And won't miss unless you run away really fast.
XLots of damage.
X
X\fIBlack Death\fR A very short lived, short range weapon. But it does heaps
Xof damage.
X
X
X.SH NPC's (Non Playing Characters)
X
XIf you don't have any friends, or they're all home studying, then play
Xagainst one or more of the NPC's provided.
X
X To set up the game with npcs in it:
X
X xmpb gleeb:0.0 nurk:0.0 -npc basic
X
X This will let two windows appear and one npc (called basic) which
X This configuration will allow the npc basic to be seen on gleeb's display. The full set of main, radar and stats windows show exactly what basic is doing. (This is useful when programming npc's just to see what they are doing. And of course if you just want to write a better npc than your mates.) Along with basic, will be nasty and killer. And again, killer will be shown of nurk's display.
X Would allow to people to play with their ships (on displays gleeb and nurk). Along with three npcs: basic, nasty and killer. Also nasty will be seen on frob's display.
X
X.nf
X The current NPCs are:
X
X basic: Has the same ship as a player just starting
X average: A ship for those who have won 4 or 5 games.
X nasty: A real nasty NPC. A good ship and lots
X of firepower.
X ml: A stupid mine layer
X ml2: An old (and bad) attempt to ram people. A
X good ship tho'
X john: A tough ship. Don't take it out unless
X you have a real good ship.
X harry: simliar to basic.
X beam: see john.
X rad1: similar to basic
X rad2: Better ship, but still only a pulse rifle
X rad3: In the league of nasty
X
X
X.SH Playing Tips (From the masters :-)
X
X- Don't spend all of your money as soon as you get it. Or else, when you get nailed, you'll be out. It's better to have some money as backup in case you get beaten, and have to buy a new ship.
X
X
X.SH SEE ALSO
Xshop(6),describe(6),retire(6),npcc(6)
X.SH BUGS
X
XBugs, what's a bug? :-)
X
XSome versions of X-servers don't like the way we put bitmaps on the
Xhidden buffer. This results in the stars, rocks etc. being shown as
Xinverted (black pic inside a white sqaure). if this happens to you,
Xthen change GXxor in line ??? in add_host.c to GXand and recompile.
XThis will fix this problem. We can't code it like this, though, because
Xusing this reverses them on our displays. Oh well, some incompatibilty
Xmaybe? It seems to be on HP machines.
X
XSome servers do not clip lines outside the window, instead showing no
Xpart of the line at all. This means that lasers and and walls of the
Xarena will not be displayed. Again this is a deficiency of the servers,
Xwhich we haven't figured out which vendor yet.
X
X
X.SH Acknowledgements.
X
XThanks to everyone who responded to the posting of version 0.85. The
Xresponse was fantastic. There was obviously enough positive response
Xto warrant finishing this game off.
X
XSpecial thanks to the following people who provided code fragments and
Xfixes -
X
X.nf
XG Ferguson Imakefile, original man page
X Patches for bitmap directory.
X Patches for color displays.
Xmuzzle Finding out the inverted bm fix.
X.fi
X
XAnd lastly, to all the people who playtested the game and gave us their
Xsuggestions and some extra NPC's
X
X.nf
XEspecially:
X Robert Dew
X Michael Hobbs
X Stephen Larcombe
X Greg Whickham
X.fi
X
X.SH AUTHORS
XShane Hyde
XDamien De Paoli
X.SH SEE ALSO
Xshop(6),describe(6),retire(6),npcc(6)
X.SH BUGS
X
XBugs, what's a bug? :-)
X
XSome versions of X-servers don't like the way we put bitmaps on the
Xhidden buffer. This results in the stars, rocks etc. being shown as
Xinverted (black pic inside a white sqaure). if this happens to you,
Xthen change GXxor in line ??? in add_host.c to GXand and recompile.
XThis will fix this problem. We can't code it like this, though, because
Xusing this reverses them on our displays. Oh well, some incompatibilty
Xmaybe? It seems to be on HP machines.
X
XSome servers do not clip lines outside the window, instead showing no
Xpart of the line at all. This means that lasers and and walls of the
Xarena will not be displayed. Again this is a deficiency of the servers,
Xwhich we haven't figured out which vendor yet.
X
X
X.SH Acknowledgements.
X
XThanks to everyone who responded to the posting of version 0.85. The
Xresponse was fantastic. There was obviously enough positive response
Xto warrant finishing this game off.
X
XSpecial thanks to the following people who provided code fragments and
Xfixes -
X
X.nf
XG Ferguson Imakefile, original man page
X Patches for bitmap directory.
X Patches for color displays.
Xmuzzle Finding out the inverted bm fix.
X.fi
X
XAnd lastly, to all the people who playtested the game and gave us their
Xsuggestions and some extra NPC's
X
X.nf
XEspecially:
X Robert Dew
X Michael Hobbs
X Stephen Larcombe
X Greg Whickham
X.fi
X
X.SH AUTHORS
XShane Hyde
XDamien De Paoli
X.SH SEE ALSO
Xshop(6),describe(6),retire(6),npcc(6)
X.SH BUGS
X
XBugs, what's a bug? :-)
X
XSome versions of X-servers don't like the way we put bitmaps on the
Xhidden buffer. This results in the stars, rocks etc. being shown as
Xinverted (black pic inside a white sqaure). if this happens to you,
Xthen change GXxor in line ??? in add_host.c to GXand and recompile.
XThis will fix this problem. We can't code it like this, though, because
Xusing this reverses them on our displays. Oh well, some incompatibilty
Xmaybe? It seems to be on HP machines.
X
XSome servers do not clip lines outside the window, instead showing no
Xpart of the line at all. This means that lasers and and walls of the
Xarena will not be displayed. Again this is a deficiency of the servers,
Xwhich we haven't figured out which vendor yet.
X
X
X.SH Acknowledgements.
X
XThanks to everyone who responded to the posting of version 0.85. The
Xresponse was fantastic. There was obviously enough positive response
Xto warrant finishing this game off.
X
XSpecial thanks to the following people who provided code fragments and
Xfixes -
X
X.nf
XG Ferguson Imakefile, original man page
X Patches for bitmap directory.
X Patches for color displays.
Xmuzzle Finding out the inverted bm fix.
X.fi
X
XAnd lastly, to all the people who playtested the game and gave us their
Xsuggestions and some extra NPC's
X
X.nf
XEspecially:
X Robert Dew
X Michael Hobbs
X Stephen Larcombe
X Greg Whickham
X.fi
X
X.SH AUTHORS
XShane Hyde
XDamien De Paoli
END_OF_FILE
if test 24649 -ne `wc -c <'xmpb.man'`; then
echo shar: \"'xmpb.man'\" unpacked with wrong size!
fi
# end of 'xmpb.man'
fi
echo shar: End of archive 2 \(of 8\).
cp /dev/null ark2isdone
MISSING=""
for I in 1 2 3 4 5 6 7 8 ; do
if test ! -f ark${I}isdone ; then
MISSING="${MISSING} ${I}"
fi
done
if test "${MISSING}" = "" ; then
echo You have unpacked all 8 archives.
rm -f ark[1-9]isdone
else
echo You still need to unpack the following archives: