Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > NecroVisioN > Mods

Mods NecroVisioN MODs and other improvements

Reply
 
Thread Tools Display Modes
  #1  
Old 03-05-2009, 06:36 PM
ztorm ztorm is offline
Approved Member
 
Join Date: Nov 2008
Posts: 60
Talking 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<<

See how NecroVisioN behaves in various aspect ratios with these fixes




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

(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 ?

Last edited by ztorm; 04-03-2009 at 12:39 PM.
Reply With Quote
  #2  
Old 03-05-2009, 07:43 PM
Gniarf Gniarf is offline
Approved Member
 
Join Date: Mar 2009
Posts: 180
Default

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!!

Last edited by Gniarf; 03-05-2009 at 07:45 PM.
Reply With Quote
  #3  
Old 03-05-2009, 08:58 PM
ztorm ztorm is offline
Approved Member
 
Join Date: Nov 2008
Posts: 60
Default

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 ?
Reply With Quote
  #4  
Old 03-05-2009, 09:07 PM
Gniarf Gniarf is offline
Approved Member
 
Join Date: Mar 2009
Posts: 180
Default

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 ?
After [before lunch]
Reply With Quote
  #5  
Old 03-05-2009, 09:14 PM
cocolapin cocolapin is offline
Approved Member
 
Join Date: Feb 2009
Posts: 86
Default

can't see pictures :'(
Reply With Quote
  #6  
Old 03-05-2009, 10:11 PM
ztorm ztorm is offline
Approved Member
 
Join Date: Nov 2008
Posts: 60
Thumbs up

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.
Reply With Quote
  #7  
Old 03-06-2009, 08:23 AM
Csimbi Csimbi is offline
Approved Member
 
Join Date: Dec 2008
Posts: 254
Post

Quote:
Originally Posted by Gniarf View Post
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...
Reply With Quote
  #8  
Old 03-06-2009, 10:51 AM
ztorm ztorm is offline
Approved Member
 
Join Date: Nov 2008
Posts: 60
Default

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 View Post
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...

Last edited by ztorm; 03-06-2009 at 11:07 AM.
Reply With Quote
  #9  
Old 03-06-2009, 03:05 PM
Gniarf Gniarf is offline
Approved Member
 
Join Date: Mar 2009
Posts: 180
Default

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.
Reply With Quote
  #10  
Old 03-06-2009, 03:57 PM
Csimbi Csimbi is offline
Approved Member
 
Join Date: Dec 2008
Posts: 254
Default

Quote:
Originally Posted by Gniarf View Post
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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:39 PM.


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