So as I understand it, procedural content does not benefit in any way from baking light maps and so on.
I’m greedy. I want to have my cake and eat it as the saying goes. I want to procedurally generate content, either within an UE context or externally, and then in some way get it baked by UE.
My initial approach was to generate a static mesh using FBX SDK for the basic terrain, and then import it into an empty project using the UE command line. So far so good, and I can even simplify that by having all the materials already in the project’s content and then referring to them in the FBX file, rather than having to define them in the FBX file itself. I can then bake that using the command line! Hurrah!
However, I need to manually add the imported terrain asset into the level. Maybe I could have another asset with the same name in the map file, and then replace the original asset with the imported one. The map file will never know the difference.
But…I still need to add props. Chunks of rock, trees, bushes, or whatever. And monsters to fight. And so on. Lights! I need Lights! And not just sunlight shining down from above.
So plan B is to modify my FBX program to import all assets from other FBX files and create a full scene. Everything all in one, and then somehow import the whole scene, in FBX format, as a level. it seems workable.
But…when experimenting with particle effects, UE does not export or import particle effects to FBX format. At all. I created a scene with a particle effect, exported to FBX, re-imported, and the particle effect was lost.
Does FBX not support particle effects? I thought it was supposed to be able to support entire movie scenes!
So…new plan. Export the terrain mesh as an FBX file, and import as an asset as before. Then reverse engineer the UMAP file format and generate my level as an UMAP file.
But…that looks like a REALLY big job. I have, with some success, reverse engineered binary file formats before. It is not easy and is probably illegal. It is extremely time consuming. I mean HUGELY so. If I worked on it 8 hours a day it would probably take a week to get something that worked ok most of the time. Maybe longer. I have a day job. I do not have that kind of time available.
Does anyone else have any ideas?