✅ Verified in-game β€” deeper pass: re-confirmed the single static LocalWidgetList (one visible opaque 640x480 "LTI_precache" widget, no children) and the GuiGameStateChange/GuiInitialization handler wiring against source; corrected the speculative "invisible-ish" note (widget is visible=1, opaque) and cross-linked mrxguiltiprecache + the shellbootstrap that loads this layout

MrxGuiLtiPrecacheLayout

Module: mrxguiltiprecachelayout.lua

Overview

The mrxguiltiprecachelayout.lua file defines a static LocalWidgetList table describing a single full-screen (0,0)-(640,480) GUI widget named LTI_precache, centered both horizontally and vertically, with no children. It is a layout-data file, not a behavior module β€” it contains no functions of its own. It imports MrxGuiLTIPrecache and wires that module’s functions in as the widget’s event handlers.

Inheritance

  • Inherits from: none β€” base/utility module (no inherit(...) call in the file)
  • Imports: MrxGuiLTIPrecache

Instance pattern

Not applicable. This file has no Create/OnActivate/Awake/tInstance β€” it’s a single static table (LocalWidgetList[1]) built once at load time and never instantiated per-object.

Functions

There are no functions defined in this file (top-level function or Name = function). The two handlers referenced in LocalWidgetList[1].EventHandlers β€” MrxGuiLTIPrecache.HandleStateChangeEvent and MrxGuiLTIPrecache._Initialize β€” are looked up from the imported MrxGuiLTIPrecache module and are not defined here. (Note: if import fails/is unavailable, the file falls back to MrxGuiLTIPrecache = {}, an empty table β€” in that fallback case both EventHandlers entries would be nil.)

Events

No Event.* calls appear in this file. The table’s EventHandlers field maps two GUI-system event names (used by the wider GUI framework that consumes LocalWidgetList, not by this file directly) to MrxGuiLTIPrecache functions:

  • GuiGameStateChange β†’ MrxGuiLTIPrecache.HandleStateChangeEvent
  • GuiInitialization β†’ MrxGuiLTIPrecache._Initialize

Notes for modders

  • This is pure layout data (position, anchor, color/translucency levels, event-handler wiring) for one widget β€” there’s no logic to modify here beyond the table fields themselves.
  • Actual behavior lives in MrxGuiLTIPrecache β€” read that page for what HandleStateChangeEvent and _Initialize do (and note it documents three real bugs in _Initialize’s neighborhood).
  • The "LTI_precache" widget is full-screen 640Γ—480, opaque white (TranslucencyLevel = 255), center-anchored, visible = 1 β€” a rendered full-screen widget. _Initialize attaches a fullscreen FlashWidget loading the "LTI_precache" SWF as its actual visible content.
  • This layout is loaded by MrxGuiShellBootstrap as "MrxGuiLTIPrecacheLayout" during the precache-screen transition.

Back to top

This site uses Just the Docs, a documentation theme for Jekyll.