Page 1 of 1

Client side jerking (dev version)

PostPosted: Thu Feb 14, 2013 01:24
by 0gb.us
Client side jerking is a real pain when trying to seal off lava flows before they finish killing you. And it's not really much use other times either. Is there any chance an option to disable it will be added? Like client side particles, it's nice for many people, but I'm sure I'm not the only person who wants to turn it off.

Thanks for your consideration.

PostPosted: Thu Feb 14, 2013 01:27
by jojoa1997
go into setting in the start up screen there you can turn that and other stuff off.

PostPosted: Thu Feb 14, 2013 02:03
by 0gb.us
I don't see an option to turn the jerking off. I see other things, but not character damage jerking.

PostPosted: Thu Feb 14, 2013 02:09
by jojoa1997
what do you mean by jerking

PostPosted: Thu Feb 14, 2013 07:45
by Jordach
jojoa1997 wrote:what do you mean by jerking
Rubberbanding. Its when you go too fast and the server moves you back some distance due to server latency.

PostPosted: Thu Feb 14, 2013 08:15
by ShadowNinja
I think he means the cammera tilt when you get damaged, if so then if you have the ability to compile:

Find this around line 2119 in src/game.cpp:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
else if(event.type == CE_PLAYER_DAMAGE && client.getHP() != 0)

Then just below replace
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
                    player->hurt_tilt_timer = 1.5;
                    player->hurt_tilt_strength = event.player_damage.amount/2;
                    player->hurt_tilt_strength = rangelim(player->hurt_tilt_strength, 2.0, 10.0);

with
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
                    //player->hurt_tilt_timer = 1.5;
                    //player->hurt_tilt_strength = event.player_damage.amount/2;
                    //player->hurt_tilt_strength = rangelim(player->hurt_tilt_strength, 2.0, 10.0);


There are also a few lines above it if you want to disable the red damage flash.

PostPosted: Thu Feb 14, 2013 11:57
by Calinou
And for view bobbing:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
view_bobbing_amount = 0.0

in minetest.conf.

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
view_bobbing = 0

fully disables first person model animation, not just view bobbing.

PostPosted: Mon Feb 18, 2013 21:45
by 0gb.us
Jordach wrote:
jojoa1997 wrote:what do you mean by jerking
Rubberbanding. Its when you go too fast and the server moves you back some distance due to server latency.


No, that's not what I mean at all.

Shadow wrote:I think he means the cammera tilt when you get damaged, if so then if you have the ability to compile:


Yes, that's what I mean. Thank you!

The red flash isn't so devastating, but the jerking camera makes it highly difficult to plug lava holes.

Calinou wrote:And for view bobbing:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
view_bobbing_amount = 0.0

in minetest.conf.

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
view_bobbing = 0

fully disables first person model animation, not just view bobbing.


I don't understand what that second setting is for, but that first one stopped the jerking. Although it also stopped the red flash, so I'll need to watch my hearts more closely when not in lava. Thanks!

PostPosted: Tue Feb 19, 2013 11:10
by 0gb.us
At first, that conf setting seemed to work, but now it doesn't. It looks like recompiling is the only option. I'll try to add some code to my automatic download/compile script, but it would be nice if this could be disabled with a setting.