Pixels/Frame

From Unreal Software English Wiki
Jump to: navigation, search

Movement speed = 2.0 base speed + weapon speed modifier
Substract 0.5 if player carries flag
Add speedmodvalue/10.0
Multiply by 1.2 (this is a constant adjustment value I used for dev)
Divide 2.0 if walking

Weapon speed modifiers range from -0.5 (M249/AWP) to 0.75 (Knife/Wrench). Pistols have 0.5, tmp and mac 0.35, most bigger guns have 0.0 or negative values.

The game runs with 50 fps (if not it will calculate a factor to compensate the difference) this means: movement speed * 50 = pixels per second.

example with knife:

2.0 + 0.75 = 2.75
2.75 * 1.2 = 3.3
3.3 * 50 = 165 pixels per second (= 16.5 per 1/10 sec)

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox