View Single Post
Old 08-31-2006, 09:51 PM   #105
ensiform
The Stig
 
ensiform's Avatar
 
Join Date: Nov 2004
Location: Sawtooth Cauldron
Posts: 1,241
Current Game: Borderlands 2
Thanks to hex on this one also.

speed and rage don't work together to give you more speed like it did in jk2.

cause: raven used an if speed else if rage else ragerecovery

fix: revert it back (use a cvar though)

bg_pmove.c "BG_AdjustClientSpeed"

look for and replace this code:

Code:
	if (ps->fd.forcePowersActive & (1 << FP_SPEED))
	{
		ps->speed *= 1.7;
	}
	else if (ps->fd.forcePowersActive & (1 << FP_RAGE))
	{
		ps->speed *= 1.3;
	}
	else if (ps->fd.forceRageRecoveryTime > svTime)
	{
		ps->speed *= 0.75;
	}
with:

Code:
	if (ps->fd.forcePowersActive & (1 << FP_SPEED))
	{
		ps->speed *= 1.7;
	}

	if (ps->fd.forcePowersActive & (1 << FP_RAGE))
	{
		ps->speed *= 1.3;
	}
	else if (ps->fd.forceRageRecoveryTime > svTime)
	{
		ps->speed *= 0.75;
	}
The client-side will be needed for this for best performance.


iojamp project lead / coder

Last edited by ensiform; 08-31-2006 at 11:18 PM.
ensiform is offline   you may: quote & reply,