Player

From DoomWiki.org

Revision as of 20:48, 10 April 2005 by Radius (talk | contribs) (round off)


One player looking at two others, Doom II, MAP01

The player is, of course, a person playing the game, either alone, or as one of several in multiplayer mode. Each player is also an entity in the game world, having attributes such as health, items possessed, and position on the map.

Since the game is in "first person", a player does not see himself or herself on the main portion of the screen, except for his or her own hand when certain weapons are selected.

A marine face is shown on the status bar, where it reflects the player's health and reacts to events such as being attacked, stepping on a damaging floor, or finding a weapon or powerup.

The player moves in response to the keyboard, mouse and/or joystick at either walking speed or running speed. The forward/backward speed is 25 or 50 map units per game tic; the sideways speed is 24 or 40 (or, in some cases, 50). These movements can be combined: see straferunning.

In a multiplayer game, the other players appear as space marines in different color space suits. In vanilla Doom, the colors are green, indigo, brown and red. Source ports typically permit more choices of color, and sometimes more than four players. The sprites for a player have the prefix PLAY, and are rendered in a green suit. To draw a different color player, the Doom rendering engine remaps the shades of green to shades of the desired color.

A player spawns with 100% health, a pistol and 50 bullets. The fists may also be used as a weapon. When respawning in vanilla Doom, everything else (armor, other weapons, ammo, powerups, and keys) is lost. Exception: in deathmatch mode, players spawn with all keys. Some source ports permit respawning to other states.

In order to be playable in single player mode, a level must have a "Player 1 start" Thing. Player starts 2 through 4, typically located close by, enable cooperative play. Deathmatch start positions are usually located far from each other; one is chosen at random each time a player spawns.

Data

Attributes
ID # -1
Hit points 100
Speed 24 - 70.7
Width 32
Height 56
Reaction time 0
Pain chance 255
Mass 100
Bits 0200 0C06
Bits list

1: Obstacle

2: Shootable

10: Can drop off of high places

11: Picks up items

25: Not spawned in deathmatch

Sprites & sounds
Sprite name PLAY
Alert sound (none)
Attack sound (varies with weapon)
Pain sound PLPAIN
Death sound PLDETH / PDIEHI
Action sound (none)

See also