Player FOV On radar

社区服务
高级搜索
猴岛论坛CSGO反恐精英CS作弊器交流讨论Player FOV On radar
发帖 回复
倒序阅读 最近浏览的帖子最近浏览的版块
3个回复

Player FOV On radar

楼层直达
作弊辅导员_h

ZxID:1019634

等级: 元老
定做作弊器
举报 只看楼主 使用道具 楼主   发表于: 2007-09-26 0
Use this to draw little lines to indicate a which direction the player is pointing. Makes it easy to see if a person is aiming at you

Credit to Tetsuo and OGC for the original Radar func


First you will need this function.


PHP Code:
Vector CalcPViewAngles(int index){

    cl_entity_s *ent = gEngfuncs.GetEntityByIndex(index);
    Vector forward,right,up,newfwd;
    VectorCopy(ent->origin, newfwd);
    gEngfuncs.pfnAngleVectors(ent->angles, forward, right, up);

    // Thanks tetsuo :P im a tard
    newfwd = newfwd + forward * cvar.radar_fovdist; // radar_fovdist is an int, I use 300. change to suit your own taste

    return newfwd;




This simply calculates a point in space that is X units in front of the player, I used 300 which seemed to work well on the radar of my size.

You will also need my DrawLine function ( http://forum.game-deception.com/showthread.php?t=5736 ) Or do it however you want. if your not a retard you can figure it out

PHP Code:
void drawRadarFOV(float* origin, int playerindex, int width, int r,int g,int b, int size)
{

    int startX, startY, endX, endY;

    calcRadarPoint(origin, startX, startY);
    calcRadarPoint(CalcPViewAngles(playerindex), endX, endY);

    DrawLine(startX, startY, endX, endY, width, r, g, b, 255);




Now, this is pretty self explanitory, call this inside your normal radar func, or even in your ESP would work.

People were saying it looks gayish. Mostly Tetsuo  <3

Change it to look however you want. I like it the way it is. But thats just me
密码被盗,请联系cscheat取回
creative

ZxID:1175928

等级: 中士
举报 只看该作者 沙发   发表于: 2007-09-26 0
gzw371993

ZxID:1277151

等级: 新兵
举报 只看该作者 板凳   发表于: 2007-10-07 0
挖顶顶啊  好用么???看不懂啊`?~`212314  
maliukao

ZxID:1268376

等级: 上士
举报 只看该作者 地板   发表于: 2007-10-13 0
tfthfghfh
« 返回列表
发帖 回复