-
Notifications
You must be signed in to change notification settings - Fork 0
NameTag visability
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.
Seems like we have 4 options when it come
- Faction Manager
- PS_GameMode_Lobby
- TagComponent
- SCR_NametagConfigComponent
Default faction manager setup.
Civ is friendly to all
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
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.
Nametags can be completly turned off by unticking this:
The character 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.
The nuclear option seems to be just turn of nametags for everything. That can bone in the SCR_NametagConfigComponent in the PS_GameMode_Lobby







