I guess we've lost the latest posts, so I will try again with this one. This is a followup to a post I had about using a picture in a cutscene. Several people have given some great help, and I had tried to reply to the last one, Mandoble:
Thanks, Mandoble, that is almost perfect! I changed to a 1024x512 picture and had to do a lot of trial and error to get it positioned right, but it looks pretty good now.
I say almost perfect because there is still a small problem of a sort of hiccup during the fade to black when the picture comes on. It's supposed to show the last movie scene and fade to black, then show the map picture with the black background. For some reason, right after it fades to black and just as the map picture comes on, instead of the black background it shows the island in the background. I tried playing around with the script, but it doesn't seem to change anything.
Here is the section from the intro.sqs:
_cam camsettarget helo2
_cam camcommit 0
@camcommitted _cam
titlecut ["But their BlackHawk was hit by Triple-A on the return trip.","BLACK IN",5]
~10
;titlecut [" ","BLACK OUT",5]
;~5
6 fadeSound 0
titlecut [" ","BLACK OUT",6]
~6
;Show map picture
cutRsc ["endpicture", "PLAIN", 0.01]
TitleText ["We believe the helicopter has crashed, and if there are survivors,\ntheir long range radio must have been damaged.","PLAIN DOWN"]
~5
TitleText ["They should still have short range communications, but Strauss would\n have destroyed any communications equipment he had before being extracted.","PLAIN DOWN"]
~5
TitleText ["The Soviets started a major offensive on Malden last night,\nso we have limited resources to recover the survivors and time is running out.","PLAIN DOWN"]
~5
TitleText [" ","PLAIN DOWN"]
;End cutscene
_cam cameraeffect ["terminate", "back"]
camdestroy _cam
endcut = true
exit
And here is the section from the description.ext:
#define CT_STATIC 0
#define ST_PICTURE 48
class RscPicture
{
type = CT_STATIC;
style = ST_PICTURE;
idc = -1;
colorBackground[] = {1, 1, 1, 1};
colorText[] = {1, 1, 1, 1};
font = "tahomaB24";
size = 0;
sizeEx = 1;
lineSpacing = 1.0;
};
class RscText
{
type = CT_STATIC;
idc = -1;
style = ST_LEFT;
colorBackground[] = {0, 0, 0, 0};
colorText[] = {1, 1, 1, 1};
font = "tahomaB36";
sizeEx = 0.04;
};
class RscTitles
{
class endpicture
{
idd=-1;
movingEnable=false;
duration=35;
name="endpicture";
controls[]={"thebackground","thepicture"};
class thebackground : RscText
{
style = ST_CENTER;
x = 0;
y = 0;
w = 1;
h = 1;
text = "";
colorBackground[] = {0, 0, 0, 1};
};
class thepicture : RscPicture
{
text = "map.jpg";
x = 0.09; y = 0.04;
w = 0.85; h = 0.65;
};
};
};
Can you see where I am goofing it up?
Thanks!