In this section, you will learn everything to know about using your static mesh and blueprint buildings with iPCC.
A- Prerequisites
– Set up a plot in the level and check “Real-time Edition”.
– Set the “Spawn Algorithm” to “Static Bldgs (Edge based)”.
– In the “Spawning” tab, look for “Static Building List”. Clear the array by clicking on the “recycle bin” icon next to it.
B- Setting up Static Buildings List
To use any “Static mesh” or “Blueprint” buildings with the plot, it is better to make sure that,
– The pivot is at the center of the building.
C- Automatic Set up
To set up static buildings automatically,
– Right click on “PCC_Main_Widget” located in “ProceduralCityCreator –> PCC_Widget” folder and select “Run_Editor_Utility_Widget”.
– Dock the widget somewhere, and move the yellow dot slider from the right until you see the “Set Static Buildings” widget showing.
– Select the plot in the level and select your static building meshes or blueprints in the content browser.
– In the widget, Choose the forward direction in which your static buildings are set.
– Click on the “Set Static Buildings” button and voilà!
Select the plot and click on “Update Plot” located in the “Spawning tab” to see the results.
Bonus: Setting up Static Houses
D- Manual Set up
Setting up static building manually, allows you to control each detail of the process.
For Static Mesh Buildings
– Click on the “+” icon next to “Static Building List” to add a new slot.
– Expand the slot and set your static mesh in the “Building Mesh” field.
– Set the “Building Orientation” AKA the axis your building front is facing.
That is all.
For Blueprint Buildings
– Click on the “+” icon next to “Static Building List” to add a new slot.
– Expand the slot and set your Building blueprint in the “Building Blueprint” field.
– Check “Switch to blueprint” and set the building size in “Custom Building Size”.
– Set the “Building Orientation” AKA the axis your building front is facing.
That is all.
Note: You can automatically calculate all static building sizes by executing the “Auto Calculate Static Buildings Size” command found in the “PCC Command” tab.
More options you can set are,
– The “Allowed Axis Mirror” allows you to set the axis on which you want your building to be mirrored or not.
– The “Pivot Offset” allows you to set the (transform) offset of the pivot from the center of the static building, to correct its placement.
– The “Building Spacing” allows you to set the forward and the right spacing of this static building only.
– The “Ground Base Mesh Materials” allows you to set the materials to use for the ground base mesh when there is a slope. If not set, the plot ground material will be used.
Congratulations on learning how to set up your static buildings! Continue to the next topic to learn more about setting up spacing, materials, and attaching mesh or blueprint to your static building.