Skip to main content
Reference

Data Table Settings

Each row in the Foliage Data Table (row structure FoliageData) describes one resource, such as a tree or a rock.

A row in the Foliage Data Table

Settings​

ColumnDefaultDescription
Resource NameA display name for the resource, for example Tree.
Rewards on HarvestThe rewards given on each harvest. Each reward has a Reward Name and a Number of Rewards with Min and Max. You pick the actual amount when you receive the reward, see Harvesting Foliage.
Foliage MeshesThe static meshes that belong to this resource. A foliage instance uses this row when its mesh is in this list. A mesh should only be in one row.
Destructible MeshesOptional destructible versions of the meshes, at the same index as in Foliage Meshes. Use Geometry Collections. See Destructible Meshes.
Foliage Actor ClassNoneThe Foliage Actor spawned when an instance takes damage. Required, unless Harvest Without Actor is on.
Max Uses3How many times the resource can be harvested before it is depleted.
Foliage Actor Max Life Time120Seconds before a Foliage Actor that was not depleted turns back into the foliage instance. Extended while a player is nearby.
Depleted Foliage Actor Life Time30Seconds a depleted Foliage Actor stays before it is destroyed.
Enable RespawningOnWhen on, the instance respawns after the actor is gone. When off, it is removed for good.
Respawn Delay20Minimum seconds after the first hit before the instance respawns. It never respawns while its Foliage Actor still exists. The delay is real time, so it also runs while the server is offline.
Regrow Duration0Seconds a respawned instance takes to grow from small to full size. 0 respawns it at full size right away. See Stumps and Regrowth.
Stump MeshNoneA mesh shown where the instance stood while it is harvested, for example a tree stump. Leave empty to show nothing. See Stumps and Regrowth.
Idle Reset Time0Seconds without hits before a Foliage Actor that is not depleted turns back into the foliage instance with full uses. Every hit starts the time again. 0 uses Foliage Actor Max Life Time instead.

See Lifecycle of a Foliage Instance for how uses and lifetimes work together.

Interaction​

ColumnDefaultDescription
Allow InteractionOnAllows harvesting without damage with Interact With Foliage, for example to pick berries.
Harvest Without ActorOffGives the rewards and removes the instance on the first hit or interaction, without spawning a Foliage Actor. Use it for pickups such as berries, mushrooms and stones. Foliage Actor Class is not needed.

See Interaction and Pickups.

Damage​

ColumnDefaultDescription
Require Damage TypeOffOnly accept hits that pass the damage check below. Interactions skip this check.
Valid Damage TypesThe damage types that can harvest this resource.
Damage Amount1The minimum damage per hit.

See Damage Types.

Physics​

ColumnDefaultDescription
Simulate Physics on DepletionOffSimulate physics when depleted, for example a falling tree. Ignored if the resource has a destructible mesh.
Apply Impulse on DepletionOffPush the mesh with an impulse when it starts simulating.
Physics Impulse Multiplier10Strength of the impulse.
Physics Collision Profile NameNoneCollision profile to use while simulating. None keeps the current profile.

See Simulating Physics.