Skip to content

NameTag visability

perfk edited this page Oct 26, 2025 · 13 revisions

Nametags are by default showed to any faction that is friendly to your unit.

Note that i have not tested this on a live server only through peer tools.

Faction Manager

image

Default faction manager setup.

Civ is friendly to all

image

image

As seen here, Civ is friendly to both US and RUS, so they can see the names of both. And RUS is not friendly to US, so they can't se their nametag and vice versa

image

Quick note, this also handles how AI react, if we removed US from the CIV friendly faction list, and added CIV to the US list. US would see CIV as friendly, but the CIV AI would still be afraid of the US and run away.

PS_GameMode_Lobby

Nametags can be completly turned off by unticking this:

image

TagComponent

The Charather prefab will most likely have a TagComponent, here the tag can be turned off. The unit can still see Nametags, but no one can see the units Nametag. Remember if you go down this route, that you most likely need to make a inherited Charather prefab.

image

image

Clone this wiki locally