View Full Version : Players sliding...
11-07-2004, 03:31 PM
Does anybody here know how to fix the bug where if you are standing on top of someone you slide off. it pisses me off :mad:
11-08-2004, 05:35 AM
ooh, i once had that fixed but forgot how i did that. i'll get back to you later today.
11-09-2004, 06:24 PM
in pmove, about line 9603...
//FIXME: don't slide off people/obstacles?
if ( pm->ps->legsAnim == BOTH_BUTTERFLY_RIGHT
|| pm->ps->legsAnim == BOTH_BUTTERFLY_LEFT ).......
Not sure if that's the right place to look, I don't have a way to test it.
NPC's have a different function for bouncing off of them, so testing this on them won't work. You'll need a client.
11-09-2004, 08:20 PM
Found it, its in bg_pmove.c, look for the lines:
else if ( pm->ps->groundEntityNum < MAX_CLIENTS )
drop = 0;
Its under Static Void PM_Friction, just comment that code out and you should be stationary on a dude. Btw,
is the best thread ever!!!
11-12-2004, 05:23 PM
ty so much Tinny! very much thanks now standing on someone too do the butterfly and get in ground can be done without frustration :)
If you would like too check out our board that me and stubert report changes and things from rs url:
I was out of internet for a few days though so im just seeing this now.
11-14-2004, 11:21 AM
You can jump at client under you and make lotus-position (sitting). Then you won't move :D
vBulletin®, Copyright ©2000-2014, Jelsoft Enterprises Ltd.