Restore HL1 moving camera from WON Created 1 year ago2018-09-04 16:20:41 UTC by Cabo Fiambre Cabo Fiambre

Created 1 year ago2018-09-04 16:20:41 UTC by Cabo Fiambre Cabo Fiambre

Posted 1 year ago2018-09-04 16:20:41 UTC Post #340789
Hello, can someone give me a hand with this? I want to restore the "moving camera" effect that was present in the WON version of Half-Life, i saw many mods doing this. If you don't know what i'm talking about watch this video (link text), you will notice the camera slightly moving when the player does, that is what i want to re-implement.
Posted 1 year ago2018-09-04 17:06:29 UTC Post #340790
Maybe this will help: reddit

I'm not sure if the cvars are present in Steam HL though.
rufee rufeeSledge fanboy
Posted 1 year ago2018-09-04 17:29:02 UTC Post #340791
Its called view roll i guess. if it helps.
Posted 1 year ago2018-09-04 18:10:46 UTC Post #340792
Yeah I believe that's what it's called, Sven Co-op and Black Mesa restored it so I guess it can still be re-enabled for mods.
LOZ98 LOZ98Insert Creative "Custom Title Text" here
Posted 1 year ago2018-09-04 19:16:57 UTC Post #340793
Not sure wether or not it works, but this site have an archived tutorial on implementing view roll:
Dr. Orange Dr. OrangeBoth a fruit and a color
Posted 1 year ago2018-09-04 20:19:08 UTC Post #340794
The formatting there is a bit broken, but the described method will work. All you have to do is restore the cl_rollangle and cl_rollspeed CVARs (hud.cpp) and then tweak the V_CalcRoll() in V_CalcViewRoll() (view.cpp). Use the DMC source code as a reference.
Posted 1 year ago2018-09-04 21:38:58 UTC Post #340795
It worked very well! Thanks for the help, much appreciated!
Posted 1 year ago2018-09-05 00:29:20 UTC Post #340796
I've fixed the formatting for that page! Remember it's a wiki and anybody can edit a page if they notice something that needs fixing :(
Penguinboy PenguinboyHaha, I died again!
You must be logged in to post a response.