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 »Chapter Titles

Author Topic: Chapter Titles (4 messages, Page 1 of 1)
Moderators: Dennis

Polamee
Joined: Feb 25, 2008

MP2SPMT's founder


Posted: Apr 3, 2009 10:06 PM    Msg. 1 of 4       
How do I add Chapter Titles to an SP map?


sierra117
Joined: Jan 10, 2008

If sex is good exercise, why are there fat sluts?


Posted: Apr 3, 2009 10:34 PM    Msg. 2 of 4       
simple. in the string list editor. (this way is easier) i use v1. (not the one by e3po) add what you want it to display. Then save it as a unicode_string_list. open in guerilla and add it as a ingame help text. make the chapter title in sapien. What ever you name it is was the name the script refers to. add fades if you wish. And then just script it in. script is (cinematic_set_title "title-name") That should work.

offtopic: can you help me in my campaign? its the CvMvF one.


Me KS
Joined: Feb 2, 2008

Desire is Reality. Xfire: jetmaster23


Posted: Apr 3, 2009 11:09 PM    Msg. 3 of 4       
^ What he said. Didn't notice his post while I was writing this one, but here's a more detailed version of what he just said:

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=1049

Then, 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 "Chapter 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 "Chapter 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")


Polamee
Joined: Feb 25, 2008

MP2SPMT's founder


Posted: Apr 4, 2009 02:57 AM    Msg. 4 of 4       
Quote: --- Original message by: Me KS
^ What he said. Didn't notice his post while I was writing this one, but here's a more detailed version of what he just said:

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=1049

Then, 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 "Chapter 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 "Chapter 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")


Thanks! Also, there's not 'chapter titles'. Its 'Cutscene Titles'
Edited by Polamee on Apr 4, 2009 at 05:41 AM
Edited by Polamee on Apr 4, 2009 at 05:41 AM

 

 
Previous Older Thread    Next newer Thread







Time: Fri January 20, 2023 11:05 PM 125 ms.
A Halo Maps Website