THREAD: [SOURCE] Perfect View Angle ESP (All CODs)
  1. 01-01-2018, 09:45 PM
    TheGreenPlanet's Avatar
    TheGreenPlanet
    Do a barrel roll!
    TheGreenPlanet's Avatar
    TheGreenPlanet
    Do a barrel roll!
    109
    Posts
    878
    Reputation
    Jun 2013
    NextGenUpdate
    This isn't new in any way but more of an improvement to it. For those who doesn't know what "View Angle" or "Barrel" ESP is, it draws a line from a players eye to where they're looking. Enjoy Cool Man (aka Tustin)!

    Source:

    void DrawBarrel(int i, float fRange)
    {
    trace_t results;
    Vector2 startOut, endOut;
    Vector3 endPos, forward;
    AngleVectors(&cgArray_s->clientInfo.playerAngles, &forward, NULL, NULL); //Gets the players forward viewAxis

    Vector3 start = GetTagPos(i, "j_neck");
    Vector3 end = start + (forward * fRange);

    CG_LocationalTrace(&results, &start, &end, cgArray_s->clientNum, 0x803003); //Mask will differ depending on the game

    endPos = start + (forward * (fRange * results.fraction));

    if (WorldToScreen(start, &startOut.x, &startOut.y) && WorldToScreen(endPos, &endOut.x, &endOut.y))
    DrawLine(startOut.x, startOut.y, endOut.x, endOut.y, &Color(255, 0, 0, 255), R_RegisterMaterial("white", 0), 1);
    }


    Showcase:
  2. The Following 3 Users Say Thank You to TheGreenPlanet For This Useful Post:

    , ,

  3. 01-05-2018, 01:47 PM
    VPN's Avatar
    VPN
    Save Point
    VPN's Avatar
    VPN
    Save Point
    7
    Posts
    30
    Reputation
    Nov 2011
    NextGenUpdate
    Great Job TGP!
  4. The Following User Thanked VPN For This Useful Post:


  5. 01-15-2018, 05:17 PM
    S63's Avatar
    S63
    Space Ninja
    S63's Avatar
    S63
    Space Ninja
    841
    Posts
    6,215
    Reputation
    Jan 2016
    NextGenUpdate
    Originally Posted by TheGreenPlanet View Post
    This isn't new in any way but more of an improvement to it. For those who doesn't know what "View Angle" or "Barrel" ESP is, it draws a line from a players eye to where they're looking. Enjoy Cool Man (aka Tustin)!

    Source:

    void DrawBarrel(int i, float fRange)
    {
    trace_t results;
    Vector2 startOut, endOut;
    Vector3 endPos, forward;
    AngleVectors(&cgArray_s->clientInfo.playerAngles, &forward, NULL, NULL); //Gets the players forward viewAxis

    Vector3 start = GetTagPos(i, "j_neck");
    Vector3 end = start + (forward * fRange);

    CG_LocationalTrace(&results, &start, &end, cgArray_s->clientNum, 0x803003); //Mask will differ depending on the game

    endPos = start + (forward * (fRange * results.fraction));

    if (WorldToScreen(start, &startOut.x, &startOut.y) && WorldToScreen(endPos, &endOut.x, &endOut.y))
    DrawLine(startOut.x, startOut.y, endOut.x, endOut.y, &Color(255, 0, 0, 255), R_RegisterMaterial("white", 0), 1);
    }


    Showcase:


    Great work keep it up Winky Winky
  6. 01-22-2018, 09:08 PM
    lucasaf01's Avatar
    lucasaf01
    Gym leader
    lucasaf01's Avatar
    lucasaf01
    Gym leader
    330
    Posts
    1,107
    Reputation
    Jan 2015
    NextGenUpdate
    Great work bro
  7. 02-03-2018, 02:53 PM
    kiwi_modz's Avatar
    kiwi_modz
    I defeated!
    kiwi_modz's Avatar
    kiwi_modz
    I defeated!
    627
    Posts
    15,825
    Reputation
    Jul 2013
    NextGenUpdate
    That's one way of doing it lol mines way way smaller then this. Good work anyways Smile