OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: DucusSumus on 18 Jun 2007, 15:58:30

Title: Greyscale
Post by: DucusSumus on 18 Jun 2007, 15:58:30
Does anyone here know of a way to remove all color from the screen?  Basically, I want to create a black & white cutscene.  Thanks in advance.
Title: Re: Greyscale
Post by: Rellikki on 18 Jun 2007, 16:24:18
I don't think that's possibe.
Title: Re: Greyscale
Post by: The-Architect on 18 Jun 2007, 16:35:38
You can put overlays of colour onto the screen.

The best you can hope for is a kind of sepia.
Title: Re: Greyscale
Post by: Blanco on 18 Jun 2007, 19:32:20
Play with the forcast/fog/time settings until you got a sad dull greyish day :)

I think the architect method is best way to do this. Create a semi transparant paa in a sepia color and define it as an overlay resource.

Title: Re: Greyscale
Post by: The-Architect on 19 Jun 2007, 03:32:23
I don't think you even need to create a .paa. I recall a bit of scripting from the description .ext that would give you the effect. Gods knows where or when I was playing with it, but it can be done.

Flashpoint it was but I'm sure it's gonna be supported in ArmA. Try looking at cutrsc and all that.
Title: Re: Greyscale
Post by: Mr.Peanut on 19 Jun 2007, 15:55:09
Ducus,

I searched the forums for "sepia" and found that Trapper's Zombie Outbreak Simluation in the Missions Depot used this effect in conjunction with a paa that looked like gasmask goggles. Unpbo the mission and take a look at the description.ext. You'll see:
Code: [Select]
class OrangeFilter
{
idd=-1;
movingEnable=true;
duration=1e10;
name="Gasmask Orange Filter";
controls[]={"filter","obstruction"};

class filter
{
type = CT_STATIC;
idc = -1;

x = 0; y = 0;
w = 1; h = 1;

style = ST_MULTI;                                 
text = "";
font = "tahomaB24";

colorText[] = {1, 0, 0, 1};
colorBackground[] = {0.39, 0.24, 0.15, 0.185};

sizeEx = 1;   
size = 1;
lineSpacing = 1.0;
};
class obstruction : RscPictureO
{
text = maskview.paa;
x = 0; y = 0;
w = 1.6; h = 1.07;
};
};

If you delete the "obstruction" from the both controls arrays line and the code block, you should get the effect you are looking for, though not in the colour you want. You will also have to include the define statements for cut resources that occur at the start of the cut resource code block.
Title: Re: Greyscale
Post by: WhisperOFP on 19 Jun 2007, 16:12:56
if it's by night, fixing the setAperture to low values makes you see things, but color kind of disappear
Title: Re: Greyscale
Post by: DucusSumus on 20 Jun 2007, 02:20:47
Ah, cool.  Thanks for the help, Mr. Peanut.