Original mod author - Myxir
Look in vaults
or
Reworked Reveal positions v.2
Improvements:
- Added player factions colored by his army color
- Line below nickname colored by his army color
- Invisible button
Mistakes:
- i thought about faction icons without black background, but it seems it is impossible to do that i want via code, another method is paint textures for each color it is 4 factions * 20 colors = 80 icons... No way..... xD
- i also thought about colored nickname, but it looks cool only for half colors and also will depends on map color
Example:
Additional information:
-
If anyone want delete line below the nickname use this instruction:
go to\Mods\Reveal positions\hook\lua\ui\game
opengamemain
then press ctrl+f and search forposMarker.separator
and comment 8 lines by adding--
at the beginning and code will looks like:-- posMarker.separator = Bitmap(posMarker)
-- posMarker.separator:SetTexture('/mods/Reveal positions/textures/clear.dds')
-- posMarker.separator.Left:Set(posMarker.nickname.Left)
-- posMarker.separator.Right:Set(posMarker.nickname.Right)
-- posMarker.separator.Height:Set(1)-- |nickname|
-- LayoutHelpers.Below(posMarker.separator, posMarker.nickname, 3)-- 3px
-- posMarker.separator:SetSolidColor(armyData.color)-- |line|
-- posMarker.separator:DisableHitTest()