Tweak Up Your Radar!

Posts 1–7 of 7 · Page 1 of 1
Tweak Up Your Radar!
could be useful

Code:
struct CompassStyle{    float            x1, y1;    float            y2, x2;};struct Radar_Angle{  float Pos_X;  float Pos_Y;  float Size_W;  float Size_H;  float style1;  float style2;};
Code:
void (__cdecl *CG_DrawCompassMap)(int noidea, int disableRotation, CompassStyle* Style, Radar_Angle *Pos, qhandle_t shader, vec4_t color, int disable ) = (void (__cdecl *)(int ,int , CompassStyle* , Radar_Angle *, qhandle_t , vec4_t , int ))0x45A130;
usage:

Code:
 Radar_Angle Pos;
    Pos.Size_W =  Your Hack Radar Size;
    Pos.Size_H =  Your Hack Radar Size;
    Pos.Pos_X = Your Hack Radar Pos;
    Pos.Pos_Y = Your Hack Radar Pos;
    Pos.style1 = 1;
    Pos.style2 = 1;
    CompassStyle CompassSt = { Pos.style1, Pos.style2 };
    CG_DrawCompassMap(0, 0, &CompassSt, &Pos , 0, colorWhite, 0 );
Code:
if ( setcase > 284 )
  {
    switch ( setcase )
    {
      case 317:
        if ( (unsigned __int8)sub_4C12B0("compassGridEnabled") )
        {
          v24 = color;
          v30 = 1;
LABEL_23:
          CG_DrawCompassMap(a1, 0, (int)&Style, (int)&Radar_Angle, shader, v24, v30);
        }
        break;
      case 324:
        sub_4825A0(a1, 0, &Style, &Radar_Angle, shader, color);
        break;
      case 325:
        sub_47F600(a1, 0, (int)&Style, (int)&Radar_Angle, color);
        break;
      case 328:
        sub_677AD0(a1, 0, &Style, &Radar_Angle, shader, color);
        break;
      case 312:
        sub_451620(a1, 0, (int)&Style, (int)&Radar_Angle, color);
        break;
      case 332:
        sub_5058E0(a1, 0, (int)&Style, (int)&Radar_Angle, color);
        break;
      case 376:
        sub_5E4C60(a1, 0, (int)&Style, (int)&Radar_Angle, color, shader);
        break;
      case 331:
        CG_DrawStretchSelfAngle(a1, (int)&Radar_Angle, shader, color);
        break;
      case 294:
      case 295:
      case 296:
      case 297:
        sub_5C15A0(a1, (int)&Radar_Angle, setcase - 294, color, shader);
        break;
      case 290:
      case 291:
      case 292:
      case 293:
        sub_4F8660(a1, (int)&Radar_Angle, setcase - 290, color, shader);
        break;
      case 330:
        sub_7D2550(a1, shader, color);
        break;
      case 285:
        if ( !*((_DWORD *)v17 + 97185) )
          sub_7D4F20(shader);
        break;
      case 286:
        if ( !*((_DWORD *)v17 + 97185) )
          sub_7D5070(shader);
        break;
      case 287:
        if ( !*((_DWORD *)v17 + 97185) )
          sub_7D5110(shader);
        break;
      case 316:
        sub_7D54F0(a1, (int)&Style, (int)&Radar_Angle, color);
        break;
      case 351:
        sub_7D5700((int)&Radar_Angle, a1, color);
        break;
      case 335:
      case 379:
        sub_7D7A20(shader, color);
        break;
      case 391:
        sub_7D7C20(shader, color);
        break;
      case 339:
        sub_7D76C0(&Radar_Angle, color);
        break;
      default:
        goto LABEL_92;
    }
  }
Credits:
King-orgy
lol make one for us(mpgh), this will get radar all over the map?
mate im new on this but where need i to paste this ?
Quote Originally Posted by geforce210 View Post
mate im new on this but where need i to paste this ?
I think u need to compile this in a dll.
Where i have to write these things?
Quote Originally Posted by Greez0513 View Post
Where i have to write these things?
Plz read the rules b4 posting..u just bumped an old thread.
visual studio in a dll on a enginerenderer
Posts 1–7 of 7 · Page 1 of 1
This thread is closed for replies.

Tags

None

Talk with us