Battlezone Online (bzo) is a free, open-source 3D multiplayer tank game that runs in the browser -- on a desktop, a phone or a VR headset -- and plays with BZFlag clients and servers. This server: bzo dev - restarts often.
One client runs on a desktop, a phone and a headset, so every action has a way in from each of them. The keyboard has the most; touch, a gamepad and the XR controllers carry the actions a match needs, and the Settings menu reaches the rest -- including from a headset, where there is no keyboard at all. This page is also the in-game help's (/ or ?).
Keys are named by where they sit on a US keyboard, and bzo reads them by position, not by the letter printed on them. On another layout a key named here is the one in the same place: Z is the key labelled W on a French keyboard and Y on a German one.
The numeric keypad works as in BZFlag. With Num Lock off its keys are the ones printed under the digits: the arrows drive, 1 is End, 9 and 3 are Page Up and Page Down, and . is Delete. With Num Lock on, a keypad key is the main key with the same character. Keypad Enter shoots either way.
W / S or Up / Down — move forward/backwardA / D or Left / Right — turn left/rightEnter — shootTab — jumpSpace — drop flagI or right-click — identify the tank in your sights, and lock a Guided Missile onto itDelete — self-destruct, after a five second countdown; Delete again calls it off9 or /autopilot [roger|ace] — autopilot: the pilot drives, aims and shoots until pressed again. Settings -> Autopilot chooses the pilot without a keyboard. You can still drive while it does, to help it out of a corner -- see Combining inputsP — pause/resumeN — message everyone (or click the Send button). The line to type in opens at the top of chat, beside the destination, and the tabs step aside until it is sent; picking a destination opens it tooM — message your teamZ — message the admins, if you are oneO — type a server command: chat opens holding the /Enter — send the line and close it (or click Send again); Esc closes it unsentShift+1 / 2 / 3 / 4 / 5 — switch chat tab (All / Chat / Server / Misc / Debug)[ / ] — previous/next chat tabTab — while typing, complete a player, command or flag name; @ starts a mention and # a player's slot numberUp / Down — while typing, recall earlier lines; type the start of a line first to recall only the ones beginning that way. — reply to last direct-message sender, — message nemesis targetK — silence a player: a cursor opens on the scoreboard, on no row and headed *SILENCE*. Up / Down pick a player, Enter silences them or lets them back, and K or Esc closes it. A silenced player's row shows 🔇, and their chat and voice stop reaching you. Settings -> Silence does the same without a keyboard, and /silence and /unsilence take a callsignPage Up / Page Down — scroll chat historyEnd — jump chat to newest messageShow original beside a translated line shows the words as written, and Translate fetches a language the first time it is neededEsc — back out one step: exit chat input, leave fullscreen, leave mouse steering, then open Settings. Pressing it again closes Settings, so it is always safe to press one more timeShift+M — toggle mouse steeringC — cycle camera modeB — binoculars: narrow the view to a quarter, and back. Ctrl and the wheel narrow or widen it a step at a time. Turning with the keys slows to matchX — slow keyboard: driving and turning with the keys go at half speed, and backShift+O — toggle operator panelF — show or hide what the flag you carry doesShift+F — toggle fullscreen` — toggle debug HUDQ — show or hide the radar1 / 2 / 3 — radar range: Short, Medium, Long (a quarter, half and all of the world's radar limit, which is the world size unless the map says otherwise)4 or - or Numpad - — zoom radar in (decrease range)5 or = or + or Numpad + — zoom radar out (increase range)\ — reset radar zoom to the default medium rangeSettings -> Radar: ... — cycle Short/Medium/Long radar presetsV — toggle the voice microphoneSettings -> Audio Settings — set the game, voice, and microphone levels, and choose the voice channel: All, Nearby, or Team/ or ? — show/hide help panel🎤 beside the gear — the microphone, as V is: a green border means you are transmitting and a red one means you are not, and the hover text names the channel it would speak on▲ beside the gear — hide the scoreboard and chat, leaving the name row and chat's top row -- Send, the destination and the tabs; ▼ brings them back. Typing a message borrows the chat window until you are done with it, and U or 7 borrows the scoreboard until the hunt cursor closes; tapping a chat tab opens chat for good. Small screens start collapsedSettings -> Anaglyph 3D — red/cyan glasses; Settings -> VR Mode enters a WebXR headsetUp / Down — previous/next control, including from inside a text fieldLeft / Right — change the focused control: move a slider, pick the next choice. In a text field they move the cursor insteadTab / Shift+Tab — previous/next controlHome / End — first/last controlEnter or Space — press the focused control‹ and › on the row mark the two halvesLeft / Right move focusMarking a player puts a cyan ◎ on their scoreboard row, a cyan ring on their radar blip, and a beacon in the sky over them in their own tank colour -- so several marked at once are still told apart at a glance. While one of them is in your sights the HUD says SPOTTED: and a ping sounds once a second from where they are. In Rabbit Chase the rabbit is marked for you, and its beacon is cyan like its ring: everyone is hunting it, so everyone's mark over it says so.
U — hunt: open the scoreboard cursor, and press it again on a running hunt to clear every mark7 — add hunt: the same cursor, but committing adds to what is marked rather than replacing it, and committing on a row already marked takes it offSettings -> Hunt — the same thing without a keyboard, for a phone or a headset. Left and right step through Clear and then the players in alphabetical order; select marks or unmarks whoever is shown, or clears every mark on Clear. On a touch screen or with a mouse, tap a chevron to step and anywhere else on the row to select*SEL* and a pulsing ○ sits on the row it is on, filling in to ◎ when you commit. Up / Down move it, Enter commits, and U or 7 backs out keeping whatever was already marked. I and Space move the cursor too, so a surface without arrow keys can reach itAs an Observer you have no tank. Drive and turn fly the camera instead, Tab climbs and Space descends, and holding Shift makes drive tilt the view up and down and turn slide it sideways. The camera rests at the eye height of a tank on the ground, and travel stays level however the view is tilted. Pausing and self-destruct do nothing.
Enter or C — step through everything: in each view, the leader first, then every player, then on to the next view. The views are Free, Track, Follow, Driving with, and Flag where a map has team flagsI or right-click — in the Free view, watch the tank in your sights, or show the obstacle there: what it is, an outline round it, and its block from the map file with the group blocks that placed itShift+M or Settings -> Mouse Steering turns mouse steering on and off. Esc turns it off once it has released the pointer and left fullscreen. Driving never changes it.
The wheel acts on whatever is under the pointer:
Ctrl, anywhere: binoculars, up to narrow the viewThe two boxes in the middle of the screen are the steering, as in BZFlag. Where the cursor sits relative to their centre is what the tank does:
-a, off by default) brings the tank up to it over time, the same as it does from the keys.The boxes are BZFlag's own sizes, scaled to the window. As in BZFlag, the cursor is held inside the box: the first click on the battlefield takes the pointer over and bzo draws the cursor itself. Escape lets it go, and so do a menu, dying, pausing and observing; the next click takes it back. A browser that refuses leaves the cursor free -- the steering stays at full past the box, and the cost is a longer move back to the centre.
With the keys, the mouse keeps whichever axis no key is holding -- see Combining inputs.
Left click shoots wherever the cursor is, whether mouse steering is on or not, unless the click lands on the chat panel or a button. Right click identifies. Mouse steering is unavailable with no mouse attached, in VR, and while the on-screen controls are up, since those steer instead; a click that misses one of their buttons does nothing rather than firing.
Every input drives at once, and nothing switches between them on its own: Shift+M and the Settings rows are the only things that change which ones are on.
Driving is shared out an axis at a time -- forward/back, and turn, each on its own. On each, the first of these with something to say wins:
W and S, or A and D) is a deliberate stop on that axis.So you can drive with W while the mouse steers, turn with A/D while the mouse sets the speed, or steer a gamepad's turn while a key holds the speed. A stick let go reads zero and gives the axis to the mouse; the mouse box holds whatever the cursor's place says, which is why it comes last.
Buttons add up. Shoot fires from Enter, a left click, or the stick source's own fire button; jump from Tab or the stick source's; identify from I, a right click, or the stick source's. Any of them will do.
With the autopilot on, the pilot takes the mouse's place, last in line: a drive key or the stick you hold still owns its axis, and the pilot has the rest. So when it is wedged against something you can hold A to turn it out, or S to back it off, while it keeps the other axis, and let go to hand it back -- it carries on from wherever you left it, re-planning its route if you took it somewhere else. Your shots, jumps and drops add to its own. The mouse box does not steer while the autopilot drives: it holds an offset wherever the cursor is parked, so it would never hand anything back.
Menus pause, unless the autopilot is driving. Opening Settings, Help or any other menu starts the pause countdown, and closing it puts the tank back as it was: a tank you had paused yourself stays paused. Until the countdown ends the tank goes on moving, a conveyor or turntable carrying it, as any pause's countdown does. With the autopilot driving, a menu does not pause: the pilot goes on while the menu has the keys, and turning it off from the menu starts the pause then. A hidden window pauses either way.
Three keys at once. Many keyboards cannot report some three-key combinations at all -- the third key's press never reaches the browser -- so a held turn and reverse can swallow a jump (#146). The debug HUD (`) shows how many keys the browser saw held at once, which tells the keyboard's limit from bzo's.
A phone starts with them on; anywhere else Settings -> Virtual Controls turns them on and off.
● — shoot. Tapping fires as fast as clicking a mouse; holding fires at the world's sustained rate⤒ — jump⚑ — drop flag◎ — identify, and lock a Guided MissileEverything else -- camera, radar range, chat, hunting, autopilot, pausing -- is a row in Settings, which a tap reaches.
Any controller the browser reports in the standard layout (most USB and Bluetooth pads, and iOS MFi controllers). Plugging one in turns it on; nothing needs setting up.
| Control | Driving | In a menu |
|---|---|---|
| Left stick | forward/backward and turn | move between rows, change a row |
A / Cross, or right trigger | shoot | select |
B / Circle, or left trigger | jump | back |
X / Square | drop flag | |
| Either shoulder | identify |
The sticks have a dead zone of a fifth of their travel, so a pad left on the desk does not creep. The right stick is free.
The pad rumbles when you fire and when your tank dies, as BZFlag's does: a short buzz for a shot, longer for a shock wave, both motors for a laser, and one long, strong shake for a death. bzo adds a light tick as you jump and a bump as you land, harder the further you fell. It rumbles only while it is what you are playing with -- a key or a click hands control back and keeps it quiet -- and never for an observer. Rumble in Settings turns it off. The browser has to support it; Chrome and Edge do.
In VR the controllers are the only input. Turning the tank is independent of where you look.
| Control | Driving | In the XR menu |
|---|---|---|
| Either thumbstick | forward/backward and turn -- the right stick if both are pushed | move between rows, change a row |
| Either trigger | shoot | select |
A / X (primary face button) | drop flag | select |
B / Y (secondary face button) | open the XR menu | back, and close it from the top |
| Either grip | jump | back |
| Press either thumbstick | identify |
Both controllers pulse for the same events as a gamepad's rumble.
Identify is on the thumbstick press because a thumb that is steering presses it by accident, and identifying costs nothing; the menu is on B for the same reason. Typing -- a name, a MOTD -- uses the headset's own system keyboard, raised when the row takes focus; see the README's WebXR section for headsets that have none.
Drive over a flag to pick it up, and Space to drop it. Good flags help; bad flags hinder, and stay until they shake off, you kill, or you die. A superflag on the ground is white and tells you nothing about itself until somebody picks it up. Team flags are captured by carrying an enemy's to your own base.
If it's yours, prevent other teams from taking it. If it's not take it to your base to capture it!
Score is kills minus deaths, and the board is sorted by it. Rabbit Chase puts a rank percentage in front of it.
Kills-Deaths is the record behind that score, then [team kills] once there are any.
1v1 is your own record against that one player: wins~losses, blank until you've fought them. Your own row shows how often you've self-destructed instead. A narrower screen drops 1v1 first, then Kills-Deaths.
T is the player's device, then how they're connected; hover the heading for what each letter means.
Before a name, in cyan: @ means that player is an admin, + means they're signed in with a verified callsign this session. Neither shows for anyone else.
Right after the name itself: a /XX is the flag they're carrying, in that flag's own colour -- see Flags for what each abbreviation means.
Further along the name: 🎤 means that player's microphone is on, and 🔊 replaces it the moment they're actually speaking. ⏳ means paused. A hunted player wears a cyan ◎ -- see Hunting.
Settings -> Audio Settings — game, voice, and microphone levels, each from Off to 100%V — toggle the microphoneVoice is available after microphone permission is granted. Observers talk and listen on the same terms as everyone else.
Battlezone Online is a free 3D tank game in the browser that plays with BZFlag.
It is free software licensed under the GNU Affero General Public License v3.0. Source code is available at github.com/timriker/bzo.
Talk with other players on the BZFlag Discord.
Battlezone Online 1.4.30 · Source, AGPL-3.0