✅ Verified in-game β deeper pass: surfaced the temp_placeholder default texture and the forced-zero fade times, documented the slide-chaining behavior of PlaceholderSequence, noted the MrxUtil import is unused; both functions and zero-Event.* re-confirmed
MrxCinematic
Module: mrxcinematic.lua
Overview
The MrxCinematic module is a placeholder slideshow system used for displaying sequences of slides in the gameβs HUD. It provides functions to chain and display slides with zero fade times, using default textures if none are specified.
Inheritance
- Inherits from:
none β base/utility module - Imports:
MrxUtil(imported but noMrxUtil.*call appears in the two functions β the import looks vestigial)
Instance pattern
This is a stateless manager/utility module (no per-instance tables). It does not track any persistent state.
Functions
PlaceholderSequence(tSlides, fCallback, tCallbackArgs)
Chains slides so each _DisplaySlide calls the next. The last slide carries the final callback with arguments. Sets fade times to zero for all slides.
_DisplaySlide(tSlideData)
Displays a single slide using the HUDβs cinematic placeholder system. Defaults the texture to "temp_placeholder" if none is provided and shows the slide.
Events
- Listens for no specific engine events (internal chaining mechanism).
Notes for modders
- This is exactly what the name says β a placeholder. Every fade time is forced to
0and any slide without ansTexturefalls back to the debug texture"temp_placeholder". It renders throughHud.CinematicPlaceholder:Show(tSlideData). Treat it as stand-in cinematic scaffolding, not a finished slideshow system. - Slide table shape: pass
PlaceholderSequence(tSlides, fCallback, tCallbackArgs)wheretSlidesis an array of slide-data tables (each may carrysTexture, plus whateverHud.CinematicPlaceholder:Showconsumes).PlaceholderSequencerewrites thefCallback/tCallbackData/nFadeInTime/nFadeOutTimefields to chain the slides, so donβt set those yourself β the final callback you pass fires after the last slide.