This tutorial correlates with the tutorial above, so be sure to read up on it to learn about stuff explained in detail which I'll skip over here.
What you'll require:
- BFEditor v1.3
- Notepad
- XVI32 or an advanced hex/text editor of your choice.
- Overgrowth folder
- Staticobjects.con
- Rename your GPO and Layer.con in the Editor folder
To rename your GPO and Layer.con just add some text in front of the filename ie. 'asdfLayer.con', that disables the file without screwing it up too much. This of course, if you have any of these files (you placed down vehicles, spawn points etc.) because later on all the vehicles are loaded into the staticobjects.con run lines and we don't need that
Step 1: Placing your Overgrowth
Load up your map, switch to Terrain Editor, Overgrowth tool, create one or several Overgrowth materials, their types and select the field geometries from vegetation/PR/fields/.
Leave the density settings alone for now. First, above your materials in the resource tab there's a file called General where the common overgrowth settings are.
Select the draw distance and reduce it; default is at 500, deleting one 0 to bring it down to 50 should do, I used 150 since the process wasn't that resource heavy this time. Note that setting the draw distance does seem to affect density.

Now, go play with your density settings. As said in the other tutorial, put the density between 100 and 300 and the MinRadiustoSame to 0.4 or 0.2, depending on the field type. I strongly suggest you set the radius first, then pump the density to 100, as unless your editor crashes, it will take a while to load up all the new overgrowth.
Step 2: Converting your Overgrowth
Now switch to Level Editor, go to Layers tab and right click on Layer 1, choose Select all in layer and press Delete; this deleted all of the static objects in your map, that's why we backed up the staticobjects.con file.

Now, drag a small object into your map and lightmap it on Low, this will convert your overgrowth to static objects.

You can set your OG density back to 0 to reduce lag/prevent crashes.
Delete your lightmapped object and then select one of the fields, use the Select all of the same type option to select all your fields.

Now in the TweakBar, select isSaveable and set the Layer to 1.

Now save your map, it will probably warn you about lightmaps not matching objects, ignore that.
Step 3: Finalizing your Overgrowth
Now, just to be sure, without closing the editor, go to your map's directory and check the newly saved staticobjects.con file.
If done correctly, all there should be in it is the run commands for your fields and all of the field object positions.

Close the editor.
Now here's what you can do. Since the fields are still considered as overgrowth and are thus affected by overgrowth light settings, you might want to have them as normal objects to get rid of the dark/light sided spots on each object, caused by light settings.
This is optional and since I tolerate that you use your own software, if you do, you'll have to figure out this one a bit. I'll be using XVI32 as said.
Open XVI32 and drag and drop the staticobjects.con file into it, then go Search/Replace or press Ctrl+R and replace the Find string with Object.isOvergrowth 1 and the Replace string with nothing

Click Replace all and it should replace all of the strings in a moment. Close and save.
You could do this with Notepad, but it's unstable and can't handle such massive tasks as this so it usually crashes.
If you want to tweak your field placement, reload the editor and map and tweak them, then save.
Now you can either rename your staticobjects.con to fields.con and your copy of staticobjects.con back to normal and follow the usual path and end here or you can merge them.
To merge them, select all of the text in your current file and copy, then open your backed up/renamed original staticobjects.con file and paste in the middle between run lines and placement lines

then deleted the duplicated lines in the middle and save.

Now you can rename your backed up files, delete the overgrowth folder and rename the backed up one back, reload the map and continue working on your map with cute little fields placed down among other objects.



