I was going to add a reply to an earlier topic but the big red letters said it would be better if I started a new one instead. So...
It really annoys me when the name of the NPC glares at me when I'm in combat. I know it's a Balrog, etc, and in fact having it show when you're trying to make a recording of the epic battle sort of spoils the effect. So I am trying to make it go away.
I used to think I knew a little about SGML, HTML and XML, but for some reason I can't make this work.
I looked for the code that might control this and I found this under menus/main/hud_info_menu.xml. I'm putting probably a little more than the specific code in question so it can be seen in context:
(line 75 below) <!-- NAME ============================================================================--> <text name="hudinfo_name">
<id> 1 </id>
<!-- <alpha> <copy src="darnui_settings" trait="_ndalpha" /> </alpha> --> <!-- DarN add --> <alpha> <copy src="parent()" trait="_txt_ha"></copy> </alpha>
<visible>
<copy> 2 </copy>
<!-- <sub>
<copy> 1 </copy>
<onlyif>
<copy src="HUDInfoMenu" trait="_combat" />
<and src="darnui_settings" trait="_hide_enemy_name" />
</onlyif>
</sub> --> </visible>
<string></string>
<font> <copy src="darnui_settings" trait="_ndfont"></copy> </font> <!-- DarN (2) -->
<justify> ¢er; </justify>
<red>
<copy src="HUDInfoMenu" trait="red"></copy>
</red> <!-- red w/ telekenisis alteration -->
<green>
<copy src="HUDInfoMenu" trait="green"></copy>
</green> <!-- green w/ telekenisis alteration -->
<blue>
<copy src="HUDInfoMenu" trait="blue"></copy>
</blue> <!-- blue w/ telekenisis alteration -->
<wrapwidth>
<copy src="screen()" trait="width"></copy>
<sub>
<copy src="screen()" trait="cropx"></copy>
<mul> 4 </mul>
</sub>
<sub> 720 </sub> <!-- effective width of hudemainmenu -->
</wrapwidth>
<x> <!-- DarN Center screen -->
<copy src="HUDInfoMenu" trait="_centerscreenx"></copy>
</x>
<y> <copy src="HUDInfoMenu" trait="_centerscreeny"></copy> </y>
<user15> -46 </user15>
</text>[/color]
(line 115 above)I've colored in gray the text that is gray in my XML editor tool, and added in red which lines they are. I figure the notated code appears to be instructions to make the name disappear under combat situation. It seems to me that I should either 1: Replace the corresponding strings with the notation code, or 2: add the highlighted code where it is shown.
I have tried doing this every which way I can imagine with no effect, except when it's so wrong it doesn't load at all. I know that when I do create an error my editor tells me exactly what it is and where.... it's hard to ignore it when it says "fatal error"
So what am I doing wrong? Am I so far off base I'm in the wrong .xml doc?
I did find menus/prefab/darn/hud_info_menu_config.xml and thought to myself, "Self..." I thought, "This looks like the place where the vanilla .xml might be over-ridden by the darn one..." (no slur inferred with the "darn" word in there, though it has become a bit frustrating...

) but it doesn't appear to address the issue. Maybe I just don't see it?
Can the experts please teach this old wolf a new trick?