Realm667 / Re-Releases

Overhauls of famous Realm667 projects
24 stars 12 forks source link

[TCOTD2] Some tiles in church hurt but don't teleport #221

Closed Blue-Shadow closed 12 months ago

Blue-Shadow commented 12 months ago

Walking on some of the "wrong" tiles in the church hurt the player but sometimes they don't cause the player to teleport. The reason for this is because some of the lindefs which have the action to teleport and damage are triggered from the back side. Teleporters can only be triggered if crossing a lindef from the font side.

nashmuhandes commented 12 months ago

Some of the lines are also apparently set as unrepeatable. What a mess! I'll try cleaning it up now.

nashmuhandes commented 12 months ago

Hopefully fixed with https://github.com/Realm667/Re-Releases/commit/f508982f73d79210f0705952adb4f7d1c131f23a

nashmuhandes commented 12 months ago

Oof, actually not fixed at all, reopening >_<

nashmuhandes commented 12 months ago

Fixed it in https://github.com/Realm667/Re-Releases/commit/7f6c8d4c5e09168d9130876b38e8265c0c5e3f4e for real. The solution was not to mark the lines as "activatable from the back", that didn't seem to even work (Teleport seems to be hardcoded to only be activate-able from the front? Dunno, didn't check engine source, don't care, I don't have time LOL) -- instead, I just use Teleport_Other on the player, which seems to work.

Blue-Shadow commented 11 months ago

Teleport seems to be hardcoded to only be activate-able from the front?

It is, otherwise you wouldn't be able to, let's say, get off a teleporter pad from which you can teleport as well.