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
Editing Player Parameters(Movement speed, Jump height,ect))
Cyberneering Offline
Junior Member

Posts: 15
Threads: 1
Joined: Sep 2014
Reputation: 0
Question  Editing Player Parameters(Movement speed, Jump height,ect))

I do you change the player's movement speed, jump height and speed climbing a ladder? For Amnesia you could just edit the game.cfg, but for SOMA the game.cfg is not the same.

How do I change these settings?
09-13-2016, 06:39 AM
Find Reply
Abion47 Offline
Senior Member

Posts: 369
Threads: 22
Joined: Oct 2015
Reputation: 46
RE: Editing Player Parameters(Movement speed, Jump height,ect))

For player speed, you'll want to use Player_SetMoveSpeedMul and/or Player_SetRunSpeedMul at the beginning of your map script in the OnEnter function. Similarly, you can use Player_SetLadderMoveMul for ladder speed.

For jump height, it would likely involve overriding the MoveState_Normal.hps file. There seem to be global variable values at the top of the file that correspond to what you are looking for. Alternatively, you can use Player_SetGravity to change the jump height, albeit in a more roundabout manner.

(This post was last modified: 09-13-2016, 07:00 AM by Abion47.)
09-13-2016, 06:51 AM
Find Reply

Users browsing this thread: 1 Guest(s)