Call of Pripyat takes you once again into the vicinity of the Chernobyl nuclear reactor that exploded in 1986. This so-called "Zone" is a highly contaminated area cordoned off by the military and now is combed through by the so-called stalkers, modern fortune hunters, in search of unique artifacts. In the role of Agent Alexander Degtyarev, who is dressed up as stalker, you have to investigate the mysterious disappearance of five military helicopters and thereby stand one’s ground against the various stalker groups.

Post tutorial Report RSS Player speed explained

Detailed explanation of actor's speed. No more guessing!

Posted by on - Basic Other

PLAYER SPEED


I assume that all of you already know how to unpack databases and get your hands on the actor.ltx file. This tutorial is simply to show how to use these parametres found in it. Let's begin by heading to...

.../gamedata/configs/creatures/actor.ltx


max_item_mass = 35 ;50.0
jump_speed = 6.
crouch_coef = 0.30 ;0.45
climb_coef = 0.7
run_coef = 2.0 ;2.1
sprint_koef = 2.5 ;1.9 ;2.6
run_back_coef = 1.8
walk_back_coef = 0.5
air_c />walk_accel = 19; 20 ;18.1 ;17
show_corpses_dist = 10

Here we're only interested in these 7 underlined parametres. I'll organise them below.

EDITING VALUES


1st: Setup the WALKING speed.

This is the speed actor has when he is walking. This is NOT running or sprinting speed.

walk_accel = 19

2nd: Set RUNNING and REVERSING multipliers.

Multiply walk_accel with one of these in order to get the corresponding speed. For example, the speed of normal running would be 19 * 2.0 = 38 and walking backwards 19 * 0.5 = 9.5.

run_coef = 2.0
run_back_coef = 1.8
walk_back_coef = 0.5

3rd: Fill the rest of the parametres.

These parametres are used to multiply the values you get from the 1st and 2nd stages. For example, the speed for sprinting is 19 * 2.0 * 2.5 = 95 and for crouching 19 * 2.0 * 0.3 = 11.4.

sprint_koef = 2.5
crouch_coef = 0.3
climb_coef = 0.7

REFERENCE CHART


walk speed = walk_accel
run speed = walk_accel * run_coef
walk bk speed = walk_accel * walk_back_coef
run bk speed = walk_accel * run_back_coef
sprint speed = walk_accel * run_coef * sprint_koef
crouch speed = walk_accel * run_coef * crouch_coef
prone speed = walk_accel * crouch_coef
climb speed = walk_accel * run_coef * climb_coef

Remember, the default movement type is running and not walking! I would also like to note that when the player is aiming with weapon, their speed will be set to walking speed.

Big thanks for helping me figure this mess out goes to Xottab-DUTY

Happy stalking!

-TGP

Post comment Comments
D.M.E
D.M.E - - 4,446 comments

Thanks for this. 👍

Reply Good karma Bad karma+3 votes
Oddy_Nuff
Oddy_Nuff - - 75 comments

THANKS MAN

Reply Good karma Bad karma+2 votes
TGP96 Author
TGP96 - - 83 comments

You're welcome, haha

Reply Good karma+1 vote
Krokx
Krokx - - 208 comments

What do the values after the semicolon (;) mean?
i.e.

air_c />walk_accel = 19; 20 ;18.1 ;17

what is 20, 18.1 and 17 for?

Reply Good karma Bad karma+3 votes
Guest
Guest - - 690,787 comments

They're commented out = they are not seen by computer. Probably old values that developers used

Reply Good karma Bad karma+3 votes
BitoOblib
BitoOblib - - 249 comments

Straightforward ! Big Thanks !

Reply Good karma Bad karma+2 votes
dosel
dosel - - 26 comments

I can't find this file.

Reply Good karma Bad karma+1 vote
SteamMod
SteamMod - - 156 comments

According to instructions above
"I assume that all of you already know how to unpack databases and get your hands on the actor.ltx file."

to do that:
Moddb.com

Reply Good karma Bad karma+1 vote
Guest
Guest - - 690,787 comments

This comment is currently awaiting admin approval, join now to view.

Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: