devilutionX icon indicating copy to clipboard operation
devilutionX copied to clipboard

Fix incorrect SOLData for L1 arched/pillar Pieces (BlockLight and BlockMissile is missing)

Open obligaron opened this issue 3 years ago • 6 comments

Fixes #1690

obligaron avatar Aug 21 '22 10:08 obligaron

I checked all arches I could find (perhaps missed one) and set for all of them block missile and block lightning constantly.

They are often not set consistent.

Examples from Master 1. Example: Top arch blocks vision and blocks missiles

grafik

Bottom arch doesn't block vision and missiles grafik

  1. Example: Top arch blocks vision and blocks missiles grafik Bottom arch doesn't block vision and missiles grafik

This changes gameplay (difference in vision affects monster behavior/ai and difference in block affects missiles). That's why the timedemo fails. Should we accept this changes (and make a new timedemo) or leave it (for now) and close the pr? 🤔

obligaron avatar Aug 21 '22 20:08 obligaron

Should we accept this changes (and make a new timedemo) or leave it (for now) and close the pr? 🤔

Many other fixes in the past would've also changed the timedemo, we can't have fixes anymore? I do think that it's good idea for someone else to see if they can find any you missed, though.

FitzRoyX avatar Aug 22 '22 10:08 FitzRoyX

Sorry if I was unclear. I have no problem with recording a new timedemo (for this pr and future pr's). But if we don't want to take this changes (cause it affects gameplay), I would rather not do the work to make a new recording. That's why I asked beforehand. 😁

It would be cool if someones else could look at the pieces again and check them. 🙂

btw: if we want to take the pr. I'm thinking of adding a commit that removes the special case for object selection and then record the new timedemo with both changes. 🙂

obligaron avatar Aug 22 '22 17:08 obligaron

There now I can finally review this :)

image

AJenbo avatar Sep 02 '22 01:09 AJenbo

I think this fix makes sens, but it's going to need a new demo I guess. Should we maybe go over all tiles to make sure they are correct first?

AJenbo avatar Sep 09 '22 02:09 AJenbo

I think it would be a good idea to look over all cathedral tiles. The other tile sets are not tested with the shareware, so they don't affect the demo recording.

Do you know other incorrect tiles (expect walls and arches)? I know #1283 but that's a more complex issue.

obligaron avatar Sep 09 '22 19:09 obligaron

I checked all cathedral tiles again with the new tooling. The changes helped a lot. 🙂 👍 Note: I didn't test all cases.

obligaron avatar Oct 09 '22 16:10 obligaron

Nice. Lets just keep this PR to the cathedral tiles, we can look at the others later.

AJenbo avatar Oct 09 '22 20:10 AJenbo