[Help] Bug weapons along with ammunition

Results 1 to 8 of 8
  1. #1
    Member Jhaimes Ribeiro is offline
    MemberRank
    Jan 2014 Join Date
    35Posts

    sad [Help] Bug weapons along with ammunition

    ammunition along with weapons because so ta?
    How do I put the line? :/

    Last edited by DNC; 30-06-14 at 11:46 PM.


  2. #2
    Member robson154 is offline
    MemberRank
    Sep 2013 Join Date
    75Posts

    Re: What ?? help Bug weapons along with ammunition

    Fixed????

  3. #3
    m70b1jr#9501 m70b1jr is offline
    Grand MasterRank
    May 2013 Join Date
    North CarolinaLocation
    862Posts

    Re: What ?? help Bug weapons along with ammunition

    It's not a bug...

  4. #4
    Member Jhaimes Ribeiro is offline
    MemberRank
    Jan 2014 Join Date
    35Posts

    Re: What ?? help Bug weapons along with ammunition

    help fix? :/

  5. #5
    Member robson154 is offline
    MemberRank
    Sep 2013 Join Date
    75Posts

    Re: What ?? help Bug weapons along with ammunition

    How to put the old way ammunition in ammo slot?
    Please help me?
    Sorry my english

  6. #6
    Newbie mapo is offline
    MemberRank
    Jun 2013 Join Date
    8Posts

    Re: [Help] Bug weapons along with ammunition

    Quote Originally Posted by DNC View Post
    Because it is hard coded to be this way.

    WZ\src\EclipseStudio\Sources\UI\UIItemInventory.cpp

    Code:
    void UIItemInventory::addTabTypes()
    {
        Scaleform::GFx::Value var[8];
        var[2].SetNumber(0); 
        var[3].SetNumber(0);
        var[4].SetNumber(0);
        var[5].SetNumber(0);
        var[6].SetNumber(0);
        var[7].SetBoolean(true); // visible in store
    
        // store & inventory tabs
    
        var[0].SetNumber(0);
        var[1].SetString("weapon");
        var[2].SetBoolean(true);
        var[3].SetBoolean(true);
        gfxMovie_->Invoke("_root.api.addTabType", var, 4);
    
        var[0].SetNumber(1);
        var[1].SetString("ammo");
        var[2].SetBoolean(false);  <------ CHANGE TO (true)
        var[3].SetBoolean(true);
        gfxMovie_->Invoke("_root.api.addTabType", var, 4);
    Code:
        // special category for ammo
        var[0].SetNumber(419);
        var[1].SetString("ammo");
        //var[2].SetNumber(1); <--- remove two //'s at front of line
        var[2].SetNumber(0); <--- add two //'s at front of line
        var[3].SetNumber(-1);
        gfxMovie_->Invoke("_root.api.addCategory", var, 4);

    Rebuild ALL solutions with the Proper Build settings
    Credits: DNC

  7. #7
    Member Jhaimes Ribeiro is offline
    MemberRank
    Jan 2014 Join Date
    35Posts

    Re: [Help] Bug weapons along with ammunition

    thank you ;)

  8. #8
    m70b1jr#9501 m70b1jr is offline
    Grand MasterRank
    May 2013 Join Date
    North CarolinaLocation
    862Posts

    Re: [Help] Bug weapons along with ammunition

    Will this remove the attachments area?



Advertisement