Text prompts, second pass
Some day, maybe these will be implemented. See SRB2Internal#131 for the finished features in text-prompts
(first pass)
First pass documentation: https://git.magicalgirl.moe/STJr/SRB2Internal/wikis/New-tutorial-features
SOC
-
Align
- Horizontal alignment of text: Left, Right, Center -
VerticalAlign
- Vertical alignment of text: Top, Bottom, Middle -
TextSfx
- SFX to play on each letter print, e.g.,sfx_menu1
. Default none. -
LineExecTag
- Tag to execute upon starting the page. Maybe pair withLineExecMap
for validation? -
MetaPrompt
andPicsMetaPrompt
- Select metadata and pics from other prompts instead of forcing retrieval from a page in the same prompt. -
PicSnap
- ApplyV_SNAPTOBOTTOM
, etc., to pics
Player-specific to-dos
-
Netgame support - Stubbed out for now, because IDK how the fuck this will work :(
- Scenario: Closed prompt can trigger a line exec. Solution: Netxcmd?
- Scenario: Communicate which players are stuck in a prompt and which are not. Solution: ?
-
Freeze player->realtime
- See
p_user.c P_DeathThink, P_PlayerThink
(searchrealtime =
)
- See
-
Don't drown or die or get hurt by enemies
Low-priority
-
Icon skin color - Search
// skincolor face/super
for example
- Search
-
Use lives icon and name and color from current player -
MetaPlayer = 1
- Player number to pull data from. OverwritesName/Icon
but if the player doesn't exist,Name/Icon
takes precedence.
-
Low Priority
-
Play over paused game (single player only) - Effectively to "freeze all thinkers" during prompt
- Like setting
paused = true
but without the "Paused" HUD element and let the music play
-
Hotstrings to reference configured controls - See comment
Lua Support (Low Priority)
-
Expose F_StartTextPrompt
andF_EndTextPrompt
-
Lua callback for F_EndTextPrompt
, run before the post line exec -
Lua callback for F_AdvanceTextPromptPage
(page change) -
Supply custom page data. Really low priority here.