tr2/data: add camera shutter SFX to cutscenes
Some checks are pending
Run code linters / Run code linters (push) Waiting to run
Publish a pre-release / Build TR1 (push) Has been skipped
Publish a pre-release / Build TR2 (push) Has been skipped
Publish a pre-release / Create a prerelease (push) Has been skipped

This injects the camera shutter SFX for photo mode in cutscenes.

Resolves #2280.
This commit is contained in:
lahm86 2025-03-13 21:50:00 +00:00
parent dfbec724eb
commit 37e83b9638
3 changed files with 13 additions and 0 deletions

View file

@ -427,16 +427,25 @@
{"type": "set_cutscene_angle", "angle": 0},
{"type": "loop_game"},
],
"injections": [
"data/injections/photo.bin",
],
},
{
"path": "data/cut2.tr2",
"music_track": 4,
"sequence": [{"type": "loop_game"}],
"injections": [
"data/injections/photo.bin",
],
},
{
"path": "data/cut3.tr2",
"music_track": 5,
"sequence": [{"type": "loop_game"}],
"injections": [
"data/injections/photo.bin",
],
},
{
"path": "data/cut4.tr2",
@ -445,6 +454,9 @@
{"type": "set_cutscene_angle", "angle": 0},
{"type": "loop_game"},
],
"injections": [
"data/injections/photo.bin",
],
},
],

Binary file not shown.

View file

@ -8,6 +8,7 @@
- added `/flood` and `/drain` console commands
- added support for `-l`/`--level` argument to play a single level
- added the ability to specify per-level SFX files rather than enforcing the default (main.sfx) on all levels (#2615)
- added the camera shutter sound to cutscenes for photo mode (#2280)
- added Italian localization to the config tool
- changed injections to a new file format with a smaller footprint, improved applicability tests and similar feature support as TR1 (#1967)
- changed the `/pos` command to show `Demo` and `Cutscene` instead of `Level` when relevant