Author: JTS
Author Website:

Requirements: No addons required

Version: 1.2

Short description: A nametags script

Date: 2014-10-09 17:34

Comments: (1)




This is a nametags script. Despite the same colors as in mission 'Evolution' - this is my script.
Made 2 examples - for SP and MP (for MP means, that names will be displayed only by players). You can change the colors. They are defined in local variable in the script. For now, it supports 30 players. You can change this if it's needed.

The archive contains both the singleplayer as well as the multiplayer version of this script.

- Ability to change the colors
- Works in singleplayer and multiplayer
- Displays: Health of unit
- Displays: Vehicle-type of the unit
- Displays: Distance to the unit
- Works in ARMA 2 and ARMA 2: OA/CO

Installation / Usage:
Here is what you can change:
_ColorName = "#AAFFAA"; - Color of name
_ColorHealth = "#FFFFFF"; - Color of health
_ColorDistance = "#AAAAFF"; - Color of distance
_ColorVehicleType = "#FFFFFF"; - Color of vehicle-type of the unit, when he gets into vehicle
The colors you can find here:

_Visibility = 1000; - Distance of visibility of the names
_AmountOfUnits = 30; - Maximum number of units to display
_NameOfUnit = "fg"; - Name of unit. You have to give name to your units like - fg1,fg2,fg3 and etc... to fg30 (_AmountOfUnits)

If you put a unit on map with name fg1 and another unit with name fg30 - don't worry. It works

Don't put unit as vehicle. Put him manually to the vehicle using command. Otherwise the vehicle will count as 1 unit and these who was inside, if they'll leave the vehicle - they will not have nametags. To avoid bugs, add to Description.ext line disabledAI = 1;. This disables the AI. Otherwise you'll have bug if you restart the mission (#restart, #reassign)

The script does not support yet the changing of unit (I mean if you press T and select another unit to play).
Script was only tested in multiplayer without spawn and with spawn at base. Respawn = 3. "BASE".
If you want more than 30 units - open Nametags.hpp (with texteditor) and add following:
class NT31 : NT_BASIC
idc = 131;

class NT32 : NT_BASIC
idc = 132;
and etc...

- Fixed syntax errors (Bad performance of the game).

- Fixed bug when you open map

- first release

Forum topic:
- BI forums

Enable javascript to be able to download from Armaholic please!

Tags: Name,   Tags