GEONE
October 13th, 2023, 17:21
Hello! I just wanted to show off a personal extension I created that replicates the spell pop-up GUI in Baldur's Gate 3. My players were always frustrated by having to click on every spell they wanted to read and they liked BG3's info pop-ups that you get in the game when you hover over a spell. So I thought I'd try my hand at implementing that into FGU.
Short youtube video showcase:
https://youtu.be/d2xFfzHW7Fg
Here is the result! The spell GUI pops-up whenever you hover over a record link that leads to a spell, whether that's in the spell master list or on your character sheet.
https://i.imgur.com/Ux9Ol6Z.gif
https://i.imgur.com/ilfZr0M.png
All of the information that is displayed is parsed entirely based on the spell text. Even the icons they use are based on the spell's name (or damage type as a fallback, then certain keywords as a secondary fallback), but some spells just don't have any relevant icons, about 70% of spells have some sort of icon that can be associated with it automatically.
If the spell's text is multiple paragraphs, it will display a [...] icon indicating the spell's text has been truncated. You can press "T" to inspect the text and display its full description.
https://i.imgur.com/wy0NQJk.png
Spells added to your character sheet have additional information available that gets displayed on the pop-up, like if the spell is prepared and filling your spellcasting modifier in any spells that add it to the damage (like green flame blade), and also if you have any available spell slots to cast the spell. If you don't have a spell slot available of the spell's level, it a looks for the next available highest level spell slot (prioritizing pact magic slots), and if it finds no spell slots capable of casting the spell, it displays a small warning icon over the spell's spell slot icon.
https://i.imgur.com/9jqrmsj.png
https://i.imgur.com/AUwe97T.png
It also parses various contexts in the spell's text to determine things like range, radius, saves, concentration, duration, additional damage, ongoing damage, delayed damage, variable damage types, and exclusive damage from chooses.
https://i.imgur.com/BDoIRaV.png
https://i.imgur.com/chEXADw.png
If a spell mentions a condition, it will highlight the condition in yellow and you'll have an option to press "F" to display a definition of all the conditions that appear in the spell.
https://i.imgur.com/MwTgAcA.png
The coolest part in my opinion is that the spell icon is displayed in chat whenever you attack, damage, or apply a condition using that spell. You can also choose your own custom icon for each spell using an in-game icon browser if you don't like default icon that is parsed for that spell. There are over 1,300+ spell and ability icons to choose from.
https://i.imgur.com/t2mn6KA.png
https://i.imgur.com/U025ERY.png
https://i.imgur.com/DhnigPt.png
Short youtube video showcase:
https://youtu.be/d2xFfzHW7Fg
Here is the result! The spell GUI pops-up whenever you hover over a record link that leads to a spell, whether that's in the spell master list or on your character sheet.
https://i.imgur.com/Ux9Ol6Z.gif
https://i.imgur.com/ilfZr0M.png
All of the information that is displayed is parsed entirely based on the spell text. Even the icons they use are based on the spell's name (or damage type as a fallback, then certain keywords as a secondary fallback), but some spells just don't have any relevant icons, about 70% of spells have some sort of icon that can be associated with it automatically.
If the spell's text is multiple paragraphs, it will display a [...] icon indicating the spell's text has been truncated. You can press "T" to inspect the text and display its full description.
https://i.imgur.com/wy0NQJk.png
Spells added to your character sheet have additional information available that gets displayed on the pop-up, like if the spell is prepared and filling your spellcasting modifier in any spells that add it to the damage (like green flame blade), and also if you have any available spell slots to cast the spell. If you don't have a spell slot available of the spell's level, it a looks for the next available highest level spell slot (prioritizing pact magic slots), and if it finds no spell slots capable of casting the spell, it displays a small warning icon over the spell's spell slot icon.
https://i.imgur.com/9jqrmsj.png
https://i.imgur.com/AUwe97T.png
It also parses various contexts in the spell's text to determine things like range, radius, saves, concentration, duration, additional damage, ongoing damage, delayed damage, variable damage types, and exclusive damage from chooses.
https://i.imgur.com/BDoIRaV.png
https://i.imgur.com/chEXADw.png
If a spell mentions a condition, it will highlight the condition in yellow and you'll have an option to press "F" to display a definition of all the conditions that appear in the spell.
https://i.imgur.com/MwTgAcA.png
The coolest part in my opinion is that the spell icon is displayed in chat whenever you attack, damage, or apply a condition using that spell. You can also choose your own custom icon for each spell using an in-game icon browser if you don't like default icon that is parsed for that spell. There are over 1,300+ spell and ability icons to choose from.
https://i.imgur.com/t2mn6KA.png
https://i.imgur.com/U025ERY.png
https://i.imgur.com/DhnigPt.png