Skip to content

[MOD] "Reveal Details" Textbox-Remover

MilesTegMilesTeg Member Posts: 12
edited May 2020 in UI Modding
(tested with BG2:EE v2.5.17 & BG2:EE v2.5.16.6, should work with other IE games)

This UI-Fix is just a transparent box2.PVRZ to disable the floating textbox (see screenshot)

wwzxrgu8fgo8.jpg

Feel free to reuse this in any way you like :)

edit: I just realized this was already submitted by Pecca a few years ago... :D I'll still leave this post for easier visibility of this fix though. It's quite handy for android users without weidu.

edit 2:
Journal Fix
This mod will unfortunately mess with the journal text layout .
Search for "getQuestText(rowNumber)" in UI.menu (e.g. usually line 1989 in BG2); you should replace this...
			label
			{	
				enabled "questEnabled(rowNumber)"
				area 8 0 -1 -1
				text lua "getQuestText(rowNumber)"
				text style "label"
				align left center
			}

with this:
			label
			{ 
				enabled "questEnabled(rowNumber)" 
				area 8 0 -1 -1
				text lua "getQuestText(rowNumber)"
				text style "label"
				text color 5
				-- added for journal color black on white
				align left center 
			}

And you are good to go :) (source )

edit 3:
Font size add this line in your Baldur.lua:
SetPrivateProfileString('Fonts','FLOATTXT','15')
That'll make all instances of FLOATTXT a point size of 15. (source: Bubbs' post )

btw: Font color seems to be hardcoded (as mentioned in Bubbs post) - so no easy fix there :/

Using another Font
Just place another font called "FLOATTXT.TTF" in your override folder. I've simply extracted "NORMAL.TTF" via Near Infinity and rename it (i.e. see FLOATTXT.zip).
You can use any font you'll like - unfortunately these specific fonts (above your characters sprites as seen in the screenshot) are not (yet?) defined in BGEE.LUA :/ so a simple override must do ( see UI-Tutorial:
https://forums.beamdog.com/discussion/comment/723429/#Comment_723429 )

Post edited by MilesTeg on
Sign In or Register to comment.