1. Hey Guest, is it this your first time on the forums?

    Visit the Beginner's Box

    Introduce yourself, read some of the ins and outs of the community, access to useful links and information.

    Dismiss Notice

Making Inventory Always Visible?

Discussion in 'Modding Help' started by Jackard, May 15, 2013.

Thread Status:
Not open for further replies.
  1. Jackard

    Jackard Base Burner

    Messages:
    852
    Having some trouble getting this to work. Anyone here familiar with the UI?

    As a test I tried just copying lines 154 and 161 from Entities\Common\Controls\StandardControls.as to line 145.

    Vec2f center = getDriver().getScreenCenterPos(); // center of screen​
    this.CreateInventoryMenu( center );​

    This got a flashing inventory on screen but also messed with the controls. There must be some way of adding it to Entities\Common\GUI\DefaultActorHUD.as so it doesn't flash. Entities\Characters\Builder\BuilderInventory.as and Entities\Characters\Archer\ArcherLogic.as have the CreateInventoryMenu bits, maybe I can borrow something from there?
    </br>--- merged: May 15, 2013 9:20 PM ---</br>
    yea okay this shit is incomprehensible
     
  2. JacKD

    JacKD Ballista Bolt Thrower

    Messages:
    496
    Lol, it would take some work to make it happen. It probably flashes cause the place where you added it is "ticking" and repeating every once in a while.

    You should probably try to add it to WAR_Interfacesometing.as. But you will probably have to include some files there to reference the inventory thingy.
     
  3. Jackard

    Jackard Base Burner

    Messages:
    852
    I mean, I could add more item types to the builder HUD. Copypasting that seems simple enough. But that would take up too much space.

    The rest of this stuff is greek to me.
     
  4. dnmr

    dnmr Ministry of ban Global Moderator Forum Moderator Donator Tester

    Messages:
    667
    moved from modding to help on OP's request
     
Thread Status:
Not open for further replies.