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))
Abion47 Offline
Senior Member

Posts: 369
Threads: 22
Joined: Oct 2015
Reputation: 46
#2
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


Messages In This Thread
RE: Editing Player Parameters(Movement speed, Jump height,ect)) - by Abion47 - 09-13-2016, 06:51 AM



Users browsing this thread: 1 Guest(s)