World Editor: Prefab Generator – Arma Reforger

From Bohemia Interactive Community
Jump to navigation Jump to search
(Page creation (placeholder))
 
m (Fix)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Wiki|TODO|placeholder}}
{{TOC|side}}
A '''Prefab Generator''' is a generator creating entities on a line defined by a Shape.


Prefab generators can be found in the Resource Browser in {{hl|ArmaReforger > Prefabs > WEGenerators}} (mostly in the {{hl|Bushline}} directory), and are prefixed with {{hl|PG_}} for '''P'''refab '''G'''enerator
(thus conflicting with {{Link|Arma Reforger:World Editor: Power Line Generator|'''P'''ower line '''G'''enerator}}).


{{GameCategory|armaR|Modding|Tools|Official Tools|World Editor Generators}}
{{Feature|informative|To generate entities more regularly, see {{Link|Arma Reforger:World Editor: Wall Generator|Wall Generator}}.}}
 
 
== Requirements ==
 
* A Shape (polyline, spline) defining the wall's's trajectory (see {{Link|Arma Reforger:World Editor: Vector Tool|Vector Tool}})
** At least two points are required
* A prefab generator entity as a '''direct child''' to this shape.
 
== Options ==
 
=== Unsorted ===
 
==== Prefab Names ====
Prefab list
 
==== Weights ====
Prefab weights - the higher the more chance for the Prefab to spawn
 
==== Only To Vertices ====
If checked prefabs are placed only to vertices
 
==== Distance ====
Distance between spawned assets along the spline/polyline
 
==== Align With Shape ====
If checked prefabs are aligned with the shape
 
==== Use X As Forward ====
Only when aligning with shape
 
==== Flip Forward ====
Flip forward
 
==== Offset Right ====
How much we offset from center to the side
 
==== Offset Variance ====
How much offset variability we want in meters when using offset from the center
 
==== Gap ====
Gap from the centerline
 
==== Random Spacing ====
Random Spacing Offset
 
==== Offset Up ====
How much we offset in world up vector
 
==== Offset Forward ====
Forward offset
 
==== Perlin Dens ====
Prefab spawn density uses Perlin distribution
 
==== Perlin Threshold ====
Spawns prefabs if perlin value is above this threshold
 
==== Perlin Asset Distribution ====
Prefab spawn type uses Perlin distribution. Prefabs in the prefab array are stacked up from lower to higher indicies on the Y axis
 
==== Perlin Size ====
Prefab size uses Perlin
 
==== Perlin Frequency ====
Perlin frequency, higher values mean smoother transitions
 
==== Perlin Seed ====
Perlin seed
 
==== Perlin Amplitude ====
Perlin Amplitude
 
==== Perlin Offset ====
Perlin Phase Offset
 
==== Perlin Throw Away ====
Disables asset generation bellow perlin threshold
 
==== Draw Debug ====
Draw developer debug
 
 
{{GameCategory|armaR|Modding|Official Tools|World Editor Generators}}

Latest revision as of 00:30, 19 November 2023

A Prefab Generator is a generator creating entities on a line defined by a Shape.

Prefab generators can be found in the Resource Browser in ArmaReforger > Prefabs > WEGenerators (mostly in the Bushline directory), and are prefixed with PG_ for Prefab Generator (thus conflicting with Power line Generator).

To generate entities more regularly, see Wall Generator.


Requirements

  • A Shape (polyline, spline) defining the wall's's trajectory (see Vector Tool)
    • At least two points are required
  • A prefab generator entity as a direct child to this shape.

Options

Unsorted

Prefab Names

Prefab list

Weights

Prefab weights - the higher the more chance for the Prefab to spawn

Only To Vertices

If checked prefabs are placed only to vertices

Distance

Distance between spawned assets along the spline/polyline

Align With Shape

If checked prefabs are aligned with the shape

Use X As Forward

Only when aligning with shape

Flip Forward

Flip forward

Offset Right

How much we offset from center to the side

Offset Variance

How much offset variability we want in meters when using offset from the center

Gap

Gap from the centerline

Random Spacing

Random Spacing Offset

Offset Up

How much we offset in world up vector

Offset Forward

Forward offset

Perlin Dens

Prefab spawn density uses Perlin distribution

Perlin Threshold

Spawns prefabs if perlin value is above this threshold

Perlin Asset Distribution

Prefab spawn type uses Perlin distribution. Prefabs in the prefab array are stacked up from lower to higher indicies on the Y axis

Perlin Size

Prefab size uses Perlin

Perlin Frequency

Perlin frequency, higher values mean smoother transitions

Perlin Seed

Perlin seed

Perlin Amplitude

Perlin Amplitude

Perlin Offset

Perlin Phase Offset

Perlin Throw Away

Disables asset generation bellow perlin threshold

Draw Debug

Draw developer debug