Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Jump to content

BZFlag

From Wikipedia, the free encyclopedia

BZFlag
Original author(s)Chris Schoeneman
Developer(s)Tim Riker, David Trowbidge, Sean Morrison
Stable release
2.4.26 "Tanksgiving" / November 20, 2022; 2 years ago (2022-11-20)
Repository
Written inC++
TypeFirst-person shooter
LicenseLGPL-2.1-only and MPL-2.0 (dual-licensed)[1]
Websitewww.bzflag.org

BZFlag (an abbreviation for Battle Zone capture the Flag) is an online multiplayer free and open-source tank game. In the game of BZFlag, players drive around tanks, viewed from a first-person view, in a server-defined world (also known as a "map"), which can be modified.

Development

[edit]
A daytime, but rather dark, shot from version 1.7d9 while a chat message is being typed. Note the opaque HUD contrasting with newer versions.

Inspired by Battlezone,[2] BZFlag was first written in C by Chris Schoeneman in 1992[3] as a part of his studies at Cornell University.[4] BZFlag was initially called "BZ" and despite its similarity to the SGI game of the same title by Chris Fouts, the games are completely independent of each other.[3]

In 1993, BZFlag was released to the public for the first time. This release took a new turn compared to older versions after a cheater, who edited the source code of his client to give himself powers that do not come from official releases, inspired Schoeneman and Pasetto to add "super-flags." Super flags affect a tank's performance by adding abilities or weapons to its arsenal. The first four flags were High Speed (boosted tank speed), Quick Turn (tank turned faster), Rapid Fire (shots moved faster), and Oscillation Overthruster (tank could go through objects). There was only one of each flag, and each flag was marked with its type. Soon after, bad and good flags were added and remain part of gameplay today, only without markers, so that the flag type is unknown to the player until it is picked up (unless the player is carrying an Identify flag).

In 1997, the release of version 1.7d came with a groundbreaking new feature: an in-game public server list. Previously, players had to either set up their own servers, know of servers, or read a list published and maintained by a third-party. Now the server list is hosted on the official BZFlag website and allows anybody to play games on servers that choose to be public.

Schoeneman eventually re-wrote BZFlag in C++ for SGI's third IndiZone competition, which won in the "Reality Engine" category. Tim Riker was later given the project prior to version 1.7e to maintain and evolve. BZFlag is written in C++ and uses OpenGL for rendering. Its audio and several other sub-systems have been written using OS specific methods, although newer releases use SDL to perform low-level operations on all platforms. Textures for in-game objects are loaded from PNG files; audio, from WAVs. Zlib, which is written in C, is used to decompress data files.

A high-resolution screenshot of v2.0.14 running within Slackware Linux. x24 full-scene anti-aliasing is enacted externally by the system's video driver. This exhibits the game's best-possible graphics rendering and its full compatibility with the drivers of high-end video cards.

Developers

[edit]

The number of contributors to the project has steadily increased over time. The project invites all sufficiently experienced developers to contribute. Though there are currently 64 listed developers, a much smaller number of those are active contributors.

Developers are able to edit any of the project's files to make changes at any time. When a developer makes an edit of which other developers do not approve, or is inappropriate for the game, they are requested to revert to the previous version of the file; most developers monitor source edits on IRC or GitHub.

The copyright holder for the game is Tim Riker, but maintenance is guided by Scott Wichser and Jeff Makey as project managers. The game's original author, Chris Schoeneman, is no longer involved in development.[5]

Gameplay

[edit]
The official logo for BZFlag from version 2.4.8

Tanks have the ability to drive through other tanks, but cannot travel through buildings or other world objects. The basic objective is to destroy opponents' tanks, which are tanks of another team's color. Since all players can see the position of all the tanks on their radar, it is a game of outmaneuvering rather than sneaking.[6]

There are styles of game play that modify the objective. Styles are server-based, as the server operator chooses what style to host. If there is no special style indicated by the server owner, the only objective is the above (to simply kill opponent tanks); it is called a "free for all", or "FFA" for short.

There are three other objectives and corresponding styles (four in total): a style called "capture-the-flag" (or "CTF" for short) in which tanks try to pick up an opponent's flag and bring to their own home base; a style called "rabbit chase" in which the objective is to have every hunter (orange) tank try to destroy a particular white tank, called the "rabbit," and a different way of playing free-for-all called open free-for-all (OFFA), in which tanks shoot any other tanks regardless of the color.

Servers can change the game mode and have custom maps made to fit the properties of the game. Certain thresholds are used to catch malicious players and kick them off the server, as well as message filters and an entire collection of other anti-cheating features. There are around 250 servers active at any given time (although only about 1-3% have active players).[7]

Teams

[edit]

Tanks can join as one of the four team colors, as a rogue, or as an observer. Observers cannot play, but can move anywhere in the world or watch what the tank they are linked to is doing. Observers do not have a tank and are therefore not visible to players, but are shown in the scoreboard. The colored teams are Red, Green, Blue and Purple. Rogue players are teamless players: they are allowed to kill colored team players and other rogues. Rogue tanks are colored dark grey out the window, and yellow on the radar.

