Jump to content
Sign in to follow this  
rangerpl

[PAA question] Binoculars overlay?

Recommended Posts

Hi all,

I know there is a way to show a .paa resource on the player's screen, since there are scripts for it and it's been done in campaigns. I'm wondering if it's possible to create a .paa that would somehow simulate looking through binoculars? I want to display this in a cutscene using cameras (instead of the player's own eyes).

I have a cutscene where a bunch of soldiers are looking through binoculars and I think it would be great to be able to use cameras to make it seem like you're looking through their eyes.

Basically, I want to make the black outline of the binoculars into a .paa that can be displayed on the screen in a cutscene.

Can I just create a .paa file and give it transparency in the middle? Will that allow players to "see" through that part?

Share this post


Link to post
Share on other sites

http://community.bistudio.com/wiki/cutRsc

+

defined as title like

class RscTitles
class binocular
{
	class objects
	{
		class binocular: RscObject
		{
			position[] = {0,0,0.053};
			direction[] = {"sin 0","sin 180 * cos 0","cos 180 * cos 0"};
			up[] = {0,"cos 180","-sin 180"};
			model = "\ca\Weapons\optika_dalekohled.p3d";
			idc = -1;
		};
	};
	idd = -1;
	movingEnable = 0;
	duration = 1000;
	name = "binocular";
};
class reslogo
{
	idd = -1;
	movingEnable = 0;
	duration = 1000;
	name = "reslogo";
	class objects
	{
		class binocular: RscObject
		{
			model = "\o\misc\Resistance_logo.p3d";
			idc = -1;
			position[] = {0,0,3.5};
			direction[] = {"sin 0","sin 180 * cos 0","cos 180 * cos 0"};
			up[] = {0,"cos 0","-sin 180"};
		};
	};
};

Share this post


Link to post
Share on other sites

D'oh! I remember reading about that command a few days ago, I can't believe I forgot about that! Thanks.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×