Jump to content


Photo

BG2 Improved GUI


  • Please log in to reply
189 replies to this topic

#1 Insomniator

Insomniator
  • Member
  • 123 posts

Posted 08 October 2020 - 03:39 PM

Posted Image

File Name: BG2 Improved GUI
File Submitter: Insomniator
File Submitted: 09 Oct 2020
File Category: Miscellaneous Released Mods

BG2 Improved GUI
 
Includes:
  • Loot panel
  • Colorize icon of not memorized scrolls
  • Hide "Write magic" button for already known spells and for opposition schools
  • Show HitPoints on NPC/Party when pressed TAB key
  • THAC0 and Damage info on Inventory screen
  • Dark portraits on party when dragging not allowed items
  • Total Roll info on Character creation screen
  • Journal with fold/unfold quests
  • Grayscale background on Pause
  • Unlimited Hand off slot
  • Show NPC's active effects on right mouse click
  • Extended messages/sounds about item/quest/worldmap events
  • Extended roll/damage combat text
  • Do not clear drained spells
  • Show Hit Points/Action on Portrait
  • Yellow Border on Portrait if Party Member too far for Item Transfer
  • Legacy of Bhaal difficulty mode
  • Highlight Active Zones/Points
  • Double Mouse Render Rate
  • BG1 Style Greeting
  • Fast ProgressBar Screen
  • Scaled GUI
  • Shift Subtitles Below Movie Fram
 
 
Loot panel:
Add new buttons for pick up items from near corpses
loot.PNG

Difference vs EE engine:
- Panel is not realy "panel", its extension of original container screen, it cannot be visible always on main screen, still need open any container around
- Panel has two modes:
 1) Classic (like EE)
 2) Grouping same items, one click to pickup some item type from all corpses
 
Configuration of loot panel: In file "TobEx_ini\TobExTweak.ini" you can change some options:
  •  UI:Loot Panel Item Grouping=1,  Enable grouping similar items to one button, or select same option in installer
  •  UI:Loot Panel Sorting Unidentified First=1,  Enable priority sorting, unidentified items will be always show first
  •  UI:Loot Panel Sorting Order=33, 34, 5, 14,  Set sorting order by priority numbers, numbers coded in file loot_groups_table.txt, for this example priority is Gold=>Gems=>Arrows=>Bullets=>All Other
 
Colorize icon:
Add green border for scroll ready to memorize, you can change icon effect by replacing file STORTIN3.BAM to yours
green scroll.png
 
 

Show HitPoints on NPC/Party when pressed TAB key:
show hp.jpg



THAC0 and Damage info on Inventory screen +
Dark portraits on party when dragging not allowed items:
thac.png
Optional Inventory background picture by Sir-Kill:
thac-sir_kill.png
 
 
Total Roll info on Character creation screen:
totalroll.png

 
 
Journal with fold/unfold quests:
journal.PNG

 
 
Grayscale background on Pause:
Effect like TimeStop, but only background is greyed, same as on EE engine
Enable/disable with switch button on main screen
grey.png

 
 
Unlimited Hand off slot: (EXPERIMENTAL, alpha state)
Allow fit weapon/shield in hand off slot even when item in main hand has restrictions to hand off.
You can drag to hand slots for example two hand sword and shield, but shield will be disabled.
Option usefull for switching between main hand' weapon slots, if selected item has no restrictions, hand off slot will be activated again. If you save game with incompatible items, you can't load it if will uninstall this compenent
 
 
Show NPC's active effects on right mouse click
active spells.png
Componet make game little easy in "mage battle", now you can get info about active effect/spells on enemy (or any NPC). No more need to search chat window back to see which mage what casted.
You can filter print of unwanted effect types, in file "TobEx_ini\TobExTweak.ini" edit line UI:Log Active Buffs Filter List= , add numbers from file icon_effects_table.txt. Don't need filter numbers starting with ";" symbol, they already internaly filtered.
Example: UI:Log Active Buffs Filter List=24, 25 - no info about "Protection from Acid" and "Protection from Cold"
 
Extended messages/sounds about items/quest/worldmap events:
- Quest messages splitted to:
   1. New Quest
   2. Updated quests
   3. Done quests
   4. Storyline