In rabbit-hunt games there is a white tank, known as the "rabbit", against the orange-brown "hunters", or every other player. The hunters are considered a team, so rabbits with genocide, shockwave, Guided Missile, or Laser flags are dangerous, and often teamkills occur due to a group assault on the "rabbit."

Teams are necessary in capture-the-flag games, in which they have to protect their team flag from capture. Rogues are occasionally allowed on servers; a rogue tank does not have any flag to defend, nor can it capture flags. Rogues tend to aid other teams of choice, or add a distraction to all teams. There is a plugin to prevent this which is used on servers with two large teams and one or two rogue players.[7]

Maps

[edit]
A screenshot of BZFlag 2.4.6 client visiting a Ducati map with snow and mirror effect.

A BZFlag server can be configured to create a basic, random map for play, or users can load their own map files. BZFlag uses a customized text based map format to define the placement of objects. While writing a map is fairly simple in this format, most map-makers use a 3D modeling program such as Wings 3D or Blender. Graphical map editors, BZEdit or iBZEdit have also been used. Note that BZEdit is not distributed with the game, and is no longer under active development (versions of it are available at the BZFlag SourceForge.net site). Using Blender in combination with a BZFlag map plug-in is currently the most popular mapping method, though it is getting some competition from WebBZEdit.

As to the simplicity of maps, there are a number of basic objects in a map: boxes, pyramids, teleporters, cones, arcs, cylinders, spheres, team bases and meshes. Teleporters are rectangular, yellow-bordered objects that teleport a tank to another teleporter. A mapmaker may choose to not have a teleporter teleport tanks by leaving out links, or simple definitions of two points for teleporters to link between. Teleporters are also capable of teleporting to themselves, reflecting bullets and tanks that enter. Team Bases are used for CTF style games. Full three dimensional meshes have been available in maps since the 2.0 release.

Flags

[edit]
In observer mode as a green tank and a rogue tank battle against each other. The rogue clearly will destroy the green tank, because the rogue has Guided Missiles. Taken from low-resolution mode in version 2.0

BZFlag has three types of flags: team flags, bad flags and super flags.[8] Team flags are only placed in a world during a capture-the-flag game, and represent the team it is colored to. Super flags are flags that can be in both free-for-all games and capture-the-flag games, but are strongly controlled by a server operator. The number, types of super flags, as well as where they are placed can all be controlled by the operator when starting the server. The number cannot be modified while the server is running. Super flags come in both bad and good form, and affect a tank accordingly. A bad flag may take away a certain sense of the tank: its sight, speed, or related things, while a good flag does the opposite and actually helps a tank. Good super flags are usually held until the tank is killed and explodes, or until the player driving the tank chooses to drop the flag. Bad flags are dropped after a short amount of time, after a certain number of "wins" (kills), or until the tank dies. The rules for dropping bad flags are set by the operator at the start of the server. All super flags have a one or two letter code that is displayed next to a player's name on the scoreboard when that player has that flag. Once in a while, a new flag is suggested, though not always added.

The player fires a Guided Missile at a ground target while the opposing green team's flag is taken from their base, all while a tank has exploded slightly below.

Server environment

[edit]

Servers can have environments that simulate the real world. A server's environment consists of three things: The map in play, the time of day that is being simulated, and weather conditions, introducing elements of which players have no control, like rain, snow, icy and/or slippery ground, modified friction and gravity, and fog. BZFlag takes the local time from the geographical location of the server and creates a night or day-time atmosphere in the background. Servers may synchronize the local server time or allow players to change the time to any time they may desire.

Critical reception

[edit]

BZFlag was selected in Summer 2015 as "HotPick" by Linux Format.[9] BZFlag was selected as the SourceForge.net Project of the Month for April 2004.[10] Both Free Software Magazine and Linux Magazine noted that BZFlag was fun to play and suitable for younger gamers.[6][7]

References

[edit]
  1. ^ "COPYING". GitHub. Retrieved May 1, 2018.
  2. ^ "Bzflag". Linux Format. June 30, 2020. Retrieved July 28, 2020.
  3. ^ a b Steed, Anthony; Fradinho Oliveira, Manuel (October 30, 2009). Networked Graphics: Building Networked Games and Virtual Environments. Elsevier. p. 24. ISBN 9780080922232. Retrieved July 28, 2020.
  4. ^ Negus, Christopher (November 7, 2006). "Chapter 8: Setting Up a Game Server with BZFlag". Linux Journal. Retrieved July 28, 2020.
  5. ^ "bzflag/README at d85df040e26d831cfea875338ad599a29f9614a0 · BZFlag-Dev/bzflag". GitHub. Retrieved 2016-10-11.
  6. ^ a b Diehl, Mike (2007-10-18). "Free Games for Linux". Linux Journal. Retrieved 2010-10-13.
  7. ^ a b c Berg, Alan. "Bzflags- Kill or be Killed". Free Software Magazine. Archived from the original on 2016-03-04. Retrieved 2010-01-27.
  8. ^ Tim Riker (2006). "SVN revision 19236". sourceforge. Archived from the original on December 25, 2012. Retrieved April 10, 2009.
  9. ^ Linux Format Summer 2015 page 56
  10. ^ "April 2004 - BZFlag". Project of the Month. SourceForge, Inc. 2004. Retrieved 2007-09-03.
[edit]