Page 1 of 2 12 LastLast
Results 1 to 15 of 24
  1. #1
    seeplusplus's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    Massachusetts
    Posts
    329
    Reputation
    8
    Thanks
    85

    Post [Release]Shadowed Text!


    The default PrintText I use function:
    [PHP]void PrintText(char pString[], int x, int y, D3DCOLOR col, ID3DXFont *font)
    {
    RECT FontRect = { x, y, x+500, y+30 };
    font->DrawText( NULL, pString, -1, &FontRect, DT_LEFT | DT_WORDBREAK, col);
    }[/PHP]
    Using:
    [PHP]PrintText("", x, y, D3DCOLOR_XRGB(Red, Green, Blue), pFont)[/PHP]


    PrintText - Shadow upper-right function:
    [PHP]void ShadowedUR(char pString[], int x, int y, D3DCOLOR col, D3DCOLOR colshadow, ID3DXFont *font)
    {
    // Shadow
    RECT FontRect2 = { x+2, y-2, x+500, y+30 };
    font->DrawText( NULL, pString, -1, &FontRect2, DT_LEFT | DT_WORDBREAK, colshadow);

    // Text
    RECT FontRect = { x, y, x+500, y+30 };
    font->DrawText( NULL, pString, -1, &FontRect, DT_LEFT | DT_WORDBREAK, col);
    }[/PHP]
    PrintText - Shadow upper-right use:
    [PHP]ShadowedUR("", x, y, D3DCOLOR_XRGB(Red, Green, Blue), D3DCOLOR(0, 0, 0), pFont)[/PHP]

    PrintText - Shadow lower-right function:
    [PHP]void ShadowedLR(char pString[], int x, int y, D3DCOLOR col, D3DCOLOR colshadow, ID3DXFont *font)
    {
    // Shadow
    RECT FontRect2 = { x+2, y+2, x+500, y+30 };
    font->DrawText( NULL, pString, -1, &FontRect2, DT_LEFT | DT_WORDBREAK, colshadow);

    // Text
    RECT FontRect = { x, y, x+500, y+30 };
    font->DrawText( NULL, pString, -1, &FontRect, DT_LEFT | DT_WORDBREAK, col);
    }[/PHP]
    PrintText - Shadow lower-right use:
    [PHP]ShadowedLR("", x, y, D3DCOLOR_XRGB(Red, Green, Blue), D3DCOLOR(0, 0, 0), pFont)[/PHP]

    PrintText - Shadow upper-left function:
    [PHP]void ShadowedUL(char pString[], int x, int y, D3DCOLOR col, D3DCOLOR colshadow, ID3DXFont *font)
    {
    // Shadow
    RECT FontRect2 = { x-2, y-2, x+500, y+30 };
    font->DrawText( NULL, pString, -1, &FontRect2, DT_LEFT | DT_WORDBREAK, colshadow);

    // Text
    RECT FontRect = { x, y, x+500, y+30 };
    font->DrawText( NULL, pString, -1, &FontRect, DT_LEFT | DT_WORDBREAK, col);
    }[/PHP]
    PrintText - Shadow upper-left use:
    [PHP]ShadowedUL("", x, y, D3DCOLOR_XRGB(Red, Green, Blue), D3DCOLOR(0, 0, 0), pFont)[/PHP]

    PrintText - Shadow lower-left function:
    [PHP]void ShadowedLL(char pString[], int x, int y, D3DCOLOR col, D3DCOLOR colshadow, ID3DXFont *font)
    {
    // Shadow
    RECT FontRect2 = { x+2, y+2, x+500, y+30 };
    font->DrawText( NULL, pString, -1, &FontRect2, DT_LEFT | DT_WORDBREAK, colshadow);

    // Text
    RECT FontRect = { x, y, x+500, y+30 };
    font->DrawText( NULL, pString, -1, &FontRect, DT_LEFT | DT_WORDBREAK, col);
    }[/PHP]
    PrintText - Shadow lower-left use:
    [PHP]ShadowedLL("", x, y, D3DCOLOR_XRGB(Red, Green, Blue), D3DCOLOR(0, 0, 0), pFont)[/PHP]


    Example:
    [PHP]ShadowedUL("Upper-Left Shadow", 10, 13, D3DCOLOR_XRGB(255, 0, 0), D3DCOLOR_XRGB(0, 0, 0), pFont);
    ShadowedLL("Lower-Left Shadow", 150, 13, D3DCOLOR_XRGB(255, 0, 0), D3DCOLOR_XRGB(0, 0, 0), pFont);
    ShadowedUR("Upper-Right Shadow", 300, 13, D3DCOLOR_XRGB(255, 0, 0), D3DCOLOR_XRGB(0, 0, 0), pFont);
    ShadowedLR("Lower-Right Shadow", 450, 13, D3DCOLOR_XRGB(255, 0, 0), D3DCOLOR_XRGB(0, 0, 0), pFont);[/PHP]



    Remember to give credits and press thanks!








    Goals:
    Green = Done
    Blue = Getting Somewhere
    Red = Not Done
    • Mouse Grid
    • PTC Method
    • Trigger Bot

    I'm trying to think of more stuff!

  2. The Following 5 Users Say Thank You to seeplusplus For This Useful Post:

    ac1d_buRn (10-30-2010),coogle007 (10-31-2010),Dieorwin (10-30-2010),flameswor10 (10-30-2010),MrJupi (10-08-2011)

  3. #2
    -0x00's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    33
    Reputation
    10
    Thanks
    3
    They flickr like badly for me.

  4. #3
    seeplusplus's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    Massachusetts
    Posts
    329
    Reputation
    8
    Thanks
    85
    Quote Originally Posted by -0x00 View Post
    They flickr like badly for me.

    Well it's not my code's fault. It's how your drawing your font...
    Last edited by seeplusplus; 10-30-2010 at 09:08 PM.
    Goals:
    Green = Done
    Blue = Getting Somewhere
    Red = Not Done
    • Mouse Grid
    • PTC Method
    • Trigger Bot

    I'm trying to think of more stuff!

  5. #4
    budman821's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    356
    Reputation
    5
    Thanks
    83
    Very nice, very nice indeed.

  6. #5
    StupidLittleNoob's Avatar
    Join Date
    Aug 2010
    Gender
    female
    Posts
    60
    Reputation
    10
    Thanks
    4
    DrawText(x, y, ...);
    DrawText(x - 2, y + 2, ...);

  7. #6
    ᶠᶸᶜᵏ's Avatar
    Join Date
    May 2010
    Gender
    male
    Posts
    174
    Reputation
    36
    Thanks
    159
    Can someone show a picture of what it would look like please?

  8. #7
    seeplusplus's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    Massachusetts
    Posts
    329
    Reputation
    8
    Thanks
    85
    If you want to see what I looks like, then try it. It's not noob proof.
    Goals:
    Green = Done
    Blue = Getting Somewhere
    Red = Not Done
    • Mouse Grid
    • PTC Method
    • Trigger Bot

    I'm trying to think of more stuff!

  9. #8
    Dieorwin's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    In My House
    Posts
    167
    Reputation
    21
    Thanks
    22
    Frick that, I'll stick to hotkeys lol!

  10. #9
    ac1d_buRn's Avatar
    Join Date
    Aug 2009
    Gender
    female
    Location
    CA Source Section
    Posts
    3,404
    Reputation
    157
    Thanks
    4,003
    My Mood
    Flirty
    Pretty simple Gj anyway :P

  11. #10
    L3G3ND_KILL3R's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    4,828
    Reputation
    207
    Thanks
    651
    My Mood
    Bored
    ahaha
    gj
    i was looking for these /


    Need help with CALL OF DUTY RELATED or anything just private message me and im willing to help ^____^ Have a nice day!
    Quote Originally Posted by HelpIsWanted View Post
    so i have a camp next month, and i am 12, now all boys in my class have a large dick with hari and i dont have that. who can help me please?
    i see in films people can grow hair and grow dicks.

    i know its weird question, but i need !

  12. The Following User Says Thank You to L3G3ND_KILL3R For This Useful Post:

    imfamous (11-05-2010)

  13. #11
    BuRnYoUrSoUl's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    YO MOMMa
    Posts
    306
    Reputation
    10
    Thanks
    14
    My Mood
    Blah
    Very nice,
    I will burn your soul to pieces :O
    or ashes k thats beta:O if you like my mods thank me plz Wanna fight with /me :O
    Want a sig done pm me yo THank me lolz current drawing
    How Do You like it
    MY CREATIONS MY SERVICE IS $2 for a sig and an avatar and or $1 each.


  14. #12
    seeplusplus's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    Massachusetts
    Posts
    329
    Reputation
    8
    Thanks
    85
    Quote Originally Posted by BuRnYoUrSoUl View Post
    Very nice,
    Quote Originally Posted by pikachu501 View Post
    ahaha
    gj
    i was looking for these /

    Please don't say it. Press Thanks!
    Goals:
    Green = Done
    Blue = Getting Somewhere
    Red = Not Done
    • Mouse Grid
    • PTC Method
    • Trigger Bot

    I'm trying to think of more stuff!

  15. #13
    flameswor10's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    12,528
    Reputation
    981
    Thanks
    10,409
    My Mood
    In Love
    I pressed the thanks button /
    No I do not make game hacks anymore, please stop asking.

  16. #14
    seeplusplus's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    Massachusetts
    Posts
    329
    Reputation
    8
    Thanks
    85
    Thank you...
    Goals:
    Green = Done
    Blue = Getting Somewhere
    Red = Not Done
    • Mouse Grid
    • PTC Method
    • Trigger Bot

    I'm trying to think of more stuff!

  17. #15
    flameswor10's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    12,528
    Reputation
    981
    Thanks
    10,409
    My Mood
    In Love
    Quote Originally Posted by seeplusplus View Post
    Thank you...
    Do you think you can help me with 3D text? /

    Your -Immortal right?
    No I do not make game hacks anymore, please stop asking.

Page 1 of 2 12 LastLast

Similar Threads

  1. [Release] Easy Text Functions \w No Overflows/Crashes
    By [WhA]4FunPlayin in forum Call of Duty Modern Warfare 2 Server / GSC Modding
    Replies: 24
    Last Post: 11-13-2010, 12:52 PM
  2. [SoM~RELEASE] Shadow Ops Aztec/Tribal/Rune L96A1
    By Hysteria in forum Combat Arms Mods & Rez Modding
    Replies: 38
    Last Post: 06-26-2010, 07:20 PM
  3. [Release] Image Drop Shadows
    By Hassan in forum Visual Basic Programming
    Replies: 2
    Last Post: 05-22-2010, 04:56 PM
  4. [VB][Release] Text Encrypter
    By CoderNever in forum Visual Basic Programming
    Replies: 2
    Last Post: 09-27-2009, 11:03 PM
  5. [Re-Release] Talk in red text "GM Hack"
    By iownageXD in forum Combat Arms Glitches
    Replies: 36
    Last Post: 08-04-2009, 07:46 AM