Hey friends and mates
I read some tutorials and fiddled around with some Static Meshes, using as Instanced Foliage Actors. I like to implement Studio Wildcards awesome coral meshes as craftable instanced foliage actors with collision (like trees or rocks).
But it does not work.
My trials: I copied the whole content from “Environment”/“UnderWater”/ into my mod folder. Then I chose the Foliage Settings file of “CoralReef_02_Settings” and adapted some content from the foliage settings of "SM_MediumRock_01_Moss. To give it a collision and make it craftable.
The changes I made, are the following:
Replicate this component: From “No”, to “Yes”.
DamageFX Actor to Spawn: from “none” to “RockHarvestEmitter”
Attached Component Class: From “none” to “RockHarvestComponent”
Destroyed Mesh: SM_MediumRock_01_DM; I also tried to leave it empty.
Destroyed Mesh Actor Class: “DestroyedMeshBase_IgnoreSelf”
Collision Presets: from “NoCollision” to “BlockAll”
Recieve Decals: From “No” to “Yes”
After that, I went to “Foliages” and add the “CoralReef_02” Mesh. Clicked on the foliage and connected the “shared” tab. Next, I went into the “Show Instance Settings” and copied the list above to the settings.
But after painting it on the “IslandLandscape” and walking the player figure there, it has no collision and is not craftable.