You can change quest sounds by replacing file TADA.wav & FOLSTART.wav to yours
quest_events.png

- Name of unhided/hided Worldmap Area
- Name of gained/lost/dropped Item
item_events.png

Extended roll/damage combat text
damage calc.png
Show type of damage or extended info how Hit/Miss and Damage was calculated
"10 + 3 = 13 vs 19 - 10 = 9"
10 - Hit Roll
3 - Hit Roll Bonus
19 - THAC0 Base of attacker
1- Armor Class of victim
 
"6 slashing dmg= (8 - 5%) * 0.75"
8 - Damage Roll
5 - Resistance (slashing) in %
0.75 - Game Difficulty modifier (NORMAL, -25% damage)

Extended info is disabled if "Game Options->Feedback->To Hit Rolls" setting is Off
To enable original Hit/Damage Roll information (very verbose, mainly designed for debug purpose) add hidden option "Extra Combat Info=1" to baldur.ini [Game Options] and enable "Restore Extra Combat Info Text=1" in TobExCore.ini [Debug]
 
Do not clear drained spells
drained.png
Keep spells on own places (but out of selection border) when levels was drained, after restoration spells will be in their former places. Quickslots with drained spells are still erased, you need reassign quickslots again
 
Show Hit Points/Action on Portrait
show action.png
Show only spells and items from quickslots/inventory, not weapon
 
Legacy of Bhaal/Heart of Fury/Fists of Fury difficulty modes
Available only at start new game, you cannot change difficulty later.
legacy.png
You can customize(create own set) bonuses after install, see file nighmare_difficulty\customize stats.txt
 
Legacy of Bhaal:
Neutral/Enemy get Bonuses:
  •  -5 THAC0
  •  -11 Armor Class
  •  +1 Attacks Per Round
  •  -5 Saving Throw vs Death/Wands/Polymorph/Breath/Spell
  • 300% HitPoints + extra 80
  •  Never break Morale
  • +12 Levels in all available Classes
Party get Penalty:
  • +2 Monsters at Rest Encounter
Party get Bonuses (optional, selectable at installer):
  • 200% Experience Point for kills + extra 1000
  • Party's Summon get most bonuses as Enemy
  • +75 Gold for kills
Heart of Fury (Icewind Dale):
Neutral/Enemy get Bonuses:
  •  -5 THAC0
  •  +1 Attacks Per Round
  •  -1 Saving Throw vs Death/Wands/Polymorph/Breath/Spell
  • 300% HitPoints + extra 80
  •  Never break Morale
  • +12 Levels in all available Classes
  • + Movement Rate
Party get Bonuses (optional, selectable at installer):
  • 200% Experience Point for kills + extra 1000
  • Party's Summon get most bonuses as Enemy
  • +75 Gold for kills
Fists of Fury (by Azazello):
 Neutral/Enemy get Bonuses:
  •  -5 THAC0
  •  -8 Armor Class
  •  +1 Attacks Per Round
  •  -3 Saving Throw vs Death/Wands/Polymorph/Breath/Spell
  • 300% HitPoints + extra 65
  •  Never break Morale
  • +6 Levels in all available Classes
Party get Penalty:
  • +1 Monsters at Rest Encounter
Party get Bonuses (optional, selectable at installer):
  • 200% Experience Point for kills + extra 1000
  • Party's Summon get most bonuses as Enemy
  • +75 Gold for kills
This component need install after BGT Installer because BGT installer block starting of BG2 for Mages if
difficulty is above NOVICE
 
 
Highlight Active Zones/Points
zones.png
Simple "anti pixel hunting mode", depends on which cursor was selected for map elements. Will not work for custom maps if cursor is not standart.
 
