A Community discussion forum for Halo Custom Edition, Halo 2 Vista, Portal and Halo Machinima

Home  Search Register  Login Member ListRecent Posts
  
 
»Forums Index »Halo Custom Edition (Bungie/Gearbox) »Halo CE Technical / Map Design »How to display a text at the bottom right ?

Author Topic: How to display a text at the bottom right ? (6 messages, Page 1 of 1)
Moderators: Dennis

benjimod
Joined: Sep 29, 2009


Posted: May 26, 2011 05:57 PM    Msg. 1 of 6       
Hello,

I would like to know how to display text in the bottom right of the screen ?

As with extinction :

Thanks you.


benjimod
Joined: Sep 29, 2009


Posted: May 26, 2011 07:19 PM    Msg. 2 of 6       
Yes,

and now ^^ ?


benjimod
Joined: Sep 29, 2009


Posted: May 26, 2011 07:37 PM    Msg. 3 of 6       
Ok.


benjimod
Joined: Sep 29, 2009


Posted: May 26, 2011 11:24 PM    Msg. 4 of 6       
No problem.


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: May 26, 2011 11:33 PM    Msg. 5 of 6       
Quote: --- Original message by: Gamma927
I 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=1049
2) 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_title 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.


This is for a title that appears and disappears with cinematic bars. For a Extinction style cinematic title, ignore the scripting part of the quoted text. Instead, set the fade in and fade out times to 0, set the up time to 0.1, and use the following script:


(script continuous disp1
(cinematic_set_title title1)
)


Then compile it and all that magic.


benjimod
Joined: Sep 29, 2009


Posted: May 27, 2011 03:06 AM    Msg. 6 of 6       
OMG it's very complicated.
Especially since I speak French, it's not easy for me: /.

ll try to translate.

Thanks man !

 

 
Previous Older Thread    Next newer Thread







Time: Fri January 20, 2023 10:32 PM 125 ms.
A Halo Maps Website