Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How can I remove view bobbing?
tomcat3000 Offline
Junior Member

Posts: 4
Threads: 1
Joined: Aug 2008
Reputation: 0
#1
Solved: 8 Years, 1 Week ago How can I remove view bobbing?

I have the GOG Version of SOMA and I want to remove the head bobbing / camera swaying while walking.

In Amnesia: A Machine for Pigs you could edit some lines in the game.cfg file:
CrouchBobMax = "0.00 0.00"
WalkBobMax = "0.00 0.00"
RunBobMax = "0.00 0.00"

How is this done in SOMA?
These Variables are not in the cfg and adding them have no effect.
11-22-2016, 03:33 PM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#2
Solved: 8 Years, 1 Week ago RE: How can I remove view bobbing?

Try editing this section of /scripts/player/MoveState_Normal.hps:

PHP Code: (Select All)
////////////////////////////////////////
// Head Bob
cVector2f gvCrouchBobMax cVector2f(0.060.04);
cVector2f gvWalkBobMax cVector2f(0.030.03);
cVector2f gvRunBobMax cVector2f(0.050.06);
cVector2f gvCrawlBobMax cVector2f(0.090.03);
cVector2f gvEnergyBobSize cVector2f(0.1f,0.2f);
            
float gfCrouchMinBobSpeed 0.2;
float gfCrouchMaxBobSpeed 1.2;
    
float gfWalkMinBobSpeed 0.4;
float gfWalkMaxBobSpeed 1.8;
    
float gfRunMinBobSpeed 0.5;
float gfRunMaxBobSpeed 2.5;

float gfCrawlMinBobSpeed 0.2;
float gfCrawlMaxBobSpeed 1.0

I imagine setting the first 5 lines to using (0.00, 0.00) should do it.

(This post was last modified: 11-22-2016, 08:13 PM by Mudbill.)
11-22-2016, 08:11 PM
Find
tomcat3000 Offline
Junior Member

Posts: 4
Threads: 1
Joined: Aug 2008
Reputation: 0
#3
Solved: 8 Years, 1 Week ago RE: How can I remove view bobbing?

(11-22-2016, 08:11 PM)Mudbill Wrote: Try editing this section of /scripts/player/MoveState_Normal.hps:

I imagine setting the first 5 lines to using (0.00, 0.00) should do it.

Perfect!
Thank you very much.
11-22-2016, 09:40 PM
Find
Jump to the post that solved this thread.




Users browsing this thread: 1 Guest(s)