Garry's Mod

Garry's Mod

FOV Remap
29 条留言
Airuly 4 月 8 日 上午 8:43 
this one works very well with mwb, very nice
Milk 2023 年 11 月 29 日 下午 5:23 
You should make an universal viewmodel FOV slider.
85 2023 年 9 月 15 日 上午 5:16 
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1907060869 can solve the FOV problem (but Srlion's Hook Library will cause my VJ NPC to only shoot above the player model's head, maybe some plug-in conflict, but it does solve it VManip FOV issue):steamhappy:
95DCelsiusY 2023 年 9 月 6 日 上午 2:41 
cant work with sharpeye :(
Still stork🎃🔨 2023 年 6 月 10 日 下午 12:55 
can you please help me get out of third person? im stuck in it!
Lombaxtard 2023 年 5 月 30 日 上午 4:16 
I guess, CalcView Priority System wasn't helpful? Probably should be implemented in all of the problematic addons... By the way, DrGBase possesion hijacks FOV as well. And what about MW NVGs? They're not VManip in the slightest, yet they use, it seems, same order of things? Contagion Gasmask though is quite similar in visual execution, yet it keeps FOV consistent with FOV Remap. Argh, that's the joy of having millions of addons, creators and their ways of doing stuff
Lombaxtard 2023 年 5 月 27 日 上午 6:16 
"(continuing) or i could just ask the VManip author about this, idk lmao"

datae is known to be very egocentric and rarely answers comments on his own videos, so not really an option. If all else fails, could you edit VManip to accept other FOV values and give me n off-workshop .gma? VManip is not really maintained for many months, this shouldn't have too many drawbacks
[aka]bomb  [作者] 2023 年 5 月 27 日 上午 4:24 
(continuing) or i could just ask the VManip author about this, idk lmao
[aka]bomb  [作者] 2023 年 5 月 27 日 上午 4:23 
@Lombaxtard it seems to me that VManip is the problem.

one particular line in VManip's code [imgur.com] makes it so that VManip will basically ignore other addon's FOV values and instead replace the FOV with the one given by the addons before it. fov and hookv.fov (after the equals sign) should be switched around for this to work.

as to a possible solution for all this - i don't know. the ordering of the hooks is completely undefined (not sorted in any way) and changing the order of the addons in the addon list does not guarantee that the order of the hooks will change as well. only disabling some addons that add their own stuff could change the order.

to fix this, the Garry's Mod developers would have to rethink/rewrite the entire Garry's Mod hook system and possibly break existing addons in the process.
[aka]bomb  [作者] 2023 年 5 月 27 日 上午 3:57 
well, the mwbase vm fov decreases to keep up with your camera fov increasing, i think.

about the hook order: i actually got this addon to execute after other addons now, so now i can start actually testing things properly. gonna try some things out to see how to fix this.
Lombaxtard 2023 年 5 月 27 日 上午 2:15 
By the way, one more thing I kept noticing back in the day: if I use MWBase weapons (probably other bases as well, not sure), fov_desired will not change viewmodel FOV for these guns. Example: cl_fov_remap_desired is 75 and fov_desired is 75 — well, everything's how it is. But if: cl_fov_remap_desired is 75 and fov_desired is changed to 90 — MWBase viewmodel FOV will DECREASE, but the regular game FOV will of course, stay 75 as it should be.

Concerning the CalcView priority issue: what else can I do to conquer this problem? I did try to give it higher priority than VManip and MW NVGs, but when tested lua_find_blahblah in-game the order of hooks stayed the same as I've shown
Lombaxtard 2023 年 5 月 26 日 下午 2:39 
Nope, still there
Lombaxtard 2023 年 5 月 26 日 上午 11:28 
I will, thank you
[aka]bomb  [作者] 2023 年 5 月 26 日 上午 11:26 
@Lombaxtard

okay, i uploaded the updated version of the addon with the fix, i think it should work properly-er now. you can try it whenever you have the time
Lombaxtard 2023 年 5 月 25 日 上午 11:03 
https://imgur.com/8soQl0k

I ran the cvar and sure enough, priorities are messed up.
[aka]bomb  [作者] 2023 年 5 月 25 日 上午 10:33 
check the output that lua_findhooks_cl CalcView gives you. [imgur.com] (the imgur link also has a description with an explanation)

basically, if FOV Remap is before VManip, then it should be working like it is for me, but if it is after it, then it is probably seeing the custom FOV that VManip gives it and does not override it. i made some changes in the code to fix this, but debugging hook order is tricky. i will update the addon a bit later
Lombaxtard 2023 年 5 月 25 日 上午 10:19 
Oh dear god, what kind of conflict could that be... Any way for me to debug the issue somehow? I have a slow laptop HDD, and with a few content packs maps load from 10 to 15 minutes and I can't really play exclusion with addons and find out which it is...
[aka]bomb  [作者] 2023 年 5 月 25 日 上午 10:15 
* i do have an idea of why this won't always work though. i will try to fix the problem and update the addon
[aka]bomb  [作者] 2023 年 5 月 25 日 上午 10:11 
@Lombaxtard

okay, that's really weird, i tested this with the armorplates addon, and everything is working fine
demonstration (on Streamable) [streamable.com]
Lombaxtard 2023 年 5 月 25 日 上午 10:00 
Forgot to mention "Modern Warfare NVGs" also has this issue, so this is not a problem exclusive to VManip. Also, not all VManip animations trigger this behavior. Interaction animation from "Contextual Animations" and "VManip Flashlight" work perfectly with <75/>90 FOV numbers
[aka]bomb  [作者] 2023 年 5 月 25 日 上午 9:38 
@Lombaxtard i'll try to see what's up with VManip, i don't usually use those kinds of addons so i may have not noticed that before
Lombaxtard 2023 年 5 月 25 日 上午 7:44 
I really doubt you care, but it would've been so sick if you'd have added compatibility with VManip stuff, because things like "Contextual Animations", "Armor Plates", "Arctic's Night Vision" override FOV of your addon. I tested with FOV Remap disabled and tried changing FOV with "fov_desired" - FOV was dynamic with those VManip addons. But if I enabled FOV Remap - FOV was forced to exactly 75 for brief moments that those VManip animations were playing. One step to perfection, really hope you'll make a move...
Hagorebos14 2023 年 3 月 18 日 下午 1:45 
Работает, мо мвоей задачей справляется, только вот привязывать меню поля зрения через консоль не очень удобно. Или я просто слишком ленив. ПМСП (Да, страдайте, но это переводится примерно так) 4/5

It works, does what it supposed to do, But its uncomfortable to bind FOV menu using console. Or i'm just too lazy. IMHO. 4/5.
Lombaxtard 2022 年 12 月 19 日 上午 10:49 
Literally THE best FOV addon while also being extremely compatible
I also think it's the only field of view modifier that allows for LOWER values which is super-extremely-ultra-mega cool
Thank you so much for this :lunar2019grinningpig: :steamthumbsup:
BenEViolent 2022 年 9 月 15 日 下午 3:30 
is there a way to increase the fov for the camera?
ungy 2022 年 7 月 11 日 下午 11:18 
when you spam-equip your glasses irl
ELTR101 2022 年 7 月 8 日 下午 5:47 
@Skele Jangton LOL
Skele Jangton 2022 年 7 月 7 日 下午 12:26 
pov your eyes zoom in and out :demoneye::demoneye: