Closed ndru83 closed 1 month ago
@ividyon - Please note that English is not my first language so I'm open to proposals that might better describe the field in question.
I'm not sure whether this renaming could constitute a breaking change for other projects relying on paramdex.
Given the weirdness of MissionParam ID - 2010 (Illegal Entry) it would be good to have someone review and validate whether that's really just some edge-case.
@ndru83 Thanks for the effort, but I suggest you make this contribution to the Smithbox project, as that is where I source my Paramdex. I can merge this PR here, but it would eventually be overwritten unless added to Smithbox.
@ividyon Oh, I didn't realize. Thank you for the quick response! I'll close the PR and submit it there! Cheers!
Identify and rename AC6 MissionParam field
Unk0x124
asmissionDebriefingTalk
and adding related metadata.Context & Corroborating Evidence
Mission debriefings are talk sequences that play after completing certain Armored Core VI missions.
These debriefings seem to be associated with
80XXXX000
TalkParam sequences, whereXXXX
denotes the value of themissionDebriefingTalk
MissionParam field, but the mapping may also be represented algebraically as800000000 + 10000 * missionDebriefingTalk
.The lack of naked references to
80XXXX000
TalkParam IDs in MQB or ESD files seems to indicate that there's a separate, dedicated command for triggering these sequences, though I've not managed to identify one so far.Only missions with a missionDebriefingTalk (Unk0x124) seem to play mission debriefings and, as can be seen in the following table, the values and their respective TalkParam IDs seem to line up in all but one case.
Notes:
Although the debriefing for MissionParam ID 2010 (Illegal Entry), maps to an existing TalkParam entry of ID
802000000
spoken by the "Narrator", but all entries in this sequence seem to reference invalid msgId's. Instead the mission seems to be playing a pre-rendered video associated with the 301102200 TalkID sequence (""Cora"—a sublime substance.
").Whether the 802000000 entries indicates a leftover portion of some cut content or is just part of some hacky workaround for the video is unclear at this point. Please note, that the actual 301102200 TalkParam sequence playing under the video does not seem to be associated with any particular naked parameter in an MQB cutscene file or ESD script either.
There might be some additional flag field that could acts as a precondition for the debriefing to play, although I've not managed to identify one yet.
The somewhat related UnkByte0x44 field seems to be a likely candidate, but there's a slight mismatch between its use and that of the proposed missionDebriefingTalk.
UnkByte0x44 seems to be more associated with chapter transitions that sometime happen to line up with missions with debriefings.