TGYD`s Building Tools [spaar`s Mod Loader] [for v0.45]

Discussion in 'Besiege: Modding' started by TheGuysYouDespise, Jan 14, 2016.

  1. So yeah there are plenty of mods dealing with translation and rotation of blocks.
    But the UI, Input methods, and general feel of those tools never really hit the right spot for me.


    So here's the mod I made primarily for myself to stop being frustrated with other's:
    ~ Building Tools ~

    Formerly know as Block Transform Tools

    This is a mod dealing with rotating, translating, duplicating, deleting, of multiple blocks at once.

    I used to use Editor+ by Tesseract Cat, but felt like it wasn't all there, so this mod takes that concept and realizes it fully.
    I hope.

    Here's a small explanation video:


    FEATURES:

    1. Select multiple blocks
    - Multi click, Drag Selection of various types, select all, selection between two selected blocks.

    2. Translate selection of blocks by incremental value
    - Drag for quick translation, Click for precise translation.

    3. Rotate selection of blocks by incremental value.
    - Drag for quick rotation, Click for precise rotation.

    4. Duplicate selection of blocks.
    - Duplicate your selection and continue to have control over the transformation.

    5. Independent Undo/Redo for current selection's rotation and translation
    - There is no undo/redo for changing selection, duplication or deletion of blocks. And it will create some artifacts for normal undo and redo.

    6. Hide Selection.
    - Hide current selection to gain clear access for the inside of machines, only works for one selection.

    7. Delete selection of blocks.
    - Deletes your selected blocks.

    8. Mirror selection of blocks along axes.
    - Mirror the selection around the pivot along a the x,y, or z axis.

    9. Lock selection.
    - Lock selection to avoid deselecting, adding to selection, etc, while translating, rotating, building, etc.

    10. Custom Rotation by R key for blocks.
    - Set a custom amount instead of 90 degrees for the R key.

    11. Allow intersecting blocks placement.
    - Delivers a button to toggle off that pesky intersection warning, and let you place blocks overlapping.
    note: they will still collide in play.


    12. Merging machines
    On the "Load Machine" page you will find a new button that is for importing machines to the machine you already have, when a machine is imported it's automatically selected and goes to movement mode to help you position it as you wish. If you have a selection while using this button everything but your selection will be unloaded, and the machine will be imported, however it will not auto select the new machine for you, instead your selection will remain so you can position that in relation to the imported machine.

    Obscure Features:

    1. Delete/Ground everything not selected.
    By doing a selection and then doing the normal tools for a machine affects everything but your current selection.


    UI:
    [​IMG]

    Tool Gizmos:
    [​IMG]

    IMPORT MACHINE BUTTON:
    [​IMG]

    Controls & Hotkeys:

    _____Q:..............................................................Go to Selection mode.
    _____W:.............................................................Go to Translate tool (edit mode) (+ open building tools if hidden)
    _____E: .............................................................Go to Rotate tool (edit mode) (+ open building tools if hidden)
    _____R:..............................................................Rotate block by custom amount before placement.
    -Ctrl + R:..............................................................Rotate block by custom amount before placement in opposite direction.

    In Block Edit Mode:
    _____Click [block]:...........................................Select.
    --Alt + Click [block]:...........................................Single block selection, i.e. select block and deselect all others.
    --Alt + Click:.......................................................Deselect all, i.e. no block is hovered and alt + clicking deselects your selection.
    _____Click + (DRAG): . ...................................... Drag Selection (Axis Aligned Bounding Box)
    -Ctrl + Click + (DRAG):..........................................Painted Selection (selects all blocks you hover over)
    -Shift (HOLD):........................................................Hide Tool Gizmo.

    Translate gizmo:
    _____Click [arrow]:........................................Move by increment value along axis.
    -Ctrl + Click [arrow]:........................................Move by increment value along axis in opposite direction.
    _____Click + (HOLD) [primary arrow]: . ........ Move freely along axis, but snap to increments defined by the value.

    Rotate gizmo:
    _____Click [circle]:.........................................Rotate by increment value around axis. Direction based on side clicked.
    _____Click + (HOLD): . ................................... . Rotate freely around axis, but snap to increments defined by value.

    _____
    Click + (DRAG):........................................Drag Selection (Axis Aligned Bounding Box)
    -Ctrl + Click + (DRAG):........................................Painted Selection (selects all blocks you hover over)
    -Ctrl + A:...........................................................Select all blocks
    -Ctrl + I:............................................................Invert selection
    -Ctrl + B:...........................................................Select all blocks between the last two selected blocks (Axis Aligned Bounding Box)
    -Ctrl + D: ......................................................... Duplicate selection
    -Ctrl + Z: . ...................................................... . Undo*
    -Ctrl + Y: ........................................................ . Redo*
    -Ctrl + Shift + H:...............................................Select overlapping duplicate blocks
    _____Caps Lock:.............................................Lock selection
    _____Escape: . . . ..................................... . . . Deselect selection
    _____Delete: . . ........................................ . . . Delete selection

    Mirror:
    _____1:............................................................Mirror selection along x axis.
    _____2:. . ..................................................... . Mirror selection along y axis.
    _____3:. . ..................................................... . Mirror selection along z axis.

    Hovering text field:
    Scroll Up: . ..................................................... . Increase by standard value**
    Scroll Down: . ................................................ . Decrease by standard value**

    Camera controls:
    Right Click + (HOLD) + W: . .................... ........ . Move camera forwards
    Right Click + (HOLD) + A: . .............................. . Move camera left
    Right Click + (HOLD) + S: ...................................Move camera backwards
    Right Click + (HOLD) + D: . .............................. . Move camera right


    *Undo and redo is done for rotation and translation separately, selection can't be undone or redone.
    **5 degrees for rotation, 0.1 units for translation.



    >>DOWNLOAD<<
    http://www.mediafire.com/file/lera1as70i3drw4/BuildingTools-v0.78.zip

    Press Ctrl+F5 or Ctrl+Shift+R to refresh the page if the most recent download doesn't appear.

    INSTALLATION INSTRUCTIONS:
    1. Download and Install spaar's Mod Loader (follow the instructions on that page).
    2. Download Building Tools (this mod).
    3. Open the .zip archive. If you can't, you need an archiving software such as WinRAR.
    4. Drag the contents of the archive (.zip) into your Mods directory (in Besiege_Data under your Besiege directory).
    ---Example: D:\Programs\Steam\steamapps\common\Besiege\Besiege_Data\Mods
    5. Enjoy.

    Change Log:
    Besiege v0.23:
    14/01/2016: v0.1:
    15/01/2016: v0.2:
    DL: http://www.mediafire.com/download/l0...Tools-v0.2.rar
    Fixed Bugs:
    - Trolley wheel caused issues with selection
    - Pistons not resetting colour.
    - Selection and entering/exiting simulation could lock or glitch UI and elements.
    - Various small bug fixes.

    Added Features:
    - Mirror seletion along axes (x,y,z)
    -- Hotkeys: 1, 2, 3:
    - Ctrl+Click: Translate Gizmo main arrows to move opposite direction by increment value.
    - Alt+Click: select hovered block, and deselect all others. With no block targested: deselect all.
    16/01/2016: v0.25:
    DL: http://www.mediafire.com/download/lf...ools-v0.25.rar
    Fixed Bugs:
    - Hotkeys for selection.
    - Focusing on tool gizmos with unexpected results.
    - GUI issues.

    Added Features:
    - Mirror seletion along axes (x,y,z) GUI
    -- Hotkeys: 1, 2, 3:
    - Custom Rotation by pressing R
    -- with reverse functionality by holding Ctrl.
    16/01/2016: v0.3:
    DL: http://www.mediafire.com/download/sz...Tools-v0.3.rar
    Fixed Bugs:
    - Better drag selection.
    - Mirroring braces now function properly.
    - Rotation for placed block not matching correctly for base (internal besiege bug) fixed, added settings button.
    - Naming duplicated blocks correctly.
    - Various minor bugs

    Added Features:
    - Hide Selection
    - Lock Selection
    - Dedicated Selection mode
    - "OLDSCHOOL" button in settings, turning that off will leave the selection mode to be the only mode in which you can select stuff.
    - Reset custom rotation key value.

    Changes:
    - Changed NoClip icon (now called "allow intersection").
    - Changed custom rotation key value icon.
    - Removed WASD camera movement in Building mode.
    16/01/2016: v0.31:
    DL: http://www.mediafire.com/download/rh...ools-v0.31.rar
    Fixed Bugs:
    - Mirroring should now be completely fixed: a bug was present where certain blocks didn't mirror properly.

    Changes:
    - Made WASD cam work when Building Tools bar is hidden.
    Besiege v0.25:
    07/02/2016: v0.35:
    DL: http://www.mediafire.com/download/z4...ools-v0.35.rar
    Updated to Besiege v0.25

    Fixed Bugs:
    - Binding blocks to keys that are used for hotkeys ignore their hotkey functionality while being assigned for blocks.
    - Fixed Tooltips for Building Tools' buttons

    Added Features:
    - Import Machine Button
    - Invert Selection
    - No Need for BlockLoader anymore.

    Changes:
    - Loading a machine while having a selection no longer keeps the selection in the scene, use Import Machine button.
    - Refactored some code to make it more effiecient.
    07/02/2016: v0.36:
    DL: http://www.mediafire.com/download/iv...ools-v0.36.rar
    Fixed Bugs:
    - Fixed Key Mapping issues
    - Fixed Drag Selection

    Changes:
    - Loading a machine while having a selection keeps the selection in the scene.
    07/02/2016: v0.37:
    DL: http://www.mediafire.com/download/k8...ools-v0.37.rar
    Fixed Bugs:
    - Re-Fixed Drag Selection
    07/02/2016: v0.38:
    DL: http://www.mediafire.com/download/uz...ools-v0.38.rar
    Fixed Bugs:
    - Fixed Drag Selection key mapping scramble issue.
    18/02/2016: v0.39:
    DL: http://www.mediafire.com/download/e5...ools-v0.39.rar
    Fixed Bugs:
    - I don't quite remember, but her's what I recall.
    - Fixed Pin ghost rotation.
    - Fixed Issues when beating a level, and BT would break.
    - Duplicating blocks now copies their settings.
    - Perhaps more, I don't remember :p
    06/03/2016: v0.40:
    DL: http://www.mediafire.com/download/ks...ools-v0.40.zip
    Fixed Bugs:
    - Fixed flipped propeller and steering hinge duplication.
    - Fixed rotation of ghosts to be more reflective of how Besiege normally handles it.
    - Various small things too probably.
    13/03/2016: v0.41:
    DL: http://www.mediafire.com/download/c4...ools-v0.41.zip
    Fixed Bugs:
    - Fixed hide selection obstruction issues.
    - Tweeked Alt+Click to hopefully yield less sporadic issues,

    Added Features:
    - Added the Hotkey Ctrl+Shift+H which selects overlapping identical blocks when in selection mode, it should be a hotkey that helps you when you make a mistake duplicating a selection.

    Changes:
    - Changed the padlock icon.
    Besiege v0.27:
    19/03/2016: v0.45:
    DL: http://www.mediafire.com/download/uj...ools-v0.45.zip
    Updated to Besiege v0.27

    Changes:
    - Updated undo/redo system.
    19/03/2016: v0.46:
    DL: http://www.mediafire.com/download/bg...ools-v0.46.zip
    Fixed Bugs:
    - Removed HUD occlusion tweak to accommodate for new methods and god hand tool interference.

    Changes:
    - Removed BTT FIXES settings button, as it has become superfluous.
    Besiege v0.3:
    06/06/2016: v0.5:
    07/06/2016: v0.51:
    DL: http://www.mediafire.com/download/ss...ools-v0.51.zip
    Fixed Bugs:
    - Mirroring not working for braces.
    - Duplicating not working correctly.

    Changes:
    - Made a change to fix a vanilla bug, the braces behaving weird and occluding placement of blocks.
    07/06/2016: v0.52:
    DL: http://www.mediafire.com/download/ap7lj515gwmb07b/BuildingTools-v0.52.zip
    Changes:
    - Made a change to fix a vanilla bug, there were more issues with the braces.
    Besiege v0.32 & v0.35:
    11/08/2016: v0.55:
    DL: http://www.mediafire.com/download/2t8rpez8d8l7p57/BuildingTools-v0.55.zip
    Updated to Besiege v0.32

    Fixed Bugs:
    -Illogical Intersection Warning error on clicking.
    11/08/2016: v0.58:
    DL: http://www.mediafire.com/download/ipdh04qwc15ajgc/BuildingTools-v0.58.zip
    Fixed Bugs:
    -Fixed Duplication bug that would result in visually incorrect blocks, forever highlighted or similar.
    14/08/2016: v0.59:
    DL: http://www.mediafire.com/download/ixa4lw1vdl0svnf/BuildingTools-v0.59.zip
    Fixed Bugs:
    -Hot-fixed issue in vanilla Besiege with a predetermined joint for hinges.
    I.e. fixed the issue reported where hinges would mess up after being duplicated, rotated or moved.
    16/08/2016: v0.6:
    DL: http://www.mediafire.com/download/emmvaacznuwl8w4/BuildingTools-v0.6.zip
    Fixed Bugs:
    -Fixed duplicated or imported double blocks to load their length without looking for shortening.
    24/08/2016: v0.61:
    DL: http://www.mediafire.com/download/ti75x4b6zqxc962/BuildingTools-v0.61.zip
    Fixed Bugs:
    -Potentially fixed a bug resulting in offset alignment of the building tools UI.
    -Made rotation tool a bit more responsive.
    -Fixed an issue that would make the textbox magenta in specific cases.
    Besiege v0.4:
    08/11/2016: v0.62:
    DL: http://www.mediafire.com/file/6t4ang3lfrlpj8r/BuildingTools-v0.62.zip
    Updated to Besiege v0.4

    Fixed Bugs:
    -Ctrl+B doesn't throw error when your selection contains less than 2 blocks.
    Besiege v0.42:
    13/01/2017: v0.65:
    WARNING: BROKEN
    DL: http://www.mediafire.com/file/er3zn5lbbzlavas/BuildingTools-v0.65.zip
    Updated to Besiege v0.42

    Fixed Bugs:
    -Fixed dragged block end point rotation on mirror
    15/01/2017: v0.68:
    DL: http://www.mediafire.com/file/s992ajdda684baf/BuildingTools-v0.68.zip
    Major tweaking update, fixing a lot of stuff being wrong in previous version.
    Mostly credit goes to the patch that was done to Besiege, that cleaned up a problematic area.

    Fixed Bugs:
    -Various bug fixes
    15/01/2017: v0.70:
    DL: http://www.mediafire.com/file/ahbks53xpbui0k7/BuildingTools-v0.7.zip
    Minor tweaks compared to v0.68, should prove more stable, though no stability issues were found in 0.68.
    20/01/2017: v0.71:
    20/01/2017: v0.73:
    DL: http://www.mediafire.com/file/kt989trfjzcl7av/BuildingTools-v0.73.zip
    Changes:
    - To use WASD controls for the camera you can now hold the right mouse button down and press W, A, S and/or D.
    22/01/2017: v0.74:
    DL: http://www.mediafire.com/file/ovxxf8cxg8z47y5/BuildingTools-v0.74.zip
    Fixes:
    - Gizmos now scale correctly compared to camera zoom and position.
    - Implemented fixes for less likely unconnected block in machine upon entering simulation.
    14/02/2017: v0.75:
    DL: http://www.mediafire.com/file/rhe7dj9y6qp1sc6/BuildingTools-v0.75.zip
    Fixes:
    - Tweaked some stuff in relation to how selection and releasing works, thus fixing some
    issues with untimely resetting of center.simulation. May affect other issues as well.
    Besiege v0.45:
    18/04/2017: v0.78:
    DL: http://www.mediafire.com/file/lera1as70i3drw4/BuildingTools-v0.78.zip
    Updated to Besiege v0.45

    Applied vanilla fix:
    -Scaling Blocks now set their mass correctly
     
    Last edited: Apr 18, 2017
  2. ITR

    ITR l̺̤͈̘̰̺͉̳͉̖̝̱̻̠̦͈ͅ֍̫̜̥̭͖̱̟̟͉͙̜̰ͅl̺̤͈̘̰̺͉̳͉̖̝̱̻̠̦͈ͅ Staff Member

    Fancy
     
  3. seukari

    seukari Member

    This mod. I like it...

    [​IMG]

    (Seriously though, props to you, Daniel. Its very polished and looks great! I'll update when I get a chance to use it :D)
     
  4. wang_w571

    wang_w571 Member

    FINALLY
    IT'S
    DONE
    :O

     
  5. FrizB

    FrizB Member

    This is the functionality we have all been waiting on! It's a game changer for serious builders. Great job Daniel.
     
  6. Shade

    Shade Active Member


    [​IMG]


    THIS IS THE MOST AWESOMEST THINGS SINCE LASER MOD

    Attached Files
     
  7. 026778

    026778 New Member

    AAAAwesome!!!!!!!!
     
  8. wang_w571

    wang_w571 Member

    你。。。。。(-。-‘)
     
  9. MrMcRush

    MrMcRush Member


    [​IMG]


    Thank you, Lord... I mean TheGuysYouDespise :p :)

    Attached Files
     
  10. updated to v0.2
     
  11. FBSoldier

    FBSoldier New Member

    Tesseract cat, if your are reading this, I'm sorry. I just ditched your editor+.
    This mod is perfect :')
    [​IMG]
     
  12. FBSoldier

    FBSoldier New Member

    Thanks for the laugh shadé. this face man, gets me everytime.
     
  13. TekmastR

    TekmastR Member

    IT'S OVER 9000!

    Pure excellency TGYD.
     
  14. MaxTCC

    MaxTCC Member

    As always, a great piece of work, Daniel!
    You did a really good job on this one!
     
  15. krowanek

    krowanek Member

    Really great tool :D But I have a question. Does NO CLIP option need blockloader be ON to work? Could it work with installed but disabled blockloader too? As far as I know C-edit mod uses some functions of your blockloader no mather if it's ON or OFF - just dll file has to be in Mods folder :)
     
  16. It needs to be on, yes.

    Edit: Not anymore
     
    Last edited: Jan 22, 2017
  17. MaxTCC

    MaxTCC Member

    It needs the BlockLoader to be ON to work.
     
  18. Wizard Marcos

    Wizard Marcos New Member

    Are you sure you've set the Alt key as the select one? Because using Alt moves the camera, but pressing Alt Gr selects. Other than that, great mod.
     
  19. yes, it's only for the deselect or single select, and yes it's still bound to the camera too.
     

Share This Page