Double Mouse Render Rate
Engine shows mouse at standart 30Hz rate, it is too low to be good, component increase frequency to 60Hz to remove mouse "lagness". Basicaly it double rendering rate of all graphics, if you have slow 2D/OpenGL drivers take care about final framerate. Intel integrated drivers have relatively slow 2D (if you don't like switched to OpenGL), to increase framerate play at 16-bit color mode and switch to software blts in Graphics setting
 
BG1 Style Greeting
In BG1 dialogue starts with greeting, then char moves closer to companion and continue speaking.
in BG2 engine greeting happens after moving, text of greeting immediately overlapped by dialogue. Component restore BG1 behaviour for BG2 engine

Fast ProgressBar Screen
Reduce delays in code logic, there is possibility to totally remove progressbar screens, but this is too boring
 
Scaled GUI
Restoration of original(broken and unfinished) BG2's feature, works at resolution 1280x960(fully tested), 1600x1200, 2048x1536. Can be used together with WidescreenMod to be enabled at any resolution, require installing Widescreen Mod in special mode - divided resolution. When Widescreen Mod ask for X(width) and Y(height) enter "divided by 2" numbers, for example for resolution 1920x1080 enter x=960, y=540. Restored only DirectDraw2D 16/32 + OpenGL 32 modes, 24 bit colors was not restored.
scaling.PNG
 
Shift Subtitles Below Movie Fram
subtitles.png
By default first line of subtitles showed over movie frame, this component just shift it down for two lines for best look

Requirements:
- BG2 ToB v2.5.26498
- Installed TobEx v26 or v28, installer will replace existing tobex.dll with custom version
- Compatible with Widescreen Mod + 1pp GUI additions + TutuGUI + GUI_720, but BG2 Improved GUI need install last. If TutuGUI installed, THAC0 & Damage Info option will be skipped because TutuGUI's inventory screen has different layout

Compilation:
In folder "src" modified sources of TobEx v28, merge with original files


Credits:
Ascension64 for TobEx and briliant reverse engineering work !
Wisp/The Bigg/Westley Weimer for WeiDU Script&Resource processor

Click here to download this file

#2 jastey

jastey
  • Staff
  • 2517 posts

Posted 08 October 2020 - 11:21 PM

Very impressive!



#3 Gwendolyne

Gwendolyne
  • Staff
  • 991 posts

Posted 09 October 2020 - 02:34 AM

In a hurry to test it. Congrats!


CARPE DIEM ....
 

In progress : Menace sur le Royaume de Diamant Éternel there.

#4 jastey

jastey
  • Staff
  • 2517 posts

Posted 10 October 2020 - 11:45 AM

Insomniator: I hid the duplicated topic.



#5 Insomniator

Insomniator
  • Member
  • 123 posts

Posted 14 October 2020 - 07:37 AM

Renamed to BG2 Impoved GUI, added new 2 featiures (Colorize icon of not memorized scrolls + Hide "Write magic" button for already known spells and for opposition schools) and merged with one of my old mod



#6 jastey

jastey
  • Staff
  • 2517 posts

Posted 14 October 2020 - 08:01 AM

Again: wow!

I have to admit that I think the title doesn't show the gems inside, but I also lack ideas for a more descriptive mod title.



#7 The Imp

The Imp

    Not good, see EVIL is better. You'll LIVE.

  • Member
  • 5127 posts

Posted 14 October 2020 - 08:08 AM

but I also lack ideas for a more descriptive mod title.

Well, rather than needing a descriptive title, how about adding a few pictures to the post to show off. With say vanilla vs mod edited in the same picture. Not seperate pictures! Aka just use the mspaint to combine the two.


Yep, Jarno Mikkola. my Mega Mod FAQ. Use of the BWS, and how to use it(scroll down that post a bit). 
OK, desert dweller, welcome to the sanity, you are free to search for the limit, it's out there, we drew it in the sand. Ouh, actually it was still snow then.. but anyways.


#8 Gwendolyne

Gwendolyne
  • Staff
  • 991 posts

Posted 14 October 2020 - 08:14 AM

Just in time. I was just about to transfer it to GitHub. ;)

Will be done tonight.


CARPE DIEM ....
 

In progress : Menace sur le Royaume de Diamant Éternel there.

#9 Azazello

Azazello

    The Anti-Spammer

  • Member
  • 1866 posts

Posted 14 October 2020 - 05:31 PM

These sound so intriguing, will love when I can try out the various features.
 
Perhaps I'm missing something ... is it supposed to be 'Impoved' or 'Improved'?

   

#10 jastey

jastey
  • Staff
  • 2517 posts

Posted 14 October 2020 - 10:57 PM

I guess it's "improved" - I read the title several times without noticing the typo.

