[REL] Sandbox Unit Organizer 1.7.1 [113044]

Discussion in 'Released Mods' started by wondible, July 27, 2014.

  1. wondible

    wondible Post Master General

    Messages:
    3,277
    Likes Received:
    2,078
    Puts the sandbox unit toolbox in order, and removes most not-normally-buildable units. Incorporates the Sandbox Unit Toolbox mod in that it activates with the sandbox game option.

    Screen Shot 2014-09-07 at 09.27.20 .png

    - https://github.com/JustinLove/sandbox_unit_organizer
    - http://wondible.com/pa/sandbox_unit_organizer_v1.7.1.zip

    Major Server Mods

    New build tabs will be included, but may not be be in a good layout.

    If the layout doesn't work, you may include a `live_game_sandbox` mod. Three observable arrays are published on model:

    - model.baseGroups (right side)
    - model.mobileGroups (left side)
    - model.miscUnits (singletons, commanders, and avatars)

    So if you mod introduces a new unit type with a factory only buildable by a special commander:
    Code:
        if (model.mobileGroups) {
          model.mobileGroups.push('laser_sharks')
        }
        if (model.miscUnits) {
          model.miscUnits.push('/pa/units/commanders/laser_shark_commander/laser_shark_commander.json')
        }
    
    Additionally, model.sandboxGrid() returns {columns: n, cells: []} for introspecting on the sandbox layout.

    Changes

    Version 1.7.1

    - Compatibility circa 113034
    - Remove sandbox visibility code, included in base game

    Version 1.7.0

    - model.sandboxGrid() returns {columns: n, cells: []} in order to introspect on the current layout
    Last edited: March 11, 2019
    cwarner7264 likes this.
  2. wondible

    wondible Post Master General

    Messages:
    3,277
    Likes Received:
    2,078
    Sandbox Unit Organizer Version 1.1

    - Move the avatars into the misc section to avoid overlaps
    - Add readme
  3. Fr33Lancer

    Fr33Lancer Well-Known Member

    Messages:
    595
    Likes Received:
    288
    Question, would you consider adding more commanders in the toolbox than the current ones ?
    In such a way you won't have to add them manually each time a new one is added (some recursive code checking pa\units\commanders maybe ?)
    Maybe on a separate page than standard units / building ?

    Just asking since I wanted to check all the new commanders ingame (like suggested here)
    I can select them from an offline lobby but it's a bit tedious :(
  4. wondible

    wondible Post Master General

    Messages:
    3,277
    Likes Received:
    2,078
    Just turn off this mod and you'll get the full, albeit disorganized, list ;^)
  5. Fr33Lancer

    Fr33Lancer Well-Known Member

    Messages:
    595
    Likes Received:
    288
    Not sure to understand, how do I get a list if there is no toolbox ?
    Did what you said, and I end having only DEV MODE panel (visibility / control) :(
  6. wondible

    wondible Post Master General

    Messages:
    3,277
    Likes Received:
    2,078
    Forgot about that - back to the precursor, Sandbox Unit Toolbox
    Fr33Lancer likes this.
  7. wondible

    wondible Post Master General

    Messages:
    3,277
    Likes Received:
    2,078
    Sandbox Unit Organizer 1.1.1 - activate ui based on sandbox game option
  8. ViolentMind

    ViolentMind Active Member

    Messages:
    391
    Likes Received:
    185
    upload_2015-4-16_21-41-31.png

    Is the build supposed to be 80462 for this one now?
  9. thetrophysystem

    thetrophysystem Post Master General

    Messages:
    7,050
    Likes Received:
    2,874
    I like this idea a lot. As cool as it is building unimplemented units, you never want to do that in a testing environment and it was a fustercluck, so thank you kind sir!
  10. wondible

    wondible Post Master General

    Messages:
    3,277
    Likes Received:
    2,078
    Sandbox Unit Organizer 1.1.2

    - Update build number (Thanks ViolentMind)
    - Remove debugging log statement
  11. Ksgrip

    Ksgrip Active Member

    Messages:
    612
    Likes Received:
    242
    Wondible, I know it is a lot to ask you but could ypu add separate display for units in the toolbox? Just like we have in the ui to select different units. Cause when we use it for mods it gets messy to have to explicitely build the factory when we want to use certain units. I would so apreciated:)) I hope ypu consider my question. Thanks for reading.
  12. wondible

    wondible Post Master General

    Messages:
    3,277
    Likes Received:
    2,078
    I'm afraid I don't understand your question. What mods are you trying to use it with, and what units can't you select?

    You could use the regular toolbox for anything not in build.js, and there is always avatar factory which uses the regular UI.
  13. Ksgrip

    Ksgrip Active Member

    Messages:
    612
    Likes Received:
    242
    Ok let me explain myself better xd.
    As you have both mods righ now, there is a box that show the build bar image of units and structures inside the files.
    It works perfectly with mods but when the build bar exceed a certain number of images it overlaps with ingame ui and selecting some units is impossible. Just try with modx and you will see what I´m saying. I was requesting for a change in how it displays those units. Just like we have in the in game ui, where there are a simbol for bots, tanks, air...etc for you to select whatever type of unit. Could you change the unit toolbox so it has those simbols and when clicking it displays a box as the normal mod where it only shows the type of unit selected?.
    For example, you select the simbol for bots and it displays the box containing bots form the beggining, The one with vehicles would do it´s supposed job and so on.
    That way you would solve the overlapping and it would be easier for searching a certain type of unit.
    I hope i´ve expressed myself better this time:)).
    Last edited: April 19, 2015
  14. Ksgrip

    Ksgrip Active Member

    Messages:
    612
    Likes Received:
    242
    I juust realiced I answered without quoting xd. Waht I was trying to request you is in the post abov:)
  15. wondible

    wondible Post Master General

    Messages:
    3,277
    Likes Received:
    2,078
    I subscribe to my mod posts, but thanks for the thought.
  16. wondible

    wondible Post Master General

    Messages:
    3,277
    Likes Received:
    2,078
    Sandbox Unit Organizer 1.2.0

    - Attempt to guess non-standard grid sizes (e.g. ModX)
    - Remove double load of build positions

    A tabbed interface would be a separate mod. Are you running on a small screen perhaps?
  17. Ksgrip

    Ksgrip Active Member

    Messages:
    612
    Likes Received:
    242
    Yes, I think I mentioned it in the fisrt message. In lower definition screens the ui of the tab overlaps with the in game ui. Making impossible the selection of certain units. If it would be necesary to get a new mod it is entirely up to you if you want to do so:)). I was just giving some feedback and some help request i guess.
  18. wondible

    wondible Post Master General

    Messages:
    3,277
    Likes Received:
    2,078
    Shrinking icons would probably be a lot easier. What is your resolution?
  19. Ksgrip

    Ksgrip Active Member

    Messages:
    612
    Likes Received:
    242
    Not exactly sure but is around the 1334x or something like that... it is a laptop. Yeah that is a lor easier to do anyway.
    Maybe reducing it by a third could be a good idea.
  20. wondible

    wondible Post Master General

    Messages:
    3,277
    Likes Received:
    2,078
    Sandbox Unit Organizer 1.3.0 - Smaller icons for small displays

Share This Page