World Editor: Power Line Generator – Arma Reforger
Lou Montana (talk | contribs) m (Text replacement - "|Modding|Tools|Official Tools" to "|Modding|Official Tools") |
Lou Montana (talk | contribs) (Add description) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{TOC|side}} | {{TOC|side}} | ||
== Pole | {{TOC|side}} | ||
A '''Power Line Generator''' is a generator creating a power line (cables and poles) along a shape. | |||
== Requirements == | |||
* A Shape (polyline, spline) defining the power line's path (see {{Link|Arma Reforger:World Editor: Vector Tool|Vector Tool}}). | |||
* A power line generator entity as a '''direct child''' to this shape. | |||
== Prefabs == | |||
Road Generator Prefabs can be found in {{hl|Data\Prefabs\WEGenerators\Powerline}}. | |||
== Options == | |||
=== Pole Setup === | |||
There are four pole types: | There are four pole types: | ||
* Start Pole | * Start Pole - the pole type that starts it all | ||
* Default Pole | * Default Pole - the standard pole that will run the distance between Start Pole and End Pole | ||
* End Pole | * End Pole - the pole that ends the power line | ||
* Junction Pole | * Junction Pole - the pole that connects to another powerline | ||
==== Distance ==== | |||
Defines the expected distance between poles. | Defines the expected distance between poles. | ||
=== Default Pole === | ==== Default Pole ==== | ||
Defines the default pole's entity. | Defines the default pole's entity. | ||
=== Start Pole === | ==== Start Pole ==== | ||
Defines the start pole's entity. | Defines the start pole's entity. | ||
=== End Pole === | ==== End Pole ==== | ||
Defines the end pole's entity. | Defines the end pole's entity. | ||
=== Default Junction Pole === | ==== Default Junction Pole ==== | ||
Defines the junction pole's entity. | Defines the junction pole's entity. | ||
=== Rotate 180 Degree Yaw Start Pole === | ==== Rotate 180 Degree Yaw Start Pole ==== | ||
Rotates the start pole 180° to "face" the other poles. | Rotates the start pole 180° to "face" the other poles. | ||
=== Rotate 180 Degree Yaw End Pole === | ==== Rotate 180 Degree Yaw End Pole ==== | ||
Rotates the end pole 180° to "face" the other poles. | Rotates the end pole 180° to "face" the other poles. | ||
=== Clearance === | ==== Clearance ==== | ||
Defines the minimum distance from the polyline for other objects to be generated ("empty space" around poles line). | Defines the minimum distance from the polyline for other objects to be generated ("empty space" around poles line). | ||
=== Randomisation === | |||
= | ==== Random Pitch Angle ==== | ||
=== Random Pitch Angle === | |||
Defines the angle randomization (in 0..180° range) of pitch - "rolling towards the back". | Defines the angle randomization (in 0..180° range) of pitch - "rolling towards the back". | ||
=== Random Pitch On Both Sides === | ==== Random Pitch On Both Sides ==== | ||
Makes the Random Pitch Angle go both sides (forward and back), effectively doubling the range (-180..+180°) | Makes the Random Pitch Angle go both sides (forward and back), effectively doubling the range (-180..+180°) | ||
=== Random Roll Angle === | ==== Random Roll Angle ==== | ||
Defines the angle randomization (in 0..180° range) of roll - "rolling towards the right". | Defines the angle randomization (in 0..180° range) of roll - "rolling towards the right". | ||
=== Random Roll On Both Sides === | ==== Random Roll On Both Sides ==== | ||
Makes the Random Roll Angle go both sides (left and right), effectively doubling the range (-180..+180°) | Makes the Random Roll Angle go both sides (left and right), effectively doubling the range (-180..+180°) | ||
=== Apply Pitch And Roll Default === | ==== Apply Pitch And Roll Default ==== | ||
Applies the Pitch and Roll settings to the default pole. | Applies the Pitch and Roll settings to the default pole. | ||
=== Apply Pitch And Roll Start === | ==== Apply Pitch And Roll Start ==== | ||
Applies the Pitch and Roll settings to the start pole. | Applies the Pitch and Roll settings to the start pole. | ||
=== Apply Pitch And Roll End === | ==== Apply Pitch And Roll End ==== | ||
Applies the Pitch and Roll settings to the end pole. | Applies the Pitch and Roll settings to the end pole. | ||
=== Power Lines === | |||
= | ==== Powerline Material ==== | ||
Defines the power line cable material to be used between poles. | |||
=== Powerline Material === | |||
Defines the | |||
=== Debug === | |||
== | ==== Draw Debug Shapes ==== | ||
Used to display debug shapes on generation. | |||
=== | === Unsorted === | ||
==== Color ==== | |||
Defines the line's color. | Defines the line's color. | ||
{{GameCategory|armaR|Modding|Official Tools|World Editor Generators}} | {{GameCategory|armaR|Modding|Official Tools|World Editor Generators}} |
Latest revision as of 18:55, 16 November 2023
A Power Line Generator is a generator creating a power line (cables and poles) along a shape.
Requirements
- A Shape (polyline, spline) defining the power line's path (see Vector Tool).
- A power line generator entity as a direct child to this shape.
Prefabs
Road Generator Prefabs can be found in Data
Options
Pole Setup
There are four pole types:
- Start Pole - the pole type that starts it all
- Default Pole - the standard pole that will run the distance between Start Pole and End Pole
- End Pole - the pole that ends the power line
- Junction Pole - the pole that connects to another powerline
Distance
Defines the expected distance between poles.
Default Pole
Defines the default pole's entity.
Start Pole
Defines the start pole's entity.
End Pole
Defines the end pole's entity.
Default Junction Pole
Defines the junction pole's entity.
Rotate 180 Degree Yaw Start Pole
Rotates the start pole 180° to "face" the other poles.
Rotate 180 Degree Yaw End Pole
Rotates the end pole 180° to "face" the other poles.
Clearance
Defines the minimum distance from the polyline for other objects to be generated ("empty space" around poles line).
Randomisation
Random Pitch Angle
Defines the angle randomization (in 0..180° range) of pitch - "rolling towards the back".
Random Pitch On Both Sides
Makes the Random Pitch Angle go both sides (forward and back), effectively doubling the range (-180..+180°)
Random Roll Angle
Defines the angle randomization (in 0..180° range) of roll - "rolling towards the right".
Random Roll On Both Sides
Makes the Random Roll Angle go both sides (left and right), effectively doubling the range (-180..+180°)
Apply Pitch And Roll Default
Applies the Pitch and Roll settings to the default pole.
Apply Pitch And Roll Start
Applies the Pitch and Roll settings to the start pole.
Apply Pitch And Roll End
Applies the Pitch and Roll settings to the end pole.
Power Lines
Powerline Material
Defines the power line cable material to be used between poles.
Debug
Draw Debug Shapes
Used to display debug shapes on generation.
Unsorted
Color
Defines the line's color.