#11 Almateria

Almateria

    most garbage person

  • Modder
  • 953 posts

Posted 15 October 2020 - 08:43 AM

Its short for impoverished, which what the corpses will be after I loot them all with the loot panel

#12 Insomniator

Insomniator
  • Member
  • 123 posts

Posted 16 October 2020 - 12:02 PM

Again: wow!

I have to admit that I think the title doesn't show the gems inside, but I also lack ideas for a more descriptive mod title.

Hi Jastey,

 

"Improved" - was first what come to my head, i dont know english enough to name it perfectly, i like probably better and fancy names like "reloaded/tweaked/remixed/expanded"  :)


Edited by Insomniator, 18 October 2020 - 01:40 PM.


#13 Insomniator

Insomniator
  • Member
  • 123 posts

Posted 16 October 2020 - 12:12 PM

Next component mostly done, there is new 6 fields:
first column for Main Hand, second for Off Hand
1) THAC0
2) Damage Range
3) Approx Damage / (max-min rolls)/2 + static bonuses
 
Armor and HitPoints moved slightly down

Design is ugly and no labels due lack of space (i'm not artist, made background in paint)

Attached Images

  • thac.PNG

Edited by Insomniator, 16 October 2020 - 12:13 PM.


#14 Insomniator

Insomniator
  • Member
  • 123 posts

Posted 19 October 2020 - 09:50 AM

New in v2.5:

5) THAC0 and Damage info on Inventory screen
6) Dark portraits on party when dragging not allowed items
7) Total Roll info on Character creation screen



#15 Vlan

Vlan
  • Member
  • 184 posts

Posted 23 October 2020 - 12:38 PM

This is fucking awesome.



#16 Insomniator

Insomniator
  • Member
  • 123 posts

Posted 23 October 2020 - 02:04 PM

Last component will be more readable&friendly journal.

why "last" - i have no more ideas what can be possible to impove in old BG2 GUI


Edited by Insomniator, 23 October 2020 - 02:09 PM.


#17 Vlan

Vlan
  • Member
  • 184 posts

Posted 25 October 2020 - 05:20 AM

Last component will be more readable&friendly journal.

why "last" - i have no more ideas what can be possible to impove in old BG2 GUI


Is it possible for you to change the position of the portraits? Something I always wanted to have in BGT was a IWD2 kind of HUD like I created with Photoshop here:

 

Removing the right and left bar is a standard feature of this game, but man, if you actually could pull of the portrait position change...

 

Screenshot-3566.png


Edited by Vlan, 25 October 2020 - 05:21 AM.


#18 Insomniator

Insomniator
  • Member
  • 123 posts

Posted 27 October 2020 - 12:53 PM

Is it possible for you to change the position of the portraits? Something I always wanted to have in BGT was a IWD2 kind of HUD like I created with Photoshop here:
 
Removing the right and left bar is a standard feature of this game, but man, if you actually could pull of the portrait position change...

Portraits always places on own panel, it is possible to only change position of panel (on your screen portraits on main game screen, such tricks are almost impossible on bg2).
You can try yourself change X,Y, Width and Height in NearInfinity (or other tool) by editing guiw*.chu (or guibase.chu ?).
I dont know what happens, but i think if you will resize all bottom panels (inventory, textlog,,,,) you will get
free space in right down coner and fit portrait's panel to this place. You need also move buttons/controls on panels too.

From engine's point of view maybe need change some place in code if place of portrait panel was hardcoded



#19 Vlan

Vlan
  • Member
  • 184 posts

Posted 28 October 2020 - 02:20 AM

I already tried to work on it, but there is a lot of weird stuff happening when trying to move stuff out of its original position. The right side where the bar is located for example just becomes void, producing grahpical glitches when you hover over it, and sadly .MOS does not support transparency either. I am lacking way too much knowledge for handling stuff like that.


Edited by Vlan, 28 October 2020 - 02:21 AM.


#20 Insomniator

Insomniator
  • Member
  • 123 posts

Posted 28 October 2020 - 04:10 PM

Updated to v3.0: added Journal with fold/unfold quests
Updated to v3.1: added Grayscale background on Pause

Edited by Insomniator, 29 October 2020 - 02:58 AM.