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
    244Posts

    note 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; 25-04-21 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
    206Posts

    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 offline
    MemberRank
    Aug 2020 Join Date
    70Posts

    Re: Weapon information in-game

    Nice nice! Thanks Orby.

  4. #4
    Aikatsu! jorklenis2 is online now
    True MemberRank
    Oct 2011 Join Date
    PanamáLocation
    716Posts

    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
    76Posts

    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,652Posts

    Re: Weapon information in-game

    I like this. Nice and clean too



Advertisement