Scpui.tbl: Difference between revisions

MjnMixael (talk | contribs)
Created page with "Scpui.tbl is used by the SCPUI script system to define what engine game states are linked to librocket RML files. This effectively allows SCPUI..."
 
MjnMixael (talk | contribs)
Replaced content with "{{SCPUI moved|https://github.com/MjnMixael/SCPUI/wiki/scpui.tbl}} Category:SCPUI Category:Tables"
Tag: Replaced
 
(21 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Scpui.tbl is used by the [[SCPUI]] script system to define what [[List_of_Game_States|engine game states]] are linked to [[librocket]] RML files. This effectively allows SCPUI to override a built-in game UI with one of its own.
{{SCPUI moved|https://github.com/MjnMixael/SCPUI/wiki/scpui.tbl}} [[Category:SCPUI]] [[Category:Tables]]
 
SCPUI.tbl can be extended with xxx-ui.tbm.
 
==SCPUI.tbl==
*SCPUI defines what game states and substates exist for SCPUI through the use of this table file and modular -ui.tbms.
*Begins with #State Replacement and ends with #End
 
===$State:===
*The game state to replace from [[List_of_Game_States|FSO's game states]]
*Syntax: '''''string'''''
 
===+Substate:===
*The name of the substate
*Required for GS_STATE_SCRIPTING
*Syntax: '''''string'''''
 
===+Markup:===
*The path to the RML file definition to use for the game state
*Must include the file path
*Syntax: '''''string'''''
 
===Example===
<pre>
#State Replacement
 
$State: GS_STATE_INITIAL_PLAYER_SELECT
+Markup: data/interface/markup/pilot_select.rml
 
$State: GS_STATE_SCRIPTING
+Substate: Newsroom
+Markup: data/interface/markup/journal.rml
 
#End
</pre>

Latest revision as of 18:28, 28 October 2026

This page has moved. SCPUI documentation now lives on the SCPUI GitHub wiki.
See the new version of this page. The old content is still available in this page's history.