retard
-
Автор темы
- #1
Hi so I'm trying to make some okay animfix, but I can't get the UpdateAnims to update at the correct time. Any help? (local ofcourse)
send animfix codeHi so I'm trying to make some okay animfix, but I can't get the UpdateAnims to update at the correct time. Any help? (local ofcourse)
auto bNewTick = [](int tc) -> bool
{
static int varTickCount = -1;
if (varTickCount != tc)
{
varTickCount = tc;
return true;
}
else
return false;
};
if(bNewtick(interfaces::globals->tick_count){
//update anims
}
thanks I guess, I was also trying to go withdoes the trick hf.C++:auto bNewTick = [](int tc) -> bool { static int varTickCount = -1; if (varTickCount != tc) { varTickCount = tc; return true; } else return false; }; if(bNewtick(interfaces::globals->tick_count){ //update anims }
g_cl.m_local->m_flSimulationTime() != g_cl.m_local->m_flOldSimulationTime();
dude wtf.....thanks I guess, I was also trying to go with
but if that does the job thanks then, also do I need to add UpdateClientAnimations (local)? here?Код:g_cl.m_local->m_flSimulationTime() != g_cl.m_local->m_flOldSimulationTime();
if(bNewtick(interfaces::globals->tick_count){
//update anims
}
createmove animfix n1Hi so I'm trying to make some okay animfix, but I can't get the UpdateAnims to update at the correct time. Any help? (local ofcourse)
what, I'm comparing simtime to old sim timedude wtf.....
why?what, I'm comparing simtime to old sim time
why not? If it does the job, it does the job
Simtime updates only when the server sends you new info... The goal of local animfix is to match your current client anim to the server and only update when the server updates.
local update on each tick(call in crmove or check tickcount)Hi so I'm trying to make some okay animfix, but I can't get the UpdateAnims to update at the correct time. Any help? (local ofcourse)
Проект предоставляет различный материал, относящийся к сфере киберспорта, программирования, ПО для игр, а также позволяет его участникам общаться на многие другие темы. Почта для жалоб: admin@yougame.biz