My Version of HP&AP Bar

Page 2 of 2 FirstFirst 12
Results 16 to 28 of 28
  1. #16
    Valued Member lil_Homie is offline
    MemberRank
    May 2010 Join Date
    134Posts

    Re: My Version of HP&AP Bar

    Quote Originally Posted by Wish Q View Post
    what line is that on void pls tell.
    use or logical brain, its not hard to find out where it belongs.

  2. #17
    Account Upgraded | Title Enabled! Wish Q is offline
    MemberRank
    Jul 2012 Join Date
    LiveScoreLocation
    456Posts

    Re: My Version of HP&AP Bar

    Quote Originally Posted by lil_Homie View Post
    use or logical brain, its not hard to find out where it belongs.
    just say line dont be like that...

    i am new to this..

  3. #18
    Doggie And Rice. Military is offline
    MemberRank
    Jun 2009 Join Date
    Here and AboutLocation
    3,301Posts

    Re: My Version of HP&AP Bar

    Quote Originally Posted by Wish Q View Post
    just say line dont be like that...

    i am new to this..
    We were like this too , learn the source.

  4. #19
    Member J3tze is offline
    MemberRank
    Apr 2012 Join Date
    Netherland!Location
    58Posts

    Re: My Version of HP&AP Bar

    Nice Release

  5. #20
    Account Upgraded | Title Enabled! Wish Q is offline
    MemberRank
    Jul 2012 Join Date
    LiveScoreLocation
    456Posts

    Re: My Version of HP&AP Bar

    nevermind it was easy lol
    but i learn from it :p

  6. #21
    "I'm old, not obsolete" SKNeoDio is offline
    MemberRank
    Feb 2007 Join Date
    PortugalLocation
    248Posts

    Re: My Version of HP&AP Bar

    Quote Originally Posted by qet123 View Post
    ZCombatInterface.cpp:
    Spoiler:
    Code:
    Above:
    ZGetScreenEffectManager()->DrawMyWeaponImage();
    
    Paste:
    DrawHPAPNumbers(pDC);
    Code:
    void ZCombatInterface::DrawHPAPNumbers(MDrawContext* pDC)
    {
        ZCharacter* pCharacter = GetTargetCharacter();
    
        if(m_Observer.IsVisible()) return;
        if(pCharacter == NULL) return;
        if(pCharacter->GetHP() == 0) return;
        if(pCharacter->IsDie()) return;
    
        char hp[128];
        char ap[128];
    
        MFont *pFont=GetGameFont();
        pFont=MFontManager::Get("FONTa10_O2Wht");
        pDC->SetFont(pFont);
        pDC->SetColor(MCOLOR(0xFFFFFFFF));
    
        sprintf(hp, "HP : %d", (int)pCharacter->GetHP()/*, (int)pCharacter->GetMaxHP()*/);
        TextRelative(pDC, 100.f/800.f, 23.f/600.f,hp);
    
        sprintf(ap, "AP : %d", (int)pCharacter->GetAP()/*, (int)pCharacter->GetMaxAP()*/);
        TextRelative(pDC, 100.f/800.f, 50.f/600.f,ap);
    }


    ZCombatInterface.h:
    Spoiler:
    Code:
    Above:
    void DrawFriendName(MDrawContext* pDC);
    
    Paste:
    void DrawHPAPNumbers(MDrawContext* pDC);




    Very stable positions.
    Great work, that looks a lot more professional than the regular "press F9 to see hp/ap".

    Cheers!

  7. #22
    Proficient Member iDelta123 is offline
    MemberRank
    Apr 2012 Join Date
    The NetherlandsLocation
    154Posts

    Re: My Version of HP&AP Bar

    Quote Originally Posted by NeoDio View Post
    Great work, that looks a lot more professional than the regular "press F9 to see hp/ap".

    Cheers!
    We use the f9, to show your hp to other peoples.

  8. #23
    "I'm old, not obsolete" SKNeoDio is offline
    MemberRank
    Feb 2007 Join Date
    PortugalLocation
    248Posts

    Re: My Version of HP&AP Bar

    Quote Originally Posted by iDelta123 View Post
    We use the f9, to show your hp to other peoples.
    Since you put it that way, it would be nice if someone coded the hp/ap to appear visible for everyone on the TAB function.

    But that would be more appropriate being setup as a game tag or game option, since in some games modes like assassination, team-deathmatch, clan war or duel sometimes you really don't want other people to know that you're on low hp/ap.

  9. #24
    Good Guy George qet123 is offline
    MemberRank
    Apr 2009 Join Date
    DesertLocation
    1,432Posts

    Re: My Version of HP&AP Bar

    Quote Originally Posted by NeoDio View Post
    Since you put it that way, it would be nice if someone coded the hp/ap to appear visible for everyone on the TAB function.

    But that would be more appropriate being setup as a game tag or game option, since in some games modes like assassination, team-deathmatch, clan war or duel sometimes you really don't want other people to know that you're on low hp/ap.
    I have done that.

  10. #25
    "I'm old, not obsolete" SKNeoDio is offline
    MemberRank
    Feb 2007 Join Date
    PortugalLocation
    248Posts

    Re: My Version of HP&AP Bar

    Quote Originally Posted by qet123 View Post
    I have done that.
    Now that I've searched the threads you have made on Ragezone you do have a lot of very useful content, thanks! :)

  11. #26
    Fuck Army. sahar042 is offline
    MemberRank
    Jul 2009 Join Date
    833Posts

    Re: My Version of HP&AP Bar

    Quote Originally Posted by NeoDio View Post
    Now that I've searched the threads you have made on Ragezone you do have a lot of very useful content, thanks! :)
    Jeezes, This is fucking easy lol.

  12. #27
    "I'm old, not obsolete" SKNeoDio is offline
    MemberRank
    Feb 2007 Join Date
    PortugalLocation
    248Posts

    Re: My Version of HP&AP Bar

    Quote Originally Posted by sahar042 View Post
    Jeezes, This is fucking easy lol.
    Expanding the map limit on the 1.5 source is far easier.

  13. #28
    I'm retired, I'm already jorklenis2 is offline
    MemberRank
    Oct 2011 Join Date
    PanamáLocation
    879Posts

    Re: My Version of HP&AP Bar

    100/10



Page 2 of 2 FirstFirst 12

Advertisement