Originally Posted by
Flengo
You didn't read the thread I linked you to. You're using an outdated method to run your own Console Commands.
Read the thread again. Follow the methods posted in there.
I read word by word from that topic and this is what i whip up at the end.
Console
Code:
void Console(const char* command, int v4){
static DWORD rccAdr = NULL;
if(!rccAdr)
rccAdr = 0x490520;
typedef void(__cdecl*RunConsoleCommandFn)(const char*,int&);
RunConsoleCommandFn RunConsoleCmd = (RunConsoleCommandFn)rccAdr;
RunConsoleCmd(command,v4);
}
in Thread
Code:
if( !conVars.IsUpdated() )
{
conVars.Init();
return 0;
}
float multiplier = 3;
// speedhack
//conVars.SetConvarValue<float>( conVars._BaseMoveAccel,3000+(3000*multiplier) );
//conVars.SetConvarValue<float>( conVars._StartAccel,500+(500*multiplier) );
//conVars.SetConvarValue<float>( conVars._MaxAccel,3000+(3000*multiplier) );
//conVars.SetConvarValue<float>( conVars._AccelInc,6000+(6000*multiplier) );
conVars.SetConvarValue<float>( conVars._WalkVel,70+(70*multiplier) );
conVars.SetConvarValue<float>( conVars._FRunVel,285+(285*multiplier) );
conVars.SetConvarValue<float>( conVars._BRunVel,285+(285*multiplier) );
conVars.SetConvarValue<float>( conVars._SRunVel,285+(285*multiplier) );
conVars.SetConvarValue<float>( conVars._DuckVel,50+(50*multiplier) );
Console("+SkelModelStencil",1);
Still don't get no result In-Game
Whats wrong with it now ???