XML:SUBT: Difference between revisions

From OniGalore
m (should have used vanilla/ path)
m (adding nav header)
Line 1: Line 1:
{{XML_File_Header | prev=StNA | type=SUBT | next=TRAC | name=Subtitle Array}}
==onisplit commands==
==onisplit commands==
:-extract:txt <target directory> <filenames> Rips all SUBT as .txt into target folder from source .dat or .oni
:-extract:txt <target directory> <filenames> Rips all SUBT as .txt into target folder from source .dat or .oni

Revision as of 19:24, 27 March 2021

SUBT : Subtitle Array
XML modding tips
See HERE to start learning about XML modding.
See HERE if you are searching for information on how to handle object coordinates.
See HERE for some typical modding errors and their causes.
XML.png
XML

StNA << Other file types >> TRAC

switch to OBD page

onisplit commands

-extract:txt <target directory> <filenames> Rips all SUBT as .txt into target folder from source .dat or .oni
-create:subt <target directory> <filename> Creates a SUBT .oni file in target folder from a .txt file
no asterisk (*) in the file name allowed


general information

  • SUBT files are stored inside AE/AEInstaller/vanilla/level0_Final.dat
  • You can't use other files, only these two:
    • SUBTmessages.oni (contains some autoprompt lines for ONGS)
    • SUBTsubtitles.oni
      • Subtitles show up when corresponding sounds get played via bsl command "sound_dialog_play" and "sound_dialog_play_block"


BSL support: messages

command description example
message keyword [time] sends a message from the subtitle file message begin_fight 240
message_remove [keyword] removes a currently displayed message message_remove c01_50_23 message_remove
ui_suppress_prompt suppresses UI prompting about new objectives or moves ui_suppress_prompt = 1


file structure

Each line has following element:

keyword
=
text

Example from SUBTmessages:

xmouse=To change your orientation, [c.move the mouse].

Optional color formating, it starts with "[" and ends with "]":

b. (blue)
c. (cyan)
g. (green)
l. (lila)
o. (orange)
r. (red)
u. (umber)
y. (yellow)


missing dialogue lines

Some of Shinatama's talk in the training level is missing. Iritscen added those lines to the Speech page.