Names Over Characters
In play a character's name can float over its head: a villager's as she walks up to it, an enemy's once it is hurt, or everyone's at any distance. The name is drawn in the style pack's body face, light letters over a dark shadow, the same look as the name over an enemy's health bar.
For the whole project
Edit > Project Settings > PROJECT, under WHEN PLAYING:
- Names over characters
- Off shows no name over anyone, for a game of stealth. Always on shows every name at any distance, for a town. As each type says asks each character's type. As each type says by default.
Edit > Project Settings > ENEMIES > Types:
- Enemy names
- Under HEALTH BARS. A hurt enemy's name over its bar, for a type that has not chosen its own.
- NPC names
- Under NAMES OVER CHARACTERS. A calm character's name, or the name of one that cannot be hurt, when the player is near, for a type that has not chosen its own.
A new project has Enemy names and NPC names on.
For each type
Edit > Project Settings > ENEMIES > Stats, under NAME, for the picked type. A calm character asks the enemy type of its kind, the same type its When attacked is read from (Calm Characters). On the NPC Portfolio's Types: view, Show name under Category sets the same choice for the picked type with its arrows; a villager type that has never fought is given its enemy type the first time it is changed there.
- Show name
- Never, Always, Near or After a hit.
- Name distance
- In metres. 12 by default; 0 is the same as 12.
- Never
- No name.
- Always
- The name at any distance. It dims past the Name distance and stops dimming at three times it.
- Near
- The name within the Name distance. It dims over the last quarter of the distance and is gone a tenth past it.
- After a hit
- The name over the health bar, which shows once the character is hurt. Every project made before the row existed showed names this way.
A type that has not chosen shows what the project says: a calm character, a character that cannot be hurt (Killable off), and a fighting character of an NPC type are Near while NPC names is on; any other enemy is After a hit while Enemy names is on. With both off, no name shows. A character that cannot be hurt never shows a health bar.
Words over things and items
A placed prop can carry words over it in play, such as To: Kirsti Harbour over a door to another map. Select it, and in Properties under Object type them in Label. Once it has words, Label distance appears under it: in metres, 1 to 200, and 12 when left unset. The words are drawn as a Near name is, within the Label distance.
Names over items, under WHEN PLAYING on Edit > Project Settings > PROJECT, puts each item's name over it: every item lying on the ground and every placed pickup not yet taken, near her, as a Near name within 12 metres. Underscores in a name read as spaces, and a placed pickup of more than one adds its count: Arrow x12. A pickup with a Label of its own shows its Label instead. Off by default.
When a name is not drawn
- The character is behind a wall. With the 3D camera, the line from the eye to its head is tested against the ground and every model; without it, against the map's walls, as an enemy's own sight is.
- The character is not drawn: it is dead, hidden, or out of view.
- A cutscene is running: a script holds
lock, or a fade, the letterbox or cinema text is up.
The files
game.vdc holds charnames off|types|on, npcnames on|off, enemynames on|off and itemnames on|off. A prop's words are its label and labeldist fields in the map. A type's row in enemies.vfa holds showname never|always|near|hit and namedist <metres>, written only when they are chosen. See Game Config Keys and Enemies and Spawners.
An old project
A project that says none of these shows the names it showed: an enemy's name over its health bar after a hit while Enemy names is on, and no name over a calm character.