ðïļBuilding
Last updated
Last updated
Open your new data asset and click on the + right to All Meshes to add a new building (you can add as many as you want). It will look like this
Mesh: Add the mesh building to use
Weight: Chance of this building is selected, the weight is compared to the total weight of all items in the list
Transform Offset: Offset the position
Rotation Offset: Offset the rotation
Many objects in the world can either be interactive (like doors and lights) or a list of objects to spawn (like props). All of the following are PDA_VillageObjects or PDA_VillageActor (more on them later)
Doors Exterior: PDA_VillageObjects list of doors to place on the exterior
Doors Interior: PDA_VillageObjects list of doors to place on the inside
Props: PDA_VillageObjects list of props to place randomly around the building
Light Floor: PDA_VillageActor list of light to place on the floor
Light Wall: PDA_VillageActor list of light to place on the wall
Light Roof: PDA_VillageActor list of light to place on the roof (or hanging)
Once your building assets are ready, you can simply add them to the data table in the house section (or region). Note that the change will not automatically update so you need to force it to update if you change an existing village like the video below. But the change inside the assets will update in real-time if it is toggled to auto-update.
If you draw a new village with the tool, it will update with the new building installed.