Plugin Info:
|
Modification: ALL
Category: Gameplay
|
Veteran Member
Join Date: Jun 2010
Location: France
|
11-02-2014
, 10:48
Conservation of Momentum fix 1.0.1 - Elevators fix
|
#1
|
Conservation of Momentum Fix - v1.0.1 by Kidev
A simple physic fix
Description:
Tired of getting fall damage because you jumped in an elevator? In real life, jumping in an elevator moving down or up at a constant speed will be the same as if you jumped on the floor. But in Gold Src games, it's bugged. This plugin simply fixes it.
Note:
- In some Gold Src games (like Opposing Force, in the monorail for exemple), jumping while you're in an entity moving forward will push you back. To fix this, simply replace in the source code
PHP Code:
new const giAxis[ 3 ] = { 0, 0, 1 };
by
PHP Code:
new const giAxis[ 3 ] = { 1, 1, 1 };
Known bugs:
- If you jump quickly in a moving entity (bhop), some jumps may still be bugged.
Changelog:
Code:
v1.0.1 @ 02/11/14
* Code optimized
v1.0.0 @ 02/11/14
^ First public release
Credits:
HamletEagle - For some optimizations
fysiks - For some optimizations
Current version (stable):
Last edited by Kidev; 11-20-2014 at 19:01.
|
|
|
|