List of TER.OPTION parameters

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

List of TER.OPTION parameters

Post 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!
User avatar
AnthonyBF2
Sith
Sith
Posts: 1255
Joined: Wed Aug 21, 2013 3:55 pm
Projects :: PS2+PSP Overhaul

Re: List of TER.OPTION parameters

Post by AnthonyBF2 »

I think watercutter_patchsize is related to how big each "piece" of water is.
Post Reply