WEAVE.SU AUTOSTRAFE

Начинающий
Статус
Оффлайн
Регистрация
24 Фев 2019
Сообщения
43
Реакции[?]
23
Поинты[?]
0
hello ruskis and non ruskis i dont use this site often but i am here to give yall som funny stuff. I am here to give weave autostrafe from the new crack.


C++:
      if ( miscautostrafe )
      {
        v2 = m_vecVelocity(G->field_AA4);
        vec2d = length2d(v2);
        if ( vec2d >= 10.0 )
        {
          if...
          if ( (m_fFlags(G->field_AA4) & 1) == 0 )
          {
            v13 = (G->pCmd->buttons & 8) != 0;  // IN_FORWARD
            v15 = (G->pCmd->buttons & 0x200) != 0;// IN_MOVELEFT
            v14 = (G->pCmd->buttons & 0x400) != 0;// IN_MOVERIGHT
            if ( (G->pCmd->buttons & 0x10) != 0 )// IN_BACK   
            {
              strafeangle = -180.0;
              if ( v15 )
              {
                strafeangle = strafeangle - 45.0;
              }
              else if ( v14 )
              {
                strafeangle = strafeangle + 45.0;
              }
            }
            else if ( (G->pCmd->buttons & 0x200) != 0 )
            {
              strafeangle = 90.0;
              if ( v13 )
                strafeangle = strafeangle - 45.0;
            }
            else if ( (G->pCmd->buttons & 0x400) != 0 )
            {
              strafeangle = -90.0;
              if ( v13 )
                strafeangle = strafeangle + 45.0;
            }
            else
            {
              strafeangle = 0.0;
            }
            MoveAngle-> y = MoveAngle-> y + strafeangle;
            G->pCmd->forwardmove = 0.0;
            G->pCmd->sidemove = 0.0;
            v8 = *m_vecVelocity(G->field_AA4);
            v4 = m_vecVelocity(G->field_AA4);
            v7 = sub_10227060(*(v4 + 1), v8);
            v5 = ClampAngle (MoveAngle-> y - (v7 * 57.295776));
            v11 = v5;
            sub_1017D540(sv_air_accelerate);
            if ( v11 <= 0.0 )
            {
              v12 = v5;
            }
            else
            {
              v6 = v5;
              v12 = -v6;
            }
            G->pCmd->sidemove = v12;
            MoveAngle-> y = ClampAngle (MoveAngle-> y - v11);
          }
        }
      }
 
Пользователь
Статус
Оффлайн
Регистрация
9 Мар 2021
Сообщения
272
Реакции[?]
42
Поинты[?]
2K
hello ruskis and non ruskis i dont use this site often but i am here to give yall som funny stuff. I am here to give weave autostrafe from the new crack.


C++:
      if ( miscautostrafe )
      {
        v2 = m_vecVelocity(G->field_AA4);
        vec2d = length2d(v2);
        if ( vec2d >= 10.0 )
        {
          if...
          if ( (m_fFlags(G->field_AA4) & 1) == 0 )
          {
            v13 = (G->pCmd->buttons & 8) != 0;  // IN_FORWARD
            v15 = (G->pCmd->buttons & 0x200) != 0;// IN_MOVELEFT
            v14 = (G->pCmd->buttons & 0x400) != 0;// IN_MOVERIGHT
            if ( (G->pCmd->buttons & 0x10) != 0 )// IN_BACK  
            {
              strafeangle = -180.0;
              if ( v15 )
              {
                strafeangle = strafeangle - 45.0;
              }
              else if ( v14 )
              {
                strafeangle = strafeangle + 45.0;
              }
            }
            else if ( (G->pCmd->buttons & 0x200) != 0 )
            {
              strafeangle = 90.0;
              if ( v13 )
                strafeangle = strafeangle - 45.0;
            }
            else if ( (G->pCmd->buttons & 0x400) != 0 )
            {
              strafeangle = -90.0;
              if ( v13 )
                strafeangle = strafeangle + 45.0;
            }
            else
            {
              strafeangle = 0.0;
            }
            MoveAngle-> y = MoveAngle-> y + strafeangle;
            G->pCmd->forwardmove = 0.0;
            G->pCmd->sidemove = 0.0;
            v8 = *m_vecVelocity(G->field_AA4);
            v4 = m_vecVelocity(G->field_AA4);
            v7 = sub_10227060(*(v4 + 1), v8);
            v5 = ClampAngle (MoveAngle-> y - (v7 * 57.295776));
            v11 = v5;
            sub_1017D540(sv_air_accelerate);
            if ( v11 <= 0.0 )
            {
              v12 = v5;
            }
            else
            {
              v6 = v5;
              v12 = -v6;
            }
            G->pCmd->sidemove = v12;
            MoveAngle-> y = ClampAngle (MoveAngle-> y - v11);
          }
        }
      }
lets go reversing animfix, resolver :dizzy:
 
🫶🫶🫶
Участник
Статус
Оффлайн
Регистрация
1 Ноя 2018
Сообщения
821
Реакции[?]
186
Поинты[?]
51K
он чо длл в иде открыл и кидает сюда?
неплоооооохо
 
Сверху Снизу