Weapon information in-game

Results 1 to 6 of 6
  1. #1
    Feel the wind. Orby is offline
    True MemberRank
    Oct 2015 Join Date
    WorldLocation
    237Posts

    note Weapon information in-game

    Weapon information in-game
    Here it will show the Damage and the Delay of the weapon you are using showed only the damage so I added the Delay to make it more complete.

    ZCombatInterface.cpp
    Code:
    char szWeaponInfo[70];
    MMatchCharItemParts nParts = pCharacter->GetItems()->GetSelectedWeaponParts();
    if (nParts < MMCIP_END) {
    MMatchItemDesc* pItemDesc = MGetMatchItemDescMgr()->GetItemDesc(pCharacter->GetItems()->GetSelectedWeapon()->GetDescID());
    sprintf(szWeaponInfo, "(Damage %d / Delay %d)", pItemDesc->m_nDamage.Ref(), pItemDesc->m_nDelay.Ref());
    TextRelative(pDC, 00.f / 800.f, 00.f / 600.f, szWeaponInfo);
    }


    Credits: GZF Source and the min for updating.
    Last edited by Orby; 1 Week Ago at 03:40 AM.
    Live as if there is no tomorrow, and do wonders.


  2. #2
    OWneit! Zellum is offline
    True MemberRank
    Aug 2014 Join Date
    Space ;)Location
    205Posts

    Re: Weapon information in-game

    Really nice idea :)
    Interesting to join us creating a new GunZ project ?
    pufz@hotmail.com

  3. #3
    Member Zer0nix is online now
    MemberRank
    Aug 2020 Join Date
    64Posts

    Re: Weapon information in-game

    Nice nice! Thanks Orby.

  4. #4
    Aikatsu! jorklenis2 is offline
    True MemberRank
    Oct 2011 Join Date
    PanamáLocation
    697Posts

    Re: Weapon information in-game

    I already know what the liberation is due to hahaha
    You Rock My World

  5. #5
    Member ilmar18 is offline
    MemberRank
    Mar 2014 Join Date
    BrazilLocation
    75Posts

    Re: Weapon information in-game

    thanks for posting, mine was incomplete the code now I will fix it!

  6. #6
    I am THE DON Joe9099 is offline
    GammaRank
    Jan 2007 Join Date
    England, UkLocation
    3,650Posts

    Re: Weapon information in-game

    I like this. Nice and clean too



Advertisement