Quote: --- Original message by: Gamma927I could've sworn that I created a tutorial on this before, though I can't seem to find it. Oh well.
First things first:
1) Download the String List Editor:
http://hce.halomaps.org/index.cfm?fid=10492) Run it
3) For this tutorial, we'll only create one title. If you wish to use multiple cinematic titles throughout your map, just keep clicking add for each one.
Type what you want to appear into the box where you can type text, and click add. Repeat for every title you wish to add.
4) Click "save", and save it inside your tags folder
5) Once saved, run Guerilla, and open your .scenario file.
6) Scroll to the very bottom. In the boxes above the BSP, look for an area to enter in "ingame help text"
7) In this box, browse to your string list that you created.
8) Once done, scroll up a bit.
9) Under the giant heading which says "Cutscene Titles", click "add"
10) Repeat the following for every title you wish to add:
a) For name, DON'T put the text for the cinematic title. Rather, use something short and easy to type; for example, txt1.
b) For text bounds, put the coordinates in which you wish the title to appear. Default coordinates are: t = 425, l = 0, b = 446, r = 597
c) For string index, put the number corresponding to the text you want to appear. To figure out this number, go back to the string list editor. Next to every bit of text will be a number. For example, if you only have one title, that number will be 0. The second title in the string list will have the number 1. Enter this number into this box.
d) For justification, put the corner in which you want the text to appear. Default is 'right'.
e) For text color, put the color you want the text to be. Default is a = 255, r = 255, g = 255, b = 255
f) For shadow color, this will be the color surrounding the text. Default is a = 255, r = 0, g = 0, b = 0
g) Fade in time is how long you want to wait before the text fully appears. Default is 1
h) Up time is how long the title will stay up. Default is 3
i) Fade out time is how long you want to wait before the text fully disappears. Default is 1.
11) To repeat this for another, go back to the top and click add. Repeat the process for every string list.
12) This is the scripting part.
NOTE: REMEMBER TO SAVE THE SCENARIO IN GUERILLA AND CLOSE IT BEFORE OPENING SAPIEN TO COMPILE THE SCRIPT.
In your script, whenever you wish for your title to appear, add:
(cinematic_set_title "NAME OF TITLE")
Please note that the name of the title is NOT the title itself. Rather, it's the name you entered back in step 10a.
If you wish for the cinematic black bars to appear along with this title, add:
(cinematic_show_letterbox true)
Add (cinematic_show_letterbox false) whenever you wish to disable the box.
An example script that would display a title with the box is:
(script startup titleexample
(cinematic_set_name txt1)
(cinematic_show_letterbox true)
(sleep 90)
(cinematic_show_letterbox false)
)
Please note that the name of the title would therefore be txt1.
Compile the scripts, and you're done.