devilutionX icon indicating copy to clipboard operation
devilutionX copied to clipboard

Stairs hero position offset

Open Chance4us opened this issue 3 years ago • 4 comments

If you go down a level like in this example and then come back, then the hero is in the following position.

offset1

If you then use the warp spell, then your hero will be moved to the following position.

offset2

As you can see, the two positions differ and it is desirable to treat the positions for the stairs equally in both cases.

I can't currently tell if it's a vanilla issue or since when it was introduced.

Savegame: stairs_test.zip

EDIT: Of course, the same applies to the stairs that lead upstairs.

Chance4us avatar Aug 03 '22 16:08 Chance4us

That's not only crypt - leo's tomb for example Entered: image

Warped: image

qndel avatar Aug 04 '22 14:08 qndel

The warp position in nest is still not correct. Savegame: nest.zip

To reproduce:

  1. Go level up and go down
  2. Use warp spell

I can't say at the moment if there are more of such situations in game.

EDIT:

  1. In the cathedral is everything ok
  2. In caves, crypt same issue (just go down to crypt or caves and use warp)
  3. In hell not tested
  4. Quests not tested (for example "Poisoned Water", "Bone Chamber", "Leorics Tomb")

Chance4us avatar Sep 10 '22 22:09 Chance4us

Thanks for reopening @qndel To reproduce the issues you need to go a level up and down or the other way around and to use Warp. Then you will see the offset. This means that either the hero's position or the warp position is incorrect.

  1. cathedral: Down to level 4 ("ogden's sign" only) hero/warp position shifted, all other cathedral stairs are ok poisoned water: seems to be ok, but the hero seems to stand far away from the entrance when exiting the quest (unclear if vanilla behavior) poisoned water

  2. catacombs: all upstairs positions are shifted, bone chamber position shifted as well, downstairs are ok

  3. caves: all upstairs positions are shifted, downstairs are ok

  4. nest: all upstairs positions are shifted, downstairs are ok

  5. crypt: all upstairs positions are shifted, downstairs are ok

  6. hell: upstairs: The warp and hero position is the same, but the hero stands displaced in the entrance (unclear if vanilla behavior) downstairs: extremely shifted, savegame attached downstairs: "Warlord of blood" only, shifted but in a different value than above down to level 16: positions are shifted Lazarus red portal: positions of the portal are shifted in the quest area hell_downstairs.zip level16.zip poisoned_water.zip

level16 red_portal

Chance4us avatar Sep 11 '22 09:09 Chance4us

Updated.

Chance4us avatar Sep 13 '22 21:09 Chance4us