Quote: Chapter titles use "unicode_string_list" tags for storing the text.
For that, get this string list editor. It makes editing unicode_string_list tags much easier, since you can just open and save the tags directly without having to compile through Tool:
http://hce.halomaps.org/index.cfm?fid=1049Then, using the string list editor, make a new "unicode_string_list" tag with as many strings as you want. Each string will be one Chapter Title. Once you're done, save the tag anywhere, but preferably in the same folder as your scenario tag. Name it whatever you want.
Next, in Guerilla, open up the scenario tag. Go all the way to the very bottom and you'll see "Cutscene Titles". Just under there should be a tag reference that says "ingame help text". Browse on that one, and select the tag you just saved.
Then, just next to "Cutscene Titles", click the "Add" button to make as many chapter titles as you need. Just under should be "name". Make the names whatever you want, but make them easy to remember because that name is used in the script.
Now, the "text bounds" and "justification" should be self-explanatory, but they're not. I'm not sure what screen resolution the game assumes as a standard when using the "text bounds" values. If someone knows, that would help. But, t = top, b = bottom, l = left, and r = right bounds, and the 3 justifications are general positions: "left, right, center". You can mess with those some if you want a different position than usual, but if you want the usual, just enter these values that I got from a10's scenario:
t: 425
l: 0
b: 446
r: 597
justification: right
That actually makes it come out to the left, oddly enough.
Once that's done, set the "string index" to the index of the string you want to use for that chapter title. If you're not sure, you can get the number by opening the string list tag and looking at the number to the left of each string right in Guerilla. It starts from "0" and goes up.
Then comes the text color. The "r, g, b" values are just 0-255 levels of red, green, and blue to make a color. You don't have to worry about that, just select the color by clicking the box to the right. Most likely you want white. Most of the time, the shadow is set to black, but it can be changed too. Don't miss the "a" before each color though, that's the alpha transparency. 0 = fully transparent, 255 = opaque. So most likely you want 255 for no transparency.
Then, the fade times should be self-explanatory. "up time" is how long it stays fully opaque on screen once it fades in, "fade in" is how long it takes to fade in, and "fade out", same thing, but fading out.
Then, the script is the easy part. Whenever you want the chapter title displayed, just use this command:
(cinematic_set_title "cutscene_title")
Usually you want the letterbox to appear and the hud to disappear in conjunction with that. Just as a reminder, it's:
(cinematic_show_letterbox "boolean")
and
(show_hud "boolean")