tapahob / BG2RadarOverlay

An overlay program for Baldurs Gate EE (1, 2) showing nearest enemies, their resistances, buffs and its durations
MIT License
25 stars 3 forks source link

Spell effects duration #10

Closed gatperdut closed 2 years ago

gatperdut commented 2 years ago

Cheesus, those are <turn>.<round>, right? 😍

Here's some stuff I found:

Just as a reminder, 1 in-game hour is 6 minutes real-life, which is 6 turns, which is 60 rounds.

Spells with duration in turns or rounds look ok! Tested with Mirror Image and a few others.

Otherwise super cool.

tapahob commented 2 years ago

It is turn.round yes.

I checked some of the spells - they seem to disappear correctly right in time when it disappears in game. Will have a look at it.

As for spell icons - Im not given up yet on the ingame texture format. If I win this it would load any icon from the game resources themselves.

Gotta run now, having a manicure appointment :P

gatperdut commented 2 years ago

Been testing for a bit, the icons for most of the effects I have seen do show up 😍 If I find more I'll post them in a bundle

tapahob commented 2 years ago

I saw Chain Contingency Icon wasn't found. Maybe it would be the same with all the white icons?

tapahob commented 2 years ago

Quickly checked it. All the white icons are displayed properly (in the new latest release). Lich's Chain Contingency is actually a separate spell (pretty sure it is a modified SCS version)

As for durations - I calculate those as gameticks (1/15th of a game second) / 15 (seconds) / 6 (rounds) / 10 (turns)

Checked it on Stoneskin - the time in overlay is second-perfect. Thats exactly what the actual duration is

gatperdut commented 2 years ago

Awesome, I did some quick testing and everything looked as it should. Unsure why it was showing the way it did. Clooosing.