![]() |
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 ? ;) |
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!! |
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: |
Quote:
Quote:
Quote:
Quote:
|
can't see pictures :'(
|
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. |
Quote:
|
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:
|
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. |
Quote:
|
I said it was a way to make sure files are extracted in the right place, not that it was a wise thing to do when modding under normal circunstances.
|
Quote:
|
Hey, I was pretty sure I had followed your instructions to the letter the first time, but I probably screwed up.
IT WORKS PERFECTLY !!! No need to refrain from right-clicking with a single weapon equipped !!! :cool: |
Thanks for the fix ztorm!
I see you modded only CWeapon.lua. I wonder if there is a problem later on when you ride the mech/dragon/golem. |
Oh. Thanks for the heads-up, I'll keep an eye out as I progress through the game... I'm still in the early levels :oops:
|
Quote:
|
:) Not at all, but I'm eager to see by myself what you're talking about !!
|
helppppp
this not work for me i have continuously chrash when zooming
|
Well, you probably did not install the fix properly and only changed to FOV values. ;)
Double-check that CWeapon.lua is in your NecroVisioN\Data\lscripts\Classes folder. |
Comparison screenshots of what the game could look like with the patch and updated FOV fix :
http://www.widescreengamingforum.com...=153828#153828 Yes, scavvenjahh and ztorm are different nicks for the same person ;) Gniarf, notice how the player's hands/weapons retain their aspect but "move" closer to the player in wider-than-normal aspect ratios ? The rest of the 3D world looks good though. Any idea how to fix this so that they always look like in 4:3 ? |
Not sure about what you mean by "they always look like in 4:3".
1-To "push the weapon forward" you can either try 1.1-opening every .CWeapon file and patching by hand o.Pos (very lame, but easy) 1.2-looking at function CWeapon:ClientTick2(delta) (in CWeapon.lua) and adjust the term(s) in z in ENTITY.SetPosAndRotRelativeTo (ok if 1.3 fails) 1.3-Look at the various self.Pos:Interpolate(self.PosZoom.... I suspect the core of the problem might be here. 2-I you want to stretch (actually schrink) the model in one direction (ie: make it less wide), well, honestly, go flak yourself 455 holes in hell, 'coz if I could stretch in only one direction, that would have spared me a whole lot of trouble in the symetry thread...I think. |
Thank you ! I don't know if I'll be able to fix that and include it in the FOV fix, but I'll definitely give it a try. (Except 1.3 : I certainly don't want to distort the models, so relax)
Widescreen gameplay should ideally look exactly like a 4:3 screen - only with extra "world" to be seen on the sides. The horizontal view should expand AND weapons shouldn't get "closer" in wider aspect ratios. Alas, that's what happens here and although it's hardly noticeable in 16:10 and 16:9, it's clearly a problem in TripleHead. And I care a LOT about TripleHead. |
First post updated : the FOV fix is available :cool:
I took the "very lame" way for fixing the weapons' positions in TripleHead, it seems to work ok (adding -3 to the third o.Pos value of each weapon). Flames on the fixed ShadowHand look like crap and I still need to edit/test some of the weapons, but I'm glad it can be fixed so easily. I'll release a separate FOV fix for TripleHead resolutions later. |
Quote:
1-demonstrike is referenced in CActor:Electrize(), demonstrike.lua and Idemon.citem 1.1-CActor:Electrize() is referenced through a commented line and demonstrike.lua via if Game.GMode == GModes.SingleGame then if obj and obj._died and obj.Electrize then obj:Electrize() end end -->demonstrike is SP only 1.2-Idemon.citem is in the "Pickableitems" directory and contains "o.Model = "skull" " -->WTF?! A pickable skull-demon shooting electric bolts?? Quote:
Somehow I think it has something to do with weapons never going through walls (see below) and "tpp 1" (third person perspective) console command showing only a big box. Quote:
where: -"flamerfireitem" is the name of the effect -0.1 is the scale -"ROOT" is the hardpoint to which the effect is bound --0.48 , 0.72 , -0.5 is the offset from the hp The big problem is that the offset is not in gun coordinates, so you have to tweak it when you change o.Pos [sights] If only the n***s at farm51 had put hardpoints at the right place, both we and they wouldn't have to use various time-consuming hacks to put FX at the right place. list of hardpoints ("joints") in the vampgun/flamer/vampshotgun: Code:
flamer_spawara I'm going to investigate whether they wouldn't have messed up in the rotation/translation order. ** EDIT ** It's probably not translation/rotation but effect being in player OR camera coordinates insead of gun coordinates. Try putting:[WRONG THUS REMOVED] in utils.lua at line 905 instead of "PARTICLE.SetParentOffset(pfx,ox,oy,oz,joint,cox,c oy,coz,ax,ay,az)". I cannot confirm it works 'coz I got so angry at how they handle weapon/camera/player that I broke everything! :twisted:...now I can't turn the camera at all... ** END OF EDIT ** Quote:
|
Quote:
|
For those who tried the BindFx fix I posted in post 24, it doesn't work - sorry (actually it mixes relative and absolute coordinates=bad).
@Csimbi: nervermind |
Gniarf, thanks a lot again. I'm much more concerned about the Shadowhand FX than the flamethrower's tip, so if I can't get those to look better, I might just release the TripleHead fix as it is : correct FOV, ok weapons positions, 'flying' emitters.
|
Quote:
Quote:
Anyway I hate dirty code, so during my NecroVisioN code cleaning pilgrinage I'm bound to fix those flying emitters (it's probably going to take a while so don't rely on me). |
First post updated : TripleHead fix released :cool:
|
1 Attachment(s)
Thanks for the release (lol, unfortunately I only have one head).
As for the flying emitters: good news:I think I understood the problem bad news: dunno how to solve it (whine@devs?) short explanation:Weapons are in another plane of existence. longer explanation:Weapons are in another plane of existence - see attached picture. Where is it said that weapons are elsewhere? In CWeapon.lua, line 247:"self._Entity = ENTITY.Create(ETypes.Model,self.Model,"",self.Scal e*0.1, true, gunSort)". That ",gunsort" tells that weapons are to be drawn...dunno...over everything else? In a special gun reserved space? The thing is, flames are in "normal" space, so to keep emitters at the right place we should move them to the weapon space/astal dimention...but we can't: devs had to use a special hack hardcoded in the engine.dll (it's written in CWeapon.lua), but they didn't implement this hack for particles (afaik). personally I'd like to put weapons back in the "standard plane", but I dunno what to do when the player comes close to a wall. here is a screen of weapons when you remove the gunsort parameter: (notice how they go through the ground) |
Interesting. The TripleHead fix pushes most models forward, and I noticed some weapon models disappear (into the Other Plane?) as I'm looking down to my feet. Maybe I'll try and remove the gunsort parameter some day and see what it does...
|
A year has passed. As of today...
-the widescreen fix has been downloaded 501 times. -the TripleHead fix has been downloaded 113 times. Probably not all from unique IPs (?), but I'm impressed nonetheless. I just bought Lost Company, so if I can remember how all this stuff works, rest assured there will be fixes for this one, too :!: Later ! "Hor+ or GTFO !" |
All times are GMT. The time now is 07:50 AM. |
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.