Page 1 of 1

List of TER.OPTION parameters

Posted: Fri Dec 09, 2016 8:27 pm
by Marth8880
Hey all. As you may or may not know, .TER files can have .OPTION files, but the different parameters and what they do isn't documented anywhere, so I figured I'd at the very least list them all here and make some guesses (based on the ones used in the stock maps).

Code: Select all

-lowres_numpatches <int>    // base number to subdivide total area of terrain by for low-res terrain
-lowres_patchsize <int>    // number to subdivide each low-res terrain patch by
-maxlayers <int>    // hard limit for the number of texture layers
-watercutter_patchsize <int>    // unknown, found in dea1 and nab2
-reducewater <int>    // unknown, found in dea1
More on terrain patches: https://docs.unrealengine.com/udk/Three ... %20Patches

For example, if your terrain is 128x128 and lowres_numpatches is set to 4, the area of each patch would be 32x32 (since 256 / 4 = 32). The actual *resolution* of each patch is determined by lowres_patchsize, which is the patch's geometric subdivisions, so if lowres_patchsize is 2, the resolution of each patch would be 3x3.

What the normal terrain would look like:
Hidden/Spoiler:
Image
What the low-res terrain would look like (patches separated by blue edges):
Hidden/Spoiler:
Image
Both overlaid:
Hidden/Spoiler:
Image
If anyone else knows anything about these parameters or if I'm wrong about something, please say so!

Re: List of TER.OPTION parameters

Posted: Sat Dec 10, 2016 1:49 am
by AnthonyBF2
I think watercutter_patchsize is related to how big each "piece" of water is.