Widescreen Gaming Forum

[-noun] Web community dedicated to ensuring PC games run properly on your tablet, netbook, personal computer, HDTV and multi-monitor gaming rig.
It is currently 29 Apr 2024, 01:18

All times are UTC [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: 23 Oct 2004, 14:08 
Offline
Editors
Editors
User avatar

Joined: 14 Oct 2003, 13:52
Posts: 5706
Hm.

I've been poking round the Max Payne 2 .ras files out of interest, and guess what I've found in a couple of the files contained within?

That's right... widescreen references.

Here's some examples:
Code:
ResetScales      = "maxpayne_hudmode->mphm_changehudvisibility(1,0);
   maxpayne_hudmode->mphm_fadetocolor(0x00000000,0x00000000,0);
   maxpayne_gamemode->gm_changeglobalgamespeed( 1.0, 0 );
   maxpayne_gamemode->gm_changegamespeed( 1.0, 0 );
   maxpayne_gamemode->gm_changefov( 1.0, 0 );
   maxpayne_gamemode->gm_enablewidescreen(0,0);
   maxpayne_gamemode->gm_changemotionblur(0, 0xffffff, 0, 0, 0);
   maxpayne_gamemode->gm_drawphysicalroom(0);";
   HideHud  = "maxpayne_hudmode->mphm_enablehud(false);";
   ShowHud   = "maxpayne_hudmode->mphm_enablehud(true);";
   ShootExpression = "player.ai->ai_addcommand(subanimate,nothing,Sub_MaxPayne_Shoot_A);";



Notice the bit that reads:
Code:
maxpayne_gamemode->gm_enablewidescreen(0,0);
I'll investigate this when I have a bit more time. Might be a few days, up to a couple of weeks.

Another pro-tem fix are these references:
Code:

   FOV_45             = "MaxPayne_GameMode->GM_ChangeFOV(0.6428,0);";
   FOV_50             = "MaxPayne_GameMode->GM_ChangeFOV(0.7142,0);";
   FOV_55             = "MaxPayne_GameMode->GM_ChangeFOV(0.7857,0);";
   FOV_60             = "MaxPayne_GameMode->GM_ChangeFOV(0.8571,0);";
   FOV_65             = "MaxPayne_GameMode->GM_ChangeFOV(0.9285,0);";
   FOV_70             = "MaxPayne_GameMode->GM_ChangeFOV(1.0000,0);";
   FOV_75             = "MaxPayne_GameMode->GM_ChangeFOV(1.0714,0);";
   FOV_80             = "MaxPayne_GameMode->GM_ChangeFOV(1.1428,0);";
   FOV_85             = "MaxPayne_GameMode->GM_ChangeFOV(1.2142,0);";
   FOV_90             = "MaxPayne_GameMode->GM_ChangeFOV(1.2857,0);";


Interesting... I chenged the 'FOV_70' line (the default FOV) to 1.2857 (the 90 degree value) and it came out as 90 degrees. Haven't tried it with a higher number yet. :)


Top
 Profile  
 


PostPosted: 23 Nov 2004, 22:05 
Offline
Editors
Editors
User avatar

Joined: 14 Oct 2003, 13:52
Posts: 5706
OK... I got a PM reminding me about this. :) Thanks, Reax.

Due to a rather spectacular failure, I thought a bit of time might help, but nothing new has occurred to me. Increasing the value '1.2857' to something higher didn't work: MP2 crashed out after loading the menus. Bad.

And the line 'gm_enablewidescreen' doesn't do an awful lot, either. (1,1) doesn't do a think, neither do any other possible combinations. (I even tried things like (9,7) etc to cover all single integers. Nothing.

I can't help but wonder... what was the point of tantalising us with these options, only to have them not work? :roll:

:lol:


Top
 Profile  
 
PostPosted: 04 Feb 2005, 03:10 
Offline

Joined: 02 Feb 2005, 20:10
Posts: 7
The gm_enablewidescreen does work from the console. Type:

MaxPayne_GameMode->GM_EnableWidescreen(1,0);

at the console, and it enables widescreen (the first flag is a boolean).

Unfortunately, what is widescreen? It is nothing but letterboxing the screen, leaving the aspect ratio and fov untouched. It is toggled on and off for video mode, it seems.

-Dan


Top
 Profile  
 
PostPosted: 04 Feb 2005, 14:12 
Offline
Editors
Editors
User avatar

Joined: 14 Oct 2003, 13:52
Posts: 5706
Letterbox mode? Not what I was hoping. :(

Ah well, I guess there are still reasons not to go completely widescreen...


Top
 Profile  
 
PostPosted: 23 Jun 2005, 02:59 
Offline
Founder
Founder
User avatar

Joined: 13 Oct 2003, 05:00
Posts: 7358
Back to the FOV Discussion

http://www.widescreengamingforum.com/forum/viewtopic.php?t=1091


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  




Powered by phpBB® Forum Software © phpBB Group