Jump to content

DojoCAD: a mobile-friendly dojo designer


Buff00n
 Share

Recommended Posts

hX6yxBA.png

https://buff0000n.github.io/dojocad/

Now you know what I've been doing for the last month :)

This app lets you build a "valid' dojo layout, taking into account not only the usual energy and capacity stuff, but also the actual room boundaries and room-specific constraints.  Features include: snapping room doors together, multiple floor support, and exporting to PNG.  My goal was to make something you could use on a phone.

Demo video:

Spoiler

 

I try to go over the basics in the video but there is much more documentation built into the app: Click the '?' button in the corner.  I think it's complete enough to call v1.0, but I have a long list of To Do's and known issues at the bottom of the documentation.

All the boundaries have been found by in-game experiment, waypoint measurement, or straight-up guesswork.  I've tried to err on the side of caution, but I'm always interested in in-game examples of where they might be wrong on way or another.

I've tried to test this out in a bunch of browsers, let me know if you notice weirdness in yours.  In particular I'm interested in how well this works on iPhones, because I don't have one to test on.

Leave feedback here or in git: https://github.com/buff0000n/dojoarch/issues/2
Bug reports: https://github.com/buff0000n/dojocad/issues/new

Thanks to @AeliosZero!
His designer: https://aelioszero.itch.io/warframe-dojo-designer

Updates:

Spoiler

v1.1: 2020-01-19

  • Added compression for the model string, it saves about 30-50% on the sise of URLs. All old URLs will still work (thanks u/Almagnus1)
  • Added wall displays for the Dry Dock 1 floor below and 3 floors above to make it more clear that you can't build any rooms there (thanks u/Almagnus1)
  • Adjusted rules for Hall prerequisites and added a new rule to make sure you have at least one hall (Thanks u/yarl5000)
  • Fixed lower boundary for Dry Dock (thanks @KCToxic)
  • Fixed boundary for Crimson Branch (thanks KingOfYou115 and u/Ramarr)
  • Fixed the constraint on Obstacle Course Architect rooms to 5 instead of 3 (thanks u/Alighierian)
  • Added some keyboard shortcuts (thanks Kisutora):
    • Pressing R will now rotate the selected room. Note that this also works while dragging the room. Absolutely do not hold the R key down it is definitely not fun at all 😉
    • Pressing D will now duplicate the selected room.

v1.2: 2020-02-06

  • Added my best guess at the old, discontinued rooms. Note that the dimensions, bounds and stats for these rooms are speculative at best. (thanks @ShadowMageAlpha, u/Ramarr)
  • Added a less severe Warning system, currently only applies to the presence of discontinued rooms
  • Added map icons for things that have map icons in-game
  • Implemented auto-scrolling when dragging a room near the boundary of the window.
  • Overhauled the menus, adding icons and close buttons and drop shadows and other cool crap.
  • Added visible door markers when moving a room.

v1.3: 2020-02-09

  • Now showing rooms that are not on the current floor in the background in gray. Selecting a room now always goes to the floor that room is on. (thanks (PC) .--._---_.--_._.-)
  • Shift-clicking a room automatically selects it for dragging, so you don't have to click every twice to move a bunch of rooms in a row.

v1.4: 2020-02-13

  • Implemented undo/redo.

v1.4.1: 2020-03-20

  • Updated the boundary on the Obstacle Course Architect room (thanks yodaxep)

v1.4.2: 2020-04-27

  • Updated the Observatory bounds, they appear to have knocked a few meters off the back in the recent update

v1.4.3: 2020-06-05

  • Updated the bounds on the Crimson Branch yet again and slightly updated the bounds on the Chem Lab (thanks zaza7)

v1.4.4: 2020-06-11

  • Added the Open Space room

v1.4.5: 2020-07-03

  • Tweaked the bounds on the Obstacle Course Architect and Open Space rooms after further testing. The Inspiration Hall now shows up on the floor above it in game.

v1.4.5: 2020-08-30

  • Added the Entrati Audience Chamber room

v1.4.7: 2020-09-10

  • Oh, Inspiration Halls can be spawn points

v1.4.8: 2020-09-22

  • Apparently the Entradi Audience Chamber can also be a spawn point

v1.4.9: 2020-09-23

  • Taking a few bites out of the starter hall bounding box (thanks wingcobob)

v1.5.0: 2020-10-29

  • Added a room counter for individual room types (thanks Vash)
  • Added resources

v1.5.1: 2020-11-19

  • Added the Infested Chamber after disabling all the safety features in my drawing tool.

v1.5.2: 2020-11-19

  • Tweaked the Tenno Lab bounds (thanks ---EGG---Fantoman)

v1.5.3: 2020-12-24

  • Fixed the ceiling bounds on the Entradi Audience Chamber and Infested Chamber (thanks gyrozco)

v1.5.4: 2021-01-24

  • Fixed the bounds on the Orokin Lab (thanks zaza7)

v1.5.5: 2021-02-09

  • Fixed the bounds on the Large Garden (thanks @AeliosZero)

v1.5.6: 2021-03-19

  • Removed the build dependencies between clan halls
  • Added the Starlight Market

