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?
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#2
Solved: 9 Years, 10 Months, 2 Weeks 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.06, 0.04);
cVector2f gvWalkBobMax = cVector2f(0.03, 0.03);
cVector2f gvRunBobMax = cVector2f(0.05, 0.06);
cVector2f gvCrawlBobMax = cVector2f(0.09, 0.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
Jump to the post that solved this thread.


Messages In This Thread
How can I remove view bobbing? - by tomcat3000 - 11-22-2016, 03:33 PM
RE: How can I remove view bobbing? - by Mudbill - 11-22-2016, 08:11 PM



Users browsing this thread: 1 Guest(s)