Help with Construction script for modular workflow

Hey all,

so im making modular building pack, or rather lets say im in prototyping phase… i would like to use blueprints to make it as easy for developer to place modular pieces.


lets say i create 35 modular pieces that are 4 meters wide and 3 meter tall, and here is breakdown of pieces:

  • 1 modular piece is just plain wall
  • 10 different variations of door
    openings
  • 20 different variations of window
    openings
  • 4 different variations of corner
    pieces
  • 5 different windows

now lets say that developer places section that has window opening, i would like to make blueprint that helps him easily switch between all different variations of that same type of wall… in this case all 20 variations that have window openings

for example, he selects that modular window wall that he placed, and then he can press UP arrow key to go to next model variation, or DOWN arrow key to go to previous model variation

or if keys are not possible, then is it possible to add buttons in details panel for previous and next model?

and then for example he places window and attaches it to socket of what window wall piece that he just placed, so that it snaps to correct position, and then with that window selected, he can press UP key and switch between all window variatons? is this possible?

after he is happy with that, he then places corner piece down, and he presses UP key and can quickly switch between all corner variations of that size

it just makes for very easy and streamlined workflow


is what im asking for even possible to do? and if so… can you give me as much pointers as to how i can achieve that?

i have a lot of experience with unity, and playmaker (visual scripting addon for unity)… but with UE4 and blueprints i have very limited knowledge

how i imagine this to be done… basically make 5 master models/blueprints… 1 for wall with doors, 1 for wall with windows, 1 for corner wall, 1 for windows and 1 for doors
and then inside blueprints for those 5 pieces, i would make an array of models that that model can be switched between, and then its just a matter of figuring out how to switch to next or previous model in that array…

or is there better way to do it? any help would be good… really anything :slight_smile:


here is what i have now… i made array and i pick random static mesh from that array and set it as static mesh… now i just need to figure out how to make some sort of input controls, so it will go to next array when i press UP key, instead of just choosing random

Check this out: Dungeon Architect - Game Development - Epic Developer Community Forums

What you’re suggesting is definitely possible, and the above thread demonstrates a plugin that will do it :slight_smile: