XML:SUBT: Difference between revisions

From OniGalore
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 36: Line 36:
==file structure==
==file structure==
'''Each line has following element:'''
'''Each line has following element:'''
: keyword
: ''keyword''
: =
: =
: ''text''
: ''text''
'''Example from SUBTmessages:'''
xmouse=To change your orientation, [c.move the mouse].
'''Optional color formating, it starts with "[" and ends with "]":'''
'''Optional color formating, it starts with "[" and ends with "]":'''
: b. (blue)
: b. (blue)
Line 48: Line 50:
: u. (umber)
: u. (umber)
: y. (yellow)
: y. (yellow)
'''Example from SUBTmessages:'''
 
xmouse=To change your orientation, [c.move the mouse].
 
==missing dialogue lines==
Some of Shinatama's talk in the training level is [[Talk:Quotes/Speech|missing]]. Iritscen added those lines to the [[Quotes/Speech#CHAPTER_00_._COMBAT_TRAINING|Speech]] page.

Revision as of 14:00, 23 June 2012

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 Oni\Edition\GameDataFolder\level0_Final
  • You can't use other files, only these two:
    • SUBTmessages.oni (contains some autoprompt lines for ONGS)
    • SUBTsubtitles.oni


BSL support

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.