v1.5.7: 2021-03-30:

  • The Infested Hall and Starlight Market require 5 energy instead of 2 for some reason (Thanks @Smerkut)

v2.0: 2021-04-04

  • Multiselect, copy/paste
  • Labels
  • Color coding

v2.0: 2021-04-04

  • Fixed the bounds on the Entrati Audience Chamber, Infested Chamber, and Starlight Market (thanks @kukurbis and @AeliosZero)
  • Fixed resources on the Dry Dock and Crimson Branch

v2.0: 2021-04-04

  • Hue and saturation and luminance and bears, oh my
  • Adding slightly different images for the open space's and inspiration hall's appearance on adjacent floors

v2.1: 2021-05-14

  • Fixed a bunch of issues with selecting across floors and added more ways to do it.
  • Fixing total resources not decreasing when you delete a room (thanks flieee)

v2.1.2: 2021-05-30

  • Fixed the Observatory bounds yet again (thanks CobaltRat)

v2.1.3: 2021-06-15

  • Fixed a number of bugs with duplicating/copying rooms across floors (thanks Kavukamari)

v2.1.4: 2021-07-06

  • Added the Ventkids' Bash Lab

v2.1.4: 2021-07-09

  • Added size slider for labels
Edited by Buff00n
v2.1.6
  • Like 19
Link to comment
Share on other sites

This builder is very nice, easy to use even without instructions, and it's really easy to recreate an existing dojo with it. The room number, energy, and capacity numbers at the bottom are really helpful. Will you be adding icons like those in the in-game map legend?

I do think that the observatory or dry dock have the wrong height measures in the tool, because I recreated my dojo exactly how it looks in game but the tool throws a collision where it's actually valid in game. Could be a measurement issue or the game being unusually lenient with my dry dock's depth, or me accidentally borking it. 

Instead of dumping a bunch of images I have an imgur gallery comparing maps, with the images I was using as reference to build the map (which I can retake if they're hard to read): https://imgur.com/a/bZl5hBM

That aside, seriously great tool.

Link to comment
Share on other sites

44 minutes ago, KCToxic said:

I do think that the observatory or dry dock have the wrong height measures in the tool, because I recreated my dojo exactly how it looks in game but the tool throws a collision where it's actually valid in game. Could be a measurement issue or the game being unusually lenient with my dry dock's depth, or me accidentally borking it. 

Instead of dumping a bunch of images I have an imgur gallery comparing maps, with the images I was using as reference to build the map (which I can retake if they're hard to read): https://imgur.com/a/bZl5hBM

Interesting.  I specifically tested my Observatory two floors below the Dry Dock and the game wouldn't let me place it, but now that I look at it again it was the bottom of an elevator on the floor above that was blocking the observatory.  I added an extended hallway to go past the elevator and now it will fit like this.  I can adjust that.

However, in that same spot the game won't allow me to place an Obstacle Course.  The Obstacle Course is definitely shorter than an Observatory:  I can build an Observatory on top of an Obstacle Course but I can't build an Observatory on top of an Observatory.  This would be a problem, but if you've taken decorator mode outside the Dry Dock then you've seen that it has two different bottom levels: 

Spoiler

HhdbEZA.jpg

The area in the front by the doors is 80m 72m below ground level.  But the area towards the back is clearly deeper.  The Obstacle course is a bit wider than the Observatory, so this must mean that deeper section starts further towards the front.  I'm assuming this extra area contains that little sphere down there that comprises the Dry Dock's skybox.  I already have the Dry Dock's bounds split into two boxes, so I can just adjust the deeper one to start closer to the front.

This is the kind of detective work I've had to do a lot of.

Thanks for the correction!  I've committed the changes, does that fix it for you?

Link to comment
Share on other sites

v1.1: 2020-01-19

  • Added compression for the model string, it saves about 30-50% on the sise of URLs. All old URLs will still work (thanks u/Almagnus1)
  • Added wall displays for the Dry Dock 1 floor below and 3 floors above to make it more clear that you can't build any rooms there (thanks u/Almagnus1)
  • Adjusted rules for Hall prerequisites and added a new rule to make sure you have at least one hall (Thanks u/yarl5000)
  • Fixed lower boundary for Dry Dock (thanks @KCToxic)
  • Fixed boundary for Crimson Branch (thanks KingOfYou115 and u/Ramarr)
  • Fixed the constraint on Obstacle Course Architect rooms to 5 instead of 3 (thanks u/Alighierian)
Link to comment
Share on other sites

Added some keyboard shortcuts (thanks Kisutora):

  • Pressing R will now rotate the selected room. Note that this also works while dragging the room. Absolutely do not hold the R key down it is definitely not fun at all ;)
  • Pressing D will now duplicate the selected room.
Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...
  • 2 weeks later...
  • 4 weeks later...
  • 1 month later...

v1.4.4: 2020-06-11

  • Added the Open Space room

It's actually a little disappointing.  It appears to be the exact same size and shape as the Obstacle Course Architect room, except that the Open Space room extends an extra floor up and down.

Link to comment
Share on other sites

  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...