PvP nameplates: correct GC icons (62601/62602/62603), configurable GC IDs, Role/Job icon for enemy players
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -45,6 +45,10 @@ namespace HSUI.Interface.GeneralElements
|
||||
[Order(21)]
|
||||
public bool AlwaysShowTargetNameplate = true;
|
||||
|
||||
[Checkbox("In PvP, show only enemy player nameplates", spacing = true, help = "When in Frontlines, Rival Wings, or Crystal Conflict, hide ally player nameplates (party, alliance, teammates) and show only enemy players. Uses Enemy nameplate styling for PvP enemies.")]
|
||||
[Order(22)]
|
||||
public bool PvPShowOnlyEnemyPlayers = false;
|
||||
|
||||
public int RaycastFlag() => OcclusionType == NameplatesOcclusionType.WallsAndObjects ? 0x2000 : 0x4000;
|
||||
}
|
||||
|
||||
@@ -490,6 +494,24 @@ namespace HSUI.Interface.GeneralElements
|
||||
)
|
||||
{ PrioritizeHealthBarAnchor = true, Strata = StrataLevel.LOWEST };
|
||||
|
||||
[NestedConfig("Company Icon (PvP)", 46, collapsingHeader = false)]
|
||||
public NameplateCompanyIconConfig CompanyIconConfig = new NameplateCompanyIconConfig(
|
||||
new Vector2(-5, 0),
|
||||
new Vector2(24, 24),
|
||||
DrawAnchor.Right,
|
||||
DrawAnchor.Left
|
||||
)
|
||||
{ PrioritizeHealthBarAnchor = true, Strata = StrataLevel.LOWEST };
|
||||
|
||||
[NestedConfig("Role/Job Icon (enemy players)", 47)]
|
||||
public NameplateRoleJobIconConfig RoleIconConfig = new NameplateRoleJobIconConfig(
|
||||
new Vector2(-35, 0),
|
||||
new Vector2(24, 24),
|
||||
DrawAnchor.Right,
|
||||
DrawAnchor.Left
|
||||
)
|
||||
{ PrioritizeHealthBarAnchor = true, Strata = StrataLevel.LOWEST };
|
||||
|
||||
[NestedConfig("Debuffs", 50)]
|
||||
public EnemyNameplateStatusEffectsListConfig DebuffsConfig = null!;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user