Tutorial: How to use forest scripts

carci

Herald
Here's a quick tutorial on how to use my forest scripts (AF = AutoForest). As I've used these in the North, they're built around vegetation and terrain types found there, but once you figure them out, it's very easy to customize them to fit any area or climate.

Note: This tutorial assumes you already

a) have Macros/Keybinds mod installed,
b) know how to use it and
c) are able to locate your macros folder.

Step 1: Preparing the area
Fill any underground air pockets, and turn everything (except air) into North TerrainSet (2029:3). Most importantly, make sure there's no hidden green wool anywhere.

Screen Shot 2021-04-13 at 10.00.37 .png

Step 2:
Paint the area you want to AutoForest with GREEN WOOL. In this example I've used VoxelSniper Overlay brush (/b over d1) to paint the area, but you can use WE brushes or selections if you're more comfortable with those. To make the following scripts work properly, it's important there's green wool only on the topmost layer, directly under air. So, if you're using WE, make sure to use //gmask <0.

Screen Shot 2021-04-13 at 10.04.23 .png

Step 3:
Make a selection around the green wool, with a 15-20 blocks buffer around it, and expand the selection 25 blocks up and down. This is important, since many of the schematics we'll use in the following steps have weird offset values and thus need a selection larger than actual work area to work properly. I recommend using //sel poly instead on regular cuboid selection, as it gives you more organic shapes.

Screen Shot 2021-04-13 at 10.05.35 .png

Step 4:
Run the first script, AF_01_Base. This script will add small bushes and piles of pebbles to smoothen the edges where the terrain steps up a block. Also, the script will line the edges with green and lime concrete to prevent the next steps adding trees too close to the edges.

Screen Shot 2021-04-13 at 10.07.02 .pngScreen Shot 2021-04-13 at 10.07.20 .png

Step 5: Adding schematics
Now it's time to start adding trees. In this example we'll be using coniferous trees, starting with AF_02_NewEvergreenM. After running the script, we'll have a bunch of randomly scattered trees, with "circles" of brown wool under them.

Screen Shot 2021-04-13 at 10.11.07 .png

Keep adding more trees by running
AF_02_ThinRedwoodM
AF_02_Pine
AF_02_SentinelS
AF_02_SentinelDead
AF_02_Conifer_Saplings

Screen Shot 2021-04-13 at 10.34.00 .png

Note: You can add other types of trees etc. manually with schembrush at this point. Currently there's no script to automatically add the brown wool under them, but I'll write one soon.

Step 6: Details and textures
The next step is to start texturing the forest floor and adding details. First, run AF_03_Undertree_Spread. This script adds some more randomness to the forest floor and replaces some of the placeholders with final blocks.

Screen Shot 2021-04-13 at 10.35.20 .png

After this, run
AF_04_Bushes
AF_04_Rocks_North
AF_04_Stumps

to add randomly generated details.

Screen Shot 2021-04-13 at 10.42.16 .png

Note: As above, you can add further details with schembrush if you want to make your forest extra pretty. There are some forest detailing schemsets available, see https://westeroscraft.com/wiki/guides/schem-sets, at the bottom of the page.

Step 7: All done!
The final step: AF_05_Finish_Low will replace the rest of the placeholders and add tall grasses.

Screen Shot 2021-04-13 at 10.44.56 .png

Customizing the scripts for other areas
If you want to use these scripts on other parts of Westeros, you can just change the terrain set, pebble layer and other "rocky" blocks (in AF_01_Base and AF_04_Rocks_North) into more suitable ones.

Other forest types
In addition to the conifer trees used in the example above, there are some other tree types already available, and more will be added eventually.

AF_02_Alder
AF_02_BirchL
AF_02_BirchM
AF_02_Maple
 

carci

Herald
Before I get buried under DM's:

On a Mac, macros folder is located at /Users/<your username>/Library/Application Support/.westeroscraft/instances/WesterosCraft-1.12.2/liteconfig/common/macros

On windows I'm guessing it's something like %appdata%/westeroscraft/instances/WesterosCraft-1.12.2/liteconfig/common/macros

EDIT: also Macro/Keybind Mod Installation Guide
 
Last edited by a moderator:

carci

Herald
Yep, you can make all kinds of forests with this workflow. Steps 1-4 (prepwork) will always be the same, after that you can mix and match whatever trees/details you want, provided there's a script for them.

So, if you want to make a (northern) forest with alders, maples and birches, just use those scripts (AF_02_Alder, AF_02_Maple etc.) instead of conifers on step 5.

I'll make some more tree scripts soon (oaks and cottonwoods for example) and add them here.
 

carci

Herald
Here are some more tree types to use on step 5. Slightly older schems with thicker trunks and lower hanging branches, but possibly still useful.
 

Attachments

  • AF_02_Alder_Low.txt
    3 KB · Views: 13
  • AF_02_Ash.txt
    3 KB · Views: 5
  • AF_02_Cottonwood.txt
    2.6 KB · Views: 5
  • AF_02_Maple_Low.txt
    2.6 KB · Views: 4
  • AF_02_Oak.txt
    3 KB · Views: 6
  • Like
Reactions: CashBanks

Pixeld_

Poet
I made a script for nettles and bracken and i thought i'd share it. It's currently set to a fairly dense configuration but that can be changed by adjusting the percentage of gold. The script can also be seperated for only bracken or nettles.
 

Attachments

  • Nettles_and_Bracken.txt
    1.2 KB · Views: 10
  • Like
Reactions: ViserysII and Ric

carci

Herald
A couple of new tree types, WolfswoodS and M. Rather large generic coniferous trees mainly for Wolfswood, can be used elsewhere too. Should combine nicely with the previously posted conifers.

There are also schemsets for L and XL, but they're really big and thus to be used sparingly, so I won't make scripts of them. With those it's better to use the schembrush instead.
 

Attachments

  • AF_04_WolfswoodM.txt
    5.1 KB · Views: 8
  • AF_04_WolfswoodS.txt
    6.4 KB · Views: 2
  • Like
Reactions: Ric and DutchGuard