OFPEC Forum

Editors Depot - Mission Editing and Scripting => Arma2 - Editing/Scripting General => Topic started by: DMarkwick on 30 Jun 2009, 23:52:51

Title: View overlay?
Post by: DMarkwick on 30 Jun 2009, 23:52:51
Is it possible to overlay an image over the main view?
Title: Re: View overlay?
Post by: Spooner on 30 Jun 2009, 23:56:25
cutRsc or titleRsc will do this, showing a UI display behind, or in front of, dialogs, respectively. Just have a single image control in the display if that is all you need. GUI is rather a large subject in Arma, so I won't go on further until you give more details (including if you know anything about making regular dialogs).
Title: Re: View overlay?
Post by: DMarkwick on 01 Jul 2009, 00:19:34
I've never made dialogs before.

The sort of thing I'm looking to implement is:
parallel horizontal lines to simulate low-res CRT display (sort of like the image at the top of this page).
Grunge textures at peripheral vision to simulate emotional tunnel vision (similar to radial blur in effect, but as an overlay).
& other such usages.

I see that it might be possible to fade the overlay in, is it at all possible to fade the overlay out?
Title: Re: View overlay?
Post by: Trexian on 01 Jul 2009, 15:03:33
Maybe titleFadeOut?
http://community.bistudio.com/wiki/titleFadeOut

Also, I believe the titleRsc/titleCut have settings to fade in/out.
http://community.bistudio.com/wiki/titleRsc
Title: Re: View overlay?
Post by: DMarkwick on 01 Jul 2009, 18:06:33
That would be OK for text, but I'm after a visual image overlaid on the game view. Sort of like how the binos work, you get a zoomed image with a mask showing the binos shape and scratches & marks on the unmasked part. That's what I wish to do, only with my own custom images.