opentomb / OpenTomb

An open-source Tomb Raider 1-5 engine remake
http://opentomb.github.io/
GNU Lesser General Public License v3.0
1.39k stars 145 forks source link

Broken triggers in training levels #232

Open vvs- opened 9 years ago

vvs- commented 9 years ago

Some triggers in Lara's Home/House in TR1/3 either doesn't work or work incorrectly.

Lwmte commented 9 years ago

In TR1, it seems Core programmers made a hardcoded override for each CD trigger. We need to write trigger override script in the same manner - I opt for exporting it into flipeffects (as it was done in TR2).

And, for TR2 and TR3, of course, there's a bunch of things to be implemented - like assault course clock and race timer.

vvs- commented 9 years ago

I meant that in TR1 triggers in the swimming pool activate at the wrong times and the trigger "now press it again and quickly press one of the directions and I'll jump that way" (track 29) isn't working. In TR3 triggers for individual exercises inside the home gym are not working.

Lwmte commented 9 years ago

Yes, exactly. If you look at TR1 triggers in Lara's Home with FexInspect, you will see that they all are CD triggers. However, for each trigger there were additional conditions. Most likely, they hardcoded special routines for CD triggers, when Lara's Home is loaded.

As for TR3, it's much easier, as gym triggers are flipeffects, not CD triggers. So I just have to write flipeffect for each of them.