Done!
"Animated text":
http://www.zomis.net/rnd/download.php?id=528
Documentation: (there's too much of it to put it into envelopes)
The first, blank line in the image is for defining CE value 0, which isn't used. Lines are counted from the first line with content, so the line at ypos 0 is actually -1st line.
Every text from the graphics file has two numbers - offset and length. Offset is number of the line where the text starts length is number of animation frames the text has (= number of lines the text has
- 1). (By coincidence, there are two texts with length 1 in the level, and I've created a sepearate element for each of them, but the only difference between them is the graphics (I wanted each text to have an offset and length of the same color). In behavior they're identical - both set the text length to 1.
I didn't use reversed scanline, as the original FMV did. It was used to reverse the order of creation of the FMV-content elements, so the CE values were be in order (1,2,3,4,5,6). If it wouldn't be used, they would be in order (6,5,4,3,2,1). However, I think that reversed scanline could maybe break some other techniques (don't ask me what or how), and I preferred not to use it. Instead, I just used substraction instead of addition, so the order of CE values would be (-6,-5,-4,-3,-2,-1) and added 7 to each of them, resulting in (1,2,3,4,5,6), as intended.
Tutorial for adding another, fourth text:
First, edit the image file, add more lines and write the text there. Find the text offset (number of lines above the first line of the text, not counting the first, blank line) and text length (number of lines the text occupies - 1). (Note: The blank line at the end of the file is a part of third text, leave it alone.) Then, edit graphicsinfo.conf and add more frames (3 * number of lines the text occupies). Go into level editor and add two more elements:
1. text length = X
CE value = X
after change by page of [text progress timer], set CE value - 1
changes to [text ended] when CE value gets 0
2. text offset = X
- CE value = 7 + 3*X
-- (why 7? see above. why 3? it's number of CE values per line.)
- changes to [text element] after delay 0
- must be present in GE1
Of course, you can use premade elements too, e.g. if text length is 5, you can use the green key and don't have to make a new one.
When you've done this, you just have to add a changepage to text starter. It should look like this:
- element changes to (extended change target) when
-- (something what should start the text happens)
- use extended change target:
OOO
OOO
ELB
O = your text offset, E = empty space, L = your text length, B = [text init delay]
- replace when empty
- replace all or nothing
That's all. Now it should work.
By the way, Alan's FMV can currently be donwloaded from
http://www.bd-fans.com/