Cyberware

Cyberware

3M Downloads

HUD is invisible with InGame Info XML

The-Key opened this issue ยท 8 comments

commented

The power HUD from hudlens/hudjack doesn't appear if InGame Info XML is present. Disabling IGI with its command doesn't fix it either. I've posted this on IGI's github too in case it's on their end.

commented

From the IGI dev, Lunatrius:

Unless he's rendering it using the debug event (F3), normal text (usually also on F3) or the potion event when the overlay is disabled in IGI it's most likely on their end then. But I'll have to check their code. Relevant IGI code.

commented

Lunatrius:

Code wise this can be fixed by using the net.minecraftforge.fml.common.gameevent.TickEvent event, TickEvent.Type.RENDER particularly.

commented

The Cyberware HUD is drawn during the RenderGameOverlayEvent, specifically when potion icons are rendered. If IGI stops this event, that's what's causing it.

commented

If I remember correctly the (main) purpose of RenderGameOverlayEvent is to allow modders to hide certain parts of the vanilla HUD, add text (~.Text) or reposition the chat box (~.Chat).

Most mods are using the net.minecraftforge.fml.common.gameevent.TickEvent.RenderTickEvent event instead for their HUD rendering.

commented

Every other mod's overlay works with vanilla potion icons disabled. Lunatrius had said that the rendering method used here could be fixed with the net.minecraftforge.fml.common.gameevent.TickEvent event and TickEvent.Type.RENDER.

I don't really know much about any of this though so if it's not possible with your HUD, I completely understand. Still an incredible mod regardless. Thanks for responding.

commented

Also having this issue, makes it hard to manage the Power and charging requirements without info to know what you are producing and what you have.. is there a way around it without having to remove ingame XML? because that mod is nearly invaluable to me.

commented

@dragonpc75 You don't have to remove it, you can disable the option to hide potion effects in IGI.

commented

I'm having the same problem with the potion hud from dynamic surroundings