Source Engine Hud Drawing Functions

CRACKbomber Mar 8, 2013

  1. CRACKbomber

    CRACKbomber Resident Xbox Guru XPG Developer
    105/188

    Joined:
    Sep 12, 2011
    Messages:
    276
    Likes Received:
    235
    Trophy Points:
    25
    Gender:
    Male
    Location:
    Michigan
    Console:
    Xbox
    UTIL_HudMessage(NULL,hudTextParams,string message);
    hudTextParams struct
    struct hudtextparms_s
    {
    float x; //0 middle of screen
    float y;//0 middle of screen
    int effect;//unknown
    byte r1, g1, b1, a1;//RGBA1
    byte r2, g2, b2, a2;//RGBA2
    float fadeinTime;
    float fadeoutTime;
    float holdTime;
    float fxTime;
    int channel;//0 for all clients
    };
    Left 4 Dead 2:
    0x89B1A450
    Will get the rest of the addresses tonight.
     
  2. fi

    fiercewaffle Newbie
    0/47

    Joined:
    Oct 21, 2012
    Messages:
    17
    Likes Received:
    7
    Trophy Points:
    0
    Console:
    Xbox
    Could you explain a little bit on how one would poke this using a manual poker?
     
  3. Coder123

    Coder123 Finnish Modder XPG Developer TeamXPG
    105/188

    Joined:
    Jan 21, 2012
    Messages:
    1,954
    Likes Received:
    717
    Trophy Points:
    105
    Gender:
    Male
    Location:
    Finland
    Console:
    Xbox
    Im not 100% sure about any of this.

    But im guessing you need to call this function (not possible with set memory), which would look like this in XRPC.

    Dolan.Call(0x89B1A450, 0, 0, 0, 0, 0, 0, 12, 12, 0, 0, "Testing da shiz");
     
  4. CRACKbomber

    CRACKbomber Resident Xbox Guru XPG Developer
    25/47

    Joined:
    Sep 12, 2011
    Messages:
    276
    Likes Received:
    235
    Trophy Points:
    25
    Gender:
    Male
    Location:
    Michigan
    Console:
    Xbox
    This function is broken in Left 4 Dead 2, it only works in The Orange Box.
     

Share This Page

Close