Official Fulqrum Publishing forum

Official Fulqrum Publishing forum (http://forum.fulqrumpublishing.com/index.php)
-   Mods (http://forum.fulqrumpublishing.com/forumdisplay.php?f=143)
-   -   Real 16:10 gameplay (http://forum.fulqrumpublishing.com/showthread.php?t=6525)

ztorm 03-05-2009 05:36 PM

Real widescreen gameplay !
 
:!: BIG THANX TO GNIARF :!:

Edit : official patch 1.1 relased, FOV fix is ready ! The game is now Hor+ in widescreen (16:10, 16:9, 15:9) and iron sights work ok.
Edit2 : TripleHead fix is ready.

>>Download NecroVisioN 1.1 - widescreen FOV fix<<
>>Download NecroVisioN 1.1 - TripleHead fix<<

:arrow:See how NecroVisioN behaves in various aspect ratios with these fixes:idea:




----------------------------------------------------------------------------------------------------------------------------------------------------

(Original post : )
I'm trying to figure out how to configure NecroVisioN for proper 16:10 support... Unfortunatley it's not as easy as in Painkiller.
It's easy to fix the FOV for Hor+ gameplay but the "zoom" (iron sights) causes the game to crash. Here's what I've found so far.

Whatever you do, backup your config.ini and start a new game !

In config.ini :

Cfg.FOV = 110 this will crash the game as soon as you use the zoom !!! It's a correct FOV value for 16:10 though, see screenshots below.
Cfg.FOVRun = 120 (sprint mode FOV, make it 150 for an "Aliens vs. Predator" experience) :)
Cfg.ZoomFOV = 50 This seems to have NO effect on the iron sights view. Values of 80, 55, 50, 10 look the same... and don't crash the game.

The "iron sights crash" gives me an error message with a list of .lua files and numbers. So the Cfg.FOV value set to anything but 100 can crash entire scripts. Weird. :-|

Ideas, suggestions, hints ? ;)

Gniarf 03-05-2009 06:43 PM

Idea:tell the devs that if a=b=100, then b=100 and after a=b, not b=100 and somewhere else a=100. (ok I'm mean, my apologies)

suggestion: in file CWeapon.lua, add "self._curFOV = Cfg.FOV" just under "function CWeapon:Apply(old)" (it should be near line 243)

hint: it solves the iron sights crash problem.

note:function CWeapon:Apply might not be the best place. If someone got a better place (the constructor?), I'm all eyes.

bottom line: 1024x768 FTW!!

ztorm 03-05-2009 07:58 PM

Now that's helpful ! :) Thanks !
Some questions arise though : how do I extract the .lua files ? Where do I save edited scripts ? Do I look like a n00b ? When's lunch ? :confused:

Gniarf 03-05-2009 08:07 PM

Quote:

Originally Posted by ztorm
how do I extract the .lua files ?

with a tool named Painfull http://forum.xentax.com/viewtopic.php?t=732
Quote:

Originally Posted by ztorm
Where do I save edited scripts ?

in NecroVisioN\Data\LSCRIPTS
Quote:

Originally Posted by ztorm
Do I look like a n00b ?

Not yet. Else I would not have answered.
Quote:

Originally Posted by ztorm
When's lunch ? :confused:

After [before lunch]

cocolapin 03-05-2009 08:14 PM

can't see pictures :'(

ztorm 03-05-2009 09:11 PM

They work for me, mon lapin. Try to refresh the page...

Thanks again Gniarf ! Looks like I have everything to start working seriously. Even with an empty stomach.

Csimbi 03-06-2009 07:23 AM

Quote:

Originally Posted by Gniarf (Post 68948)
Idea:tell the devs that if a=b=100, then b=100 and after a=b, not b=100 and somewhere else a=100. (ok I'm mean, my apologies)

Mean or not, I have to agree that devs did not do a very good job with the scripts. Sure, it works. But if you change something, the chances are good that the game will crash at some point (at another part of the code). Perhaps this game was not intended to be modded in the first place - but even then...

ztorm 03-06-2009 09:51 AM

The lack of any 16:9 resolution available is probably a hint that the game was not designed with widescreen support in mind at all. So it's only a matter of luck if Painkiller supported widescreen and TripleHead with minimal .ini editing... Necrovision's extra layers of eye-candy probably rely a lot more on intricate scripts. Cryostasis does not a really better job, too. :(

Quote:

Originally Posted by Gniarf (Post 68948)
suggestion: in file CWeapon.lua, add "self._curFOV = Cfg.FOV" just under "function CWeapon:Apply(old)" (it should be near line 243)

hint: it solves the iron sights crash problem.

Exact same script error. Wow, this stuff is much more complicated than I thought. Hopefully someone with better knowledge of this sort of things and a 16:10 monitor will look into this issue, I don't think I'm up to the task...

Gniarf 03-06-2009 02:05 PM

In which directory is your modified CWeapon.lua? Mine is in C:\Program Files\1C Publishing EU\NecroVisioN\Data\lscripts\Classes

A quick test to make sure you extracted the luas in the right directory is to extract all luas and delete lscripts.pak. If the game crashes, you got the wrong directory.

If you're sure you put CWeapon.lua at the right place, post the lines 230 to 250 of your modified CWeapon.lua.

Csimbi 03-06-2009 02:57 PM

Quote:

Originally Posted by Gniarf (Post 69019)
A quick test to make sure you extracted the luas in the right directory is to extract all luas and delete lscripts.pak.

No need to delete the additional files will override the ones in the packages - you better keep the packages otherwise you might need to re-install.


All times are GMT. The time now is 06:08 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.